SMF Ads Support Forum

Support => General Support => Topic started by: higherauthority on October 13, 2007, 07:08:28 PM

Title: adds double in ad management list
Post by: higherauthority on October 13, 2007, 07: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?
Title: Re: adds double in ad management list
Post by: bigguy on October 14, 2007, 03: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.
Title: Re: adds double in ad management control panel
Post by: facing the facts on March 18, 2008, 05: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:

if (function_exists("loadAds"))
loadAds();
if (function_exists("loadAds"))
loadAds();


MODIFIED CODE:

if (function_exists("loadAds"))
loadAds();




Thanks Panzer!
http://www.iscripting.net