News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

Same Ads showing Up Twice, under the same board

Started by Tingo, December 07, 2008, 12:02:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tingo

Hi :)

Could some one help me please?

I added a New Ad and in the "Edit Ad's" it show the same ad twice on my SMF forum

The setting I used are     


Help Which boards should this ad display in "1"
   
Help Display ads within posts        "4"


Help Display ads after categories  "6"


Help Display ads on every page right below the menu "ticked on"

Help Display ads on board index "ticked on"

Thank you for your help

Kind Regards

Charles  :)


 

ccbtimewiz

The mod most likely installed twice. Can you attach your index.template.php file from your default theme so I can be sure?

Tingo

Hi  :)

Thank you for great help, That sound like what the problem will be, would you let me know please how do I recorrect it? Thank you for your brilliant help.

Kind Regards 

Charles :)

ccbtimewiz

#3
This template oddly enough is broken.

Find:

echo '
</td>';
//Welcome Ads
if (function_exists("show_welcomeAds"))
{
$ads = show_welcomeAds();
if(!empty($ads))
{
echo '<td class="windowbg2">';
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
echo '</td>';
}
unset($ads);
}
echo '
';


Replace with:
echo '
</td>';
//Welcome Ads
if (function_exists("show_welcomeAds"))
{
$ads = show_welcomeAds();
if(!empty($ads))
{
echo '<td class="windowbg2">';
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
echo '</td>';
}
unset($ads);
}
echo '


Use the attached.

Tingo

#4
Hi   
Thank you for your great help. I up loaded the Themes.template.php  I still got two ad's show up. Could you please help?

Kind Regards

Charles :)           

dropbop

Hey guys, I am having the same problem as the OP

Im using smf 1.1.9

I have installed the ad management mod loads of times on 1.1.8 and it woked fine every time, but on 1.1.9 it seems to add two ads.

It is not just on the front end but when you create an ad in Ad Management it will automaticly create an identicle second ad.

Any Ideas? Becuase the site is an affiliate site and ads are the most important part of it.

Cheers guys

DB


perfor23