The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to use the following conditional in the BBCode
<vb:if condition="in_array($foruminfo[forumid], array(1,2)) AND $bbuserinfo[userid]"> If works fine if the $bbuserinfo[userid] is used alone. However, I can't get the forumid bit to work. I have disabled post caching. For some reason, $foruminfo[forumid] is returning 0. Well, to put it another way, in_array($foruminfo[forumid], array(0,1,2)) is true no matter which forum I am on, and in_array($foruminfo[forumid], array(1,2) is false, no matter which forum I am on. Any ideas how I can get this to work for forum ids, 1 and 2, and for all other forum ids, go to the else conditional? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|