Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2009-08-09 19:21:08

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: rah_comment_spam

AndrijaM wrote:

Hi, any news about this email notification issue :)

  1. Done: Tested on different systems.
  2. Status: Can’t replicate.
  3. Future: When I get the time, and the financial thing corrected. I will test it some more.

Can’t see it, can’t fix it.

Last edited by Gocom (2009-08-09 19:21:47)

Offline

#32 2009-08-11 14:39:04

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 188
Website

Re: rah_comment_spam

Ok, thanks, I understand, thank you for your time.

Offline

#33 2009-08-15 04:16:17

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,267
Website

Re: rah_comment_spam

As clients tend to mess around with this entry, I’d suggest to tolerate double commata or trailing commata in the spam words lists, like so:

In rah_comment_spam_countspamwords, change

$spamword = explode(',',$spamwords);
foreach($spamword as $needle) {
    $i = $i + substr_count(strtolower(' '.$where.' '),strtolower($needle));
} 

to

$spamword = explode(',',$spamwords);
foreach($spamword as $needle) {
    $needle = trim($needle);
     if(!empty($needle)) $i = $i + substr_count(strtolower(' '.$where.' '),strtolower($needle));
}

…or use do_list().

Offline

#34 2009-08-15 17:53:19

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: rah_comment_spam

Thanks wet. Version 0.2.1 implements the feature.

Offline

#35 2009-12-02 20:23:44

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: rah_comment_spam

Version 0.3 of rah_comment_spam released. Changelog:

  • Added email DNS validation.

More info and downloads

Offline

#36 2010-04-06 11:59:37

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,392
Website

Re: rah_comment_spam

Jukka, I am using v0.12 on TXP Tips – I just noticed the update to v0.3 so I’ll upgrade now, but redbot had some problems commenting on the site and I wondered if you know what the error is?

Offline

#37 2010-04-06 20:52:51

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: rah_comment_spam

jstubbs wrote:

Jukka, I am using v0.12 on TXP Tips – I just noticed the update to v0.3 so I’ll upgrade now, but redbot had some problems commenting on the site and I wondered if you know what the error is?

Sorry, I have no idea. Might be the lenght of the message or something, or the code in the message somehow did match to the spamwords(?). The plugin has no “magic” filter or anything. It just does what is set in the preferences. Version 0.1.2 did have some matching issues with cases, but that shouldn’t be it.

Edit. Oh you mean Non-static method timezone::is_dst() should not be called statically in … …txplib_misc.php on line 1265. Didn’t see it at first look. That error is somewhat caused by TXP’s core. See:

Last edited by Gocom (2010-04-06 21:10:25)

Offline

#38 2010-06-25 11:51:58

Grégocentrique
Plugin Author
From: Rouen, France
Registered: 2009-12-19
Posts: 28
Website

Re: rah_comment_spam

Hi,

I installed the plugin two weeks ago and limited the number of url by comment to 1. Unfortunately, I’m still having a lot of spam containing several links or URL (example : [URL=http://, [link=http://, href=“http://) and they’re not blocked. Do you have a trick to block them?

Thanks. :)

Offline

#39 2010-06-25 14:38:48

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: rah_comment_spam

Grégocentrique wrote:

I installed the plugin two weeks ago and limited the number of url by comment to 1. Unfortunately, I’m still having a lot of spam containing several links or URL (example : [URL=http://, [link=http://, href=“http://) and they’re not blocked. Do you have a trick to block them?

Rah_comment_spam basically just counts the amount of http:// mentioned in a comment. If the link doesn’t have http:// in it, it won’t be blocked.

If you set the Max amount of URLs: to 1, it means that every comment can still contain a single link. If you want to limit all links, value 0 (zero) should do it.

You also try to block the bracket tags by setting them as spamwords ([URL=, [link=).

Offline

#40 2010-06-25 17:13:10

Grégocentrique
Plugin Author
From: Rouen, France
Registered: 2009-12-19
Posts: 28
Website

Re: rah_comment_spam

Thank you for your answer. I configured the plugin like you explained, but still have spam with those words. I’m now supposing that maybe there is a conflict with another plugin…

Offline

Board footer

Powered by FluxBB