About this hack:
This hack will give you advanced control on BBCode. You will be able to define for each usergroup what BBCode they may or may not use. This hack works for both standard AND custom BB code!
Installation information on hack:
Files edited: 0
Templates edited: 0
Files to upload: 0
Time to install: 10 seconds max
Updates:
Version 3.0 (08/03/06):
Initial release of this hack for vb 3.6
[CHANGED] Re-did the way the permissions are stored to fix a lot of bugs.
Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released.
This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
Uninstalled and reinstalled product file, and same thing in admin usergroup.
Then when a user tries to post (with URL not allowed for their usergroup) they get
Code:
Warning: Invalid argument supplied for foreach() in /includes/class_bbcode.php(326) : eval()'d code on line 98
The post is posted, but the result page has the same error on it too. The post then looks like [ url ]http://www.google.com[ /url ] (with [ url ] tags showing (no spaces), but not parsed.) I'm not sure if this is working as intended (it would be nicer if the [url] tags were not only not parsed, but also not displayed if a user doesn't have permission to use them.)
Uninstalling for now, but really really would love to use this if I can get past the error.
Uninstalled and reinstalled product file, and same thing in admin usergroup.
Then when a user tries to post (with URL not allowed for their usergroup) they get
Code:
Warning: Invalid argument supplied for foreach() in /includes/class_bbcode.php(326) : eval()'d code on line 98
The post is posted, but the result page has the same error on it too. The post then looks like [ url ]http://www.google.com[ /url ] (with [ url ] tags showing (no spaces), but not parsed.) I'm not sure if this is working as intended (it would be nicer if the [url] tags were not only not parsed, but also not displayed if a user doesn't have permission to use them.)
Uninstalling for now, but really really would love to use this if I can get past the error.
I need to control the IMG tag on a group basis. I use vB 3.6.0.
AFAIK there is no way to control this tag in posts at the group level.
There are plenty of image permissions for attachments, sigs, avatars, etc.
Just not for posting. Jake Bunce has said the same over at vB.com.
Any chance of adding the IMG tag to your code?
Our problem is the occasional drive-by porn poster. By restricting new members' access to the IMG tag, we can virtually eliminate the problem.