Loading


Advertisement:

Author Topic: Prevent duplicate ad posts  (Read 3688 times)

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 283
  • Golden tip - Clear your cache :|
Re: Prevent duplicate ad posts
« Reply #30 on: December 29, 2016, 09:01:59 am »
i can think about it... but for now i'm finished... check all files and will upload it tomorrow to the market


here the last screenshot, where you can check and handle spam files and the settings page again

This is awesome. I hope it gets approved for the market soon.

Liath

  • Sr. Member
  • ****
  • Posts: 460
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Prevent duplicate ad posts
« Reply #31 on: December 30, 2016, 04:48:57 am »
I'm done... have checked all twice, add some translations for german support, made a help section and uploaded it to the market...


if all are right, you can download it there soon

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 283
  • Golden tip - Clear your cache :|
Re: Prevent duplicate ad posts
« Reply #32 on: December 30, 2016, 06:14:12 am »
I'm done... have checked all twice, add some translations for german support, made a help section and uploaded it to the market...


if all are right, you can download it there soon

Much appreciated, thanks

Aficionado

  • Hero Member
  • *****
  • Posts: 4023
  • Good things come to those who wait
Re: Prevent duplicate ad posts
« Reply #33 on: January 05, 2017, 02:58:34 pm »
@liath

One suggestion for the Stopwords. Could you add an extra check for the PLURAL of stop words ?

For example if the stopword is EXAMPLE, EXAMPLES could be banned also (example #2 LOAN and LOANS). How about it ? Seems logical ? Not sure if this could possibly create some problems .....

That way we could keep the words down and everything faster.

Thanks
« Last Edit: January 05, 2017, 03:12:26 pm by Aficionado »

Liath

  • Sr. Member
  • ****
  • Posts: 460
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Prevent duplicate ad posts
« Reply #34 on: January 05, 2017, 05:45:17 pm »
good idea, but for this i have to use another method to compare the words... i'm working on some other functions to do this job, to make it faster and easier...


at moment i'm playing with the php function similar_text() for this, so admins can determine a percentage value to determine the similarity of the compared strings

Aficionado

  • Hero Member
  • *****
  • Posts: 4023
  • Good things come to those who wait
Re: Prevent duplicate ad posts
« Reply #35 on: January 05, 2017, 05:57:20 pm »
Also: got your plugin from your blog and tried it.

It seems that it doesn't work well for stopwords. While i have (for example) the tinyurl.com to be filtered as spam, all ads with it (containing it) pass as normal.


Liath

  • Sr. Member
  • ****
  • Posts: 460
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Prevent duplicate ad posts
« Reply #36 on: January 05, 2017, 06:00:09 pm »
humm... i tried different words and cases... all time it works fine for me  :(

Aficionado

  • Hero Member
  • *****
  • Posts: 4023
  • Good things come to those who wait
Re: Prevent duplicate ad posts
« Reply #37 on: January 05, 2017, 06:08:32 pm »
humm... i tried different words and cases... all time it works fine for me  :(

Well, they don't. Trust me.

Here is my stop words.

Liath

  • Sr. Member
  • ****
  • Posts: 460
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Prevent duplicate ad posts
« Reply #38 on: January 05, 2017, 06:22:12 pm »
i'm working on it :)

Liath

  • Sr. Member
  • ****
  • Posts: 460
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Prevent duplicate ad posts
« Reply #39 on: January 05, 2017, 11:16:53 pm »
I have uploaded a new version with improved stopword search ... now I use strpos() to search for stopwords, this is not looking for the exact word, but whether the stopword occurs at any point in the text


if you think its ok, i will upload the modified version to the market too

Aficionado

  • Hero Member
  • *****
  • Posts: 4023
  • Good things come to those who wait
Re: Prevent duplicate ad posts
« Reply #40 on: January 05, 2017, 11:26:24 pm »
I have uploaded a new version with improved stopword search ... now I use strpos() to search for stopwords, this is not looking for the exact word, but whether the stopword occurs at any point in the text


if you think its ok, i will upload the modified version to the market too

Now seems to work, while i tested only in my dev online osclass with a few ads i posted myself.


Liath

  • Sr. Member
  • ****
  • Posts: 460
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Prevent duplicate ad posts
« Reply #41 on: January 05, 2017, 11:41:57 pm »
The same applies to me, I could not test it in the live operation, but good to hear that all working fine now

Aficionado

  • Hero Member
  • *****
  • Posts: 4023
  • Good things come to those who wait
Re: Prevent duplicate ad posts
« Reply #42 on: January 05, 2017, 11:44:02 pm »
The same applies to me, I could not test it in the live operation, but good to hear that all working fine now

When and if approved in Market, i will be glad to test it in a real online environment.


SteveJohnson

  • Sr. Member
  • ****
  • Posts: 283
  • Golden tip - Clear your cache :|
Re: Prevent duplicate ad posts
« Reply #43 on: January 05, 2017, 11:47:24 pm »
I'd like to test too.. where can i download the current version?
Thanks

Liath

  • Sr. Member
  • ****
  • Posts: 460
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Prevent duplicate ad posts
« Reply #44 on: January 05, 2017, 11:53:06 pm »
i'm sorry... if i'm right, it is not allowed to post my webpage here, but you could take a look on my other plugins