Version 2.82 released! | Peter's Custom Anti-Spam for WordPress | Forum
Back to the custom anti-spam plugin page
New features:
- Changed the default settings so that trackbacks and pingbacks are enabled by default.
- Added the option to send one or both types to a moderation queue (Thanks to Donovan for feedback and MtDewVirus for unknowingly providing an example).
- With TTF fonts, the font size will automatically decrease if the word is slightly too tall for the image box (similar to the version 2.8 feature but for height).
Download it on the plugin page, as always:
If you have a question not related to this specific release, please start a new topic.
Can you post a link to your site?
You could try hard-coding the border. Find this:
echo( '<input type="hidden" name="matchthis" value="' . $cas_antiselect . "\\" />\\n\\t\\t\\t\\t" );
And add a border attribute:
echo( '<input type="hidden" border=1 name="matchthis" value="' . $cas_antiselect . "\\" />\\n\\t\\t\\t\\t" );
3:15 pm
Hi -
I downloaded and added the latest version of the plugin. It works using Netscape and Firefox but not on IE.
I logged into the admin account and went to the manage section. All of diagnostics are OK and I see the word. The blog uses zen-minimalist and all commenters should get the anti-spam word.
I logged out and went back to the blog. When I try to comment on an article, there's no antispam image or "to prove you are a ..." line. When I try to post the comment, it says I have to put in the anti-spam word.
The website is OSGA.Com. Ideas?
Christine
That is weird. I tested your site in IE and the anti-spam field was at the bottom of the left column...
You'll need to use the manual insert feature in the plugin. Edit this setting at the top of the plugin file:
// Set this to TRUE if you will be editing your comments file (add this php line wherever you want the anti-spam image inserted in the comments.php file: do_action('secure_image', $post->ID); )
// Set this to FALSE if you want to use the default Javascript positioning
$cas_manualinsert = true;
Then, edit your theme's Comments file (comments.php) and add this code above </form>:
<?php do_action('comment_form', $post->ID); ?>
12:08 am
I changed the line in the PHP a minute ago, but here is the link anyway. Hopefully that works. Thanks
10:49 am
After installing and configuring the plugin, all I can get is an unavailable image. I have done everything I know how to do to get it to work, and still nothing. Can you help me out?
My address is http://www.curveballblog.com
Thanks
Chad
Chad -- did you change this setting to reflect the different folder name?
// If you add a path, DO include the trailing slash.
$cas_fontpath = "wp-content/plugins/custom-anti-spam/";
Also, did you check out the diagnostic page in the admin panel? (Manage > Custom anti-spam)
Were the fonts uploaded in binary format?
Eek, I think I know what the problem is. Your free GoDaddy account tries to insert ads onto all pages that end in ".php". The plugin generates an image out of a php file, but because it has the php extension, GoDaddy messes up the code. So the plugin won't work unless you have a host that doesn't inject ads into php files :(
Heath said:
Is there a configuration area for me to tell the plugin where the GD library is located manually?
Unfortunately, no. The script actually checks for the PHP function "imagejpeg". According to the PHP docs, "JPEG support is only available if PHP was compiled against GD-1.8 or later." Perhaps you have an older version of the GD Library?
2:22 am
Just an FYI...I'm using 2.8 and noticed in my logs the following:
PHP Fatal error: Call to undefined function: add_action() in boojies.com/httpdocs/wp-content/plugins/custom-anti-spam/custom_anti_spam.php on line 402
However...the plugin works. I would love to upgrade to 2.8.3 if you are familiar with the error and can address it.
Thanks...