I'm still having fun with this. If I do the following:
$globaltemplates = array(
'navbar,headinclude'
);
// ## Grabs global.php this grabs vbulletins global.php so we can use the most basic of vBulletins functions ##
require_once("./global.php");
// ## this calls to print out one main template ##
eval('print_output("' . fetch_template('navbar') . '");');
eval('print_output("' . fetch_template('headinclude') . '");');
I get a grey screen outputted.
If I do:
$globaltemplates = array(
'headinclude,navbar'
);
// ## Grabs global.php this grabs vbulletins global.php so we can use the most basic of vBulletins functions ##
require_once("./global.php");
// ## this calls to print out one main template ##
eval('print_output("' . fetch_template('navbar') . '");');
eval('print_output("' . fetch_template('headinclude') . '");');
I get my nav bar outputted but without the formatting. Im very confused. I have looked in the vb3 index.php and cant find the section where it might call the navbar. Arghhhhhhhhhhh!!!
|