JSSpamBlock

Just installed the JSSpamBlock plugin on www.patriciaritsemavaneck.name. This is a plugin which sends a snippet of javascript to the browser of the commenter. When it’s processed, the plugin assumes we’re dealing with a human. If it’s not, the commenter gets to prove humanity by entering a given number in a form which appears after initial blocking.

I’m interested in giving this a try, though I also have SpamKarma 2 running as extra protection after a spammer would manage to pass this plugin.

After first installation and trying to leave a comment, I received a php error message which I forgot to copy but it was related to the following line in jspamblock.php:

if(JSSPAMBLOCK_LOGFILE != ''){
$log = fopen(JSSPAMBLOCK_LOGFILE, 'a');
}

The problem was that the script was trying to write to a non-existent yet defined logfile, and the solution was to remove the logfile definition:

Changed:
define('JSSPAMBLOCK_LOGFILE', 'jsspamblock.log');

to:
define('JSSPAMBLOCK_LOGFILE', '');

Of course it’s also possible to create a log file, upload this to the server and make sure the php has permission to write to it. The readme.txt instructions included in the plugin offer a clear explanation of how to proceed if this is what you want.

Post a Comment

You must be logged in to post a comment.