The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Header/Footer Question
I am new to PHP but I have written my own code that I would like to come up between the vbulletin header and footer its a simple " fill in the blank form" that stores data in a mySQL database. No matter how hard I try when I link to it I cant get it to come up between the vbulletin header and footer. Is there a way to do this with a php file (form.php for example)??? It does contain html code in it. What am I doing wrong? Do I have to make it a template? and if so how would I call it up?
Thanks, Frequency |
#2
|
||||
|
||||
Make a new template with all the HTML in it... then inside your forum root 'global.php' script, find this :
PHP Code:
PHP Code:
Then, go into your 'header' template, and place : $thingy_template, wherever you want the template to appear. Of course, this is assuming you want this template parsed for every page. Specify the single page if you only want to display it on one page. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|