The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Blank Template
I was wondering if someone can show me the code for a blank template that uses my header and footer but allows both guests and members to see it. I have one that I used from something else but it doesnt allow guests to see it.
this is the blank template: Code:
<?php error_reporting(E_ALL & ~E_NOTICE); define('THIS_SCRIPT', 'chat'); require_once('./global.php'); eval('$navbar = "' . fetch_template('navbar') . '";'); $globaltemplates = array('linktous'); if ($bbuserinfo[userid]=='') { print_no_permission(); } else { $username1=ereg_replace("[^A-Za-z0-9]", "_", $bbuserinfo['username']); $myLength = strlen( $username1 ); if ($myLength > 15) { $username = substr( $username1, 0, 15 ); } else { $username = $username1; } eval('print_output("' . fetch_template('linktous') . '");'); } ?> Chris |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|