The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Including a file in a template...
I've read how to do it and I'm pretty sure I did it right.... I mean, I know its doing something because it gives me an errror..lol
Hook Location: global_start Execution Order: 5 Plugin PHP Code: ob_start(); include('home/fatboy99/public_html/templatefiles/arcadeheader.php'); $arcadeheader = ob_get_contents(); ob_end_clean(); I get this error: Warning: include(home/fatboy99/public_html/templatefiles/arcadeheader.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(404) : eval()'d code on line 105 Warning: include(home/fatboy99/public_html/templatefiles/arcadeheader.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(404) : eval()'d code on line 105 Warning: include() [function.include]: Failed opening 'home/fatboy99/public_html/templatefiles/arcadeheader.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/global.php(404) : eval()'d code on line 105 The file exists: http://www.fatboymagazine.com/templa...cadeheader.php I added $arcadeheader to the header template. Not sure what I've done wrong - its prolly something simple I missed or not... Not sure... Any help is appreciated - thanks in advance.... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|