I dont know all the exact code. But you would need to require global.php
Something like...
Code:
// ######################### REQUIRE BACK-END ############################
require_once('./global.php'); Then once that is done you can use vb conditionals and all.. To be honest you should set the whole thing then work on your code
Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'whatever goes here'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
= array(
);
// get special data templates from the datastore
= array(
);
// pre-cache templates used by all actions
= array(
'whatever goes here',
);
// pre-cache templates used by specific actions
= array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
= array();
= 'Whatever Page';
= construct_navbits();
eval(' = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('whatever') . '");');
?> Just change whatever goes here to whatever you want the page named
This should do you for the new threads
New Threads on Non VB page - vBulletin.org Forum
Maybe this for the welcome box?
Deluxe vB User login and access control on non vB pages - vBulletin.org Forum
Its 3.5 but should be able to still use