The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
conditional needed to stop banner from showing on forum
how would i stop a banner from showing on a certain forum id #?
it should be a conditional right? i will have the banner in the header template. please help. thanks. |
#2
|
|||
|
|||
Quote:
then input the code for your banner and end it with Quote:
"is_member_of" will be changed and instead of $bbuserinfo it will be $forumid sorry about that. |
#3
|
|||
|
|||
can u explain that please. gimme a working example of the code im trying to get here
|
#4
|
|||
|
|||
the code i gave you is to make a conditional for usergroups, not for forum IDs. i don't know the code to use for forum IDs. with my code you can choose to make something show up for certain groups if you want. for instance, paid members on my site don't see google ads, but free users do. i can give you a more indepth example if you think that's the route you want to take
|
#5
|
||||
|
||||
As Dr. Viggy said the numbers in
Code:
<if condition="is_member_of($bbuserinfo, 2,9,10,11)"> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|