This has been working on my forum using local php invocation code.
I do get 3 mysql errors every hour that I haven't been able to figure out though. The mysql errror always gets reported as unregistered user so I think it may be spider related. The mysql error hasn't been causing any problems though. Just annoying getting the email about it.
Product: vBulletin
Hook Location: global_start
Title: OpenX
Execution Order: 5
Plugin PHP Code:
Code:
$tz = date_default_timezone_get();
define('MAX_PATH', '/home/website/openx');
if (@include_once(MAX_PATH . '/www/delivery/alocal.php')) {
if (!isset($phpAds_context)) {
$phpAds_context = array();
}
$phpAds_raw = view_local('', 0, 3, 0, '', '', '0', $phpAds_context, '');
}
date_default_timezone_set($tz);
Then add $phpAds_raw[html] to your template where you want the banner ad to appear