The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm trying to merge an e-commerce with the vbulletin.
I made a customized page, a customized vBMenu, but I can't see the PHP output other than variables, why ? In the manual is told that I can have the complete output : http://www.vbulletin.com/docs/html/t..._externalfiles "Most PHP files that you might wish to include in your forum contain echo or other output statements in your PHP file, it will break vBulletin because it is still in the process of initializing when it loads your PHP file. All echo and other output commands must be output buffered using ob_start, ob_clean, etc. commands. The output of your PHP script will be buffered for later use and inserted into a variable. All other statements in the PHP script will execute normally." |
#2
|
||||
|
||||
![]()
It seems I can show the buffer output now, I don't know how but it works.
Something weird is going on anyway, I included in the template the PHP file with the PHP Code:
This is the file products.php PHP Code:
PHP Code:
$my_variables (that contain One) and $products (that should show the buffered output from the included file. That's what I see : One 2 echo"3"; 4 instead of One 2 3 4 Does it make any sense ? ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|