Coinbase

Author Topic: Ad not shows up when not logged in  (Read 1961 times)

0 Members and 1 Guest are viewing this topic.

Offline kristien

  • Newbie
  • *
  • Posts: 1
Ad not shows up when not logged in
« on: August 28, 2007, 03:24:59 am »
Hellow,

I have added this code to index.template.php but the adds only shows up when i am logged in.

Tests concluded that $ads is empty when i am not logged in.
What can i do about it ?

I use the theme scribbles.

Code: [Select]

if (function_exists("show_towerrightAds") && function_exists("show_towerleftAds") && function_exists("show_bottomAds"))
{
//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);
}

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
   echo '
....

SMF Ads Support Forum

Ad not shows up when not logged in
« on: August 28, 2007, 03:24:59 am »
.