The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
External header issue
Hello Everyone
I'm having a problem pulling in a PHP file into the VB header, I'm using the instructions as set out in the VB manual for external PHP files, but it's giving this error in the header: Quote:
PHP Code:
Any suggestions? Thanks in advance. |
#2
|
|||
|
|||
Still can't get this to work but I'm thinking that it may be because it's an executable PHP with an action "index.php?t=index_menu", rather than the VB ob_start call above just pulling in the content of the index.php file?
Any suggestions? Thanks |
#3
|
|||
|
|||
From php.net:
PHP Code:
PHP Code:
Its a bit of a guess but it's worth a try. |
#4
|
|||
|
|||
Thanks Opserty
Still no luck, I'm getting this error when using a URL: Quote:
I think I may have found the issue here, the index.php file I'm calling has an action "index.php?t=index_menu" and so it's not an actual "correct" path name. It's also overriding VB, this is a Smarty PHP call using Jamroom.net software which will not mix well within the VB framework. Do you know of any another way I can pull in this call into the header section of VB, or do I have to manually design one? Thanks |
#5
|
||||
|
||||
The issue here is that your server has blocked accessing URLs, so your include won't work if it accesses a URL.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|