*

Andrey

  • ****
  • 157 posts
How to change in the new version of the plugin
« 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/
"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!


*

Andrey

  • ****
  • 157 posts
Re: How to change in the new version of the plugin
« Reply #1 on: April 19, 2020, 02:32:56 PM »
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

*

MB Themes

Re: How to change in the new version of the plugin
« Reply #2 on: April 20, 2020, 08:20:53 AM »
@Andrey
You must remove old plugin and install new. Modifications will be done in same way as in old version
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Andrey

  • ****
  • 157 posts
Re: How to change in the new version of the plugin
« Reply #3 on: April 20, 2020, 11:23:49 AM »
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
« Last Edit: April 20, 2020, 11:36:39 AM by Andrey »

*

Andrey

  • ****
  • 157 posts
Re: How to change in the new version of the plugin
« Reply #4 on: April 20, 2020, 06:05:01 PM »
It turned out to change the lines in functions.php. Did not look carefully

*

MB Themes

Re: How to change in the new version of the plugin
« Reply #5 on: April 21, 2020, 08:59:21 AM »
@Andrey
Glad to hear that.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots