The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide a menu item
I have this menu item which shows up as a link "Trader?" on my menu bar.
I only want one usergroup to be able to see it. How could an idiot do that. Thanks PHP Code:
|
#2
|
||||
|
||||
Put an "If" statement around it (be sure to get the beginning of the <a href... tag in it...
Code:
<if condition="is_member_of($vbulletin->userinfo, 2)"> <a href="http://www.mysite.com/traders.php">Trader?</a> </if> <if condition="is_member_of($vbulletin->userinfo, 2,5,6,7)"> The numbers are of course the usergroup id's of the usergroups you want to show this to. |
#3
|
|||
|
|||
Many Thanks, I'll have a play
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|