Quote:
Originally Posted by kh99
I think using the method from the article should have worked. Can you post the exact code you used (and the hook location)?
|
Thanks for your help people
code is:
Code:
ob_start();
require_once('/home/****/public_html/****/shoutcast/index.php');
$php_include = ob_get_contents();
ob_end_clean();
vB_Template::preRegister('FORUMHOME',array('php_include' => $php_include));
using in the templete "forumhome"
using the hook:
Code:
{vb:raw php_include}
and with doing all this ^^ .. it doesn't show anything at all
correct me if i'm wrong .. doing this should literally put what ever is being used in the "index.php" file (which this file also calls other files for use) onto the forumhome page where I decided to put it?
Thanks
Eddie