Quote:
Originally Posted by DragonByte Tech
try this
hook forumhome_complete
PHP Code:
$fcontents = join ("", file ("http://www.myanimeisland.com/banner_ads.txt"));
$s_con = split("~",$fcontents);
$banner_no = rand(0,(count($s_con)-1));
vB_Template::preRegister('FORUMHOME', array('randombanner ' => $s_con[$banner_no]));
Then to the template add
Code:
{vb:raw randombanner}
|
Thanks but its not working also