![]() |
Why won't external vbulletin pages do this?
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 :( |
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:
|
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 |
Quote:
|
All times are GMT. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|