Advertisement:

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

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Prevent duplicate ad posts
« Reply #15 on: December 26, 2016, 07:10:50 pm »
I would like to contribute if you need any help with this..

Is not necessary, but thanks anyway :)


I have some Ideas for this Plugin, so i want to check for duplicate posts, banned words, banned emailadresses and want to include a honeypot... any suggestions for more security?

Aficionado

  • Guest
Re: Prevent duplicate ad posts
« Reply #16 on: December 26, 2016, 07:37:26 pm »
I would like to contribute if you need any help with this..

Is not necessary, but thanks anyway :)


I have some Ideas for this Plugin, so i want to check for duplicate posts, banned words, banned emailadresses and want to include a honeypot... any suggestions for more security?

Ideas no, suggestions yes.

Right now i do the following. Check for spam/stopwords and the plugin marks them as SPAM and DISABLES them. Then i use the Butler plugin to delete the spam automatically.

So it is important to think what to do if a spam/stopword is found. Mark as spam, disable the ad, or whatever.


SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: Prevent duplicate ad posts
« Reply #17 on: December 26, 2016, 07:43:46 pm »
I have some Ideas for this Plugin, so i want to check for duplicate posts, banned words, banned emailadresses and want to include a honeypot... any suggestions for more security?

This much sounds good to me Liath..  just that i'd make sure not to scan the entire DB, and scan only a particular user's listings to mark as spam/duplicate.

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Prevent duplicate ad posts
« Reply #18 on: December 26, 2016, 08:09:01 pm »
just that i'd make sure not to scan the entire DB, and scan only a particular user's listings to mark as spam/duplicate.
sure

So it is important to think what to do if a spam/stopword is found. Mark as spam, disable the ad, or whatever.
i think its the best to do the same... mark it as spam and disable it

Aficionado

  • Guest
Re: Prevent duplicate ad posts
« Reply #19 on: December 26, 2016, 09:36:08 pm »
One problem i see is that prof spammers (paid from India, Pakistan, Philinines etc) are using more than one email to post the same post.



SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: Prevent duplicate ad posts
« Reply #20 on: December 26, 2016, 09:50:01 pm »
One problem i see is that prof spammers (paid from India, Pakistan, Philinines etc) are using more than one email to post the same post.

True, i've had one terrible case in which one guy just wouldn't give up. He was using a new email every time i blocked his previous one, and even when i blocked his IP, he was using proxies to access from new addresses.

I don't think such desperate cases can be automatically blocked. This probably can to be only dealt with manually.. luckily such cases are not very common

Aficionado

  • Guest
Re: Prevent duplicate ad posts
« Reply #21 on: December 26, 2016, 09:54:13 pm »
This simple trick also helps (.htaccess) and maybe give Liath some ideas for the plugin

Code: [Select]
# Protect from spam bots
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.yourwebsite.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
</IfModule>

Replace “yourwebsite.com” with your blog url. The code only blocks SPAM BOTS and not humans who manually try to spam. Bots are the most annoying pests so preventing them from spamming is a good first step.

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Prevent duplicate ad posts
« Reply #22 on: December 26, 2016, 10:39:39 pm »
I know this from Spamassassin... but its for wordpress and redirect user/bots and prevent ddos attack on loginpage i think

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Prevent duplicate ad posts
« Reply #23 on: December 27, 2016, 10:17:45 pm »
First screenshot of the options page... for now, all working well :)

Aficionado

  • Guest
Re: Prevent duplicate ad posts
« Reply #24 on: December 27, 2016, 10:23:32 pm »
hmmmm. Where is the spam or stopwords ?


Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Prevent duplicate ad posts
« Reply #25 on: December 27, 2016, 10:32:58 pm »
will be integrated too

Aficionado

  • Guest
Re: Prevent duplicate ad posts
« Reply #26 on: December 27, 2016, 10:44:51 pm »
will be integrated too

oh. i feel better now. thanks

 8)

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Prevent duplicate ad posts
« Reply #27 on: December 28, 2016, 02:21:59 am »
all antispam mechanism working like a charm :)

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: Prevent duplicate ad posts
« Reply #28 on: December 28, 2016, 05:52:17 am »
all antispam mechanism working like a charm :)

Phew you're fast! The dashboard looks nice.. eagerly waiting to test.
Thanks Liath

IDEA - How about the duplication has two options : 1.) To check both title and description OR 2.) To check only the description
Also, if the number of characters that need to be tested can be inputted from the dashboard.
...not sure if you like this, but just suggesting
« Last Edit: December 28, 2016, 05:57:11 am by stevejohnson »

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Prevent duplicate ad posts
« Reply #29 on: December 29, 2016, 04:31:42 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