The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Calling vB templates from non-vB scripts?
I have some non-vb scripts on my site that I'm trying to get to use the vb header template. The script currently calls a non-vb header file, basically just a php file I created and am calling via an include statement. Is there a way to make it so the script calls a file which pulls in the vb header template?
I've read Psionic Vision's tutorial about creating custom non-vb pages but it doesn't really explain how to make things work with existing pages and other scripts. |
#2
|
|||
|
|||
Read the tutorial again, this is explained in it
You just need to set the error_reporting, include global.php (use chdir if your file is outside the vBulletin directory), define THIS_SCRIPT, ... and then you can use the vBulletin template system. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|