The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with an IF in VB
I need the if statement for vB that is the usergroupid , i have tried $bbuserinfo['usergroupid'] but no luck.. I also tried many more, if any body knows it off the top of there heads it is greatly appreciated
|
#2
|
|||
|
|||
What template are you wanting to use it in as I think it makes a difference
|
#3
|
|||
|
|||
well obviously it isn't the showthreads :P, it is in the navbar template and footer =)
|
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
Since it was never answered... There's variations on how to do this, but here's the way I'd do it
Code:
<if condition="$bbuserinfo['usergroupid'] == 6"><! -- Conditional content begin --> <! -- / End Conditional Content --> </if> |
#6
|
|||
|
|||
My code was already that =)
Code:
<if condition="$bbuserinfo['usergroupid'] == 9"> </else> <center> <br><font size="1"> Don't like ads? <a href="subscriptions.php?">Become a Premium Member!</a></font> </center><br /> </if> *EDIT: Nvm changed code to != instead of == and you can fill in the request, thx for the help guys! You led me to the answer * |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|