The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Include header template
What i want is a little direction on how to include the forum header template in all my external php pages(Not in the forum folder).
I know this will be a really simple task, but i have used some code found elsewhere on this forum and it is putting the file up with the header at the top of the page as i want, but any other content i have added under it is gone. Can someone guide me into what i am doing wrong? This is the code i was using, or something like <?php chdir("./forum"); error_reporting(E_ALL & ~E_NOTICE); $globaltemplates = array('main'); require_once("./global.php"); eval('print_output("' . fetch_template('header') . '");'); ?> Sorry i couldn't put the script in code tags, but there seems to be a problem when i try to use any of the code options bbcode options, it just sends me to the top of the page and inserts nothing!! Thanks Dave |
#2
|
||||
|
||||
Quote:
|
#3
|
||||
|
||||
Thanks Faranth.
Is there any chance you could jot me down an example of how i would do this. PM or here, although here would be nice to give others the knowledge. Thanks |
#4
|
||||
|
||||
Done it.....
|
#5
|
||||
|
||||
sorry. i do have a tutorial in my sig Some Basics of vB3
|
#6
|
||||
|
||||
Quote:
Can you tell me how you managed to do this? I am interested in the same thing. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|