The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Global.php variables? (trying to call foruminfo)
I'm trying to use this mod on my forums, however I ONLY want it to apply to one specific sub-forum. Currently the mod works by applying this code at the top of the global.php file..
if(file_exists('dnp_fw.php')){require_once('dnp_fw .php');} How do I make it so that it only calls that script if the user is inside of a specific subforum? Right now I'm trying to use the below code but it's not working, I assume it's because the global.php file doesn't have access to these variables? What do I use instead? if ($foruminfo[forumid]==XX) { if(file_exists('dnp_fw.php')){require_once('dnp_fw .php');} } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|