![]() |
Quote:
|
Quote:
[high]* Smiry Kin's going to uninstall, unless a fix is made soon[/high] |
Quote:
|
well,
you could add a plugin on hook location bbcodeparse_start which checks the individual permissions using the bitfields from the advanced bbcode permissions hack.But you need to modify this hack a bit. i'll have a look later no time for it now :D |
Although I can't get it to work you can alter the Advanced bbcode permissions mod to control the usergroups that can use the new tags.
Download the Advanced permission add-on and edit the bitfield_advancedbbcodepermissions.xml file to add these two lines to the group options: <bitfield name="allow_bbcode_admin" group="advanced_bbcode_permissions" phrase="allow_bbcode_admin">1024</bitfield> <bitfield name="allow_bbcode_mod" group="advanced_bbcode_permissions" phrase="allow_bbcode_mod">2048</bitfield> Save that. Then open the product-advancedbbcodepermissions.xml file and add these two lines: <phrase name="allow_bbcode_admin"><![CDATA[[ADMIN]]]></phrase> <phrase name="allow_bbcode_mod"><![CDATA[[MOD]]]></phrase> Save that file. Then install the Advanced permissions product as per the instructions and you can then use that to control permissions to the new "admin" and "mod". (Word of warning - I can't at the moment test this but it should work!) |
I've got this working now - rather embarrassing I'd been mucking around class_bbcode a little while ago on my test forum to see if I could implement this and forgot about them, once I started from original files it all worked first time!
I've modified the advanced bbcode permissions to handle the new tags and that works so the codes can only be used by a mod or admin however if I use more then one mod box in the thread only the first one is parsed correctly the subsequent ones are ignored as if I didnt have permission to use the tag, |
well,
if u use that hack called "advanced bbcode permissions" then something like this should work PHP Code:
|
I've got the advanced bbcode hack installed and working but if I post more then one tag in a thread only the first one is correctly parsed, the subsequent tags are ignored as if I had no permission.
|
Quote:
Quote:
Details please ! |
Quote:
Quote:
|
All times are GMT. The time now is 01:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|