The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Hi guys,
I foollowed the direction to this post as well as the official documentation and I can't seem to get it to work. I went to "Plugins & Products" and created a new plugin. The product was selected to vBulletin, I set the hook location as vBulletin General > global_start. I left the Execution order at 5 (i have no idea what this is) and I added Code:
ob_start(); include('http://www.supermandatabase.com/header.php'); $includedphp = ob_get_contents(); ob_end_clean(); I then went and placed $includedphp into the header box on my template. Nothing... does not work. What can I do? Thanks |
#12
|
||||
|
||||
You need to include a file on your server
include('./header.php'); or include('/path/to/the/file/header.php'); |
#13
|
|||
|
|||
Thanks for the reply.
I changed Code:
ob_start(); include('http://www.supermandatabase.com/header.php'); $includedphp = ob_get_contents(); ob_end_clean(); Code:
ob_start(); include('/home/superman/public_html/header.php'); $includedphp = ob_get_contents(); ob_end_clean(); Code:
ob_start(); include('./header.php'); $includedphp = ob_get_contents(); ob_end_clean(); Any other suggestions? Thanks again. SC |
#14
|
||||
|
||||
Try this temporarily, and see if it outputs the contents of the header file
Code:
ob_start(); require_once('/home/superman/public_html/header.php'); $includedphp = ob_get_clean(); echo '<hr>before'; echo $includedphp; echo 'after<hr>'; die; |
#15
|
|||
|
|||
Nada.. nothing showed up in the header. I wonder if it's a pathing issue (I ran a php script and verified the correct path though) or something else?
|
#16
|
||||
|
||||
Nothing at all showed up?
|
#17
|
|||
|
|||
Nope. You can see the bulletin board here
supermandatabase.com/forums I even triple checked to make sure that the plugin were turned on. I tried renaming the variabl and placing it into the header. Nothing... I know a lot of php and this has me scratching my head. SC EDIT: Sorry, I didn't mean "Nothing" showed up. I meant nothing showed p that we set in the plugin variable. --------------- Added [DATE]1195937083[/DATE] at [TIME]1195937083[/TIME] --------------- So am I Just S.O.L. then? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|