The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin 4 Template Conditionals not work for VB4.0.3
Code:
<vb:if condition="in_array($forum['forumid'], array(1,2,3))">Show this to forum 1, 2 and 3</vb:if> |
#2
|
||||
|
||||
Quote:
Did you replace the 1,2,3 with your actual forums id''s that you wanted to do stuff? |
#3
|
||||
|
||||
That condition will work in some templates I'm sure. You can't just give us a condition though without telling us what template it is in. Noone can test it otherwise. Also, go find where the template is rendered in the code and make sure the variable you are using (in this case $forum) is registered for use.
|
#4
|
|||
|
|||
How do you check if a variable is registered for use?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|