Coinbase

Author Topic: adds double in ad management list  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

Offline higherauthority

  • Newbie
  • *
  • Posts: 1
adds double in ad management list
« on: October 13, 2007, 06:08:28 pm »
I installed this on a test setup and it worked fine I installed it on my production server (its an identical set up)

and when I add an add it it displays 2 times in my ad management list and also displays twice.  i saw a bunch of posts about it but not sure if its the same   what file do I need to look at?

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: adds double in ad management list
« Reply #1 on: October 14, 2007, 02:35:43 pm »
This means that the ad code is doubled up in some places. The duplicate code must be removed from the template files only.

Offline facing the facts

  • Newbie
  • *
  • Posts: 1
Re: adds double in ad management control panel
« Reply #2 on: March 18, 2008, 04:40:27 pm »
To help anyone else, here are the possible files affected.  8)

admin.php
admin.template.php
ads.php
ads.english.php
ads.template.php
display.template.php
LoadAds.php,
modifications.english.php
index.php (main folder)
____________________________________

TITLE: Ad Mod Problem - Fix
PHP DOC: index.php (main folder)

PURPOSE: Ad titles appeared in duplicate on the AdModule Control Panel

CODE IN PLACE:

Code: [Select]
if (function_exists("loadAds"))
loadAds();
if (function_exists("loadAds"))
loadAds();

MODIFIED CODE:

Code: [Select]
if (function_exists("loadAds"))
loadAds();



Thanks Panzer!
http://www.iscripting.net
« Last Edit: March 21, 2008, 06:43:07 am by facing the facts »

SMF Ads Support Forum

Re: adds double in ad management control panel
« Reply #2 on: March 18, 2008, 04:40:27 pm »
.

 

.