The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I asked this a while ago and got a half response. They said something about I can't include a php file in the header part of my forum template. They said I had to put it in phpinclude, or something like that. Can somebody help me out on how I can include a php file into the top of my forum header so it's on every page?
I would greatly appreciate it if you could post the steps. I am not a total noobie, but I do need help on what files I need to put what in, and where in the files I put what code. Thanks a bunch for any help you can offer. :up: Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Go to your Styles -> Modify -> [fonts/colors/etc] -> PHP parsed code:
if the filename is hello.php then put there: PHP Code:
|
|
#3
|
||||
|
||||
|
That puts it above my header. I need it the last thing in my header. Any other ideas?
|
|
#4
|
||||
|
||||
|
Code:
ob_start();
require('./hello.php');
$[high]hello[/high] = ob_get_contents();
ob_end_clean();
|
|
#5
|
||||
|
||||
|
Quote:
Any more help for a php noob and I would really appreciate it.
|
![]() |
|
|