The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
how can i put followhing conditionals togather
HTML Code:
<if condition="in_array($foruminfo['forumid'], array(1, 2, 3))"> test </if> <if condition="THIS_SCRIPT=='index'"> bla bla </if> |
#2
|
||||
|
||||
![]()
Since they are giving different output I don't follow how you would want to join them.
If you just want to join them and get one result then just join the two conditions with an AND/OR - depending on what you want. for example ; HTML Code:
<if condition="THIS_SCRIPT=='index' AND in_array($foruminfo['forumid'], array(1, 2, 3))">DO SOMETHING</if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|