The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
News/Rule box displayed in 1 specific forum?
I would like to add a box with a few rules but only want it to show up in 1 forum section, anyone know how i can do this? Im sure its simple but I wouldnt know how to make it show up on only 1 specific forum
thanks |
#2
|
|||
|
|||
up..anyone got an idea?
|
#3
|
|||
|
|||
.......................
|
#4
|
||||
|
||||
In template forumdisplay:
<if condition="$forum['forumid'] == X"> YOUR CODE HERE </if> (X as the forumid of the forum where you want that rule to be). |
#5
|
|||
|
|||
Hmmm, thanks for the reply but for some reason thats not working, i tried adding the code without that condition to see if the problem was the code i added but it shows fine.
|
#6
|
||||
|
||||
Try this:
HTML Code:
<if condition="$forumid == 'xx'"> code here </if> |
#7
|
|||
|
|||
Boofo thanks alot man! Now how would I go about making it appear in more then 1 forum? I want it displayed in about 4 subforums of this one.
thanks for the help |
#8
|
||||
|
||||
HTML Code:
<if condition="$forumid == 'xx' OR $forumid == 'xx' OR $forumid == 'xx' OR $forumid == 'xx'"> code here </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|