![]() |
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:
|
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)"> <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. |
Many Thanks, I'll have a play
|
All times are GMT. The time now is 09:54 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:
|