You are not logged in.
AndrijaM wrote:
Hi, any news about this email notification issue :)
Can’t see it, can’t fix it.
Last edited by Gocom (2009-08-09 19:21:47)
Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />
Offline
Ok, thanks, I understand, thank you for your time.
Offline
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().
Recent: wet_haystack ׀ Popular: wet_slimpattern ׀ Handy: wet_quicklink | Me
Offline
Thanks wet. Version 0.2.1 implements the feature.
Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />
Offline
Version 0.3 of rah_comment_spam released. Changelog:
Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />
Offline
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?
TXP Tips – TXP Minima – TXP Minima Photoblog – My page – Pro Tennis Jobs
TXP Builders – finely-crafted code, design and txp
Offline
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)
Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />
Offline
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
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=).
Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />
Offline
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