The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a piece of code that I want to be viewed by Admins, super mods and mods only, can anyone tell me how to do this?
I know it's something like <if condition"$userinfo[usertitle]== "> Can anyone help me, it would be much appreciated, maybe I can return the favour some how ![]() |
#2
|
||||
|
||||
![]()
If you have your admins, supermods and mods only in the standard usergroups you can do
<if condition="is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)"> If you do not have all your staff in one of those groups it is getting more difficult. You could use can_moderate() in this case, but it will cause an extra query in a lot of pages. |
#3
|
|||
|
|||
![]()
Yup they're in the original usergroups. Thanks again, you've help me out quite a few times, let me know if you need any help
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|