Quote:
Originally Posted by Abe1
Can you tell me why this should work? There is more then just adding bitfields to allow or not allow BBCODES. The bitfield numbers I use are vbulletin's numbers and I over ride them in my hack. Custom BBcodes dont get a bitfield. There is no reason why these insructions should work.
I am trying to work on a way to get permissions for custom bbcodes.
|
In the code to add to "class_bbcode" (that Wild-Wing posted) there is the code:
if ($vbulletin->options['allowedbbcodes'] & ALLOW_BBCODE_ADMINWARN)
Isn't that then using going to use the new bitcodes that we defined to control these new tags. And my extension to your hack then lets you switch them on and off in the admincp (and that seems to does work).