The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need Static Template help....... bad
First, I'm a code dummy.......
I've been attempting to follow this seemingly simple -TEMPLATE- in order to create vB template driven pages. I think I'm struggling with calling the right variables. I created a rules.php file in my root dir (my forum sit in root/forums). Here is where I'm at: Code:
<?php //+GO+TO+FORUM+DIR chdir('./forums'); <-- Problem //+STANDARD+VBULLETIN+STUFF define('NO_REGISTER_GLOBALS',+1); define('THIS_SCRIPT',+'rules'); <-- Problem require_once('./global.php'); //+GENERIC_SHELL+VARS $pagetitle+=+"Title+of+Page"; $HTML+=+"";+//+PIECED+TOGETHER+IN+SCRIPT eval('$HTML+=+"'+.+fetch_template('forums/static/forum_rules')+.+'";'); <-- Problem $navbits+=+array();+ $navbits[$parent]+=+'Meganman';+ $navbits+=+construct_navbits($navbits);+ eval('$navbar+=+"'+.+fetch_template('navbar')+.+'";'); eval('print_output("'+.+fetch_template('GENERIC_SHELL')+.+'");'); ?> Quote:
fetch_template('forums/static/forum_rules') <-- This line calls the php doc i created that I want displayed in the template. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|