It's quite a large part of vB's index.php (copy and paste) and I don't want to risk breaking the rules. Can you give me a free pass?
I hope this helps for now:
I opened with:
Code:
if (in_array(THIS_SCRIPT, array('forumdisplay')))
{
I copied and pasted all of the Main Script bits (stopped before Birthday bit):
Code:
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumlist.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
And the entire bit of $activeusers and stopped at "// ### GET FORUMS & MODERATOR iCACHES":
Code:
// ### LOGGED IN USERS #################################################
$activeusers = '';
And ended all code with: