The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Include PHP file in template
I want to create pages in vb that will include a template and call a php file.
The template will have static text and the php fill will pull data from a database. If I follow the tutorial for adding pages using vb templates -> https://vborg.vbsupport.ru/showthread.php?t=62164 and then add a plugin with the php file included described here -> http://www.vbulletin.com/forum/showthread.php?t=173937 Would it give me what I want? It seems a little redundant to include 2 files, or is it the way it is supposed to be? |
#2
|
||||
|
||||
Take a look at this tutorial: https://vborg.vbsupport.ru/showthread.php?t=98009
It's a little more in-depth and more recent that Gary's article. Any PHP you'd like to add to your script can be added to the custom page you're creating - you don't need to use any plugins (unless you just want to). |
#3
|
|||
|
|||
Thanks kirk, I'll check it out!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|