The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hi
I'm trying to use <vb:if condition="in_array($GLOBALS['forumid'], array(32,67,77,82))">_2</vb:if> on headinclude Any ideas why it's not working? Thanks in advance |
|
#2
|
||||
|
||||
|
Try without the single quotes around forumid
Code:
<vb:if condition="!in_array($GLOBALS[forumid], array(32,67,77,82))"> |
|
#3
|
|||
|
|||
|
When I try it I find that what you posted seems to work. Make sure you're browsing with the same style you're editing, and maybe check the html source of the page to see if the resulting code looks right.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|