The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
PHP includes not working
Trying to get file includes working, but without any luck. Have followed instructions here:
http://www.vbulletin.com/docs/html/t..._externalfiles So, in short, have created a php file, "example_include.php" with the contents: Code:
<?php echo 'Include success!!'; ?> 2. Created new plug-in: Code:
ob_start(); include('example_include.php'); $includedphp = ob_get_contents(); ob_end_clean(); Checked plug-in is active (and plugin feature generally is enabled). 3. Added {vb:raw includedphp} to the header under common templates. 4. Enabled debug to view that the file has in fact been included: Quote:
Any ideas out there please? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|