![]() |
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 2. Created new plug-in: Code:
ob_start(); 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? |
don't you need the path adding?..
|
First, you need to pre-register the variable.
|
Just for general info, in the future a question like this is better fit for the "VB4 Programming Discussion" Forum (Here) than the "Requests" forum it's in now.
|
Thanks ForumsMods, that's cracked it. Really had me stumped as there was nothing about this in the online manual.
Sorry BirdOPrey5 - feel free to move it to the appropriate discussion. Can vBulletin do that? |
All times are GMT. The time now is 01:11 PM. |
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:
|