Coinbase

Author Topic: Same Ads showing Up Twice, under the same board  (Read 4439 times)

0 Members and 1 Guest are viewing this topic.

Offline Tingo

  • Newbie
  • *
  • Posts: 6
    • Email
Same Ads showing Up Twice, under the same board
« on: December 07, 2008, 12:02:50 pm »
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  :)


 
« Last Edit: December 20, 2008, 03:45:39 pm by Tingo »

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: Same Ads showing Up Twice, under the same board
« Reply #1 on: December 09, 2008, 08:47:36 pm »
The mod most likely installed twice. Can you attach your index.template.php file from your default theme so I can be sure?

Offline Tingo

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Same Ads showing Up Twice, under the same board
« Reply #2 on: December 11, 2008, 06:03:30 pm »
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 :)

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: Same Ads showing Up Twice, under the same board
« Reply #3 on: December 11, 2008, 08:36:11 pm »
This template oddly enough is broken.

Find:

Code: [Select]
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:
Code: [Select]
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.
« Last Edit: December 11, 2008, 08:39:35 pm by ccbtimewiz »

Offline Tingo

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Same Ads showing Up Twice, under the same board
« Reply #4 on: December 13, 2008, 12:55:28 pm »
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 :)           
« Last Edit: December 15, 2008, 09:13:11 am by Tingo »

Offline dropbop

  • Newbie
  • *
  • Posts: 3
    • Email
Re: Same Ads showing Up Twice, under the same board
« Reply #5 on: May 30, 2009, 06:41:52 pm »
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


Offline perfor23

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Same Ads showing Up Twice, under the same board
« Reply #6 on: September 21, 2009, 01:08:36 pm »
fixed it easy as pie. email at eric@ performance-craft.com and i will explain

SMF Ads Support Forum

Re: Same Ads showing Up Twice, under the same board
« Reply #6 on: September 21, 2009, 01:08:36 pm »
.