The Sandman
07-12-2004, 03:01 PM
Question - The conditional:<if condition="THIS_SCRIPT == 'adv_index'"> checks to see if we're on the vBAdvanced CMPS Homepage, right? What would the conditionals be to check if we're on the Links Page or Main Forum Page?
Brian
07-12-2004, 03:10 PM
If you'll open your links_config.php file and look for:
define('NO_REGISTER_GLOBALS', 1);
Right below that, add:
define('VBA_SCRIPT', 'links_directory');
Then you will be able to use the condition:
<if condition="VBA_SCRIPT == 'links_directory'">
I actually meant to add the 'VBA_SCRIPT' part to that file for RC2, but of course forgot about it before I released it. That is added to the copy on my localhost now though and will be in the next version, so you won't have to worry about re-hacking the file once the next version is released. ;)
As for your main forum's page, this condition should work:
<if condition="THIS_SCRIPT == 'index'">
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.