Arrow

Version 2.82 released! | 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
Version 2.82 released!
July 2, 2007
5:07 pm
Peter
Admin
Forum Posts: 841
Offline

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:

http://www.theblog.ca/?p=21

If you have a question not related to this specific release, please start a new topic.

July 8, 2007
11:18 am
The Happy Rock
Guest

I didn't realize that Peter’s anti comment spam plugin here has pingbacks and trackbacks turned off by default. You have to go into the php file and turn those back on. Pingbacks were broken for weeks and I had no idea why.

July 8, 2007
4:35 pm
Peter
Admin
Forum Posts: 841
Offline

Now they're finally on by default, so... happy day!

July 9, 2007
9:50 pm
The Happy Rock
Guest

I am having problem with the text box for the anti spam word not showing any border in Firefox. You can still tab to it, but you can't see that it is there.

Have you ever seen this? Any ideas?

July 10, 2007
1:16 am
Peter
Admin
Forum Posts: 841
Offline

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" );

July 13, 2007
3:15 pm
Christine Barrett
Guest

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

July 14, 2007
12:03 am
Peter
Admin
Forum Posts: 841
Offline

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); ?>

July 17, 2007
12:08 am
The Happy Rock
Guest

I changed the line in the PHP a minute ago, but here is the link anyway. Hopefully that works. Thanks

http://www.thehappyrock.com/20.....ave-money/

July 17, 2007
10:49 am
Chad Hummel
Guest

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

July 17, 2007
12:32 pm
Peter
Admin
Forum Posts: 841
Offline
10

Hi Happy Rock -- the plugin looks good!

July 17, 2007
12:48 pm
Peter
Admin
Forum Posts: 841
Offline
11

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?

July 17, 2007
7:05 pm
Chad Hummel
Guest
12

Yeah, I had the path changed, and I went back and re-uploaded the files in binary, and still nothing.

The admin page says "yay" to everything, but there's still no image.

July 17, 2007
7:37 pm
Peter
Admin
Forum Posts: 841
Offline
13

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 :(

July 17, 2007
7:47 pm
Chad Hummel
Guest
14

ah, I see. That freakin banner has done nothing but be a pain so far. Well, thanks for the help.

July 17, 2007
9:08 pm
Chad Hummel
Guest
15

I upgraded my hosting account, and the plugin works great. Thanks!

July 19, 2007
7:41 pm
Heath
Guest
16

Hey there - I just installed the plugin today and it works great. very slick and hopefully will get rid of my spam problem!

July 19, 2007
8:35 pm
Peter
Admin
Forum Posts: 841
Offline
17

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?

July 19, 2007
8:36 pm
Peter
Admin
Forum Posts: 841
Offline
18

Hmmm, you edited your post... so I take it you fixed things?

July 20, 2007
2:22 am
axil
Guest
19

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...

July 20, 2007
9:51 am
Peter
Admin
Forum Posts: 841
Offline
20

Does that error happen quite often? It should only occur if someone manually accesses custom_anti_spam.php (and is normal in that case). However, I'll see whether it's possible to avoid it altogether in future versions.