Osclass Support Forums

Osclass plugin support => Spam Solution Plugin => Topic started by: Sergej Zaharenko on September 23, 2016, 05:16:27 PM

Title: Only detect duplicate listings
Post by: Sergej Zaharenko on September 23, 2016, 05:16:27 PM
Is it possible to make only detect duplicate listings, and do not mark them as spam or delete them?

Thank you
Title: Re: Only detect duplicate listings
Post by: MB Themes on September 23, 2016, 10:00:51 PM
@Sergej Zaharenko
You can mark them as spam and then decide if it is spam or not.
Title: Re: Only detect duplicate listings
Post by: Sergej Zaharenko on October 04, 2016, 11:38:10 PM
As I understand, the plugin marks old ads as duplicate (spam) and new permits. Is it difficult to remake it, that new listings plugin marks as spam, and old ones leave?

Sorry for my English=))
Title: Re: Only detect duplicate listings
Post by: MB Themes on October 05, 2016, 10:54:47 AM
@Sergej Zaharenko
Yes it would be very complicated, but more logic is to mark old as spam.
Reason is that you will get content refreshed, will last longer on your site.
Title: Re: Only detect duplicate listings
Post by: Sergej Zaharenko on October 06, 2016, 04:07:17 AM
The reason why I would like to do the reverse - monetization, old listings people can move to the top and buy premium. If the new copy Listing will be added, that there is no monetization, such as they always can add a new one copy, and it will be in the top.

I think you understand me =)
Title: Re: Only detect duplicate listings
Post by: MB Themes on October 06, 2016, 08:33:33 AM
@Sergej
Got you.
You can try this.
Go to file:
oc-content/plugins/spam_solution/index.php

Find:
Code: [Select]
$item_check['pk_i_id']
Replace with:
Code: [Select]
$item['pk_i_id']