Previous Thread
Next Thread
Print Thread
Rate Thread
prevent specific users from using img tags? #317234 06/15/2008 11:29 PM
Joined: Nov 2000
Posts: 1,271
drkknght Offline OP
Kahuna
OP Offline
Kahuna
Joined: Nov 2000
Posts: 1,271
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?

Sponsored Links
Re: prevent specific users from using img tags? [Re: drkknght] #317236 06/16/2008 7:27 AM
Joined: Mar 2000
Posts: 21,079
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
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?
Re: prevent specific users from using img tags? [Re: AllenAyres] #317237 06/17/2008 12:22 AM
Joined: Nov 2000
Posts: 1,271
drkknght Offline OP
Kahuna
OP Offline
Kahuna
Joined: Nov 2000
Posts: 1,271
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...

Re: prevent specific users from using img tags? [Re: drkknght] #317240 06/18/2008 10:36 AM
Joined: Nov 2003
Posts: 482
sirdude Offline
Enthusiast
Offline
Enthusiast
Joined: Nov 2003
Posts: 482
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..

Re: prevent specific users from using img tags? [Re: sirdude] #317247 06/19/2008 1:33 AM
Joined: Jan 2000
Posts: 5,786
Gizmo Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,786
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 - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Sponsored Links
Re: prevent specific users from using img tags? [Re: Gizmo] #317272 06/23/2008 2:10 PM
Joined: Nov 2000
Posts: 1,271
drkknght Offline OP
Kahuna
OP Offline
Kahuna
Joined: Nov 2000
Posts: 1,271
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

Re: prevent specific users from using img tags? [Re: drkknght] #317275 06/23/2008 7:23 PM
Joined: Jan 2000
Posts: 5,786
Gizmo Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,786
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 - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps

Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
jgeoff
jgeoff
NJ
Posts: 96
Joined: April 2001
Forum Statistics
Forums63
Topics37,490
Posts293,665
Members13,828
Most Online5,166
Sep 15th, 2019
Top Posters(All Time)
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,786
Greg Hard 4,625
Top Posters(30 Days)
isaac 12
Gizmo 1
Today's Statistics
Currently Online 960
Topics Created 0
Posts Made 1
Users Online 1
Birthdays 15
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191013.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.034s Queries: 15 (0.011s) Memory: 3.2448 MB (Peak: 3.4383 MB) Data Comp: Zlib Server Time: 2019-10-17 20:10:44 UTC
Valid HTML 5 and Valid CSS