The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Thanks guys. Could I just check a couple of things with you.
First change: define('THIS_SCRIPT', 'test'); Do I just change 'test' to the name of my new page, or do I have to change 'THIS_SCRIPT' to anything too? Second change: // change the line below to contain the name of the actual main output template used in your script eval('print_output("' . fetch_template('test_mytesttemplate1') . '");'); I'm lost on this bit. Which template should I use? What I want is to create a page for my Terms and Conditions that looks just like all the other vB pages. Thanks v much for your help... --------------- Added [DATE]1199803581[/DATE] at [TIME]1199803581[/TIME] --------------- OK, I read on... I'm guessing I don't need to change 'THIS_SCRIPT', just 'test'. And then it shows me how to make the template. But if this section tells you where to put it, I'm stuck here: 'Using vBulletin-powered scripts outside vBulletin Directory'. 1) ie which directory do I FTP the file and the template to? 2) Where do I find this code: require_once('./global.php'); ? 3) And where would I find any relative links: Also, make sure you add the following code in the beginning of any relative links: Code: $vbulletin->options['homeurl'] |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|