![]() |
Conditional to display in all but xx forums
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 |
Bumpity
|
HTML Code:
<if condition="!in_array($forum['forumid'], array(1,2,3,6))"></if> |
alternative:
Code:
<if condition="in_array($forum['forumid'], array(90,111,96))"> |
All times are GMT. The time now is 09:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|