The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I just wanted to know why we are not able to do
<?php include ("bottom.php");include ("whatever.php"); ?> on external bBulletin pages that use the eval('print_output("' . fetch_template('TEMPLATE_XXX') . '");'); I know we can put the php include in the php include template and it works from there but I am using a news sscript that cannot work from the templates because it carries a newsid variable from a cgi script to open a static page. So I was wondering, is there any way to do a php includes from a .php file after pulling forum data from a template? I have tried over and over all I get are blank white pages the moment I put an eval('print_output( function in the page. very frustrating ![]() |
#2
|
|||
|
|||
![]()
What you would have to do is tell php to change to the forums directory to get the globals file i take is what your after. an example is.
PHP Code:
|
#3
|
||||
|
||||
![]() Quote:
1) Why do you need to do the includes after the val 2) if its a blank page (which usually means the template is stuffed) why are you eval'ing at all 3) you can eval without print_output, store the template in a variable 4) what makes you think the news thing wont work from a template |
#4
|
|||
|
|||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|