News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Coinbase

it adds 2 ads at a time

Started by thefley, September 01, 2010, 01:52:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thefley

SMF 1.1.11

when I go to make an add it makes 2 of the same ones,  see attaced pics.   how so i fix this?



vbgamer45

Most likely the mod installed twice and requires a template edit.
Like what I do please support me on https://www.patreon.com/vbgamer45

thefley

#3
Ok fixed. thx

pilladoll

how do you fixed it? it's the same problem i have

GhostWriter

I am getting double entries as well. It is true, apparently the mod script was added twice. If I delete one of the double, then both instances are automatically deleted, if I activate the ad, it appers twice. How do you fix that? Please tell me where to look and which template to edit.

morokat

yes me too how to do on its ?
why its like that?
can programer fix?
and how to edit??
thanks you

Niteagle

Quote from: thefley on September 01, 2010, 01:52:51 PM
SMF 1.1.11

when I go to make an add it makes 2 of the same ones,  see attaced pics.   how so i fix this?



chenpm

Quote from: thefley on September 03, 2010, 09:52:49 AM
Ok fixed. thx

Any chance you can share how you fixed the double posting with the rest of us?

Thanks

chenpm

This may not help everyone, but I did the following and it seemed to work.  On the presumption that loading the Ad Management program twice would have changed certain files, I carefully examined my file directories, one at a time.

I found that certain ".php" files were duplicated.  In other words "XXX.php" was immediately followed by a file labeled "XXX.php~".

I assumed that the "XXX.php~" was an earlier file that did not contain the code that caused the ads to post twice.  So I did the following:

1. Changed the current file "XXX.php" to "XXX-old.php"  which makes it a non-recognizable file, and
2. Changed the earlier file "XXX.php~" to "XXX.php" by removing the "~".

By doing this for every file in all the directories, I restored the functionality of Ad Management so that it only posts one ad per ad inputted.

CAVEAT: I am not a php guru or, for that matter, that good at any of this stuff. I learned to compute on a Burroughs 5500 in 1965 and did most of my work on a Log-Log DeciTrig Slide Rule.  So this may be dumb luck that it worked and may not work for everyone.  On the other hand if you see the same combination of ".php" files in your file directory, you might want to give it a try.  Do not erase the files you mark with "-old" as you may need them in the future or to restore functionality if my fix doesn't work.

paull

Please I don't know what τ̅☺ do my own apear seven time's and also show this links seven times
SMFAds for Free Forums
SMFAds for Free Forums
SMFAds for Free Forums
SMFAds for Free Forums
SMFAds for Free Forums
SMFAds for Free Forums
SMFAds for Free Forums

but can uninstall  only one of them so is rhere anything I can do on that and what pain me most is that I'm the one that cause it