The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if condition commands?
hey all,
i am going to use normal and paid users is there any way through if condition commands i can let some things show and other things not to the dif users! say if normaly user gets adverts and paid user doesnt i can just if condition the google adds or codes not to show for the paid users! thanks for your help |
#2
|
||||
|
||||
In a template do this where x is a usergroup number:
HTML Code:
<if condition="is_member_of($bbuserinfo, x)"> Stuff for users in usergroupid x <else />> Stuff for users not in usergroupid x </if> |
#3
|
|||
|
|||
thank you
--------------- Added [DATE]1218614830[/DATE] at [TIME]1218614830[/TIME] --------------- hey i gave it a go and it did not work i am using 3.6.x so maybe its something to do with that but the code you gave did not work do you have any other ideas? --------------- Added [DATE]1218614872[/DATE] at [TIME]1218614872[/TIME] --------------- does any one have abńy ideas? |
#4
|
||||
|
||||
Please post the code you are using, and what is being displayed.
|
#5
|
|||
|
|||
this is the code i am using:
Code:
<if condition="is_member_of($bbuserinfo, 6)"> Ad's Removed </else> My Adbrite Codeblah blah </if> ad's removed the ad shows here under |
#6
|
||||
|
||||
Code:
<if condition="is_member_of($bbuserinfo, 6)"> Ad's Removed <else /> My Adbrite Codeblah blah </if> |
#7
|
|||
|
|||
Thank you that works
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|