The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am trying to make a new vb page for my website and i am following the directions to the key from https://vborg.vbsupport.ru/showthread.php?t=62164
but when i make it all i get is a plank page plz help my website is www.yousellstuff.com here is the page i am trying to make www.yousellstuff.com/test.php |
|
#2
|
||||
|
||||
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164&highlight=cubecart" target="_blank">https://vborg.vbsupport.ru/showt...light=cubecart</a>
|
|
#3
|
|||
|
|||
|
is there a reason why you just gave me the exact link i already have
--------------- Added [DATE]1214277091[/DATE] at [TIME]1214277091[/TIME] --------------- anyone |
|
#4
|
|||
|
|||
|
common
|
|
#5
|
||||
|
||||
|
Please post your page.
|
|
#6
|
|||
|
|||
|
post what page. I told you which one i am trying to make
|
|
#7
|
|||
|
|||
|
The PHP Code for the page you are trying to make.
|
|
#8
|
|||
|
|||
|
i coppied this into it
Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'test'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'TEST',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
$navbits = array();
$navbits[$parent] = 'Test Page';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('TEST') . '");');
?>
|
|
#9
|
||||
|
||||
|
Have you created the template?
|
|
#10
|
|||
|
|||
|
yes i did exactly what the directions said. Other then just inserting the code, i there something else i have to do with the template
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|