The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
IF STATEMENT: making a navbar link visible to select usergroups
Hey,
One of the additional benefits VIP members receive on my forum is access to an arcade. I want a link to the arcade to be visible to these members only but I can't figure out the IF statement I would use? I came up with this but it doesn't work... <if condition=$usergroup=['11']> <li><a href="arcade.php$session[sessionurl_q]">Arcade</a></li> </if> Could somebody help please? Thanks! |
#2
|
||||
|
||||
This should work...
HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 11)"> <li><a href="arcade.php$session[sessionurl_q]">Arcade</a></li> </if> |
#3
|
|||
|
|||
Yes! thank you
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|