Arrow

Double the anti-spam | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Double the anti-spam
May 29, 2008
9:33 am
Deb - Mom of 3 Girls
Guest

I am running version 3.0.5 of the custom anti-spam plug-in and just recently upgraded to WordPress 2.5.1. I'm not sure exactly when this started happening, but I was given a 'heads-up' today by one of my readers that not one, but two anti-spam words are required when commenting on my site. I've done a quick look through the plug-in info and the code, but am not an expert (by any means) on how to figure out a fix.

When I'm logged in as myself (registered user), I only see one anti-spam word required. But when I logout and try to comment as an unregistered user, I see two words required - one is located above the comment form and the other underneath. Both sets of words look like they're picking from the list that I customized.

Any ideas on how to fix this? I mean stopping spam is one thing, but this seems kind of excessive... :)

My site is http://www.momof3girls.net

Oh and I just checked - I'm running the plug-in on my other site as well (same versions of the plug-in and WordPress) - and am getting the exact same thing, only it looks like just one set (below the comment form) is using my custom list of words. That site is http://www.momstakeonthings.com

Any help would be appreciated - thanks!

May 29, 2008
11:25 am
Peter
Admin
Forum Posts: 841
Offline

Hi, you probably used the manual insert method before the upgrade.

$cas_manualinsert = true;

When it is set to "false", the plugin tries to insert the word. Thus, it was inserted once by your own efforts and then the second time by the plugin. Once you set it to true, the plugin will stop trying to insert it automatically.

May 30, 2008
9:00 am
Deb - Mom of 3 Girls
Guest

That's exactly it - thanks! :)

One more quick question - by using the manual insert method, it appears that the plug-in is using the default set of words instead of the list that I modified under 'Manage', 'Custom anti-spam'. Is there a way to manually modify that file to customize the word list? I have to use the manual insert method because I have several regular readers (using Internet Explorer) who are unable to leave comments if I use the automatic method.

Thanks again!

May 30, 2008
7:09 pm
Peter
Admin
Forum Posts: 841
Offline

Using the manual insert method shouldn't affect where the words are being drawn from. Also, if you are able to edit the words through that "Manage" menu, then they should start appearing immediately on the front-end of the site. Very weird.

At any rate, you can customize the default list of words in the plugin file here:


if (file_exists($cas_wordfile)) {
include $cas_wordfile;
}
else {
$cas_text = array('dan' ...
}