Osclass Support Forums
Osclass plugin support => Spam Solution Plugin => Topic started by: Andrey on April 18, 2020, 02:48:02 PM
-
How to change in the new version of the plugin
From this topic https://forums.osclasspoint.com/spam-solution-plugin/only-detect-duplicate-listings/ (https://forums.osclasspoint.com/spam-solution-plugin/only-detect-duplicate-listings/)
"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.
"@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']"
How to do it in the new plugin too? Anti-Spam & Bot Protect Plugin 3.0.5. Thank you!
-
What is the use of updating if it is not possible to do as in 2.2.0. I had to return to version: 2.2.0
-
@Andrey
You must remove old plugin and install new. Modifications will be done in same way as in old version
-
That's exactly what I did. I deleted the old one and installed a new one, but there is no such line in the new one to replace
Got you.
You can try this.
Go to file:
oc-content/plugins/spam/index.php
Find:
Code: [Select]
$item_check['pk_i_id']
Replace with:
Code: [Select]
$item['pk_i_id']
There is “$item_check ['pk_i_id']” in the functions.php file, but there are several lines, I don’t know which one to change. Tell me please
-
It turned out to change the lines in functions.php. Did not look carefully
-
@Andrey
Glad to hear that.