Spam protection, AntiSpam, FireWall by CleanTalk (no Captcha/reCaptcha)

Started by psrustik, April 14, 2014, 05:11:25 AM

Previous topic - Next topic

sah62

Quote from: psrustik on September 02, 2019, 09:50:18 AM
Quote from: sah62 on September 01, 2019, 07:01:50 AM
I'm seeing this error after upgrading to version 2.29:

https://www.mysite.org/forum/index.php?action=pm;sa=send2
8: Undefined index: cleantalk_check_personal_messages
File: /var/www/mysite/web/forum/Sources/cleantalk/cleantalkMod.php
Line: 522

I do not have the "Enable antispam test for personal message" option checked.
Please, re-install the CleanTalk mod. Link to the archive is here:
https://github.com/CleanTalk/smf-antispam/archive/dev.zip

Our update guide is here is you need it:
https://cleantalk.org/help/update-smf

Write back if the issue persists.
Thank you.

Fix confirmed. The dev.zip file couldn't be installed directly (I had to extract the folder it contains, pull everything in the folder up one level, and re-zip the files), but once I got that fixed the mod installed just fine and the problem is gone.

psrustik

Quote from: sah62 on September 04, 2019, 03:14:43 PM
Quote from: psrustik on September 02, 2019, 09:50:18 AM
Quote from: sah62 on September 01, 2019, 07:01:50 AM
I'm seeing this error after upgrading to version 2.29:

https://www.mysite.org/forum/index.php?action=pm;sa=send2
8: Undefined index: cleantalk_check_personal_messages
File: /var/www/mysite/web/forum/Sources/cleantalk/cleantalkMod.php
Line: 522

I do not have the "Enable antispam test for personal message" option checked.
Please, re-install the CleanTalk mod. Link to the archive is here:
https://github.com/CleanTalk/smf-antispam/archive/dev.zip

Our update guide is here is you need it:
https://cleantalk.org/help/update-smf

Write back if the issue persists.
Thank you.

Fix confirmed. The dev.zip file couldn't be installed directly (I had to extract the folder it contains, pull everything in the folder up one level, and re-zip the files), but once I got that fixed the mod installed just fine and the problem is gone.


We are glad to hear that.

Contact us anytime.

Best regards

sah62

After an upgrade to PHP 7.2 I'm seeing a lot of these errors in my forum admin log:

https://www.mysite.org/forum/index.php?type=rss;action=.xml
8: A non well formed numeric value encountered
File: /var/www/428/web/forum/Sources/cleantalk/cleantalkMod.php
Line: 766

https://www.mysite.org/forum/index.php?type=rss;action=.xml
8: A non well formed numeric value encountered
File: /var/www/428/web/forum/Sources/cleantalk/cleantalkMod.php
Line: 755

Any thoughts on a fix?

Arantor

SMF 2.0 doesn't support PHP 7.2 without help, mods would not be expected to either. Though it would be weird for RSS feeds to be changed by this mod, I think.

psrustik

I've made clean install SMF 2.0.15 with PHP 7.3. After installing Anti-Spam 2.29 I don't see such errors. Did you try to re-install the plugin?

https://cleantalk.org/help/update-smf

L2Scarlet

Quote from: psrustik on September 28, 2019, 12:38:10 PM
I've made clean install SMF 2.0.15 with PHP 7.3. After installing Anti-Spam 2.29 I don't see such errors. Did you try to re-install the plugin?

https://cleantalk.org/help/update-smf

Hi,
SMF 2.0.15 with PHP 7.3 ?! And it's working? You're sure that you have it running on PHP 7.3? That's weird?
I'm talking about SMF here... I'm using PHP 7.1 and if I select PHP 7.2 it won't work at all..

Arantor

SMF 2.0 will run on PHP 7.2 but vomit many errors - it will, however, at least work.

sah62

Quote from: psrustik on September 28, 2019, 12:38:10 PM
I've made clean install SMF 2.0.15 with PHP 7.3. After installing Anti-Spam 2.29 I don't see such errors. Did you try to re-install the plugin?

https://cleantalk.org/help/update-smf

Yes, and I'm still seeing the errors. I don't have any option in the mod settings UI to set anything that looks like values for the $js_keys array. There's just a field for the API key.

WRT PHP 7.2, I'm using a mod (https://www.smfhacks.com/index.php?topic=9707.0) to deal with the deprecated functions. It's not optimal, but I can't wait for SMF 2.1 due to other packages on my server needing to be upgraded.

sah62

Here's a fix:


755c755
<             if (time() - $t > $js_keys['js_keys_amount'] * 86400) {
---
>             if (time() - (int) $t > $js_keys['js_keys_amount'] * 86400) {
766c766
<         if (time() - $latest_key_time > $js_keys['js_key_lifetime']) {
---
>         if (time() - (int) $latest_key_time > $js_keys['js_key_lifetime']) {

psrustik

Quote from: sah62 on September 28, 2019, 03:10:54 PM
Here's a fix:


755c755
<             if (time() - $t > $js_keys['js_keys_amount'] * 86400) {
---
>             if (time() - (int) $t > $js_keys['js_keys_amount'] * 86400) {
766c766
<         if (time() - $latest_key_time > $js_keys['js_key_lifetime']) {
---
>         if (time() - (int) $latest_key_time > $js_keys['js_key_lifetime']) {


Hello.

We'll revise this fix and add it to the next releases if it's ok.

Thank you.

demonkenny

When I first signed up for this mod's service, I didn't know it was for a paid service, but after the amount of spambots it stopped dead in their tracks in a 24 hour period, I happily paid for a year of usage, This mod may actually be a great addition to all the other security mods I have!

The only thing I saw that wasn't good, was that one spammer ALMOST got through. Stop Forum Spam (I use mod called Stop Spammer for that) shut that spammer down though. I now have four antispam features, cleantalk included in that. My forum got hit HARD. Thank for for providing a great mod and service. If I find this service on official review sites, expect a high rating from me. Thanks!

psrustik

We are glad you are satisfied with our plugin. Good luck!

SomeoneElse

If I look at the Package Manager, there's a nice green tick next to 'Anti-spam by CleanTalk' saying it's the latest version.

Except that 2.2.4 - what I have - isn't, 2.2.9 is.

Is this a known problem with the SMF package manager or...?

psrustik

Hello,

We didn't receive reports about this issue. Could you try to update it manually?

https://cleantalk.org/help/update-smf

Arantor

Quote from: SomeoneElse on October 17, 2019, 09:33:24 AM
If I look at the Package Manager, there's a nice green tick next to 'Anti-spam by CleanTalk' saying it's the latest version.

Except that 2.2.4 - what I have - isn't, 2.2.9 is.

Is this a known problem with the SMF package manager or...?

No, this is the package manager working normally and a complete misunderstanding of what it does. If you have two versions of a plugin in your plugins folder, this will show you which of the two is newer. It has nothing to do with whether you have the current version vs what's on the mod site.

SomeoneElse

Quote from: Arantor on October 17, 2019, 10:09:34 AMNo, this is the package manager working normally and a complete misunderstanding of what it does. If you have two versions of a plugin in your plugins folder, this will show you which of the two is newer. It has nothing to do with whether you have the current version vs what's on the mod site.

Ah, ok.

If it were me, I'd call it something other than 'current' version.

boydster

I am using this mod right now and it's done a fantastic job keeping the spammers out. So far, it's got a 100% catch rate and a very low false positive rate. Even the false positives, when I explained to the affected users exactly what had happened, was completely forgiven after they took note of how our board is completely baron of spambots.

psrustik

Quote from: boydster on October 19, 2019, 08:46:51 PM
I am using this mod right now and it's done a fantastic job keeping the spammers out. So far, it's got a 100% catch rate and a very low false positive rate. Even the false positives, when I explained to the affected users exactly what had happened, was completely forgiven after they took note of how our board is completely baron of spambots.

Hello! Thank you for your review!

idontevencare

Best SMF anti-spam plugin out there. I also use it for wordpress.

psrustik

Thank you for your feedback! We are glad to protect you from spam.

Advertisement: