News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

adds double in ad management list

Started by higherauthority, October 13, 2007, 07:08:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

higherauthority

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?

bigguy

This means that the ad code is doubled up in some places. The duplicate code must be removed from the template files only.

facing the facts

#2
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