The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I tried to accomplish this on a few occasions and never had much luck.
I posted here for some assistance but I found the answer on my own througout the day. If you want to use php include code in your vBulletin or vBadvanced pages local or remote you can use this code in your phpinclude start template to check if a file exists then display it otherwise display a file or message of your choice (very handy) Code:
$includefile="http://www.mysite.com/index.txt"; $handle = fopen($includefile, "r", 1); if ($handle) { fclose($handle); ob_start(); require("http://www.mysite.com/index.txt"); $info = ob_get_contents(); ob_end_clean(); } else { ob_start(); require("/home/www/public/web/errors/nofile.txt"); $info = ob_get_contents(); ob_end_clean(); } enjoy... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|