The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding a Conditional
I run a sports card trading site and our members previously used the User Notes to leave feedback on each other after trades were made. We had the MEMBERINFO template coded to show 'User Notes: [#] [View/Post]'. I would like to make it so only Mods and Admins can see this info. I would like all other members not to be able to see it.....can anyone help me with what code I need to add so this is hidden from everyone but Mods and Admins?
Chris |
#2
|
||||
|
||||
By default only people with access to the usernotes should be able to see it, however if this is not the case or you are using custom coding
<if condition="(is_member_of($bbuserinfo, 5)) OR (is_member_of($bbuserinfo, 6)) OR (is_member_of($bbuserinfo, 7))"> show info to mods / smods / admins only </if> |
#3
|
|||
|
|||
Thank you!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|