![]() |
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. |
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. |
All times are GMT. The time now is 02:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|