The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB IF Statement in Newthread Template
Hi,
I want to show a notification in the "newthread" template. I have it all set up BUT I only want it to show in a specific forum. I have tried this: Code:
<vb:if condition="$forum[forumid] == 37"> Code:
THIS_SCRIPT = "newthread" |
#2
|
|||
|
|||
Try using $forumid instead of $forum[forumid]. There's no need to check THIS_SCRIPT if you're putting it in the newthread template since it's only used in one script anyway.
|
Благодарность от: | ||
Black Snow |
#3
|
|||
|
|||
Perfect, thank you
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|