show me how to call a php script into the header file in vbulletin a normal php call inst working.
$20 epass to anyone that can...
Collapse
X
-
$20 epass to anyone that can...
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

My Newest ThemeTags: None -
add to 'phpinclude' templateCode:ob_start(); require("/path/to/include/file"); $file = ob_get_contents(); ob_end_clean();
Replace '/path/to/include/file' with the path to the file you want to include.
Then put '$file' in the templates where you want your included file to display

Hope that helps took me forever to figure out.Coming Soon! -
Say "Hey php script get into the header file!"
SellHealth - Sell Herbal Sex Enhancers, HGH Releasers and more!
Skype: brucemorreyComment
-
Originally posted by TheMobah ;) what if you added the simple include to the actual header.php file?
then it might not be in the right spot after all the other templates load
and you cant just change everything there, cuase it will mess up the placement of everything else.
besides, how hard is adding the above code :D
change '$file' to like '$file1' etc if you have more then one thing you want to include.Coming Soon!Comment

Comment