The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#9
|
|||
|
|||
![]()
This is one of those questions that gets asked occasionally. Apparently $foruminfo[forumid] doesn't work everywhere, but $GLOBALS['forumid'] seems to do it. Also, you can't use any variables in a template that haven't been registered, so even if $foruminfo exists, it probably wouldn't work in your situation (I assume nerbert is testing using another template, which is why it works). $GLOBALS[] is a "superglobal" so it's available everywhere.
BTW, in_array() is allowed in a template conditional (according to the manual anyway). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|