Custom vBulletin Page

html-logo
<?php
// Error Reporting
error_reporting(E_ALL & ~E_NOTICE);

// Environment
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'YOUR_CUSTOM_TEMPLATE_NAME');

// init vB arrays
$specialtemplates = array();
$phrasegroups = array();
$actiontemplates = array();
$globaltemplates = array(
'YOUR_CUSTOM_TEMPLATE_NAME'
);

// vb globals
require_once("./global.php");

// NavBar
$navbits = construct_navbits(array('' => 'YOUR_NAVBAR_PAGE_NAME'));
eval('$navbar = "' . fetch_template('navbar') . '";');

// spit out template
eval('print_output("' . fetch_template('YOUR_CUSTOM_TEMPLATE_NAME') . '");');
?>

Leave a Reply