php forum
php mysql forum
php mysql smarty
 
Topic Options
#317234 - 06/15/08 11:29 PM prevent specific users from using img tags?
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
i allow my users to post using images from outside sites, but often times found that the privilege is abused. can i prohibit specific users from the ability to use the "image" tag in their posts, at all?

not all users, just specific ones. or maybe even an entire group that i could set up, and assign these users to?
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#317236 - 06/16/08 07:27 AM Re: prevent specific users from using img tags? [Re: drkknght]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Well... usergroup permissions determine if someone can use html or ubb code or both, probably wouldn't be too hard to not let them use either. The img tag specifically might be a little harder.
_________________________
- Allen wavey
- What Drives You?

Top
#317237 - 06/17/08 12:22 AM Re: prevent specific users from using img tags? [Re: AllenAyres]
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
even me, back in lowly 7.2? iirc, i can only select what forums group users can post in / read, not what they can do in their posts... i think...
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#317240 - 06/18/08 10:36 AM Re: prevent specific users from using img tags? [Re: drkknght]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 441
Loc: SoCal
well, Rick did a real nice job on the matrix in 7.3. adding another permission is not too hard for a ubb developer..

i guess i might gin up a mini tutorial on how to do that and then how to check that permission for a go / nogo..

will probably be later on this week.. i have a coupla integration packages to finish off.

as for 7.2 -- it would not be too bad to add, but would be more code-ey and special.. prolly group based, would be the way i'd attack it.. i won't post the how to on that one..
_________________________

Top
#317247 - 06/19/08 01:33 AM Re: prevent specific users from using img tags? [Re: sirdude]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Originally Posted By: sirdude
as for 7.2 -- it would not be too bad to add, but would be more code-ey and special.. prolly group based, would be the way i'd attack it.. i won't post the how to on that one..
Kind if redundant to publish something "involved" for older versions at this point, so i agree with you on not drudging through on it
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317272 - 06/23/08 02:10 PM Re: prevent specific users from using img tags? [Re: Gizmo]
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
hm. now i am thinking maybe i should just upgrade to 7.3(.1)

but its been awhile since i edited any of my 7.2 files, so i don't exactly remember how much i changed. just trying to figure out how much of a pain in the butt and upgrade'll be smile
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#317275 - 06/23/08 07:23 PM Re: prevent specific users from using img tags? [Re: drkknght]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
You could use Beyond Compare to compare your current files to those the stock files; it'd let you know what you've changed.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top


Moderator:  Gizmo 
Who's Online
0 registered (), 27 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks