The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey Guys,
What I would like to do is to display something in all but a few forums. This conditional works for a single forum, but when I try and add other IDs separated with a comma, it shows an error. Code:
<if condition="$forum[forumid] != X"></if> I know I could use the following conditional to display it in those particular forums, but how can I alter it so it displays in all BUT the ids listed? Code:
<if condition="in_array($forum['forumid'], array(1,2,3,6))"></if> Cheers, LTC |
#2
|
|||
|
|||
![]()
Bumpity
|
#3
|
||||
|
||||
![]() HTML Code:
<if condition="!in_array($forum['forumid'], array(1,2,3,6))"></if> |
#4
|
|||
|
|||
![]()
alternative:
Code:
<if condition="in_array($forum['forumid'], array(90,111,96))"> option a <else /> option b </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|