The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Restrict CODE for certain usergroups
Ok... I am looking for a hack that will allow me to either restrict an existing bbcode from certain usergroups and display an "error" message instead, or create another bbcode like [restricted]...[/restricted] that will do the above.
I was playing around with is_member_of() function a bit, but I guess it's been changed a bit in version 3.5, and I am totally lost now... what I have at the moment is (I believe it was one of the hacks posted below) a customized bbcode_code template that checks if the user is_member_of certain usergroups, and if not then it displays an error message, if yes, it displays whatever is in Code:
... There are a couple of hacks that actually do something similar to what I am looking for, but are for vb3.0. https://vborg.vbsupport.ru/showthread.php?t=77456 https://vborg.vbsupport.ru/showthread.php?t=59648 How hard would it be to do something like this in 3.5? |
#2
|
|||
|
|||
I'll bump this; I'm searching for a way to limit a custom bbcode to a usergroup. (I want to make a [modbreak] tag which I got now; I just cant find out how to restrict it to mods/admins only.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|