OK -
I'm getting close on this one.
The new PHPAdsNew offers an option for Local delivery using a template. (Apparently it didn't work before with templated sites.
It generates this:
code:
<?php
require('/home/measurection/htdocs/bannerads/phpadsnew.inc.php');
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 3, '_blank', '', '0', $phpAds_context);
$phpAds_context[] = array('!=' => $phpAds_raw['bannerid']);
// Assign the $phpAds_raw['html'] variable to your template
// echo $phpAds_raw['html'];
?>
I have tried putting this bit of code into the ubbt.inc.php file....
which should define that $phpAds_raw['html'] variable site wide.... right?
Then put $phpAds_raw['html'] into my header or footer template..... but it doesnt work.
Any ideas?
Am I on the right track?
Any help is appreciated.
