I have a forum using SMF 2.0 RC4 and ezPortal 0.4.5
I installed the mod Ad Management and it totally wrecked my template and im not a coder so after playing around with it trying to get it to work just made things worse.
I figured it would be easier to paste the code for various ad positions into blocks. I did this for google adwords ads and worked great, but I want to have various ads on rotation since I work with affiliate ad systems as well as Adwords.
SO....I tried adding the PHP code for the ad placements of Ad Management into a PHP block, but its not working.
This is the code I am trying to add into a PHP Block:
//Show ads on the bottom of the page
$ads = show_bottomAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
It gives me the following error in the box:
ezBlock unable to run PHP syntax error!