vb.org Archive
>
vBulletin 4 Discussion
>
vB4 General Discussions
> Conditional statement to not show in a couple forums?
PDA
View Full Version :
Conditional statement to not show in a couple forums?
bzcomputers
09-28-2012, 05:36 PM
What would the conditional statement be to not show something in forums 10, 14, 18?
kh99
09-28-2012, 05:45 PM
Try this:
<vb:if condition="!in_array($GLOBALS['forumid'], array(10, 14, 18))">
This only shows if forum isn't 10, 14, or 18
</vb:if>
bzcomputers
09-28-2012, 06:09 PM
Thanks, just what I needed.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.