Rotating Banners in 3.5
Hello, I was sent over here from the vBulletin.com boards, I hope that you can help me. We recently upgraded from version 2.3 to version 3.5, I've been able to get everything working again except for our rotating banner system. This code (see below) previously appeared in the "Parsed PHP Code" window in vers. 2.3. I am wondering where it needs to be in version 3.5 (it didn't seem to work as a "hook").
// This code is PHP4 only:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
include_once("/home/rue-morgue/forums/rotatingbanners/bannerload.php");
$bannerobj = new bannerload("http://rue-morgue.com/forums/rotatingbanners/");
ob_start();
$bannerobj->displaybanner();
$include_banner = ob_get_contents();
ob_end_clean();
Unfortunately, I am not sure who scripted it. I inherited this code when I took over the position.
Thanks,
Monica S. Kuebler
Rue Morgue Magazine
|