The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if condition using vbulletin variable
Why doesn't the following if condition work? This is being used in the SHOWTHREAD template.
<vb:if condition="$foruminfo['forumid'] == 57"> {vb:raw $myvar} </vb:if> To clarify, if I remove the if condition my {vb:raw $myvar} works just fine. I just cannot make the if condition work like it used to in vB3. |
#2
|
||||
|
||||
Perhaps $foruminfo isn't a variable available in that template. Try $threadinfo['forumid']
|
#3
|
|||
|
|||
That worked perfectly. Thank you very much Lynne.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|