post Category: Techie — Gudlyf @ 1:04 PM — post Comments (496)

I was getting sick of all the comment spam, so yet more WP goodness for you:

Download: WP AuthImage Hack (v3.0) here.

See Comment #215 below for instructions on using version 2.1.1 of this plugin without the FreeType extension.


New in version 3.0: Last night I found this site which seems to indicate that the default image generated by AuthImage was way too easy to crack; I’m not really all that surprised. A little looking around and I found a great, free PHP class package called VeriWord, which does a hell of a lot better job than I did in generating a random image — perhaps too good. I’ve sorta sloppily incorporated the VeriWord code into AuthImage, and judging by what I see so far, it should take quite some time for PWNtcha to crack it.

Unfortunately though, I’ve gotten rid of the text version of AuthImage in this version. If you still want to use the phonetic text version, it still works in version 2.1.1.

Make SURE you read the new README if you’re interested in installing this new version. You can see the new image at the bottom of this page


Special thanks to Marcus Welz for his work on using session variables and other tweaks!

This hack (NOT plugin) plugin displays an image with some random text that the commenter has to enter in order for their comment to go through. This should cut down on any bots out there from spamming your comments area and perhaps remove the need for comment moderation.

NOTE: This version now includes the ability to generate phonetic-English text if you don’t want to (or can’t) create an image. See the README for details.

NOTE: Another option to consider is possibly utilizing the Drupal Captcha image option. Does anyone think it’s better than Veriword? Let me know and maybe I’ll consider either adding an option to use it or change to it completely. Personally I think what I have now is fine.

Horaayy..there are 496 comment(s) for me so far ;)

#1

WordPress Hack: AuthImage
This plugin will add an image with random text the visitor leaving a comment must enter to be validated. If you are being hit with comment spam and have tried some of the other options this is a sound technique, although it does add an additional step…

Blogging Pro – Blog News, Tools and Hacks wrote on June 7, 2004 - 2:45 PM
#2

Hi there!
I’ve tried to download WP AuthImage Hack (v1.1) but it keeps asking me authentication to be able to download it. I use download Accelerator for downloading. What am i supposed to do?

aline wrote on June 20, 2004 - 8:03 PM
#3

It’s a Unix gzip’ed tar file, which I believe should open in WinZip, but I haven’t tested the code on Windows. Perhaps if you try downloading without the accelerator?

Gudlyf wrote on June 20, 2004 - 9:53 PM
#4

OK, I just put a new version up, but this time I zipped the file. Click the new link above for version 1.2 and see if that downloads.

Gudlyf wrote on June 20, 2004 - 10:15 PM
#5

I tried your hack but got the error message ‘imagettftext undefined function’. This was because the Freetype library was not installed. (Which is not uncommon I understand). So I have hacked the hack and have posted a workaround below. You cannot use TrueType fonts however, you must use Bitmap Fonts. I have found a site where you can download some:
BitMap Fonts
The ‘dimurph.gdf’ font is similar to the one used here.

Here is the hacked hack:

function createCodeImage() {
global $tmp_code_loc, $tmp_code_prefix;

$tmp_code_loc = getcwd() . $tmp_code_loc;

$font = imageloadfont('dimurph.gdf');

$tmpfname = tempnam($tmp_code_loc, $tmp_code_prefix);

$code = substr($tmpfname, (strlen($tmp_code_loc) + strlen($tmp_code_prefix)), 6);

$im = @imageCreate(140, 30) or die("Cannot Initialize new GD image stream");

$background_color = imageColorAllocate($im, 170, 170, 170);
$text_color = imageColorAllocate($im, 0x00, 0x00, 0x00);

imagestring($im, $font, 5, 3, $code, $text_color);
// ImageTTFText($im, 20, 0, 4, 20, $text_color, $font, $code);
ImageJPEG($im, $tmpfname);

$temp = fopen($tmpfname,"rb");
$buffer = fread($temp,filesize($tmpfname));
fclose($temp);

// Now zero-length the file. No need for its content anymore.
$temp = fopen($tmpfname,"w");
fwrite($temp, NULL);
fclose($temp);

// Now chmod it so it can be deleted later by the user
chmod($tmpfname, 0666);

header("Content-type: image/jpeg");
echo $buffer;

}

Trev wrote on July 19, 2004 - 4:12 PM
#6

Captcha
Thanks to this plugin, I’m now able to cut down on the amount of comment spam I have to moderate. Only recently (presumably with an increase in traffic thanks to my affiliation with the Spread Firefox project and my own authorship of a couple of appar…

Two Ells wrote on September 23, 2004 - 3:47 PM
#7

Hiya. So glad I found this, will save me lots of time and headaches. However, I seem to have installed everything properly, and it seems to be working, but the code image is not showing. It is displaying a broken image icon. Please advise.

Thanks!

jonathan wrote on September 23, 2004 - 5:26 PM
#8

Ok. got the image to show up (had to adjust the path for the tmp location). But even when I enter the code correctly (I’ve checked against the files created in /tmp) it gives me the incorrect error code. Is it not including the prefix part of the code?

We’ll get this working yet!

jonathan wrote on September 23, 2004 - 6:26 PM
#9

Blog spam: solved
I solved the blog spam problem with the following trick: I simply added a [[CAPTCHA]] to the comment dialog. This was inspired by Kristian Koehntopp’s Serendipity advocacy, and fortunately, there’s a CAPTCHA system available for WordPress. You can fi…

AK’s weblog wrote on September 24, 2004 - 4:46 PM
#10

Comments Spam
I’ve been getting a lot of comments spam in the past few days trying to improve the pagerank of some online pharmacy. Firewall rules haven’t been that effective, since these appear to be sent by robots running on zombied machines across a number of …

CJC.org wrote on September 29, 2004 - 2:24 PM
#11

Captcha Hack(ing)

I recently installed a
AuthImage captcha for this site. I’ve not, so far :? anyway, had any real spam trouble. But then I have had all comments requiring my moderation!

I saw this neat little feature when I was searching for some other lon…

clurrcache online wrote on October 5, 2004 - 3:45 PM
#12

I use Wordpress 1.3 beta and it seems it works great at the commens. But I tested trackbacking from other blogs – and now the TBs of this blog will not more be shown. What can I do??? Thank you so much!

Herbert wrote on October 6, 2004 - 10:34 PM
#13

You can view my site to see the error, but I believe it has something to do with this line:


the error:

Fatal error: Call to undefined function: _e() in /home/mintruth/public_html/blog/wp-comments.php on line 69

John Lamar wrote on October 7, 2004 - 7:25 AM
#14

The user above is using WP 1.0.1, which I’m not supporting. He was able to fix the problem it seems:

I ended up changing things like this:

die( __(‘Error: Invalid authorization code.’) );

To look like this:

die(‘Error: Invalid authorization code.’);

Works fine from what I can tell and has stopped spam!

Gudlyf wrote on October 8, 2004 - 1:50 PM
#15

As you can see just from the comments on this page, trackbacks work fine and don’t require the auth code, of course. If this ever becomes a problem later for spam, then I’ll see about addressing it.

Gudlyf wrote on October 8, 2004 - 1:52 PM
#16

Spammage = popularity?
Well, I got my first blog comment spam. I guess that means someone somewhere is reading this, which is kinda cool I guess. I’ve found a few WordPress plugins and patches that will prevent the spam which I’ll add at some point in the next few days -…

cliffrowley :: blog wrote on October 22, 2004 - 4:58 AM
#17

Spam
Well that is really surprising: the language of this blog has been German for almost 3 months and the very first day I write in English my blog gets spamed.

Looks like I am going to use a captcha which I’ll implement as soon as posible.

Chris|Weblog wrote on October 22, 2004 - 2:21 PM
#18

I’m not getting any errors, but the image isn’t showing up. Just a broken icon. i visit the authimage.php script and it doesn’t report an error. Just does nothing.

What are the minimum requirements for this to work (version, php modules, etc)?

AxsDeny wrote on October 23, 2004 - 7:17 PM
#19

I’ve got a problem getting this hack to work, when I open authimage.php directly i get a white page, and when I go to a comment page I see a broken image with an X. I have freetype installed, and did everything as it should be and gajillion other variations just in case, and still nothing

zaguben wrote on October 23, 2004 - 9:53 PM
#20

The font generation requires both the GD library and the FreeType library. You can check what modules your PHP has loaded by running ‘php -m’ or by creating a simple php page to show module info with the following line:

phpinfo(INFO_MODULES);

Gudlyf wrote on October 23, 2004 - 10:45 PM
#21

ok, the 2nd time around reinstalling apache worked. Awesome hack, thank you for making it

zaguben wrote on October 24, 2004 - 3:58 AM
#22

Comment Spam
Wow. I haven’t even really got the site up…just testing the blog and I already had over a dozen comment spam posts.

So, I went out looking for some possible solutions to comment spam in WordPress. The WordPress Wiki has a How to combat comment …

ushimitsudoki wrote on October 25, 2004 - 9:12 PM
#23

Thank you for a very nice hack! I got it working with WordPress 1.0.2 after some extra hacks of the hack, but it is rather straight forward – see my site for the details.

MartinG wrote on October 28, 2004 - 12:12 PM
#24

I love you! This hack is absolutely amazing, thank you so much. This should come as standard in WP 1.3!

Cheeks wrote on October 29, 2004 - 7:59 AM
#25

This is great! I’ve had tons of those poker spam comments over the last week or so, and it’s been so annoying. With this I hope it will stop!

Thanks for all the great work!

Magnus Nystedt wrote on October 29, 2004 - 8:44 AM
#26

Great plugin and with the recent push in lamer spamming (I’m glaring in your direction, Mr. Texas Hold ‘Em Viagara), it will be very popular.

One issue I had getting this to work (maybe will help someone else), I had forgotten to CHMOD my tmp directory to 777 (was 755), so the auth.img seemed to generate but no text visible. (i.e. I didn’t get a broken img icon)

Fixed the permissions, works great. Thanks for sharing this.

Keely Weston wrote on October 29, 2004 - 9:15 AM
#27

Upgrade plus improvement
Upgraded to WP 1.2. That seems to have gone very smoothly indeed. My response was “that’s it? How simple!”

But I also noticed my first comment spam today :-( .

So to deal with that, I’ve required an entry for name and email address, and ins…

Mountebank wrote on October 29, 2004 - 10:31 AM
#28

thanks for the code.

David Krug wrote on October 30, 2004 - 1:01 AM
#29

Nun aber …
Nachdem mein Provider seine Serverprobleme alle behoben hat, hab ich die Blogsoftware zwar eigentlich umsonst umgestellt, aber da ich mich nun in den letzten Tagen so schn in Wordpress eingearbeitet habe, werde ich nun endgltig umsteigen. Mein einzi…

LANtastic’s wrote on October 31, 2004 - 9:55 AM
#30

Friend of a friend hooked me up with your plugin. I was starting to get hit hard with spammers, but now nothing after I installed your plugin, and was easy to do too.

Thanks, mate.
Foton

Foton wrote on October 31, 2004 - 7:56 PM
#31

thanks for the hack! I just implemented it and I had to make a change to the definition of the $font var in createCodeImage(). I included the path to the ttf file and it started to work. prior to that change I was getting a blank grey box. Now let’s see if that Poker Playing-v selling reject get in…

MichaelE wrote on October 31, 2004 - 8:18 PM
#32

I got this hack to work right away. Great job! I hope like hell this stops that poker spam going around. btw … i got the blank gray box at first too but simply changing the tmp folder to 777 worked to fix the prob.

myke wrote on October 31, 2004 - 9:36 PM
#33

Great hack! It worked perfectly for me. If I may make a humble recommendation… can you code it so that it never turns up a “1″ or an “l”? Those characters just look too similar in that font.

Joe wrote on October 31, 2004 - 10:21 PM
#34

WordPress Hack: AuthImage
AuthImage is een hack die moet voorkomen dat de wordpress logs gek gespammed worden door comment bots. (voor de non techniekers, dat betekent een honderdtal of meer comments die leiden naar met name viagra of pills of online casino’s.)
Nu is dat heel…

Swapdepths wrote on November 1, 2004 - 10:12 AM
#35

For right now the font will have to include “1″ and “l”. I’m sort-of working on a neat addition to this that may help some of the issues people have had with fonts.

Gudlyf wrote on November 1, 2004 - 10:17 AM
#36

Well (if you read dutch see the trackback ) else…
Thanx for this hack. I had it build in in the 1.3 alpha 4 version and it works like charm. Had to catch the $code first , so when you see a image and no code there could be 2 things.
1: the chmods for your tmp dir are not correct
2: the $code needs to be catched as $_POST['code'];

Folkert wrote on November 1, 2004 - 11:34 AM
#37

I just installed this hack on my wordpress site and am having a slight problem. I always get: “Error: Invalid authorization code” even if I enter the correct code. Thanks!

scott wrote on November 1, 2004 - 5:08 PM
#38

hmm.. I’d almost want to opt for the random GD images – like a dang puzzle for this one… the “aych” threw me off for a sec… lol.. nice hack tho.

ryno wrote on November 1, 2004 - 8:11 PM
#39

scott — Are the tmp files being created?

Gudlyf wrote on November 1, 2004 - 9:34 PM
#40

Yes, I have amassed a collection of temp files.

scott wrote on November 1, 2004 - 10:52 PM
#41

scott — Hrm, that is a strange problem. Do you see the temp file with the code in question there? What are the permissions on the tmp directory you’re using? The permissions probably don’t matter, since if it can be written to it can be read from.

Gudlyf wrote on November 2, 2004 - 10:08 AM
#42

I see the temp files but now that I look at them, they all have a size of 0. The files are being created but nothing is being written.

scott wrote on November 2, 2004 - 11:50 PM
#43

They should have zero-length — the code does that.

For some reason the code checking is not reading the temp filenames, which is where it gets the code from (it’s the last 6 characters of the filename). I’m not sure right now what else for you to try.

Gudlyf wrote on November 3, 2004 - 12:13 AM
#44

Thanks for creating this; it works great, although I had to tweak it a bit to make it work on my Apache/Win2k server (plus I changed how it works a bit):
- I had to use a bitmap font (opposed to a TrueType, even though I have the GB and FreeType libraries installed).
- I use a random length string (instead of a fixed length, say 6).
- In Win2k, the tempnam php function tacks on “.tmp” when it creates a file. Instead, I use the ImageJPEG function which creates the temporary file from the random string.
- Removed code from createCodeImage function that isn’t required for Windows.

I’m thinking of using a random font for the image, too.

Since installing it no spam comments have appeared.

Jody Cairns wrote on November 3, 2004 - 8:54 AM
#45

As mentioned in comment #44, if anyone sees that the font I used isn’t adequate or the code length isn’t adequate or random enough, let me know and I’ll make alterations to the code to randomize the font and randomize the code length. I really doubt it’s needed unless someone, somehow, writes a bot that can do text recognition and read the code. Really a better idea will be to alternate the background image from the default grey to perhaps a striped background.

Gudlyf wrote on November 3, 2004 - 12:13 PM
#46

I just installed your great hack. The problem is, i just have the same problems as Scott. The Image is shown, I type in the code correctly and it tells me, that the code is wrong.

Waldorf wrote on November 3, 2004 - 4:33 PM
#47

For the people saying they’re getting the “wrong code” problem, please try downloading the latest version of AuthImage here and follow the directions in the README. Especially note that the function names are different now. My guess is that you may be using an old version of the scripts and copied the info in the README incorrectly.

Gudlyf wrote on November 3, 2004 - 4:48 PM
#48

Hey, thanks for the help, but I followed the instructions exactly (and used the latest version) and I still get the same problem.

Scott wrote on November 3, 2004 - 8:20 PM
#49

This is a great hack. I think it should be inplemented into the WP core. Great Job!!!

Richard wrote on November 4, 2004 - 5:00 PM
#50

AuthImage
Well I’ve found my solution. People will now be required to add in a small randomly generated code – sorry for the extra step but I was getting about 200 comments an hour!

W. Andrew Loe III wrote on November 4, 2004 - 9:19 PM
#51

Scott,

Are you installing this hack with your root directory different from your wordpress directory? I had some similar problems with this hack and ended up needing to put in symlinks for my my-hacks.php file and my tmp directory. After that, things seemed to work alright. Just a though.

Chris wrote on November 5, 2004 - 9:57 AM
#52

Yes, my root directory is different from my wordpress directory; I’ve tried symlinking everything so that they are accessible from all locations but it still hasn’t worked

scott wrote on November 5, 2004 - 2:30 PM
#53

now it keeps telling me i need to re-enter the code even though i type the right code in the box

Anonymous wrote on November 5, 2004 - 8:24 PM
#54

I dont know how to install this thing…I am very new to all this and am really an idiot still…help would be appreciated. I have it downloaded but now what???

jsrdrnr wrote on November 6, 2004 - 12:52 PM
#55

Thanks a lot for the hack! I got it working, using comment #5’s code, but the image quality is not so great…

I was wondering if along with this hack we should also setup a cron job which would delete all the temp files periodically, depending on the site’s traffic.

Gaurav wrote on November 6, 2004 - 2:10 PM
#56

There are instructions in the README for what to add to your crontab. Like I mentioned in the post above, I’d recode AuthImage to use cookies instead of temp files if people thought that would work better.

Gudlyf wrote on November 6, 2004 - 2:25 PM
#57

I agree with many of the comments so far. This looks like a brilliant hack that MUST be integrated into the core development of WordPress. Does the core team know of it’s existence? Please let them know if they are blind to it ;-) . The quicker we get this into the core development, the better for all of us WordPress users.

SPAMMERS you are on notice. There are smart people working to protect us. Thanks guys.

John Thomson wrote on November 6, 2004 - 4:32 PM
#58

I believe the WP folks know about it from one of the mailing lists (thread here). They seem to think it should remain seperate and as a choice for users, although they seem to think it’s a simple plugin that can be turned on/off easily (when it’s in fact a hack that has to be coded in).

Gudlyf wrote on November 6, 2004 - 4:45 PM
#59

I keep getting an error that spells out the code on my blog, and on this one when I hit Say It! just now
Any idea what might be causing this?

Anonymous wrote on November 6, 2004 - 5:40 PM
#60

You got the error on this blog?

Gudlyf wrote on November 6, 2004 - 5:46 PM
#61

yes came up just once when I went back and hit refresh it let me post

Anonymous wrote on November 6, 2004 - 5:53 PM
#62

test

Kyle wrote on November 6, 2004 - 9:24 PM
#63

The Final Solution hopefuly
Recently I’ve been getting spammed. Some asshole up ther in spamland decided that emailing people junk mail was okay. Then, when that failed, he decided to hire a bunch of code monkeys to code something to write posts in a effort to boost up their pag…

Crazysim’s Blog wrote on November 6, 2004 - 11:26 PM
#64

Hi, Great hack, but im getting this errot

“Fatal error: Call to undefined function: showaialttext() in /home/co7784/public_html/beta/weblog/wp-comments-post.php on line 50″

http://www.7784.co.uk/beta/weblog/index.php?p=1#comments

any ideas?

James wrote on November 7, 2004 - 4:55 AM
#65

What version of WordPress are you using? Did you turn on usage of the “my-hacks.php” file? Check the options. It seems it didn’t load the file properly.

Gudlyf wrote on November 7, 2004 - 10:19 AM
#66

i’m using WP1.2.1 and my-hacks is enabled. I’ve followed the instructions to the letter.

James wrote on November 7, 2004 - 2:14 PM
#67

Comment 56 – My bad, I didn’t read the whole readme.txt

& yesterday I had the same problem with this site (and mine too) as described in comment # 59 n 61

Gaurav wrote on November 7, 2004 - 3:44 PM
#68

You’ll get the phonetic-English translation of the code if you typed it wrong. I can only guess that you typed it wrong the first time or left it blank.

Gudlyf wrote on November 7, 2004 - 4:31 PM
#69

Authimage finally working!
Big thanks to Gudlyf for his WordPress hack Authimage! Initially, I had a bit of difficulty getting it to work. My biggest problem was that it would not recognize that I entered the correct code. I noticed other people had posted problems about this,…

blog.stevenbrown.ca wrote on November 7, 2004 - 5:31 PM
#70

Gudylf, I’ve gotten it working now. I followed the instructions that blog.stevenbrown.ca posted above. (Just had to modify them a bit to fit my specific directory structure). Thanks so much!

Scott

scott wrote on November 7, 2004 - 6:27 PM
#71

Freudige Bekanntgabe II
since this post trackbacks a (foreign) blogentry written in english, i will post a statement in English after the German crap here

Operation geglueckt – Patient tot lebt.
Das Spam-Problem kann als ‘eingekreist’ gelten. Nach ein bissel rumprobier…

xchylde speakin but mostly writing wrote on November 8, 2004 - 11:28 AM
#72

I finally got it to work, although i had to re-install wordpress to do it. I also had to remove the leading ‘/’ from every path.

James wrote on November 8, 2004 - 2:27 PM
#73

AuthImage implemented
Or what’s left of it (grab the original here). It started with PHP5 taking issue with the old code — the line that generated the $code to be used in the image — most likely due to the way strlen() or substr() or so is handled in PHP5, I’m guessing….

marcus’ scrappad wrote on November 9, 2004 - 1:09 AM
#74

Fight against spam
Like many sites, I get the odd bit of spam commenting. Now, being the kind of lazy guy I am, instead of being content with deleting the 2 or 3 comments that appear every day, I’ve decided to throw software at the problem. I’ve just ‘hacked’ the s…

the salmon farm wrote on November 9, 2004 - 10:21 PM
#75

hi all. I have done some days ago a very similar plugin to stop the non-human spammers. you can find more information in the Esther Fuldauer’s blog and it is listed at WordPress plugins wiki
I think the yours one is very nice ! We have to stop these stupid spammers.

coffelius wrote on November 10, 2004 - 1:46 PM
#76

Begone, Comment Spam!
I’ve been having a tough time with comment spam lately. It’s mostly been invisible, since it gets moderated. But that means I have to read more spam, and I hate that.

I found a superb solution: AuthImage. Finally!

The ChangeLog wrote on November 10, 2004 - 5:31 PM
#77

I’ve seen that others have had this problem, but I can’t find a solution (I don’t have access to reinstall my server, as someone above did). Please help! At first, I saw no image. Then, when I copied my-hacks.php from my blog directory into my root directory, I got a blank, gray image (no text/code). I checked with my server, and I have both freetype and GD installed:gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled. What could be the problem? Authimage.php and attomicclockradio.ttf are both in my root directory. I also tried it with a bitmap font (just uploading and replacing that in my-hacks). My temp directory has files in it….

nathaniel wrote on November 11, 2004 - 2:32 AM
#78

Creamy hack! Thanks! Got it working in an hour – and most of that time was spent finding out how to implement my-hacks.php :) I also had the problem of lower case L looking like a 1 so I edited the error message to give the user more info – like “sometimes L looks like a 1 – code is case sensitive, etc. I will try to change the font to see if that helps. Rock on!

Kate Jenkins wrote on November 11, 2004 - 3:33 AM
#79

Just a comment on the idea for the visually impaired. I think it’s great that it occurred to you, but I’m not sure audio would be the best solution. All of the visually impaired people I’ve come into contact with use a refreshing Braille display as opposed to audio. This is mainly because of bandwidth issues and the problem that there is no standard for audio formats. There may be some kind of solution that could be done with xml and stylesheets for the visually impaired, but I’m not sure what it would be.

andy wrote on November 12, 2004 - 12:02 AM
#80

Check out: http://krijnen.com/archives/000322.shtml
Nor more spam! No More spam commenters!

leon wrote on November 12, 2004 - 7:46 AM
#81

I am not entirely sure, but if after patching in this hack and all you get is a blank grey image, it could be due to PHP5. The $code variable that’s set in the createAICode() function won’t have any value assigned to it. This is due to the way substr() works in PHP5. This line (in my-hacks.php):

$code = substr($tmp_fname, (strlen($tmp_code_loc) + strlen($tmp_code_prefix)), $code_length);

Essentially reads:start at the end of the filename and return 6 characters. I believe in PHP4 it would automagically search the string backwards, but PHP5 says no.
Try modifying the line to read:

$code = substr($tmp_fname, -1, $code_length);

or even just

$code = substr($tmp_fname, -6);

I haven’t tested this, since I don’t have access to a PHP4 server. For more info on this, read the php manual on substr().

marcus wrote on November 13, 2004 - 9:24 PM
#82

Thanks Marcus; actually, I’m running 4.3.9. I decided to try your havk hack anyway, but to no avail. Any other thoughts? I appreciate your help!

nathaniel wrote on November 14, 2004 - 2:01 AM
#83

Just updated the code — version 2.0 is now available, and it’s now a plugin! Minimal hacks needed. Give it a look.

Gudlyf wrote on November 14, 2004 - 2:23 AM
#84

Sound Generation in WP
Gudlyf’s blurb about sound generation in his AuthImage hack, or plugin now, made me want to look into actually implementing that.

I took the cheap way out, using Festival. It’s implemented, and it works now, but I’ve got a few gripes with it.

marcus’ scrappad wrote on November 14, 2004 - 5:04 AM
#85

Here’s another (small) idea:

1. Have the code generated in wp-comments.php and stored in the
session.

2. Then have authimage.php just pull the code from the session.

This allows you to display the code in the ALT tag of the image in the
wp-comments.php file.

This should work, by the way, because sessions use a locking
mechanism. see here.

Anyway, having the alt tag with the code would allow lynx, links and w3m users to
post comments, too.

Marcus wrote on November 14, 2004 - 1:37 PM
#86

Yeah I dunno about the alt tag idea, as it makes it way too easy for bots to fool, unless you put the phonetic text in the alt tag.

Gudlyf wrote on November 14, 2004 - 2:28 PM
#87

That’s what I did. I convert the digits to strings and they show up as “seven nine three four seven”. It works great on IE. Firebird 0.9.3 however, apparently decides to cache the image anyway, even though the headers tell it not to. Took me a second to track that down, too. So much for that idea.

On a separate note, my wife’s web log is still getting spam. It’s “only” one guy spamming away for his casino. Pretty annoying. And her web log isn’t even popular or anything. Heck, it’s barely a week old. All spam is coming from different IPs, and *even* with AuthImage it’s still coming through. I’m wondering if they’re actually going out of their way to spam by hand. Really weird.

The only other explanation I have is that they open the page once, get the auth code, and then use bots to spam the site with the code included. If the bots don’t reload the image, no new code is generated. That’s why I also changed the checkAICode() function to create a new code — I don’t think I had that implemented before.

Who knows, maybe they’re employing indians for 5 cents a day to manually Spam The World™.

Marcus wrote on November 14, 2004 - 5:05 PM
#88

Nice work!

xhantt wrote on November 14, 2004 - 6:32 PM
#89

I successfully installed the plugin. Thanks for contributing this to the community. It would be good to note in the installation instructions that steps 9 and 10 (about the hacks) are no longer required on newer versions of WordPress. Also, a note about needing to change the URL in the IMG tag would have saved me some initial confusion. Thanks again.

Matthew Simoneau wrote on November 14, 2004 - 8:25 PM
#90

I’m having troubles with the back button. If the commenter mistypes the code and then presses “back”, his comment is gone and he has to retype it. Worse, the page reloads and sets a new cookie, but the image doesn’t update, so his code will now fail.

I’m using Mozilla and this behavior seems to be browser dependant. IE refreshes neither the image nor the page, so it works fine. Looking at the code in wp-blog-header.php, WordPress marks the page as “always modified” in the headers, so Mozilla is actually doing the right thing (at least with respect to the text).

Sam Snow noticed the same problem with a similar plugin and suggests a crude workaround:

http://www.wellardsworld.com/archives/2004/10/30/imageauth-hack-for-wordpress/#comment-202

I’m not sure what to do to fix it more robustly. Perhaps I could modify the plugin so it also forces a reload of the image, possibly by changing the URL each time. Maybe one of the post preview plugins could be adapted to handle the error page, rather than forcing users to hit back at all. Best (and most involved), would be to fix WordPress so it doesn’t always force a reload. This problem also affect Mozilla commenters who didn’t fill out a required e-mail address. Another side-effect of the page reload is that the browser doesn’t return to the same place on the previous page when you hit “back”, which is a drag. Googling around, I’m surprised I don’t see more discussion on the page reload issue.

If anyone has any ideas, please post them here. Thanks.

Matthew Simoneau wrote on November 14, 2004 - 8:58 PM
#91

IMHO, this is actually a typical form handling and, in a way, a WP business logic issue.

I have never been a fan of forms that post to new pages. My code typically looks like this:


# header include

# logic to check whether form was submitted
{
# validate form data, update database and redirect to new page

# otherwise, just fall through
}

# display form

# footer include

In the event the form validation fails, the form gets displayed again, with the fields already filled in.

However, this kind of logic would be easier to implement for the wp-comments-popup.php, than the wp-comments.php, unless a hack wraps ob_start(); and ob_end_flush(); around the whole WP logic. In which case wp-comments.php could submit to itself (i.e. the current url), if necessary (i.e. on form submission) call ob_clean_end(); and then redirect to the new page. However, the “new page” would be the same url. If there’s still people out there with NS4.0, they’ll get errors. NS4.0 tries to avoid infinite loops when pages redirect to themselves.

Just brainstorming here. Okay, different idea. Have wp-comments-post.php check to see whether there’s an error, and instead of just doing the studid die('hey, you forgot your name'); or whatever, have it display the wp-header and at least the comment form (i.e. the light gray box at the bottom of this page) again, giving users the chance to fix their missing name, email, correcting the code, or what have you.

marcus wrote on November 14, 2004 - 9:24 PM
#92

Yay, got it implemented on my site. It’s quite a hackjob, not very portable either. For one, because I use threaded comments. It requires copying rather large portions of index.php and wp-comments.php. Ugly, I tell ya. But it works. Give it a shot.

marcus wrote on November 14, 2004 - 10:18 PM
#93

Sweet! I’ve got it working as well – I noticed the same issues that Matthew and Marcus commented about above. I’m not so concerned about the text missing bit, only the fact that the image doesn’t refresh… buuuuuut – right now anything is better than deleting 20 “FREE TEXAS HOLDEM” comments a day.

Noah wrote on November 15, 2004 - 3:13 AM
#94

Slight Blog update
A friend pointed out to me the other day that my blog didn’t have a style-sheet in Internet Explorer. When I looked into the problem, I realised it must have been that way since I updated from WordPress 1.0.2 to 1.2. Sorry!

This does give me a good…

Irregular Verbiage wrote on November 15, 2004 - 11:56 AM
#95

Wordpress blog spam
I think I finally found something against the current spam attacks I’ve been getting.

I kept getting new comments offering various products, but similar enough to be from the same bot. As IP banning doesn’t help, the comment moderation queue has t…

Blogcat wrote on November 15, 2004 - 12:34 PM
#96

Finnaly got this working by putting the absolute URL of the font into authimage.php (wasn’t seeing it for some reason). Hey Marcus: care to share your form handling code? Or Gudlyf: how come your page seems to have my forms filled in when I hit the back button, but mine doesn’t?

nathaniel wrote on November 16, 2004 - 2:24 AM
#97

Actually I’m just testing the comment plugin to see how it works. Looks good!

Paul (pabs) wrote on November 16, 2004 - 5:17 PM
#98

I’ve tried installing this, but the image doesn’t show up for me, even when I put the absolutely path as what Nathaniel said. Is there anything that I can do? Thanks!

Nettie wrote on November 16, 2004 - 8:06 PM
#99

TEST

Beth wrote on November 18, 2004 - 8:48 PM
#100

I just tried installing this plugin (version 2.0.1a) on a debian sarge apache2 based system running 1.2.1. I had a few issues. I wanted to detail them in case other people had the same problems.

First, I did have to install one more debian package to get gd support working, as well as restart apache2 after the install:


apt-get install php4-gd2
/etc/init.d/apache2 restart

The second change that I needed to make was in the code contained in step 5 of the install guide. There, in both the text and image versions of the code, I needed to remove leading / from the wp-content/plugins/authimage.php path.

The final change I had to make (this has been mentioned before) was to set the full Linux file system path to the .ttf file inside the wp-content/plugins/authimage.php file.

I hope that helps other people. I still need to look at the JavaScript code and see if that helps keep the “text lost on wrong-auth back” problem discussed above. The jury is still out with me…

Sam

Sam Snow wrote on November 19, 2004 - 3:32 PM
#101

I was thinking to edit this hack and make it annonymous only, which means that the registered users won’t have to enter the auth code. Right now its an extra step which everybody has to go through in order to submit comments. But am not sure if it will work or not as the spammers can also register automatically (may be add another auth code for registration?)

Gaurav wrote on November 22, 2004 - 1:58 AM
#102

I’m sure you must be fed up of people commenting and asking for help so feel free to ignore me! The problem I’m having is that my web hosting doesn’t support FreeType. Someone on their web forums advised me to try monospaced fonts. If you wouldn’t mind letting me know how to alter the code so I can use a different font, it would be very much appreciated. I’ve only had my blog up a couple of days and I haven’t had any “real” comments yet, but the spam is already flooding in!

Helen wrote on November 22, 2004 - 4:46 PM
#103

Great plugin!! I used to spend night after night cleaning out my MT comments for spam. Then I fell for Wordpress which is the best! This plugin really cashes in the reward for that switch over! Thanks for giving me no more hard headed spam bustin’ evenings!!

Matthias wrote on November 23, 2004 - 3:33 PM
#104

captcha for b2evolution revisted
I realize in looking at this that there is a well-known issue with this plugin– that is, that once an incorrect code has been entered, and you are sent back to the page to re-enter it .. the image doesn’t refresh. Consequently, even if you enter the …

village-idiot.org wrote on November 24, 2004 - 7:32 PM
#105

1. Can you make it ignore caps?
2. There is a minor mistake in the README file, line 81 should be:
php -i | grep “FreeType Support”

Cloudless wrote on November 25, 2004 - 3:32 PM
#106

Thanks for the great plugin. I also had to enter the full Linux path to the font file for it to work. Outside of that, no problems.

Kevin wrote on November 26, 2004 - 8:59 AM
#107

I am not getting this going. I have an error somewhere I am sure. Looked at all the above comments and in #89 noticed that my-hacks.php isnt required anymore. Is that correct? If anyone is willing to assist I will email you the error page I get. Just didnt want to put all that in here.

Willie Strickland wrote on November 26, 2004 - 5:04 PM
#108

OK, I got it working now after adding the full server path to the font file as noted by others above.

Willie Strickland wrote on November 26, 2004 - 5:42 PM
#109

Ever since attempting to install this hack, I get a strange list of errors. (Hac never functioned. WP 1.21) I completely ripped out the hack and STILL get the errors. What has screwed my blog? Anyone have a clue? Here’s the error codes:

Warning: Unknown modifier ‘C’ in /home/omar/public_html/bullspeak/wp-includes/functions.php on line 1348

Warning: Unknown modifier ‘C’ in /home/omar/public_html/bullspeak/wp-includes/functions.php on line 1349

Warning: Unknown modifier ‘C’ in /home/omar/public_html/bullspeak/wp-includes/functions.php on line 1350

Warning: Unknown modifier ‘C’ in /home/omar/public_html/bullspeak/wp-includes/functions.php on line 1351

Warning: Unknown modifier ‘C’ in /home/omar/public_html/bullspeak/wp-includes/functions.php on line 1352

These repeat for each of the following…

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 89

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 90

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 91

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 93

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 94

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 95

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 96

Warning: Cannot modify header information – headers already sent by (output started at /home/omar/public_html/bullspeak/wp-includes/functions.php:1348) in /home/omar/public_html/bullspeak/wp-comments-post.php on line 101

I’m lost. I even re-installed clean copies of the files with no luck.

~Omar*

Omar wrote on November 26, 2004 - 6:26 PM
#110

Follow-up:
The comment *is* being logged, but the page full of errors shows up regardless.

I hope someone can help.

~Omar*

Omar wrote on November 26, 2004 - 6:48 PM
#111

I noticed the Readme file skips from Step 1 to Step 5, and I can’t get the plugin to work. Are there supposed to be steps 2-4 in the readme?
Thanks for the plugin. I look forward to implementing it.

Justin Baeder wrote on November 26, 2004 - 11:18 PM
#112

Seems to work ok without the missing steps :grin:

Carsten wrote on November 27, 2004 - 12:22 AM
#113

Well, I’ve spent the last 40 hours attempting to get this hack to funtion as stated, and failing in that, to get my blog to function correctly after removal. No good there, either. Thinking I might have missed something, or failed to type in something correctly, I re-istalled it once again – this time with my wife checking my every move vs. the docs. Still does not function, still huge #’s of errors, still can’t bring blog back to before-install comment abilities. (kicks self for not doing a complete backup before starting…)
At least the error messages have changed with it installed, but no image – or any other sign of the hack – is evident.

Would still love some help from you Geek Gods out there. This redneck is lost fer sher….
LOL,
~Omar*

Omar wrote on November 27, 2004 - 8:42 PM
#114

I cannot get this plugin to work no matter what I try! I’ve done the my-hacks thing and I’ve got all the libraries, I’ve followed every step, but every time I try to install this, it says only “enter this code: authimage”. No grey box, no text. This sucks too, cuz I get a lot of spam comments!

Mau wrote on November 27, 2004 - 10:17 PM
#115

That’s all I could get out of it too, Mau.
Then, if you entered a comment, it would post, but be followed by a white page with the errors I listed above.

Omar wrote on November 28, 2004 - 12:15 AM
#116

What happens if you guys turn off comment moderation? Does that fix things?

Gudlyf wrote on November 28, 2004 - 12:59 PM
#117

Mau — Are you sure you’re specifying the correct path to the authimage.php file?

Gudlyf wrote on November 28, 2004 - 1:00 PM
#118

Where would I go to specify the path? I don’t remember seeing anything like this so maybe that’s it…

Mau wrote on November 28, 2004 - 1:53 PM
#119

Oh, wait, I’m assuming you mean: /wp-content/plugins/authimage.php…yes, it’s correct.

Mau wrote on November 28, 2004 - 1:55 PM
#120

And what happens if you go directly to that URL?

Gudlyf wrote on November 28, 2004 - 3:50 PM
#121

Blank page!

Mau wrote on November 28, 2004 - 10:21 PM
#122

And I do have gd and freetype libraries installed…

Mau wrote on November 28, 2004 - 10:43 PM
#123

My issue has been resolved. It had NOTHING to do with Authimage, but rather spaces in my spam words list. I’m now gonna try to install Authimage again.

My apologies for wasting time and space.
~Omar*

Omar wrote on November 29, 2004 - 4:03 AM
#124

Oops!
I spoke too soon. My error messages are gone, however I seem to be exactly where Mau it at….
It shows no image, just the alt “authimage”. Any entry, of course, just takes me to the ‘wrong code’ page.

~Omar*

Omar wrote on November 29, 2004 - 4:51 AM
#125

I spent the night trying different things with no positive effect. I, too, get a blank screen when I go directly to the ‘/wp-content/plugins/authimage.php’ url. All libraries are properly installed.

No error messages, just won’t work.

Omar wrote on November 29, 2004 - 8:11 AM
#126

The answer to comment spam: AuthImage
Last friday I spent some time to set up another personal weblog (entirely in Dutch, and not computer related, sort of. If you can understand Dutch, don’t be offended by the uri, it’s ment to be funny). But within 72 hours…Comment Spam!

Sigh…

Gargleblaster.org wrote on November 29, 2004 - 6:14 PM
#127

Circle of Protection: Spam
As part of the ongoing battle against the spammer[BLEEP]s who keep trying to let all the Soul Cookie’s readers know about all-natural Viagra and online poker and whatever else strikes their small-[BLEEP]ed fancy, I’ve added a visual checksum, GudLyf…

Home of the Soul Cookie wrote on November 29, 2004 - 8:58 PM
#128

great work. i was able to install it as a plug-in in less than 5 minutes on my profesor’s site. see it in action athttp://www.luisteodoro.com.

thanks a lot! :)

ederic wrote on November 29, 2004 - 10:41 PM
#129

Turn on PHP error reporting and try it again. You should be seeing errors that indicate what’s wrong. Put this in your .htaccess file:

php_flag display_errors on

Gudlyf wrote on November 30, 2004 - 10:26 AM
#130

An end to comment spam??
So recently my weblog has been receiving an increasignly large number of spam comments. My previous method of forcing all those comments containing more than 1 link to be moderated was catching a fair few and resulting in many annoying e-mails to mysel…

mikemoate.co.uk wrote on November 30, 2004 - 11:17 AM
#131

And what if you go to:

/wp-content/plugins/authimage.php?type=text

Gudlyf wrote on November 30, 2004 - 2:25 PM
#132

It’s a white page that says: upper-zee upper-jay upper-ess one seven

Mau wrote on November 30, 2004 - 8:09 PM
#133

I just set this up for someone on their site. I didn’t have any access to the admin section, just the FTP, so maybe that’s where I went wrong. Anyway, I found that with the phonetic iframed-text-mode, the string it generated was missing one letter, so taht when it went to validate, it was always wrong. I found that using a substr($_SESSION['AI-code'],0,5) fixed the problem. I also had to remove the if (strlen($code) < 6){$code = ”;} lines from the page, because the string was too short, and would be deleted by this code.

Just my 2 cents, in case anyone comes across the same problem.

Ashley wrote on November 30, 2004 - 11:32 PM
#134

It looks like my comment got chopped off. Essentially, the check to make sure the string was of the right length was blanking out the codes, because with a letter missing, they were too short. I got rid of the line completely, although maybe setting it to less than 5 would be more reasonable.
Just thought I’d submit this, in case anyone else was in the same boat.

Ashley wrote on November 30, 2004 - 11:35 PM
#135

I can’t do authimage :o (
Bugger, I can’t run the captcha authimage with WordPress because my hosting provider has only compliled GD and not freetype with PHP… sigh… any other solutions out there? I’ve posted this here, on the WP boards too.

Update… seems like the -h…

incorporated subversion wrote on December 2, 2004 - 1:11 AM
#136

I’ve downloaded AuthImage. Works like a charm! Thanks so much!

Ulysses wrote on December 2, 2004 - 7:11 AM
#137

I’ve upgrade my 1.4 to 2.0.2 version and it’s running well except one thing, all of my pages become not XHTML 1.0 strict when I’m validate it on W3C (my web previously validate as XHTML 1.0 strict with authimage 1.4), for now I’ve recently delete the session starter on my_hacks.php to fix this problem, anyone has any better solution for this problem? because the session_start function from authimage makes some links and form on my page not XHTML 1.0 strict compliant (the ampersand format etc.)

Dikiwink wrote on December 2, 2004 - 1:10 PM
#138

Well the latest i cannot get to word with 1.2 strange cause as earlyer i did the older version on 1.3 alfa4 and that worked well.
Now i only get a ‘non’ image. Followed the instructions as they are in the readme but there is no go.

Folkert wrote on December 2, 2004 - 1:19 PM
#139

If i call directly the athimage.php it gives a balnc page (ofcourse ;) ) but then when i directly visit authimage.php?type=image then he gives me an 404

Folkert wrote on December 2, 2004 - 2:57 PM
#140

I’ve installed the plugin, but the comment page is displaying a text box with a 404 page inside of it. I went directly here: http://www.intricateart.com/journal/wp-content/plugins/authimage.php

and got this error message:

“Fatal error: Call to undefined function: add_filter() in /wp-content/plugins/authimage.php on line 185

On top of that, the box to enter comments is not even viewable (as it is on yours), it just stops after the plugin display. I’ve reinstalled it twice to no avail…help HUGELY appreciated!!!

Leanne wrote on December 2, 2004 - 6:54 PM
#141

Leanne — Did you enable the plugin?

Gudlyf wrote on December 2, 2004 - 9:46 PM
#142

thanks for a great plugin Gudlyf!
i got it up and running on my site with very little trouble at all!
not only should it prevent the dirty spammers, it looks cool too ;-)

chris wrote on December 3, 2004 - 3:45 AM
#143

Finally … sheesh.
For those who use Wordpress and who have been bombarded by fucking casino spam comments you can try installing the AuthImage plugin by Gudlyf

I spent the past thirty minutes trying to troubleshoot it (broken image file). I had to take a step back a…

8pril: return of hope wrote on December 3, 2004 - 7:49 AM
#144

Gotcha – CAPTCHA
My blog has only been active for a few days, and I’ve already experienced the first flood of porn spam comments.

But I knew what to look for to get it fixed without having to manually ban IP address Ad Nauseum, or permanently have to approve commen…

From the Fingers of Henrik Flensborg wrote on December 3, 2004 - 4:28 PM
#145

Gudlyf, yes I did enable it. I even deactivated it and reactivated it. :/

Leanne wrote on December 3, 2004 - 7:18 PM
#146

Thanks for the excellent plugin! I’ve tried others and this is by far the best. I, too, had the problem that Leanne was having. I found that in the README.txt file, I needed to make a change.

If you are using the image portion, then change line #116 of the README.txt file to read:
<img src="wp-content/plugins/authimage.php?type=image" width="155" height="50" alt="authimage" />

If you are using the phoenetic English portion, then change line #123 of the README.txt file to read:
<iframe src="wp-content/plugins/authimage.php?type=text" width="155" height="50" />

In each case, there is an unnecessary preceding forward slash that when removed allows the plugin to work perfectly… well at least on my site it works perfectly with that change.

BillH wrote on December 4, 2004 - 4:18 AM
#147

Oops, looks like the CODE tag is NOT allowed in your comments! Here are the changes:

Line #116: <img src="wp-content/plugins/authimage.php?type=image" width="155" height="50" alt="authimage" />

Line #123: $lt;iframe src="wp-content/plugins/authimage.php?type=text" width="155" height="50" />

BillH wrote on December 4, 2004 - 4:20 AM
#148

One more time:

#116: img src=”wp-content/plugins/authimage.php?type=image” width=”155″ height=”50″ alt=”authimage” /

#123: iframe src=”wp-content/plugins/authimage.php?type=text” width=”155″ height=”50″ /

BillH wrote on December 4, 2004 - 4:22 AM
#149

BILL you are a GODSEND. THANK YOU THANK YOU THANK YOU!!!!!

Leanne wrote on December 4, 2004 - 12:05 PM
#150

psst…what is the code to change the error message for wrong/invalid/blank code entry to the lil popup message? Anyone wanna share?

Leanne wrote on December 4, 2004 - 12:08 PM
#151

Great stuff, thanks.

One minor correction to the docs: It says that shell access is required. This is not true. Instead you can check whether your PHP install has the required libraries by creating a file called info.php containing a single line

< ?php phpinfo(); ?>

Visit this page in your browser, and look in the output for GD and Freetype both enabled.

Alastair wrote on December 4, 2004 - 6:24 PM
#152

Oops, that should say:

< ?php phpinfo(); ?>

Alastair wrote on December 4, 2004 - 6:25 PM
#153

One more time:

<?php phpinfo(); ?>

Alastair wrote on December 4, 2004 - 6:27 PM
#154

FYI, to leave <code> comments, put the tags on their own line.

Gudlyf wrote on December 4, 2004 - 10:02 PM
#155

don’t forget to rewrite
#116: img src="wp-content/plugins/authimage.php?type=image” width="155″ height="50″ alt="authimage”
and
#123: iframe src="wp-content/plugins/authimage.php?type=text” width="155″ height="50″
to reflect your own w-p directory. it sounds stupid, but it stumped me for a good 5 mins!

Thanks for the great plugin!

Niss wrote on December 5, 2004 - 6:52 PM
#156

Validation Code Added for Comments
Very sorry to have to do it but the spammers have forced me to set up a validation system.

When you go to post a comment you will have to enter the validation code displayed in the comment post area. Hopefully this will eliminate the flood of spam …

Jim Lynch: Off the Top of My Head… wrote on December 5, 2004 - 8:40 PM
#157

Validation Code Added for Comments
Very sorry to have to do it but the spammers have forced me to set up a validation system.

When you go to post a comment you will have to enter the validation code displayed in the comment post area. Hopefully this will eliminate the flood of spam …

Jim Lynch: On the Soapbox wrote on December 5, 2004 - 8:40 PM
#158

Image not appearing on your comment page – but everything else is configured properly? Try removing the leading slash in front of the path to authimage, i.e.

img src=”wp-content/plugins/authimage.php?type=image” width=”155″ height=”50″ alt=”authimage”

in wp-comments.php at around line 74. Fixed everything for me!

Kate wrote on December 5, 2004 - 10:47 PM
#159

Hi Gudlfy:

Thanks for such good plugin! I just use your idea and write a new plugin for pLog! Thanks!

http://blog.markplace.net/index.php?op=ViewArticle&articleId=189&blogId=1

Regards, Mark

Mark wrote on December 6, 2004 - 3:46 AM
#160

having the same problem as post #140. Tried suggestion from #148. Didn’t work, I tried putting in real path to authimage.php and still get “enter this code: authimage” on my comments page. I would like to set up the text and not the image. Any suggestions?

mike s. wrote on December 7, 2004 - 1:34 AM
#161

got the image path resolved, but now my comment box, “say it” button and side bar are gone.

mike s. wrote on December 7, 2004 - 3:17 AM
#162

Mike — Do you have PHP error reporting turned on? Do you get any errors reported at all?

Gudlyf wrote on December 7, 2004 - 10:13 AM
#163

I’m desperately trying to get this thing to work, but all I get is a grey square with no text. The Images are created and left in the tmp-directory though. I’m trying out the version 1.4.1

Any suggestions?

Dan wrote on December 7, 2004 - 12:43 PM
#164

the only error I did encounter was: “Fatal error: Call to undefined function: add_filter() in /wp-content/plugins/authimage.php on line 185″. It was resolved. After digging thru wp-comments.php, I can find the code(line 81 thru 91) for the missing comment box and “say it” button but it still won’t appear on my comment page. Where else should I look for the php error messages?

mike s. wrote on December 7, 2004 - 8:26 PM
#165

Mike — Can you try using the latest version of authimage instead?

Gudlyf wrote on December 7, 2004 - 8:35 PM
#166

WP Plugin: AuthImage
Say `bye bye` to spam comments on this blog since I’ve installed AuthImage plugin for wordpress. Beside entering your name and email it requires from you to enter some random text in order to your comment go through….

kurcula.com wrote on December 7, 2004 - 11:09 PM
#167

started over from scratch with v2.02 and stuck in same spot. Still no comment box or “say it” button or sidebar. If I put my saved original copy of wp-comments.php, everything back to normal minus authimage ofcoarse.

mike s. wrote on December 8, 2004 - 1:24 AM
#168

does it make a difference that I followed this post:

http://wordpress.org/docs/installation/different-address/

and have my blog files seperate from my index?

mike s. wrote on December 8, 2004 - 1:28 AM
#169

Really annoying
Well I decided to do a bit more about comment spamming when I was greeted by 195 comments that needed moderation due to being caught by the blacklist plugin, so I’ve added a very cool little plugin (which isn’t so cool to install) which may, with luc…

Random Tasks wrote on December 8, 2004 - 6:10 AM
#170

Mike — What happens when you go to the authimage.php file directly (i.e., http://www.yourblog.com/wp-content/plugins/authimage.php) ?

Gudlyf wrote on December 8, 2004 - 9:46 AM
#171

Well I finally managed to get the picture and code show up, but it gives me “Error: please enter the valid authorization code.” no matter if I enter the correct code or not…

Very weird indeed.

Any ideas?

Dan wrote on December 8, 2004 - 11:01 AM
#172

Thanks man! I just added this to my blog, and I’m looking forward to seeing much less spam…

Zonker wrote on December 8, 2004 - 11:59 AM
#173

I get this error message:

Fatal error: Call to undefined function: add_filter() in /homepages/45/d89914993/htdocs/wordpress/wp-content/plugins/authimage.php on line 185

mike s. wrote on December 8, 2004 - 12:48 PM
#174

Mike — Sorry I should have said to try going to “authimage.php?type=image”. With the latest version, you need to add the type at the end of the url like that.

Gudlyf wrote on December 8, 2004 - 2:08 PM
#175

if I use =image, I get a grey box w/o letters and/or numbers. if I use =text I get phonetic-English of letters and/or numbers.

mike s. wrote on December 8, 2004 - 9:57 PM
#176

take that, spammers!
We’ve been getting tons of comment spam lately, so I installed the AuthImage plugin for Wordpress. This means anyone leaving a comment will have to enter a random code, which the spam-robots can’t do.

I did a little modification to show the comme…

the gookins dot net wrote on December 10, 2004 - 2:40 PM
#177

Adventures with Comment Spam
In the past couple of weeks, comment spam turned into a real problem (100+/day), but a plugin seems to have solved the problem.

pbblog wrote on December 10, 2004 - 7:42 PM
#178

Hi there! First of all, excellent hack! This should save me bunches of time. ;)

I did make a modification to correct for Mozilla’s bogus cache control. Basically, I added a randomized &nocache= in the image location causes Mozilla to think that it’s getting a new image each time it reloads the HTML for the page (as it should), which in turn causes it to reload the image and work like it should. Full details are in my blog posting, titled AuthImage Comment Validation. In any case, I hope you might include this fix in your next release of the plugin. Just want to contribute it back in the spirit of sharing with others what I’ve found to be helpful, just as you have done.

And thanks again for the great plugin!

sizban wrote on December 11, 2004 - 2:03 PM
#179

Thank you so much! This is really, really helpfull!

Emanon wrote on December 11, 2004 - 5:04 PM
#180

This is a really good tool, almost exactly what I was looking for. I’ve just made a couple of mods to it to fit more with my site. I put the authentication as the last entry rather than under URI, to me it makes more sense. I changed the colours to match my site and used image/PNG rather than image/JPEG because the compression looked a bit messy. Finally, I removed “zero” and “oh” from the dictionary just to avoid confusion.

Cheers again for a really useful bit of code.

Adam

Adam Bracegirdle wrote on December 11, 2004 - 5:55 PM
#181

Anyone having the problem of spam appearing the moment you post a new item despite the fact you have Authimage running should have a look at: http://tamba2.org.uk/wordpress/spam/#imm

Basically a spammer has used a script to insert a bunch of comments into your database for articles that do not yet exist.

Authimage will prevent this happening again for you, but the damage was done before you set it up.

Love the plug in, Keith – nice work.

Jamie A. Thom wrote on December 11, 2004 - 9:14 PM
#182

Captcha it is
I had been fighting comment spam well for awhile here. Not a lot of it, but enough to annoy me. Then I got about 200 in about 30 minutes and I went through the fucking roof on Friday.

It’s time for stronger measures. I didn’t even know this w…

highlymoody wrote on December 12, 2004 - 11:35 AM
#183

Great plug-in! Suggestion: why not exempt users who have been validated and are logged-in from having to type in the code? That would be a nice addition, I think.

washburn wrote on December 13, 2004 - 4:19 AM
#184

I just installed your plugin; it already seems wonderfully useful. I had to do somethings different from what you have in the README to get the phonetic text to work: instead of using only an opening < iframe > tag, I had to use an opening and closing, or else the remainder of the page after that wouldn’t be displayed (in IE 6 and Opera 7). More importantly, the display code in authimage.php only displays the first 5 chars of the 6 digit authentication scheme, so authentication always fails until that loop is fixed. Hope that helps others.

Alex G wrote on December 13, 2004 - 3:45 PM
#185

Spam smackdown
Well thanks to AuthImage my comment spam has gone from a minimum of 40 a day to nothing over night!

I am dead chuffed by this and hope that the spammers don’t find a way round this, or at least realise that the effort involved really isn’t worth i…

Random Tasks wrote on December 14, 2004 - 10:10 AM
#186

Can “AuthImage” be implemented on any form?

Ulysses wrote on December 14, 2004 - 1:59 PM
#187

Ulysses — Like what?

Gudlyf wrote on December 14, 2004 - 2:11 PM
#188

Can AuthImage be implemented on any web form outside of WordPress? I have a contact form that I want protected from spam? Thanks.

Ulysses wrote on December 14, 2004 - 2:36 PM
#189

Sure you’d just need to take a look at the code and it’s pretty easy to figure out how to adapt it.

Gudlyf wrote on December 14, 2004 - 2:52 PM
#190

Ok, took me a while to get it working, but I finally got it with WP 1.2.1 “Mingus.” For some reason, your instructions didn’t work for me until I fixed three problems that I did not see in the README. My steps were:

1. Copied authimage-hacks.php to the root dir of the WP installation as the filename “my-hacks.php”. With my-hacks.php installed, I had to enable it via Options->Miscellaneous-> and checked the box for “Use legacy my-hacks.php file support”. This was not clear in the readme and WP is deprecating my-hacks, so as a new user to WP, I had no idea what my-hacks.php was.
2. Changed the line in authimage.php that read “$font = ‘atomicclockradio.ttf’” to “$font = ‘/absolute/full/path/to/atomicclockradio.ttf’”
3. Followed all your directions for installation in the README.txt file.

Please add to your readme if possible to help out other 1.2.1 Mingus users.

Additionally, I tried doing the text only version and the <iframe … /> code didn’t work well at all for mozilla viewing. I changed <iframe … /> to <iframe … ></iframe> and it fixed it.

I also want to note that for Debian Linux users, installing the GD module for PHP is a breeze. Do an apt-get install php4-gd and it’ll install all the dependencies, including Freetype! and will change the php.ini file for you. Thanks for making this plugin!

lah wrote on December 14, 2004 - 7:37 PM
#191

what a fabulous plugin!

but i’m having trouble getting it working. I’m using the most recently generated code (downloaded this evening, 12/14).

Basically, the image code doesn’t generate. In safari, it displays a little box with a question mark; in firefox it generates the alt text (which is “authimage”).

If I try to pull up the authimage.php file by itself, http://lquilter.net/blog/wp-content/plugins/authimage.php, that generates a blank page. If I pull it up with type=image [http://lquilter.net/blog/wp-content/plugins/authimage.php?type=image] I get a lot of interesting error messages. Most saliently, I get:

Warning: imagettftext(): Could not find/open font in /home/lquilter/public_html/blog/wp-content/plugins/authimage.php on line 54

It seems like this is likely the same or similar path problem that many others have had. But I haven’t figured it out yet.

I’ve tried several different paths in the authimage.php file — absolute [unix true directory], absolute from the web path, a variety of relative paths — to no avail.

In wp-comments.php I’ve set the path to ./wp-content/plugins/authimage.php but tried other equivalent paths as well.

I’ve turned the my-hacks.php both on and off. [The readme still says to do it but recent comments make me think that's no longer necessary? Can you confirm this?]

Another possibility is the tmp directory — I don’t actually have a tmp directory, and everything else seems to work okay. But I’m happy to create a tmp directory if I only know where to put it … I tried creating a tmp directory, with permissions 777, in my root directory, blog directory, wp-content, and wp-content/plugins.

laura q wrote on December 14, 2004 - 11:53 PM
#192

I ended up having to use the text display since my webhost doesnt have gd enabled. I found a couple things:

1. the loop code createAIAltText has incorrect bounds. It should be:
for($i = 0; $i < 6; $i++) { //total of 6 char code

2. I ended up changing the last return line in the same function to the following. Maybe there is a simplier way to do it, but I didnt like having an iframe that had to be scrolled simply to see the text. I also changed the size of the iframe to make sure all the text fit in..

$alt_code=”<html><style type=”text/css”>nbody{border:0;padding:0px;margin:
0px;background-color:#DDDDDD}</style><body>$alt_code</body></html>”;

James Sasitorn wrote on December 16, 2004 - 5:13 PM
#193

Gudlyf — first of all, thank you for creating the simplest plugin to block spam bots. I have installed AuthImage 2.0.3 as instructed in my WP 1.2.1. The only problem I’m facing is an error regarding ob_start(“ob_gzhandler”) on line 452 in wp-includes/functions.php. This appears only for the first time a visitor accesses a page on the blog; after a refresh, it disappears. Close and reopen the browser, access the site and the error appears again. All your instructions were followed correctly, I double-checked and triple-checked. After some tinkering, I’ve discovered that turning off my-hacks.php solves the problem with no apparent side-effects. My question is — is it a problem for AuthImage or WP if I’m not using my-hacks.php ? Thanks in advance.

Titel wrote on December 17, 2004 - 2:08 PM
#194

Hm, perhaps there’s already a “session_start()” in WP 1.2.1 that I’m unaware of. Really that’s the only thing that’s in the my-hacks.php that I’ve included. Starting the session for PHP is necessary to get the session variables to work, so I put it in the my-hacks.php file. If it’s already started elsewhere, there’s no need for it.

Gudlyf wrote on December 17, 2004 - 2:16 PM
#195

I had to tweak authimage.php to enable it to find the font file, as $plugins_dir is not defined:

@@ -45,8 +45,10 @@

if ($type != "text") {

+ $plugins_dir = dirname(__FILE__).'/';
$fontfile = "atomicclockradio.ttf";
$font = $plugins_dir . $fontfile;

$im = @imageCreate(155, 50) or die("Cannot Initialize new GD image stream");

Also, the patch code given in step 2 of README.txt is wrong: the second double-quote in the IMG element must be removed.

hf wrote on December 17, 2004 - 2:28 PM
#196

*dusts off the ol’ bloggy*
I’m mainly updating as an excuse to test the mexcellent captcha plugin I just installed.

CaptchaWHA?

A simplistic explanation is that it’s a test that a human can pass but a machine cannot.

So what are they good for?

In my case, it’s to …

Meow Mix wrote on December 17, 2004 - 8:07 PM
#197

Just a note to those using the “alt” update; if you want your authimage to not be case sensitive, add the two lines of code from the main plug-in that make the user’s entry upper ;)

nathaniel wrote on December 18, 2004 - 6:50 AM
#198

Well, I have been trying to get this to work on OS X Panther.

Seems I missed an important requirement:
Apache 1.3 or above running on Linux.

Does this mean that running this script locally on OS X is not possible, or could someone offer me a suggestion or 2. I am building my site and testing locally before uploading when my host is ready. Thanks

Morgs wrote on December 18, 2004 - 9:34 AM
#199

Found error in the README file: for the code to display images there is a ” in after the echo statment that is not required. This may cause errors for anyone who doesn’t remove it. It also will give newbies headacks is the code doesn’t work.
Other wise I would like to say that you have a very good script 5/stars!!!

Keep up the good work,
Marzar

Marzar00 wrote on December 19, 2004 - 6:58 AM
#200

I was wondering.. you made a sugestion for making the script generate cookies instead of temp files..
I think you could release two versions of the script. One using temp files and another using cookies.. So everyone would be happy :)
just a suggestion, besides, great script! I found the best for wordpress to stop spammers! congrats!

Kuker wrote on December 19, 2004 - 12:50 PM
#201

another thing.. i think you forgot to put the instructions for the cron job on the readme of the new release

Kuker wrote on December 19, 2004 - 12:59 PM
#202

Dong-Rocking!
The only thing that needs to be changed is the font. I get buttloads of comments about the font being unreadable. It looks like yours is all capitals, no numbers – so you must have been having the same problem. Make this the default. Thanks for the selfless gift to the WP community.

Kate wrote on December 19, 2004 - 4:03 PM
#203

How do I make the authimage include only numbers and no letters? Do I just remove the ‘alpha’ from line 34? (I’m using 2.0.3.)

Is there a way to increase the font size and remove the rotation?

Thanks, Kate

Kate wrote on December 19, 2004 - 4:32 PM
#204

For those of you wondering how to remove the rotation, I figured it out…
Go to line 56 of authimage.php and change the five to a zero so it reads like this:

ImageTTFText($im, 20, 0, 18, 38, $text_color, $font, $code);

If I understand it correctly, the number ‘20′ is the font size but I haven’t been willing to experiment with that just yet because the tag that calls authimage specifies a width and height and I don’t want to have illegible text.

Line 53 is where you can get rid of the grey box if that doesn’t suit you. Changing those 3 numbers to ‘255′ will give you white but you’ll only want to do this if you’re changing font. The gaps in that alien font make the grey box a necessity.

Sorry, I’ll stop spamming your forums gudlyf…

Kate wrote on December 19, 2004 - 4:51 PM
#205

A couple of updates:

- New version out that fixes a few things recently mentioned (see the README)
- The font is somewhat obscure and tilted on purpose in hopes to better fool an OCR programs that may try to translate it.
- The old temp-files version is no longer supported — use the newest version if you’re having problems. The new version doesn’t use cookies, it uses session keys.

Gudlyf wrote on December 20, 2004 - 4:24 PM
#206

Take that Spambot
My original fix for the constant barrage of spam comments was to basically flag postings with certain key words and links for moderation. This caught 99% of the spam, but as of this posting I have nearly 100 posts in the moderation queue. But I think I…

Orchard of Synaptic Arbors wrote on December 21, 2004 - 1:35 AM
#207

After installing your great hack, I noticed that this warning is displayed when I enter http://www.kopis.de:


Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in [...]/wp-includes/functions.php on line 452

When I use the ‘real’ address http://www.aikidoforum.de/kopis/ it doesn’t show. I think it relates to the ‘header’ function. Do you know about this error?

Carsten Ringe wrote on December 22, 2004 - 12:30 PM
#208

I’ve tried to use the alternative form of your plugin, but the javascript checking doesn’t seem to be working. The JS console in Firefox says that “Error: testValues is not defined”. What obvious thing am I missing?
Other than this, your plugin is excellent!! Thanks

Russ wrote on December 22, 2004 - 11:02 PM
#209

Knapp 48 Stunden
Nach nicht ganz zwei Tagen schlagen hier die ersten Spammer ein. Alle 20 Minuten an die 10 Spams. Je Spam-Kommentar eine e-Mail von Wordpress. Neue e-Mails werden mit einem Piepsen von meinem Server signalisiert. So wie der Disconnect-Ton in McMail, fa…

dysternis wrote on December 25, 2004 - 8:25 PM
#210

Recommended change, use the phonetic string as the ‘alt’ of the image. This might be useful to people with vision limitations.

Rossz wrote on December 26, 2004 - 12:51 AM
#211

Trust me, I’ve tried to put that text as the alt tag info, but it’s just not possible the way I have this implemented. The code is sent to the server session variable which can’t be accessed until you hit the “Say It!” button.

Gudlyf wrote on December 26, 2004 - 9:47 AM
#212

It looks like nobody ever had my problem: i installed the hack, did what tought in readme as exactly as i can. right now the plug looks good in the blog, but it doesnt work good: u actually can enter every code or even no code and the comment is goint to be postet anyway….whats wrong? its main function is not working, it just looks alike right now.

what i did for shure:
i enabled my-hacks.php (its in the wordpress folder…thats what i guess is the root folder…the folder where all thouse folders like wp-images and other are stored)
i copied the content of authimage-hacks.php into my-hacks.php (its not much am i right?) under options/miscellaneus and i set it to “true” in options/general blog settings
i enabled the plugin
i did everything (twice) whats written in the readme file

is there help out there
(the looks so far is great…matches my style of the blog better than any other antispam plug….thx a lot allready bc i am shure somebody can help me)

bronco

Bronco wrote on December 26, 2004 - 2:03 PM
#213

OOps toooo early opened my mouth: for me, it was unclear, which of what is optional in the fourth point of the readme file. i wanted to install that the comments with no correct code are not going to be sent to the moderators desk, but get deleted automatically. found out about now…hat to insert some lines….now it works….and still looks good

thx
bronco

Bronco wrote on December 26, 2004 - 2:18 PM
#214

Just getting frustrated at my inability to figure this one out – and hoping there is a sage on here that can shed some light on my path.
I do not get any errors messages, just a broken link where the graphic should be.
My webhost says both GD and freetype are installed (perhaps they are wrong?). I do not have shell access to try the command line check (BTW, is it only me or are both command lines to check for freetype and GD the same?).

I did notice the installation steps jump from 1. to 5. ~~ did I miss a few steps and that’s my problem?
I tried inputting the “/absolute/file/path/for/automicclockradio.ttf” in the authimage.php.
nothing different.

Any help would **truly** be appreciated.
-Jonah

Jonah wrote on December 27, 2004 - 6:52 AM
#215

Based on the 5th comment by TREV, I make the corrections in the new code of this hacks, just change the TTF for the GDF codes. This is solve any problem for the servers that not support FreeType, but support GDF.

The steps are:
1. Download the attommicclock.gdf font from the site of Bitmap Fonts and put at the plugin directory

2. Put comments in the line about the font and change for the imageloadfont();

//$fontfile = "atomicclock.ttf";
//$font = $plugins_dir . $fontfile;
$font = imageloadfont("atommicclock.gdf");

3. Replace the ImageTTFtext for the imagestring();

//ImageTTFText($im, 20, 5, 18, 38, $text_color, $font, $code);
imagestring($im, $font, 10, 10, $code, $text_color);

Thanks the Gudlyf’s for this amazing plugin.

Fernando Norte wrote on December 27, 2004 - 10:53 AM
#216

Hey – It works!!! Thanks Fernando! Apparently my webhost supported GD, but not FreeType.
My graphic doesn’t display on an angle, but I doubt that’s necessary.

Thanks again for the help!

Jonah wrote on December 27, 2004 - 2:33 PM
#217

And what is the use of starting to spam then yourself? Why do you send over 10 comments to my weblog boasting you hacked into the trencacode, which, if you had done this manual, you would have noticed, is not even put into effect on my log, only in its source.

How cool to be exactly like the enemy you pretend to fight. I do hope all those casino spammers manage to hack into your comments.

Chipo wrote on December 28, 2004 - 1:16 PM
#218

Seems the spamms for your script originate from the Netherlands. Anyways, it is a pain in the neck. Maybe we all find a solution – together – as a team?

Cheers and happy spam bashing!

Catweasel

Catweasel wrote on December 28, 2004 - 2:46 PM
#219

I’ve also had similar comments on my blog, though this time the IP resolves to some bank in Japan! So clearly their is an idiot at work somewhere.

However the comments actually reccomend your plugin so maybe in some small way maybe you should be flattered! Though I think I’d be pisssed off, as people are bound to think too quick and assume it was you.

cjp wrote on December 28, 2004 - 4:44 PM
#220

I’ll figure out how it’s being done. It’s not a chapka-reading script, so I’m sure it can be fixed. For now you can just try denying any comments with the link to this plugin in it :)

Gudlyf wrote on December 28, 2004 - 4:47 PM
#221

If you are not the one who is spamming everyone using Trencaspammers, you should clearly state so in a post, because I know a lot of people who don’t understand this kind of attitude. Spamming is not the way to promote an antispam plugin.

Esther wrote on December 28, 2004 - 5:35 PM
#222

I also have a blog that uses trencaspammers that got hit by the spammer. While I’m not happy about it, I don’t think there’s any reason to blame Gudlyf. He’s done something for other people by making his plugin available to the public. Just because the spammer includes a link to his plugin, doesn’t mean he’s the one doing it. The spammer never identifies himself as Gudlyf or anyone else for that matter. All I ask is for everyone to think rationally not jump to any wild conclusions.

Gudlyf – Thanks for your plugin.

thicke wrote on December 28, 2004 - 6:38 PM
#223

Gudlyf, I just wanted to say that I know you aren’t responsible for this recent mess. If anyone doesn’t believe me, read Gudlyf’s blog. He isn’t the type of guy that would do this sort of thing. Unless Gudlyf has taken a complete turn for the worse, he’s innocent.

MacManX wrote on December 28, 2004 - 7:35 PM
#224

Hi, a few people mentioned that this hack doesn’t seem to work no matter what code they enter, at least on the first go. I noticed that if I first browsed around, what happened was that I got a cached copy of the required code graphic, so I’d be entering a code that was no longer valid. This was really annoying, of course.

Here’s a fix, which I put into wp-comments right before the plugin code itself:

srand((double)microtime()*1000000);
for ($num=0; $num<15; $num++)
{
$check = rand (0,1);
$x = $check?chr(rand ( 97, 122)):rand ( 0, 9);
$sid .= $x;
}

Then replace authimage.php?type=image with authimage.php?type=image&ran=$sid .

This sid value has no purpose, but by providing a random string with each image, it forces the browser to go out and get a new Auth Image, no matter what the browser’s cache settings. Works for us, every time.

Yours,

Ken

Ken wrote on December 28, 2004 - 9:02 PM
#225

Thank you Gudlyf for your great plugin, and thank you Ken for the fix! You guys got me squared away quickly!

Nitallica wrote on December 29, 2004 - 1:02 PM
#226

This really is an excellent plugin. Thanks for your efforts!

Chad wrote on December 30, 2004 - 1:05 AM
#227

Well after getting the old style hack to work (comments #64, 66 and 72) a while back i’ve decided to use this new fangled plugin one, but no matter what numbers i insert it’s giving me an error saying wrong code, any ideas?

James wrote on December 30, 2004 - 6:21 AM
#228

I wonder if Ken or anyone could be more specific about the placement of the code for his fix? His code keeps showing up on my comments page as displayed text instead of working as it’s supposed to (sorry to be so clueless). I would appreciate any advice on how to insert this code so that it works properly. It seems like the code is suppoed to go in wp-comments.php right before the text that the readme tells users to insert in that file. So after inserting Ken’s fix, my wp-comments.php contains the following:

<label for="url">< ?php _e("<acronym title="Uniform Resource Identifier">URI"); ?></label>
(double)microtime()*1000000);
for ($num=0; $num<15; $num++)
{
$check = rand (0,1);
$x = $check?chr(rand ( 97, 122)):rand ( 0, 9);
$sid .= $x;
}

<input type="text" name="code" id="code" value="< ?php echo ""; ?/>" size="28" tabindex="4" />
<label for="code">< ?php _e("Enter this code: "); ?>

<img src="/wp-content/plugins/authimage.php?type=image&ran=$sid" width="155" height="50" alt="authimage" />
</p>

washburn wrote on December 30, 2004 - 1:28 PM
#229

Hmm. The code I posted in the above post wouldn’t display properly here, I’m afraid. But perhaps someone can still offer some advice on my problem. Many thanks.

washburn wrote on December 30, 2004 - 1:32 PM
#230

This is how im doing it washburn, works a treat for me

<?php
srand((double)microtime()*1000000);
for ($num=0; $num<15; $num++)
{
$check = rand (0,1);
$x = $check?chr(rand ( 97, 122)):rand ( 0, 9);
$sid .= $x;
}
?>

<div>
<input type="text" name="code" id="code" value="<?php echo ""; ?/>" size="28" tabindex="4" />
<label for="code">< ?php _e("Enter this code: "); ?></label>
<img src="<? echo get_settings('siteurl') ?/>/plugins/authimage.php?type=image&ran=<? echo $sid ?>" width="155" height="50" alt="authimage" />
</div>

James wrote on December 30, 2004 - 3:57 PM
#231

hmmm, my code isn’t working either. I’ve uploaded a small txt file to show you how im using it – http://www.7784.co.uk/code.txt

James wrote on December 30, 2004 - 4:00 PM
#232

Hrm. What I don’t understand is why the header alterations I made aren’t working for people. I thought the “Expires” and “Last-Modified” header changes would make the image expire, not requiring the random code you’re adding. Anyone know why that’s not working for some people, yet it works fine on this site?

Gudlyf wrote on December 30, 2004 - 4:13 PM
#233

Many thanks, James. That seems to have done the trick (I had to remove the div though).

But I have a new problem now, I’m afraid. I tried following Nathaniel’s sugestion in his comment #197, above, for making auth-image non-case sensitive. Following his (slightly vague) suggestion, I took three lines from the regular authimage file, to paste into my authimage.php file (which is the -alt version of the plugin). I first pasted the “un-casing” lines somewhere they made no difference (I dubmbly put them after the second session start in my authimage.php file), then I tried moving them to after the first session start.

Unfortunately, this second editing seemed to mess up wordpress. And when I restored my old authimage.php, file the problem remained! (very worrying). The problem is this:

When I submit a comment, wp displays the following:

Warning: Cannot modify header information – headers already sent by (output started at /home/thisdar/public_html/wp-content/plugins/authimage.php:190) in /home/thisdar/public_html/wp-comments-post.php on line 95

And it repeats this message, w/regards to lines 96, 97, 99, 100, 101, 102, and 107. The comments *do* post, but the error messages are displayed after each is entered. Similar errors appear now when I try to post a message or log-in etc.

I do hope there is a way to salvage my wp install…any help will be much appreciated.

washburn wrote on December 30, 2004 - 10:09 PM
#234

p.s. Below is the anti-case sensitivity code I pasted into my authimage plug-in. I’ve put spaces between letters so that it will display here.

/ / C o m m e n t o u t f o l l o w i n g t w o lines to be case sensitive
$ c o d e = s t r t o u p p e r ( $ c o d e ) ;
$ e n t e r e d _ c o d e = s t r t o u p p e r ( $ _ SE SSION [ ' A I - c ode ' ] ) ;

washburn wrote on December 30, 2004 - 10:17 PM
#235

Gudlyf-
When I entered message 233 above, I guess I typed the code incorrectly–when I hit the “back” button from the “you entered the wrong code page,” I did see the old cached code on my screen. So I think this problem can be seen here too. I’m using Firefox 1.0.

Thanks again for the great plug-in. It’s fantastic, even if non-programers like me tend to mess it up.

washburn wrote on December 30, 2004 - 10:23 PM
#236

Found and fixed the problem producing my error message. Some blank spaces somehow got added to the end of my authimage.php file. With them gone, I now have no error messages, no problem with cached images, and no case-sensitivity. This plugin rocks.

washburn wrote on December 31, 2004 - 1:26 PM
#237

Mine still isn’t working tried everything, changing the code so that the comments are sent to the moderating pool works, but that option kinda defeats the object of the script if i have to moderate all comments anyway.

James wrote on December 31, 2004 - 2:43 PM
#238

Hi:
Can anybody help me? Thanks!
=================================
Fatal error: Call to undefined function: checkaicode() in f:\web\mt\sandra\wp-comments-post.php on line 60

venny wrote on January 1, 2005 - 12:25 AM
#239

Sorry, I forget to put what line 60 is:
===========================
if ( !checkAICode($code) )
die( __(‘Error: please enter the valid authorization code.’) );

venny wrote on January 1, 2005 - 12:26 AM
#240

I’ve installed the plugin, but the code validation fails no matter what. I’m even having a hard time posting on this blog.

heliologue wrote on January 1, 2005 - 5:46 PM
#241

DIE COMMENT SPAM!
I’m now swimming in comment spam. There is a bot providing a constant flood as I’m typing this. As I’ve already noted, in the last 24 hours there have been more than 500 spam comments. So now I’ve been forced to bring out bigger guns, WordPress …

Joseph Scott’s Blog wrote on January 2, 2005 - 12:44 AM
#242

Do you have instructions on how to install this on 1.3?

Nick wrote on January 4, 2005 - 12:52 AM
#243

I like, but how do i make it all letters no numbers. Is there a way to get the audio to work?

emma wrote on January 5, 2005 - 9:19 PM
#244

I think this plugin is fantastic, I’ve installed it one blog and am installing on a new one now. However, the subject of my-hacks in the readme is completely confusing! The upgrade log says it is no longer required –> “2.0 — Minimal hacks now — no need for the ‘my-hacks.php’ file.” but then later in the install steps –> “6. Make sure your ‘my-hacks.php’ file contains what is in ‘authimage-hacks.php’. THIS IS STILL REQUIRED!” They contradict one another, which one is incorrect here?

Patrick wrote on January 7, 2005 - 10:46 AM
#245

The release notes are in order from bottom to top, so if I say something in a previous release then contradict it later, it means something changed that required me to put the functionality back. See the 2.0.1 note where I say it’s needed afterall. Sorry for the confusion.

Gudlyf wrote on January 7, 2005 - 10:51 AM
#246

Thanks a lot for this WP plugin !

And happy new year.

LoLL wrote on January 9, 2005 - 8:08 AM
#247

Hi Gudlyf,

I’m trying to install your plugin, and I’m having all kinds of problems. I’m sure it’s because I”m just not accustomed to code hacking, and I’m also not very familiar with site directory paths. Could I get some help? It’d be greatly appreciated. I’m having two different problems. I can either A) get the image to show up, but when I try to post a comment, it ALWAYS says the code is wrong… or B) no image shows up. It simply says “authimage” where the image is supposed to be.

Teeters wrote on January 10, 2005 - 11:37 AM
#248

Sigh. This is driving me crazy. I feel like I just keep breaking it over and over.

I hate being code stupid. :(

Teeters wrote on January 10, 2005 - 11:49 AM
#249

Installation went very well but I’m having an issue with the URL redirect after submitting the comment.
I’m using the popup comments and instead of the comment reloading in the open window the index is loading in the popup. If I close it out and refresh the main window the comment has been added.
Anyone else run across this problem with the popup comments?

Rong wrote on January 10, 2005 - 10:22 PM
#250

I am using wordpress 1.5beta, I cannot find the line you stated in wp-comments-post.php…
Can you write a installation guide for 1.5?

Simon wrote on January 15, 2005 - 10:58 AM
#251

Hi, the instructions are easy to follow yet I’m having problems. I can see the code but I’m not getting error messages if I type in the wrong code or no code. All comments are going though (I still have comments moderated because I’m having spamming problems). What have I done wrong?

I think it’s related to the my-hacks.php part of the instructions. When I went into options and checked the box, nothing seemed to happen. When I try to bring up the page in templates I get an error message. I don’t know how to fix this. Can I rename authimage-hacks.php to my-hacks.php and upload that? Would that work? If so, which directory do I put the file in?

Please help.

Karen wrote on January 16, 2005 - 3:14 AM
#252

Karen — You need to take the authimage-hacks.php file and rename it to my-hacks.php, then move that to the top level directory (i.e., where your index.php file is). Make sure there’s not a my-hacks.php file already there. If so, just make sure the contents of authimage-hacks.php is in that file.

Gudlyf wrote on January 16, 2005 - 10:37 AM
#253

Thank you, I’ll try that.

Karen wrote on January 17, 2005 - 6:14 AM
#254

Thank you, it works great now. What a relief!

Karen wrote on January 18, 2005 - 5:14 AM
#255

Hello, I have just installed authimage to my blog site and it seems to not be working correctly. I can see the input box and the following message:

Enter this code: authimage

I do not see the image that has the distorted text to enter in the input box. Also, reading the directions, I became a little confused on what or how to use the authimage-hack.php file. I was thinking maybe the authimage-hack.php is the problem. I believe I have php version 1.2 or greater, but how do I check for sure?

Can you help?
Thanks

Tavares Forby wrote on January 21, 2005 - 1:59 AM
#256

I am getting the following error:
checkaicode() in /home/…/public_html/wp-comments-post.php on line 48

I see this function in the authimage.php file. Do I need to somehow require the authimage.php file in the wp-comments-post.php file?

How do I get or install the GD library and the FreeType library?

Tavares Forby wrote on January 21, 2005 - 4:00 AM
#257

Re-design!
I redesigned my website. Whoopty-shit.

Nerd in America wrote on January 21, 2005 - 9:11 AM
#258

Comments fixed! – AuthImage 2.0.4 breaks AuthImage addressing.
Well, it serves me right. After crowing about how good AuthImage is to everyone, I forgot to check it after getting my hosting company to “rebuild php with the required modules”. It was still broken on this site, meaning no-one could comment!

This…

Tom Raftery’s I.T. ramblings wrote on January 21, 2005 - 11:14 AM
#259

I installed Authimage about 5 days ago. At first it worked fine, and I was thinking of turning off moderation this weekend but this morning I found 38 spam comments waiting for me in moderation. I used the option that if the code was not correct, then the message should be deleted without sending it through to moderation. I don’t want to see these spam comments any longer, it’s driving me insane.

Why is this happening? I’m thinking of dumping WordPress altogether because it’s taking over my spare time and causing too much stress, and I chose WordPress because it easy to use

Please help me solve this problem.

Karen wrote on January 21, 2005 - 6:37 PM
#260

Comment Spam
I have hopefully bannished comment spam from this blog permanently. I hope…..

Comments now require you to add a special authorisation code generated in the form of a bitmap text image that should hopefully stop any automated spambots. If they star…

Pixioto The Blog wrote on January 23, 2005 - 1:22 AM
#261

Getting rid of spam is becaming harder and harder, thank you for provinding this very usefull tool.
Installing was pretty straightforward however, text mode doesn’t worked just pasting from your instruction README.txt file, I had to do some tweaking.
Is it just me or a small forgotten glitch still waiting to be fixed?

Pieterjan Lansbergen wrote on January 23, 2005 - 8:41 AM
#262

More blog comment spam
It’s amazing: I have been running this blog for a few months, and while there are a few visitors, I don’t think anyone has mertner.com/allan as their home page :-)

The people who visit the site the most are… spammers! I have tried to keep up wi…

mertner.com/allan wrote on January 23, 2005 - 10:27 AM
#263

It’s weird cuz on my server, authimage used to work, but after they upgraded to a newer version of php, and I upgraded to wordpress 1.2.2, it stopped working on safari (my browser of choice), even tho it still works on every other browser (at least on mac – haven’t tried PC yet). anyone have any thoughts about how to fix that? I’m using safari to leave this message right now, and it obviously worked….

nathaniel wrote on January 24, 2005 - 12:19 PM
#264

I found out that you HAVE to make sure that the PHP delimiters are first and last in your authimage.php file, no blank lines above or below or the image is broken.

John wrote on January 27, 2005 - 6:14 PM
#265

Picky Plugin Problems with WordPress 1.5-beta
Sigh. I was checking my WordPress plug-ins and discovered that GudLyf’s AuthImage does not directly work with the some of the more recent WordPress nightly builds. The comments code has changed significantly as they’ve moved most of the checking code…

Tao of Network Administration wrote on January 29, 2005 - 2:30 PM
#266

AuthImage
The first step I’ve made with this blog was to install the captcha named AuthImage, a well regarded spam-bot blocker. AuthImage’s homepage is:
http://www.gudlyf.com/index.php?p=376

It occurred to me that maybe I should wait to get comment spam b…

Ken’s Conscious Junkyard wrote on January 31, 2005 - 6:43 PM
#267

AuthImage
Installation of the captcha named AuthImage

Ken’s Conscious Junkyard wrote on January 31, 2005 - 6:56 PM
#268

Loverly pluggin, thanks very much,

One small bug in the ‘phonetic test’ part of the plugin though (from the readme.txt)


<iframe src="< ? echo get_settings('siteurl')" ?>/wp-content/plugins/authimage.php?type=text" width="155" height="50"></iframe>

should be


<iframe src="< ? echo get_settings('siteurl'); ?>/wp-content/plugins/authimage.php?type=text" width="155" height="50"></iframe>

top job though!

jim wrote on February 2, 2005 - 5:55 AM
#269

Damn. sorry the code got stripped out by WP…

…basically, in the ‘phonetic text’ string, this:

('siteurl')"

should be this

('siteurl');

thanks again, sorry if someone else mentioned this, but i didnt read ALL of the posts above ;-)

jim wrote on February 2, 2005 - 5:58 AM
#270

spammers are getting around authimage somehow. I’ve had authimage running for a couple of months and recently I’ve been getting a ton of comment spam, they seem to be getting around authimage somehow. Is there anyway of figureing out how they’re getting around it?

Karl

karl wrote on February 3, 2005 - 1:40 PM
#271

I had authimage working fine with WordPress on MacOS X. Then I downloaded Apple’s security patch earlier this week that included a new PHP. Authimage doesn’t work now. Broken image link and when I go to ‘/wp-content/plugins/authimage.php?type=image’ I get a blank screen. The type=text works as expected, but I really want the image.

So, apparently something changed in my PHP but when I check for GD Support and FreeType Support it says they are both enabled. Is there anything else it could be?

Steve wrote on February 3, 2005 - 5:56 PM
#272

Well, your plugin does a great job at our diary! Thanks a lot!

Jimi wrote on February 5, 2005 - 1:34 PM
#273

rumor has it that authimage doesn’t work with wordpress 1.5, so i’m checking it out! we’ll see now!

nathaniel wrote on February 6, 2005 - 2:48 AM
#274

First I want to thank you for a wonderful plugin. I am enjoying spam free blogging now. Great job!

As for Karl (comment 270) I think in your case what you are seeing is trackback spam. AuthImage doesn’t handle it. One way to handle it is to enable the keyword filter which comes with WordPress.

Angsuman Chakraborty wrote on February 6, 2005 - 7:05 AM
#275

Hi there!

This plugin is GREAT! However, when will it work under WP 1.5? The last nightly build broke it, even a fix that was available on another blog…

cheers,

oculos

oculos wrote on February 6, 2005 - 1:42 PM
#276

As you can see, this plugin does work with WP 1.5, as this blog is using WP 1.5 now. However, I use the very latest CVS checkin, if that makes any difference. Also, there is one change you need to make that I need to add to the README:

In ‘wp-comments-post.php’, after this line:

$comment_content = $_POST['comment'];

Add:

$comment_code = $_POST['code'];

Then after this line:

if ( ” == $comment_content )
die( __(‘Error: please type a comment.’) );

Add:

if ( !checkAICode($comment_code) )
die( __(‘Error: please enter the valid authorization code.’) );

Also, make sure you Check the my-hacks.php legacy support under Options->Miscellaneous.

Gudlyf wrote on February 6, 2005 - 1:51 PM
#277

Gudlyf – my my-hacks has the sessions line, but Wordpress does not seem to like that, spitting out an error.

Mindflayer wrote on February 6, 2005 - 11:36 PM
#278

Well, what’s the error you’re getting?

Gudlyf wrote on February 7, 2005 - 12:08 AM
#279

Hrm. It seems spammers may be getting around authimage, but I’m not sure yet if it’s manually or somehow automatic. I’m testing it out and will report back when I find out how.

Gudlyf wrote on February 7, 2005 - 12:27 AM
#280

Typos in README.txt in step 4: missing semicolon after …siteurl’) in image edit; and double quote instead of semicolon after …siteurl’) in phoentic edit.

Cloud wrote on February 7, 2005 - 6:32 AM
#281

See, I’m running a version I downloaded yesterday, and it gives me this error:

Parse error: parse error, unexpected T_STRING in /home/mgateco/public_html/maneblog/wp-comments-post.php on line 36

Line 36 is

if ( !checkAICode($comment_code) )

Any hint?

oculos wrote on February 7, 2005 - 7:37 AM
#282

See, I’m running a version I downloaded yesterday, and it gives me this error:

Parse error: parse error, unexpected T_STRING in /home/mgateco/public_html/maneblog/wp-comments-post.php on line 36

Line 36 is

if ( !checkAICode($comment_code) )

Any hint?

oculos wrote on February 7, 2005 - 7:40 AM
#283

oculos — Did you make all the edits mentioned in Comment #276 above?

Gudlyf wrote on February 7, 2005 - 5:24 PM
#284

Spammers have just recently gotten around my auth-image 2.0.3 beginning the first of February, and are really starting to pile it on.

I don’t rightly know if it’s manual entry or a bot that has finally managed to decipher the images, so I think I’m going to mix up the code a little and see if the comment spam stops.

Hope you come out with an update to put these guys out again for everybody else :)

electronox wrote on February 7, 2005 - 9:11 PM
#285

Gudlyf – yup, i did all the mods you suggested!

oculos wrote on February 7, 2005 - 9:38 PM
#286

OK, I’d like someone who’s having spammers get by the authimage check to try something. Edit your authimage.php file and change any of the places that say “AI-code” to something of your own choosing and don’t let anyone know what you use. I’m guessing that spammers figured out the session key from looking at my code and are able to bypass it that way, but that’s only sort-of a guess. Try that and let me know the results. Thanks!

Gudlyf wrote on February 7, 2005 - 9:55 PM
#287

Dear Gudlyf,

See, I did again the steps. Now I always get the validation error inside the “die”, neverthless I typed the right code.

One thing that maybe is out of place is this:

3. Look for this in ‘wp-comments-post.php’:

if (strlen($url)

oculos wrote on February 8, 2005 - 9:46 AM
#288

it works!!!!! The problem was that I was cutting and paste, so the ‘ character got pasted as ’. Now it works!

I didn’t add, though, this step from the README file:

3. Look for this in ‘wp-comments-post.php’:

if (strlen($url)

oculos wrote on February 8, 2005 - 10:29 AM
#289

Er, there’s a problem with the cut and paste. Never mind, I just wonder if it’s necessary to follow that step 3 from the README file, as there’s no place to put it (I mean, there’s no if (strlen($url) there to add what you say is to be added.

Cool javascript to ask the code, btw!!!! How can I do that?? :D

oculos wrote on February 8, 2005 - 10:30 AM
#290

I just uploaded version 2.1. Enjoy.

Gudlyf wrote on February 8, 2005 - 11:03 AM
#291

This plug-in is a great idea! I have two questions:

1) When I uploaded all the files to my directory as instructed, there were three plug-ins in my WP plugin control panel, one of which was blank except for “Activate” in the far right column. Do I need all those plugins? If so, what’s the blank one?

2) When a comment is submitted without entering the code, isn’t there a way to remind the user the code must be entered before the comment is sent to moderation? If so, how?

Thanks!

Ken wrote on February 8, 2005 - 7:30 PM
#292

thanks for the plugin!!
comment 215 did it for me after 2 night working

r0gi3r wrote on February 9, 2005 - 6:22 AM
#293

Just released version 2.1.1 after seeing my last “fix” didn’t work at all. Read my updated post above for more info.

Gudlyf wrote on February 9, 2005 - 10:36 AM
#294

I’m having the same problem as in #255 (no image, just the alt-tag text shows). Everything else is correct on the installation. Any solutions?

Also, the latest version of the readme states “…but you’ll need to use it in text mode. Read below on how to do that.”

There’s nothing below about that.

Gary wrote on February 10, 2005 - 2:30 PM
#295

Gary — With what version are you having the problem? Try to go to the path of the image itself and see what errors appear.

Gudlyf wrote on February 10, 2005 - 2:38 PM
#296

It’s your latest version. Viewing source on the page shows NO img src path! src=”". Is there a variable somewhere to set for $authimage? I didn’t see anything in the readme.

Gary wrote on February 10, 2005 - 2:48 PM
#297

You should see in ‘authimage.php’ there’s a variable $authimage at the top. That needs to point to the location of the file ‘image.veriword.php’.

Then, in your ‘comments.php’ file (or ‘wp-comments.php), you should have the line with global $authimage; ... in it. You have all that?

Gudlyf wrote on February 10, 2005 - 2:53 PM
#298

The line in comments.php is there, but there is not a variable line in authimage.php. I had downloaded the tar.gz package, and just went back to the plugin wiki and looked at the authimage.php single file there…no variable line in it either. :-( Here’s what’s in the files I downloaded (before the function testValues):

Gary wrote on February 10, 2005 - 3:59 PM
#299

ooops:

Gary wrote on February 10, 2005 - 3:59 PM
#300

Well, can’t get the code to show up between and (without spaces).

Gary wrote on February 10, 2005 - 4:01 PM
#301

ACK! Sorry about that. It’s fixed now if you re-download the package.

Gudlyf wrote on February 10, 2005 - 4:11 PM
#302

LOL…I hate it when that happens… ;-)
Works fine now. Thanks for the help (and for the plugin!).

Gary wrote on February 10, 2005 - 4:31 PM
#303

Gudlyf, maybe I missed it, but I don’t see a response to my earlier comment (#291). Does your latest download solve what I addressed? Thanks!

Ken wrote on February 10, 2005 - 5:34 PM
#304

Ken:

1) Make sure you only have an ‘authimage.php’ plugin in your plugins directory and get rid of ‘authimage-hacks.php’ and ‘authimage-alt.php’ if they are there.

2) Follow the directions in the README for enabling the JavaScript checking. It will popup a warning if someone leaves a blank code.

Gudlyf wrote on February 10, 2005 - 5:46 PM
#305

Thanks, Gudlyf. I decided to install your new version. After implementing the changes and went to my blog,. Instead of getting my blog, I got the following message:

Fatal error: Cannot redeclare testvalues() (previously declared in /hsphere/local/home/galen5/familywebwatch.com/blog/my-hacks.php:26) in /hsphere/local/home/galen5/familywebwatch.com/blog/wp-content/plugins/authimage.php on line 23

I don’t know if this is connected, but I never used the my-hacks.php file until I installed AuthImage. No problem there, but there’s quite a difference between the previous content you wanted copied in there and the latest content. So everything in the authimage.php file is now my-hacks.php file…nothing else because I don’t use my-hacks for anything else currently.

Your help is appreciated!

Ken wrote on February 10, 2005 - 7:50 PM
#306

Ken — You need to only put what’s in the ‘authimage-hacks.php’ file into your ‘my-hacks.php’ file. That’s your problem.

Gudlyf wrote on February 10, 2005 - 9:09 PM
#307

Wow, version 3 of authimage is out already! Nice work.
I just upgraded my wife’s blog from a version 1.something.
Very simple upgrade with good instructions. Unfortunately, the stock captcha on the very first attempt is ABSOLUTELY illegible. I cannot make out a single letter. I wish you could see a screenshot it’s so funny. (All the letters hang off the bottom of the box.) Gonna take some tweaking to get this useable. Thanks for the amazing plug in. It’s a lifesaver. (At least a spam saver…)

Kate Jenkins wrote on February 10, 2005 - 10:10 PM
#308

It only took 10 minutes to get some legibility, rejoice!
Users, you can comment out wordart_angle and wordart_filter with double forward slashes in the file veriword.ini. Much better results. Now if I can just figure out how to make the letters straight. . . (i will report back…)

Kate Jenkins wrote on February 10, 2005 - 10:26 PM
#309

Silly me. :) Thanks!

Ken wrote on February 10, 2005 - 11:15 PM
#310

A warning to those trying to get a more legible image — it will make spammers’ job all the more easier. See the link for “PWNtcha” in my post at the top to see what I mean.

Gudlyf wrote on February 10, 2005 - 11:22 PM
#311

Followed the directions about testing for the code being entered, but my form just accepts the comment without challenging the user to enter a code.

I’ll probably feel silly AGAIN, but feel compelled to ask because I think I’m following the directions correctly. :)

Ken wrote on February 11, 2005 - 12:16 AM
#312

I had the same problem as Kate with the letters, but hacked the class.wordart.php file as well as the veriword.ini. You can get good results this way, but it’s largely a trial-and-terror approach!

Gary wrote on February 11, 2005 - 9:05 AM
#313

Gudlyf, any suggestions to get around the problem mentioned in #183 above? My readers can post just fine, but I’m locked out of posting because I’m logged in, and the comment form info fields (including the code) don’t show on the page…and upon posting a comment I get the “wrong or missing security code” error. I suppose I could post from within the admin panel, but there should be a way to exempt logged-in users from requiring the code. I’ve tried to hack the comments template, but the code for logged-in users is pretty ingrained.

Gary wrote on February 11, 2005 - 9:09 AM
#314

Regarding the problem with a logged in user not seeing the captcha fields (at least in 1.5), here’s an (inelegant, but effective) workaround:

Edit the comments.php template and insert a second copy of the code that shows the image/enter code field between
php if ( $user_ID )
…and…
php else
…that follows the section concerning a logged-in user.

In my case I’m the only one ever “logged in” so I’m the only one that sees this.

Gary wrote on February 11, 2005 - 9:44 AM
#315

Never mind, Gudlyf. I found the part in the instructions I needed. Once I got to the “OR” part I bypassed the part I should have been looking for.

Ken wrote on February 12, 2005 - 3:39 PM
#316

okay, spoke too soon. :(

I entered the modifications to wp-comments-post.php to make users enter a valid code, but now what’s happening is AuthImage is now making me enter a valid code even when I am entering a valid code. ???

Ken wrote on February 12, 2005 - 9:20 PM
#317

Unless I missed a step in the README I have some concerns about how secure VeriWord is. First, the words.txt file can be read by any visitor since it’s uploaded to a web accessible directory. Second, the default word method is DictionaryWord with a default word length of 4. There are 218 words in the dictionary while only 48 have a length of 4. I would think this runs a good risk of a bruteforce attack especially since the dictionary file is in a web accessible directory.

Todd wrote on February 13, 2005 - 4:35 PM
#318

I actually made my dictionary quite larger by doing this:

grep '^....$' /usr/share/dict/words > words.txt

That will give you roughly 2200 4-character words. Add one more dot to get 5-character words. This is on RedHat Linux, part of the words-2-21 rpm package.

Gudlyf wrote on February 13, 2005 - 6:44 PM
#319

Can I just tell you how cool AuthImage is? Now that I’ve configured things correctly, I haven’t received any spam since installing AuthImage.

Keep up the good work!

Ken wrote on February 15, 2005 - 1:34 PM
#320

I tried using your hack and have followed all the instructions to the letter but am getting the error below:

Warning: checkaicode(authimage-inc/class.verificator.php): failed to open stream: No such file or directory in /www/htdocs/home-business-tips-newsletter/blog/wp-content/plugins/authimage.php on line 61

Fatal error: checkaicode(): Failed opening required ‘authimage-inc/class.verificator.php’ (include_path=”) in /www/htdocs/home-business-tips-newsletter/blog/wp-content/plugins/authimage.php on line 61

Can you please help. If possible send a solution to my email address.

Mal

Mal wrote on February 15, 2005 - 11:08 PM
#321

Mal’s problem was with his .htaccess file not having the following line in it:

php_value include_path "."

Which can be in an .htaccess file within the plugins folder if you don’t want to override the setting elsewhere.

Gudlyf wrote on February 16, 2005 - 9:33 AM
#322

I’ve installed the latest version of AuthImage. Images are coming up broken and no temp files (I’m looking in /tmp) are being created. Help, please?

Cary wrote on February 16, 2005 - 11:18 PM
#323

Cary — You obviously didn’t read the ‘README.txt’ file since upgrading. Please do that first. If you had read it you would’ve known authimage doesn’t use temp files anymore.

Gudlyf wrote on February 17, 2005 - 6:07 AM
#324

I did read the authimage’s README.txt, it doesn’t say anything about whether temp files are used or not.

Just to be sure I re-read and grep’d case insensitively for the words ‘temp’ and ‘tmp’, nothing about temp files.

Cary wrote on February 17, 2005 - 6:20 AM
#325

So, temp images aside, I’m not getting an image displayed with the code input. I right-clicked and did a view image and get a white screen, no errors, no image. :-(

Any help or suggestions you are willin g to give would be appreciated.

Cary wrote on February 17, 2005 - 6:25 AM
#326

Cary — Did you turn on PHP error reporting? See comment #129 above.

Gudlyf wrote on February 17, 2005 - 6:37 AM
#327

Yeah, they’re on. I tested this by putting a short PHP file with some bogus code in it in wp-content/plugins and wp-content/plugins/authimage-inc and loading it directly.

Cary wrote on February 17, 2005 - 6:48 AM
#328

Okay, I got it working. The problem revolved around a couple things: it wasn’t finding the fonts and the stock GD on fedora core 1 doesn’t have gif support (and all the noises are gif, d’oh).

I fixed the first by adding the full path to veriword.ini; and the second by hacking the extensions array to only contain ‘png’ and converting all the noises to png with ImageMagick’s convert.

So, the issues were all with veriword, not authimage itself.

Whew.

Cary wrote on February 17, 2005 - 8:10 AM
#329

Oh, and the veriword authors made pervasive use of ‘@’ in front of most of their image calls, which resulted in many error messages being surpressed. :-p

Cary wrote on February 17, 2005 - 8:12 AM
#330

I’ve got no code image displayed as well, only the alt-text. When I go directly to the image.veriword.php file it says this:
setConfiguration(); $vword->setCaptcha(); $vword->outputImage(); ?>

I have to mention that I deleted the session_start(); stuff from my-hacks.php as I got a huge bunch of errors with it in it.

Any ideas?

Timo wrote on February 17, 2005 - 6:38 PM
#331

Ok, I fixed the problem in the meanwhile. I had set “short tags” off and so the file wasn’t parsed by PHP correctly.

But I found a little bug:
In the class.captcha.php file, line 78, the 2nd parameter should be long, not string, otherwise it can cause an error message (depending on the error behaviour settings of the server/PHP).
Here is how I fixed that line:
$imword->setTextAngle(rand(-$this->wordart['angle'],intval($this->wordart['angle'])));

Timo wrote on February 18, 2005 - 8:47 AM
#332

I hate to be the one to say this, but the texas holdem and virtual poker spamments are already getting past my v3.0 installation. Any chance someone can post the extended word list Gudlyf was talking about?

Heliologue wrote on February 19, 2005 - 12:17 PM
#333

The problem is that, as someone pointed out, it may still be possible to do brute-force attacks, especially if I post the list of words I use. Then all the spammers would have to do is run down the list trying every word. It would be a LOT of words to go through, but they may get the word. Another option is to turn on the randomizing feature of Veriword, which will display random letters like the old AuthImage. But then it may make it too hard for real people to post.

Try adding your own words to the list, too.

Gudlyf wrote on February 19, 2005 - 12:58 PM
#334

I also had to give the full path in the .ini files to get the text to show. Once I did that the words started to show up.

MichaelE wrote on February 19, 2005 - 6:43 PM
#335

I have a little problem in finding the proper files to edit. I am using Wordpress 1.5 with a single design template (I was using these update instructions: http://codex.wordpress.org/Upgrade_1.2_to_1.5 ). So in my theme directory, there are only the index.php and the style.css. Where is now the comments.php located I have to edit?

Chris wrote on February 20, 2005 - 7:00 AM
#336

I get the the background image but no text appears, am I doing something wrong?

Yazoo wrote on February 20, 2005 - 7:08 AM
#337

I have the same problem – background image and no letters…and I checked via Putty and have Freetype and GD.

This is the second attempt to install this!

tim wrote on February 20, 2005 - 10:26 AM
#338

I don’t know if anyone else has had this problem, but I was stuck for ages because I upgraded from Wordpress 1.2 to 1.5 – made the changes to my comments.php file (changed the name etc.) according to Podz upgrade instructions, and my comments wouldn’t work at all. So I replaced those two files in my ‘MyTheme’ folder with the ones from the ‘Default’ folder. And then when I went to edit them to make them work with AuthImage, the lines of code that the AuthImage README file instructed me to edit or add to weren’t there. If anyone else is stuck with the same bafflement – I’ll post how I fixed it here. I am a newbie, so it was just sort of trial and error. It works now though!
;o)

beth wrote on February 21, 2005 - 9:36 AM
#339

Recently, a few spammers have been able to get around AuthImage in my blog. They’re ability to circumvent the system seems to be growing as I continue to get spam in increasing amounts.

Anybody else have this happen to them? Any ideas on what I should do or if I should consider using something in tandem with AuthImage? Maybe SpamAssassin or something else?

Ken wrote on February 21, 2005 - 11:02 AM
#340

Are the spammers getting through the latest version of AuthImage? If so, they may be getting through via brute force (i.e., trying every word in the list I provided). You may want to add a few words of your own to the list or turn on the randomizing feature.

If you’re only getting a few comments here and there, it’s morelikely someone’s manually getting past and a person is entering the code. I’ve seen a few spams get through that way.

Gudlyf wrote on February 21, 2005 - 12:21 PM
#341

Gudlyf, I set Veriword to Random, rather than Dictionary, but I still get spamments. Certainly, it’s better than it was before (I get perhaps 20 in one go, as opposed to hundreds). I’m not sure if it’s a somewhat-effective reader or a manual entering.

Heliologue wrote on February 21, 2005 - 1:32 PM
#342

Yes, it’s v3.0 I’m using. I’ll try adding a few words to the list, or maybe change the list all together and see if that stops them. Thanks for the tip!

Ken wrote on February 21, 2005 - 4:12 PM
#343

no luck with this plugin on the new 1.5 version of wordpress. I have done everything to a T. When I test the plugin, it looks as though its working, but i’m still getting spamn now. Any ideas. I thought maybe it was because of the themes folder now. Maybe all the files in in all the themes folders need to be eddited??

bigred wrote on February 21, 2005 - 5:01 PM
#344

I installed AuthImage 3.0 last night and woke up to 60 spams in my moderation queue. I don’t know what is going wrong! I will try setting it to ‘random’ and adding in some more words.
:o (

beth wrote on February 21, 2005 - 6:50 PM
#345

I just upgraded my Kubrick template to v1.2.6. When I tried adding the modifications you recommend to the wp-comments file, the file itself is just different enough to not make sense when tryiing to follow your instructions. The “X” that you want users to look for in the code no longer corresponds to what is seen in the file or at least its placement.

Since Kubrick is so widely used, I thought I’d point this out to you in case you could (hopefully?) provide an update with your instructions?

Ken wrote on February 23, 2005 - 4:18 PM
#346

De como llegar a perder el tiempo sin ni siquiera proponerselo

Todo el mundo conoce que es el SPAM. Hoy da, slo hace falta que abramos nuestro buzn de correo electrnico y nos invada una ingente cantidad de basura (o mierda, como quiera llamarse) que hace que quien no tenga alguno de esos programitas especiales…

Aleacion Blog wrote on February 26, 2005 - 7:32 AM
#347

Also, the plugin seems to be invalidating my XHTML. Any chance of this getting fixed?

Heliologue wrote on March 1, 2005 - 12:50 AM
#348

Heliologue — I’m not sure what would make it non-compliant. If you followed the README correctly, I think it should be fine. Let me know what specifically you think needs fixing.

Gudlyf wrote on March 1, 2005 - 3:08 PM
#349

I’m getting a lot of complains from my human friends after upgrading to wordpress 1.5 and the latest veriword based authimage. I’ve been trying to respond to these complains. I got rid of most of the more obnoxious backgrounds. I changed the config so it uses lower case. I hand edited the wavy filter to be less aggressively wavy. (It’s a real pain when it drops chunks of the text outside the box.) I doubt I’ve gotten the pain point low enough; but it’s a bit better.

In any case … thanks for doing the work!

Ben Hyde wrote on March 3, 2005 - 9:06 PM
#350

I am also having troubles to get the image to show.
I get this error message when I try to load the authimage.php directly:

Fatal error: Call to undefined function: get_settings() in /home/t/tascha.ch/public_html/wordpress/wp-content/plugins/authimage.php on line 13
which means this line:
$authimage = get_settings(’siteurl’) . ‘/wp-content/plugins/authimage-inc/image.veriword.php’;

When I load the image.veriword.php directly I get a blank page and I am not sure if THAT is the problem (I am not very familiar with php so I woulnd’t know where to adjust the path to the image file if that is the problem).
I am using WP 1.5 and the latest authimage download.

Tascha wrote on March 6, 2005 - 3:19 PM
#351

I’m having the same problem many of you seem to be having with everything installed correctly, but no image showing up, just the alt text “authimage”. Here’s what I’ve found so far.

GD and FreeType are both enabled.
my-hacks.php is installed and turned on.
Installation instructions have been followed.

View source usually shows the tag to have a src=”" – which indicates that the
" width="155" height="50" alt="authima
ge" />
is not getting executed properly.

Browsing directly to authimage.php gives an error with get_settings(site_url).

Replacing that call with the full prefix (http://www.blah/wordpress/) then results in an error near the end of the file for the add_filter() function.

Commenting out the add_filter() function results in the page coming up blank. Passing in ?type=text or ?type=image on the url gives an error with createAICode() being undefined.

Browsing directly to wp-content/plugins/authimage-inc/image.veriword.php?width=200&height=80 gives the same blank page, no errors.

Browsing directly to wp-content/plugins/authimage-inc/test.wordart.php displays.

Browsing directly to /wp-content/plugins/authimage-inc/test.captcha.php displays.

Browsing directly to wp-content/plugins/authimage-inc/sample.php gives a broken image. Viewing the image directly results in a blank page, no errors.

This in on apache-2.0.53 with php-5.0.3, wordpress 1.5 and eaccelerator-0.9.2a, and a 16MB memory limit

Disabling eaccelerator had no effect. Increasing PHP’s max memory usage per script to 64MB had no effect.

Hallow wrote on March 8, 2005 - 7:52 AM
#352

Gudlyf: When activated, the plugin puts this in my HEAD:

function testValues (form) {
var author = form.author.value;
var email = form.email.value;
var code = form.code.value;
var comment = form.comment.value;

if (author.length

W3C complains that the ‘>’ in the if statements are delimiters but occur as data.

Heliologue wrote on March 8, 2005 - 12:48 PM
#353

Er, all right, my comment didn’t display properly. Let’s try that again:

function testValues (form) {
var author = form.author.value;
var email = form.email.value;
var code = form.code.value;
var comment = form.comment.value;

if (author.length

Heliologue wrote on March 8, 2005 - 12:52 PM
#354

Amazing. I just read your comments about how easy to hack authimage. I think I should change my pLog authimage implementation, too.

Mark

Mark wrote on March 11, 2005 - 2:30 AM
#355

Thanks for the cool plugin!

There is a problem somehow. It works great before clicking submit comment. By submitting it, WP 1.5 will say “Sorry, no posts matched your criteria.” It just won’t reload the previous post.

Everything in the README.txt has been done, and carefully treble checked.

Any suggestion?

Allan wrote on March 11, 2005 - 5:41 AM
#356

Bye bye comment spam!

Finally I took the step to get rid of comment spam without time consuming moderation, which I have been doing so far.

My quest first started with a simple solution – moderation of all comments.

Recently I started getting over 600 spams daily! Thi…

Simple Thoughts wrote on March 12, 2005 - 1:13 AM
#357

Bye bye comment spam!

Finally I took the step to get rid of comment spam without time consuming moderation, which I have been doing so far.

My quest first started with a simple solution – moderation of all comments.

Recently I started getting over 600 spams daily! Thi…

Simple Thoughts wrote on March 12, 2005 - 1:13 AM
#358

Would anyone here be interested in converting (or using if I converted it!) a version of this plug in based on this … http://www.iross.net/csscaptcha … I might be the only one that thinks it but it looks like a pretty good way to me :)

Ross McKillop wrote on March 20, 2005 - 8:59 PM
#359

Ross — Hm, that is an interesting idea. I do wonder though how easy a bot could defeat it. It may be a good idea for someone to try it out and see if any spam gets through.

Gudlyf wrote on March 20, 2005 - 9:17 PM
#360

it can be easily processed with OCR, but it would have to render it first, it would certainly involve a new breed of bot – one with a rendering engine…so it would work for a while at least (and so long as it wasnt used on anything too high profile – it would probably be more hassle than its worth for the bot developers. My intention is to add a abit more randomisation into the css stuff so that it could never be decoded just by learning the markup for each character

Ross McKillop wrote on March 21, 2005 - 8:46 AM
#361

nice plugin, but unfortunately it isn’t XHTML strict. the javascript in the head doesn’t validate (it does when the validator is set to ‘transitional’, but not if it is set to ’strict’).
too bad, but keep up the good work! :-/

Eikman wrote on March 24, 2005 - 12:01 PM
#362

I have read every comment and cannot find a simple answer. I keep getting the error message that I am not entering the correct auth code when in fact I am. I have followed the read me exactly (several times to the point of reinstalling my blog to before authimage and starting over) and nothing works. I always get the message that the code is incorrect. This is version 3 of authimage and version 1.2.2 of word press. Help will be greatly appreciated.

jsrdrnr wrote on March 25, 2005 - 11:42 PM
#363

Kleine Updates

So eine kleine Änderung am Kommentarsystem, ich benutze nun Authimage in der Version 3.0 und hoffe es läuft alles. Bitte testet die Kommentarfunktion!

Nach Berlin gehts jetzt doch nicht vor Mittwoch, so is das halt mit den Spontanbaustellen :)

Blumen für Stella @ fuzzilein.net wrote on March 30, 2005 - 6:24 AM
#364

Plugin looks fantastic, but…I don’t seem to have a wp-comments.php file. Is that a problem?

Steve wrote on March 31, 2005 - 2:40 PM
#365

I figured out my problem with the non-displaying images. Turns out my gd was pre-2.0.26, which is when gif support was added back in. The scripts assume that gif support is available.

If you can’t recompile php+gd, it’s pretty simple to alter the 2 class files to eliminate calls to gifs.

Mark Andrachek wrote on April 8, 2005 - 11:32 AM
#366

Authimage was working fine on my old server but since I changed to Cpanel I cannot see the image in spite of the path being correct.

After turning on php errors per post above I am getting this error when I go to image path:
Fatal error: Call to undefined function: imagettfbbox() in /home/homebu31/homebu31-www/blog/wp-content/plugins/authimage-inc/class.wordart.php on line 128

Please help, I can be contacted by email, mal @ freeadvertz.com

Mal wrote on April 11, 2005 - 5:23 PM
#367

I notice strong anti-aliasing artefacts around the letters. Between the background and the letter there is a dotted line of white pixels that could help crack-programs to guess the letter.

Hans-Joachim Daniels wrote on April 19, 2005 - 12:44 AM
#368

I’m using v 3.0, logged-in users can not post comment because it says:
Error: please enter the valid authorization code.
Where did I go wrong?

PamelaWcz wrote on April 21, 2005 - 9:25 AM
#369

Those aren’t anti-aliasing artifacts. That’s an intentional border around the words (deformed just like the words are) that allow the text to be read even when the background color is very close to the text color.

Mark Andrachek wrote on April 21, 2005 - 10:59 AM
#370

wordpress authimage captcha tips

You may have noticed the images that appear on the comments form that contains a code that you must enter (in addition to being registered), for your comment to be successfully saved. This is called a “captcha”, and it’s a method of blocking automa…

Hallow’s Blog wrote on April 21, 2005 - 11:00 AM
#371

The free host I’m using now provides PLENTY of space and bandwith, non-intrusive ads, php… the whole nine yeards.. well maybe only 5 yards: there is no GD installed, no image manipulation package, and no plans to rectify the situation.

Is there a PHP application one can install into shared hosting WITHOUT root access, and no shell access to provide image handling features for WordPress plugins to generate CAPTCHA images?

Bicarbonately wrote on April 21, 2005 - 9:58 PM
#372

your instructions fail to provide directions on how to insert the image code into the (theme) comments document. Trial and error, and peeking at the source of THIS page sorted it out, but you might consider adding it to the readme.

smallproblem wrote on April 22, 2005 - 6:03 PM
#373

Anyone still getting comment spam? I am still getting well over 100 comments a day with authimage. Any ideas out there. They are all in the moderation que but I would like to be able to stop them if possible. Anyone else have this problem and a solution?

jsrdrnr wrote on April 25, 2005 - 9:31 AM
#374

Are you sure it’s not trackback spam you’re getting? AuthImage doesn’t prevent that.

Gudlyf wrote on April 25, 2005 - 9:33 AM
#375

I appreciate your help. I never even considered that. I am so new to this and am still pretty clueless with programing. I installed a trackback spam plugin just to be sure. It should help nonetheless. Thanks. I always get the help I need here.

jsrdrnr wrote on April 25, 2005 - 10:01 AM
#376

[...]

Spam protection
May 4th, 2005

I’ve just installed AuthImage, a nice wordpress-plugin to prevent spam comments. From now on you’ll have to enter a rando [...]

ThoP’s Blog » Blog Archive » Spam protection wrote on May 4, 2005 - 2:26 PM
#377

[...] ton appears on the tool bar in all editing screens. Very cool. The last one I updated was AuthImage. AuthImage is the plugin that generates the little images with the security code [...]

#378

I tried v3 on my freshly re-installed wp1.5.

However, I can’t see the authorization images but pressing submit will tell me that I’m supposed to enter it.

I’m using the default theme based on kubrick

GOwin wrote on May 12, 2005 - 7:24 PM
#379

I’m the same guy above.

The error message is “Error: please enter the valid authorization code.”

But I don’t see the authorization code.

GOwin wrote on May 12, 2005 - 7:26 PM
#380

[bonks myself in the head]

I forgot to enable comments in WP.

GOwin wrote on May 12, 2005 - 7:33 PM
#381

urghk. now i see the authorization code but i still gets “Error: please enter the valid authorization code.”

And if I’m logged in, I still can’t see the authorization code at all.

Only users can see them.

GOwin wrote on May 12, 2005 - 7:37 PM
#382

[...] mmer, die anscheinend ihre neuen Spam-Skripte testen. In Wordpress heien die Plugins z.B. AuthImage oder Trencaspamer. Bei mir habe ich Trencaspamer ein [...]

Captcha ja, aber so nicht – Markup wrote on May 13, 2005 - 6:10 AM
#383

http://www.adams.com.bs/captcha/authimage-inc/sample.php

See the above link. I have installed ver3 in the captcha directory. Please tell me what I have to do next to get a working contact page like yours. Thanks so much for your assistance. I think this is by far the best captcha implementation available and looking forward to using it.

Jason Adams

jason adams wrote on May 14, 2005 - 6:35 PM
#384

[...] er. Instructions in the readme file were clear and concise. AuthImage’s homepage is: http://www.gudlyf.com/index.php?p=376 What the program does is load an image with graphically embedded cha [...]

Conscious Junkyard » AuthImage wrote on May 14, 2005 - 9:37 PM
#385

My authimage install to WP1.5 seems to have problems. Neither the entry-form nor the code appear on the comments page. I wonder if the problem derives from a problem with the Authimage “ReadMe,” which says in step 2 that I should insert some code after a line in my theme’s comments.php file. The ReadMe asks me to insert code after the line:

URI”); ?>

But my template (and WP’s default template) don’t include such a line in comments.php. The line I find in my comments.php is rather:

Website

Should this make a difference? Am I looking at the wrong file? Or is there some other reason the code and enry box won’t appear on my comments screen? Thanks for any help.

washburn wrote on May 16, 2005 - 11:19 AM
#386

I just realized that the box and code are only hidden for logged in users. Perhaps the code discrepency I noted in 385 is to blame, or maybe its that I have post-level plugin installed (though disabling it doesn’t seem to help). I do see however that some others here have also had trouble with this.

Authimage is a fantatic plugin, and I do hope this small problem can be fixed.

washburn wrote on May 16, 2005 - 12:16 PM
#387

[...] t ein neuer Spam Kommentar in meinem Blog ein. Um diesen Unsinn zu stoppen, habe ich jetzt AuthImage installiert. Wenn ihr in Zukunft Kommentare schreiben wollt, muesst ihr mittels eines Captchas be [...]

#388

[...] ey out of doing this. Update: Ha ha ha! Take that, spammer bastards! I’ve installed Gudlyf’s WordPress Hack, which requires users to input a code before leaving a comment. This means 15 [...]

#391

[...] he post. See them in action at the end of every post on this page. Lastly, have added the WP AuthImage Hack. Creates an authentication image (or phon [...]

#392

[...] rribly difficult to do, but it’s still a pain and certainly annoys. There’s a WordPress plugin for CAPTCHAs that I should look into. (CAPTCHAs are the wei [...]

#393

It’s a Unix gzip’ed tar file, which I believe should open in WinZip, but I haven’t tested the code on Windows. Perhaps if you try downloading without the accelerator?

Eye Surgery wrote on June 26, 2005 - 2:43 PM
#394

[...] I also added the AuthImage hack, which generates some random text in an image and requires the user to enter it to post a comment. It’s not “accessibility-friendly” but for now it’ll have to do. 05 November 2004 Tags: General Tags: comment spam, wordpress [...]

Big IDEA » Comment spam wrote on June 30, 2005 - 9:46 AM
#395

Noticed a warning at the top of my pages after installing and activating AuthImage. The plugin is working fine (a refresh removes the warning), but on each initial page load I receive the following:
Warning: ob_start():
output handler ‘ob_gzhandler’ cannot be used after ‘URL-Rewriter
in /wp-includes/functions.php

A temp fix has been to disable gzipping of output, but I haven’t been able to figure out a perm fix.

Bluescreen wrote on June 30, 2005 - 5:59 PM
#396

Hello – excellent plug-in, if it wasn’t for AuthImage, comment moderation would suck. Would only move the javascript into an external file for validation purposes. Thanks again!

Bluescreen wrote on July 6, 2005 - 6:15 PM
#397

[...] AuthImage Creates an authentication image to help combat spam in comments. [...]

#398

[...] Mal sehen was es für tools dafür gibt, ich dachte an etwas wie AuthImage (Captcha) es hat aber sehr uncoole Farben. Mal sehen ob Spam Karma etwas taucht. [...]

mehosted.org » Blog Archive » Spam Spam Spam! wrote on July 15, 2005 - 8:48 AM
#399

[...] Nu is er echter een geschifte computernerd die het in z’n hoofd heeft gehaald ook deze hack te hacken en alle WordPress blogs die gebruik maken van deze plugin te spammen met reclame voor zijn WP-plugin tegen comment-spam! [...]

7 seconden » Blog Archive » Verderfelijk ! wrote on July 21, 2005 - 6:42 AM
#400

The plugin works absolutely great. Thanks a lot, Gudlyf!rnI have one question though: Is it possible to enable the CAPTCHA for logged in users as well? Or perhaps use it in the user registration form – just two days after I installed Wordpress I’ve already gotten one automatic registration.

Funky M wrote on July 23, 2005 - 7:25 PM
#401

My users are complaining that ppl who are “recognized”, aka, they just left a comment, do not see the Authimage box when they go to enter another one. I will test that here.

Matt wrote on July 31, 2005 - 4:49 PM
#402

[...] I was getting so much SPAM in my blog (sometimes more than 100 spam-comments in a day) that I had to install AuthImage. I recommend it to everybody with spam-problems in wordpress blogs. [...]

#403

[...] De vez en cuando recibo un mail de alguien preguntándome cómo he conseguido que WordPress haga tal o cual cosa. Y la respuesta suele ser la misma: los plugins. Es decir, esos pequeños añadidos que se pueden acoplar a WP y que crecen como champiñones gracias a la dedicación de programadores y aficionados de todo el mundo. Pues bien, los que yo utilizo son los siguientes:Spam Karma 2 WebSi hay algo indispensable en cualquier instalación de WordPress, se trata de esta extensión. El antispam por excelencia. Combina varios sistemas de filtros, captcha y listas negras para detectar los molestos comentarios basura. Y lo consigue. Es cierto que en ocasiones da falsos positivos, pero con la versión 2 estos son menos frecuentes que con la anterior y, además, es mucho más sencillo recuperarlos. Requiere WordPress 1.5.1Backup Restore Web Otro plugin obligatorio. De instalación muy sencilla, nos da la opción de hacer copias de seguridad de nuestra base de datos y de todos los archivos que se encuentren en el directorio de nuestro WordPress. Es algo que todos los que usamos este CMS deberíamos tener instalado.WYSIWYG II Web El tercer plugin con el que toda instalación de WP debería contar. Suple la gran carencia de nuestro gestor de contenidos: una ventana de edición gráfica, es decir, en la que escribamos como si fuese un procesador de textos, y no el bloc de notas. Incluye un excelente gestor de imágenes. Aunque funciona correctamente con Firefox, en el navegador de Mozilla tiene algunos comportamientos extraños en el tratamiento de las imágenes, sobre todo.WeatherIcon Web Lo que hace es recoger la información que publican las estaciones meteorológicas de todo el mundo y traducirla a una imagen y a lenguaje ordinario. Lo uso para mostrar en mi barra lateral el tiempo que hace en la Bahía de Cádiz, según la estación de Rota. Aunque las instrucciones de instalación sólo vienen en inglés, la configuración y el interface traen traducción al español.AuthImage WebEs el captcha, o codigo de verificación, que aparece en el formulario de comentarios. Lo instalé antes de usar SpamKarma y por pereza nunca he llegado a quitarlo. Vosotro podréis decir mejor que yo qué tal funciona a nivel de usuario. Por mi parte diré que tanto su instalación como su uso son complicados, pero que funciona bastante bien. Se le escapan muy pocos spams, y éstos son siempre detectados por SpamKarma. Sin embargo, creo que dificulta innecesariamente la labor a los lectores. Incluye una completa guía en pdf y permite añadir tramas y fuentes. Todo ello, si uno sabe inglés, claro.monthchunks WebEl archivo mensual de un blog es tan necesario como molesto. En mi opinión pocas cosas son tan antiestéticas en una bitácora como una barra lateral llena de meses y años. Para solucionarlo, este plugin. Fijáos en mi página de inicio y veréis el resultado. La instalación no es complicada si se domina la lengua de Sherlock Holmes.Show recent comments V2 WebIgual que antes, podéis ver el resultado en mi barra lateral. Muestra los últimos comentarios de nuestros visitantes.Related Posts WebElabora una lista de artículos relacionados según concordancia del título, contenido y palabras claves elegidas por el administrador. Los resultados se pueden insertar al final de cada post. Es muy útil, sobre todo, para los lectores, y también ayuda a fidelizar a los visitantes casuales.Spoiler Plugin WebAñade una funcionalidad de la que WordPress carece, pero que es muy necesaria para los que escribimos sobre cine o literatura. La de poder ocultar un determinado texto y permitir que el lector lo descubra a voluntad. Podéis ver un ejemplo aquí.Los siguientes no son plugins que use aquí, pero sí en Planet Blogaditas.FeedWordPress WebCovierte tu blog en un sindicador de contenido, o reblog. Lee automáticamente los feeds RSS y Atom que tú le indiques y publica su contenido como posts de tu blog. Es muy útil para hacer los famosos planets, en los que se recopilan todos los posts sobre una determinada materia o, sobre todo, pertenecientes a un ámbito geográfico. Como ejemplo, podéis ver el citado Planet Blogaditas. Permite crear identidades de usuario para cada blog, crear categorías automáticamente… y va creciendo.RSS Fetched Link List WebReproduce los titulares y las primeras palabras del contenido del feed RSS de tu elección. No los almacena como posts, simplemente los muestra donde tú le pidas, y los va actualizando automáticamente. Como ejemplo, también en Planet Blogaditas, fijáos en las noticias locales de la barra lateral.Para terminar, un par de plugins que no logro que me funcionen, pero que estoy seguro de que lo harán algún día:WP-ContactForm WebTeóricamente, permite crear un formulario de contacto. Lo he visto en otras webs y les va muy bien. Pero yo no logro que termine de ir… Seguiremos intentándolo.Sidney’s Google Sitemap Generator WebDebería generar un feed con el que informar a Google Sitemaps de las actualizaciones de nuestro blog. ¿Lograré que lo haga de verdad algún día?Pues eso es todo por ahora. Mantendré este post actualizado de las nuevas incorporaciones a mi lista de plugins. Mientras tanto, os invito a que añadáis los que penséis que pueden ser interesantes mediante los comentarios. Si queréis probar más, sabed que todos estos y muchos más los podéis encontrar en WP Plugins.Alberto Alvarez-Perea [...]

Moonshadow » Los plugins de mi WordPress wrote on August 4, 2005 - 6:08 PM
#404

[...] I just found this plugin that provides CAPTCHA support for commenting in WP. Don’t know if I’ll install it or not. [...]

Tree’s Blog » WordPress CAPTCHA wrote on August 24, 2005 - 2:38 PM
#405

I like AuthImage, but I’m having two problems with it.

1. When I (an admin) am logged in to my blog, the image doesn’t display, but if I try to post a comment it throws an error that I didn’t enter the code.

2. The codes are often unreadable. The codes on http://www.trinitas-in-unitate.org/ (perhaps an earlier version?) are much easier to read.

Greg Krehbiel wrote on August 25, 2005 - 8:57 AM
#406

[...] AuthImage Creates an authentication image to help combat spam in comments. [...]

#407

[...] I managed to break the comments system on this blog yesterday too. I’ve been get shed loads of comment spam, so at least it put a stop to that for a bit. I was trying to get Gudlyf’s Authimage thing working, but there seems to be a problem with it. No time to find out what the issue was though. Maybe I’ll have a chance this week. [...]

marky moo’s blog » Weekends just aren’t long enough! wrote on September 11, 2005 - 6:19 PM
#408

[...] AuthImage [...]

#409

Just installed the plugin on my Wordpress (v. 1.5.2). A few comments on the installation file:

In Step Two:

This is listed for a search parameter:

<label for=”url”><?php _e(“<acronym title=”Uniform Resource Identifier”>URI</acronym>”); ?></label>

However, since WP 1.5+ has the code in each theme’s setting, rather than a global setting, the text between the labels may be different if you’re using a non-standard theme. Perhaps a comment recognizing this would be helpful for those of us users who are slower on the uptake.

In Step Three:

This is listed for a search parameter for WordPress 1.5+:

$comment_content = $_POST['comment'];

However, in v. 1.5.2, it is actually this:

$comment_content = trim($_POST['comment']);

Small difference to the eye, large difference to a search program.

In Step Four:

This is listed for the addition in WordPress 1.5+:

if ( !checkAICode($comment_code) )
die( __(‘Error: please enter the valid authorization code.’) );

but it should be:

if ( !checkAICode($comment_code) && !$user_ID )
die( __(‘Error: please enter the valid authorization code.’) );

Otherwise the code wants an authorization code you aren’t prompted for when you’re a registered user.

Anyway, now that the plugin is installed it seems to be working great. I recently got listed as a link on a popular blog, and I was literally getting 5-10 pieces of spam an hour. Since installing AuthImage, I haven’t gotten one piece. So, great job and thanks for the plugin!

tekanji wrote on September 15, 2005 - 1:44 PM
#410

[...] Now as an extra line of defence I’ve added a captcha to the comments form. I used the AuthImage plugin for WordPress with a couple of treaks to the veriword.ini to make the image a little more readable. I’m still not 100% happy with it, it still generates unreadable images at times, but most of the imges are very readable so that will have to do for the moment. [...]

Jim O’Halloran’s Weblog » Blog Archive » Captcha Added wrote on September 23, 2005 - 10:36 PM
#411

After months of using authimage with no spam I have actually started getting some the past week. I have tried moving the fonts/noises/words stuff out of the plugins area to make it so they are not downloadable. I have added a new words.txt with more words, increased the number of characters, changed settings in the veriword.ini, and they are still able to spam me. Any suggestions, or has authimage been cracked?

Michael wrote on September 24, 2005 - 11:14 AM
#412

I’ve finally got it working, V3.0 with Wordpress 1.5.2, great plugin, THANK YOU.

I don’t know how this happened, but the authimage.php file that I downloaded did not contain the line that sets the value of $authimage; after some searching around I discovered that. I downloaded the .gz version and that had the line in authimage.php file

Alan wrote on September 24, 2005 - 2:15 PM
#413

You know, the scary thing for me, is that while I’ve had this installed for a while and it worked great, now it appears that captcha decoding software seems to be able to get through the captcha and I’m sifting every day through sea of comment spam that gets caught in my “Comments to Moderate” in 1.5.2.

Anyhow, got any better ideas on how to fight back ? I already have the captcha set at 8 letters but I’m still getting about 2-3 spam comments per hour I need to moderate out of existence (though they never seem to hit the main site).

Would love some advice. I’ve got a post talking about the problem at :
http://www.wakatara.com/blog/archives/2005/09/28/the-comment-spammers-strike-back-again/

Daryl wrote on September 28, 2005 - 3:55 PM
#414

[...] Då finns det ingen risk att de når sina mål att bli listade på Google genom min försorg i alla fall. Men nu börjar jag tröttna på att sitta och radera dem också. Tog bort 17 stycken igår! Gör därför ett försök med ett plugin, AuthImage, som innebär att man måste fylla i en antispamkod när man postar. Det är emellanåt väldigt svårt att se orden som består av slumpmässiga engelska ord mellan 3-10 bokstäver. Dessutom var bakgrunderna väldigt mörka, och det gjorde inte saken lättare Har nu ändrat på intesiteten/kontrasten på bakgrunden. Under dagen?? kommer jag att ersätta den engelska listan mot svenska ord för att förenkla tolkningen ytterligare. Så posta gärna kommentarer, om du klarar av att gissa det engelska ordet förstås [...]

#415

I get lots of complaints about the image being unreadable (I must have a lot of color-blind commenters?). Can I just replace the noise images with other images on which the words will show up better? Will I screw up anything by doing so?

Beth wrote on October 5, 2005 - 5:56 PM
#416

Hi,
you destroy your PHP-Session completely. This is not very nice if somebody wants to use own session-data. Instead of this I would recommend to replace this in checkAICode:
[code] session_unset();
session_destroy();
session_start();
[/code]

with this:

[code] unset($_SESSION[$sess_key_name]);
[/code]

This should only reset your own session variable and will leave other’s variables alone.

Regards Marian

Marian Heddesheimer wrote on October 9, 2005 - 12:18 PM
#417

[...] WordPress Hack: AuthImage [...]

#418

[...] AuthImage [...]

#419

Hi all,

Is there some working instructions for installing in 1.5.2? I’m sorry, I’m really a noob at this and its driving me nuts. 152help[atsign]trashmail[dot]net

Pat wrote on October 29, 2005 - 6:17 AM
#420

There are way too many confusing notes in the readme for authimage for non-coders. If you have time would you consider updating the directions for those using the current wordpress build? Or break the directions into one set per version of wordpress addressed? thanks.

Mee 2 wrote on November 5, 2005 - 6:00 AM
#421

[...] El plug-in se llama AuthImage, basado en Veriword, un script CAPTCHA, para evitar los bots haciendo introducir una palabra. Según me he estado informando no valdria una imágen cualquiera ya que puede ser facilmente averiguable por los mismos spamers. Para instalarte un plug-in de estos necesitas las librerias GD y FreeType, que los responsables de mi hosting amablemente me ha instalado en pocos minutos. [...]

katasumi.info » Moderación en los comentarios wrote on November 8, 2005 - 11:24 AM
#422

[...] Although wordpress does a good job out of the box keeping spam off my blog, I still get an email every time someone tries to post a comment (spam or not). Lately the spammers have been more active so I installed the AuthImage wordpress plugin and things seem better already. [...]

michaelakers.net » Blog Archive » Added Captchas wrote on November 15, 2005 - 1:57 PM
#423

[...] A good friend of mine pointed me in the direction of AuthImage, a neat plug-in for WordPress that makes the person commenting on a blog entry manually enter a code generated as an image. Whilst this should deter automated spamming systems, people can still post junk to your blog – although the volume should hopefully be lower. AuthImage requires some hacking of your WordPress install to get it working, so it’s not recommended for complete beginners. Another flaw of the system is that the image of the code is impossible to read, but refreshing the comment page usually rectifies this. [...]

#424

Thanx for taking the time developing this plugin. I installed everything and got it working on my server. But not without a little bit of confusion.

Initially I set everything up, went to a comments page, and didn’t see any field at all.

Then I realized that the
“Users must be logged in to comment” option must be disabled for this plugin to work.

It would be nice if in your installation you included instructions on how to install this if the user IS using the option “user must be logged in to comment” to further enhance security.

Just my two cents…

Thanx again for the plugin.

Anil wrote on December 6, 2005 - 11:50 PM
#425

I follow all the instructions given and been able to install the plugin successfully.Great feeling!

poker news wrote on December 14, 2005 - 5:06 AM
#426

[...] AuthImage [...]

Blogging Marty’s Life » WordPress plugin 備忘錄 wrote on December 26, 2005 - 12:06 AM
#427

[...] 02/02/2005: Installed captcha to help solve comment spam problem. [...]

lucis » Switched to WordPress / Changelog 2 wrote on December 26, 2005 - 3:18 AM
#428

[...] Last July, to combat comment spam, I setup image authentication for commenting using the authimage plugin. It has been working quite well. I haven’t gotten any comment spam, except for maybe this one. [...]

#429

In my Authimage-form I can type any word and the comment will posted.
What is wrong sir?

Mike wrote on January 4, 2006 - 11:16 AM
#430

Sorry I was to fast – work fine!

Mike wrote on January 4, 2006 - 12:00 PM
#431

since i updated to wp2.0 authimage is useless. it is shown, but it seems that it would no longer be cheked if it’s entered or not.
is it just my prob or r there other with same prob?

Disco wrote on January 8, 2006 - 8:21 AM
#432

[...] AuthImage 產生驗證圖片,留言前必須要輸入正確的驗證碼。在WP 2.0中依然可以順利使用,安裝方式也是一樣與WP1.5不變。 [...]

#433

Great relief because of this plugin. I would like to see more readable captchas though.

If logged in users bugged by the fact that they are not presented with CAPTCHA but still are given errors about missing code while posting comments, can rectify the problem with this small fix:

Look for the following lines in wp-comments-post.php:

if ( !checkAICode($comment_code) )
die( __(‘Error: please enter the valid authorization code.’) );

and change them to:

if (!$user_ID && !checkAICode($comment_code))
die( __(‘Error: please enter the valid authorization code.’) );

Chetan Narsude wrote on January 18, 2006 - 12:01 AM
#434

Disco: Yeah, I encountered the same problem until I realized that I had to remodify the code in the WP files.

Follow the instructions in the README file, but with a few modifications (see my comment here).

That was for WP 1.5.2, here are a few more modifications for WP 2.0.

Step Three:

The spacing in my comment seems off, so I’m going to try to do it right this time. If you still have problems locating it, just search for $comment_content.

$comment_content      = trim($_POST['comment']);

Replace it with the same code as in the README file. Also, do NOT copy/paste anything from my comment into the WP file; copy it from the README and modify it by hand (there are few formatting issues caused by the blog here).

My code works perfectly now. Good luck!

tekanji wrote on January 18, 2006 - 1:39 PM
#435

thx, now it works. maybe you can edit your readme’s. one for wp1.5 and one for WP2.0 where this issue is underlined ^^

Disco wrote on January 25, 2006 - 2:14 AM
#436

[...] Fields gives you extra info on your posts. – Live statistics shows you stats on your visitors Trackback· [...]

#437

[...] Kembali ke masalah plugins AuthCSS ini, sama kayak activate plugin AuthImage bikinan Keith McDuffee, ada yang harus diubah pada templetnyah. di antaranya adalah, nambahin textbox untuk input value authentication code-nyah di comments.php dan validasi input di wp-comments-post.php. [...]

franzetic » AuthCSS – the way to captcha wrote on March 8, 2006 - 12:37 AM
#438

[...] Still one or two were getting through. On the offchance that this would increase again, I installed Gudfly’s Authimage. This is a Wordpress plug-in which displays an image with some random text that the commenter has to enter in order for their comment to be submitted successfully. [...]

#439

[...] And I found this really impressive spam prevention : Akismet. Not the slightest clue what this word means, but oh, do I LIKE it! It filters spam greatly – though it still needs your attention if you want to ensure no good comment slips into the pot. For this reason I again installed AuthImage which will reduce automated spam all by itself by at least 95%. [...]

marlyse.com » 2-fold wrote on March 20, 2006 - 1:18 PM
#440

[...] Gudlyf’s World » WordPress Plugin: AuthImage [...]

#441

[...] I’ve added CAPTCHA to the site using Bot Check. Although it does a less thorough job of scrambling the image than the AuthImage plugin, I was uncomfortable with the number of changes I had to make to WordPress to make AuthImage work. (If you install Bot Check, be sure to read down in the comments for a change you need to make to it for Wordpress 2.0 and later.) [...]

Objects At Rest » Blog Archive » Bot Check wrote on May 2, 2006 - 10:15 PM
#442

[...] Hasta hará cosa de una semana el spam en forma de comentarios, trackbacks, pingbacks y demás métodos era prácticamente nulo en UnBlogMas. La poca basura que iba llegando era filtrada perfectamente por el plugin de Wordpress AuthImage que instalé y que generaba una pequeña imagen con una palabra que se tenía que escribir en un campo del formulario para demostrar que era un humano el que había escrito el comentario y no una máquina. Es decir, un sistema CAPTCHA. Eran tiempos de paz. [...]

#443

Hi. I get a lot of spam too, and I have tried to install this utilty, with no luck sadly :O( .
I have read most of the comments, where I can see that the README.txt hasn’t been made for my version af WP (1.5.2), I don’t seem to be able to edit it the right way, does anyone have a modified README.txt for WP 1.5.2 that I can get a copy of, please…?
I would appreciate it very much..

Oddball wrote on May 20, 2006 - 2:27 PM
#444

[...] UPDATE: Unfortunately, Spam Karma does not play well with this plugin. For those seeking an alternative, I recommend AuthImage. *crossing-fingers* I have never been spammed with it–ever. [...]

AJAX Comments 2.0 wrote on June 6, 2006 - 11:37 AM
#445

[...] OK, I’m trying to uninstall this Authimg (captcha) plugin and I’m getting errors. (YES, I deactivated the plugin when I did it.) Anyone know how to get rid of it completely without screwing anything up? Don’t tell me to work backwards from the installation, because 1) I didn’t do the installation, and 2) that’s exactly what I did–worked from the installation instructions (which I understand now) to back out of it. No good. Sorry, y’all, it’s still an active plugin until I can get rid of it and find something a little easier for human eyes to read. I know, I know…everyone hates it. So I’ve heard, about a thousand times. Believe me, I hate it more than y’all do now. :sigh: [...]

#446

Great plugin! I’d like to see an accessible version (giving an option to play a word perhaps) someday so blind readers can still comment.

Lake Desire wrote on June 10, 2006 - 7:14 PM
#447

Hi…I try to install this plugin.
but this plugin can’t make right verification, i don’t know why.

if i see the code verification ABCF and I put the code AAAA or XXXX or YYYY what ever, the comment passed to database/comment system.

tried to look source code. and I found this :
function testValues (form) {
var author = form.author.value;
var email = form.email.value;
var code = form.code.value;
var comment = form.comment.value;

if (author.length

Pramudita wrote on June 12, 2006 - 5:23 AM
#448

I saw big different here…
at this blog I saw :
if (code.length

Pramudita wrote on June 12, 2006 - 5:28 AM
#449

[...] In an effort to keep improving SporTech Matter I am always looking for new scripts and plugins to implement on the blog. I decided to disable my Spam Karma plugin in honor of Word Verification. I know some of you probably hate it but I have found it works much better and also works nicely with my new Ajax Commenting script. You will notice now when you make a comment your comment is neatly inserted Ajax style without and page refreshing. It will show you a nice progress meter and insert your comment ajax style. The plugin is taken from Gudlyf’s World so check it out yourself. [...]

#450

[...] It turns out that the authimage hack for WordPress requires the GD Library and Freetype Library installations to create the dynamic image. I may just come up with a simpler solution for this than doing all kinds of modifications to the server. It would certainly be useful to have those installations anyway, but I think creating a hack for WP on my own would be an interesting project. [...]

VaxCave » GD Library and Freetype wrote on June 27, 2006 - 4:08 PM
#451

[...] best when moderation is off (seems more real-time) and AuthImage is installed (self-moderation is the best moderation) [...]

#452

[...] Gudlyf’s AuthImage Plugin [...]

#453

Does this work with WP 2.0?

CHris wrote on July 15, 2006 - 1:53 AM
#454

Is this still working?

Chris wrote on July 15, 2006 - 11:44 PM
#455

[...] 而 WordPress 的 Plugin AuthImage, MovableType 的 Plugin SCode, PWNtcha 都有 100% 的偵測率. 雖說 Image Spam (aka Content Spam) 可能情況複雜點, 不過應該還是有一定規則才是. [...]

pigfoot’s weblog » Picturing the New Spam wrote on July 25, 2006 - 12:18 AM
#456

The necessary plugin (:
It is established easily and perfectly works.
Thank u so much!

Jimy wrote on July 25, 2006 - 7:55 AM
#457

[...] AuthImage Web Es el captcha, o codigo de verificación, que aparece en el formulario de comentarios. Lo instalé antes de usar SpamKarma y por pereza nunca he llegado a quitarlo. Vosotro podréis decir mejor que yo qué tal funciona a nivel de usuario. Por mi parte diré que tanto su instalación como su uso son complicados, pero que funciona bastante bien. Se le escapan muy pocos spams, y éstos son siempre detectados por SpamKarma. Sin embargo, creo que dificulta innecesariamente la labor a los lectores. Incluye una completa guía en pdf y permite añadir tramas y fuentes. Todo ello, si uno sabe inglés, claro. [...]

Mis Algoritmos » Plugins para Wordpress wrote on August 7, 2006 - 9:41 AM
#458

[...] I installed AJAX Comments which is a plug-in by Mike Smullin that allows one to post comments quickly without having to leave or refresh the page. Along with this I installed AuthImage which is a plug-in by Keith McDuffee that creates an authorization image to help combat spam in comments. AJAX Comments comes pre-coded and with clear instructions on using AuthImage with it. [...]

#459

I think it’s a good idea, but it doesen’t solutiont my problem, because a lote of spammer every day they are sending spam… I thinks that it’s imposible, with this we can stop the robots, but the people that do spam manualy?

Well! Thanks for all, i’ll use it and i’ll tell my experience.

Pd. Good work ;-)

Seta wrote on August 17, 2006 - 9:26 PM
#460

This plugin DOES work with WP 2.0 — you need to follow the directions for WP 1.5 to implement the check in wp-comments-post.php.

The README should be modified to say “WP 1.5 and above” rather than “WP 2.0.”

tom sherman wrote on August 27, 2006 - 11:02 AM
#461

[...] I used this plugin with the hack to make it use bitmap images because the server I am on seems to not be capable of generating them from the default Truetype fonts. I won’t request TrueType support on Twistybot seeing as it works with the hack anyway but I’ll make sure it gets onto a google search so other people on Twistybot know what to do too. [...]

Chaotic Zee » Blog Archive » Comment Spam wrote on September 1, 2006 - 5:29 PM
#462

[...] Yes, you heard right. You can comment on my entries again from this point onwards. I’m using AuthImage which is a nice little hack for Wordpress. That should keep those spammers away from my site again…Now I can rest again. Phew!View this post on my blog [...]

Comment enabled again. by catfewd () | LjSEEK.COM wrote on September 6, 2006 - 5:49 AM
#463

[...] authimage原始作者的網站:http://www.gudlyf.com/index.php?p=376 authimage下載點:http://dev.wp-plugins.org/wiki/AuthImage 本站備份的authimage下載點 (3.0版):http://blog.mashow.tw/wp-download/authimage30.rar [...]

馬修的研究室部落格 » wordpress的plugin:authimage wrote on September 27, 2006 - 9:41 PM
#464

[...] 安装Gudlyf’s AuthImage Plugin 着实浪费了我不少时间,最后发现竟然是地址问题,晕。   « 现在可以下载《iText in Action》的第一章了 |   [...]

Blog程序更新日志 » Ruby PDF wrote on September 30, 2006 - 6:18 PM
#465

I am using WordPress 2.0.4 and cannot get this to work. Whether I put the code in or leave it out, the comment still passes. I have added $comment_code = trim($_POST[’code’]); // AuthImage after $comment_content = trim($_POST['comment']); as well as // AuthImage
if ( !checkAICode($comment_code) && !$user_ID )
die( __('Error: please enter the valid authorization code.') );
after if ( '' == $comment_content )
die( __('Error: please type a comment.') );
in the wp-comments-post.php file. I have also added everything to my theme’s comments.php template, but it still does not seem to matter if I type something in or leave it blank. If someone could send me their working copy of their comments template as well as their wp-comments-post file I would greatly appreciate it.

jenz wrote on October 26, 2006 - 8:40 AM
#466

Maßnahmen gegen Spam in WordPress…

Ich hatte es bereits in einem anderen Beitrag geschrieben: Das HNA-Blog wird derzeit von Kommentar- und Trackbackspam geradezu überflutet. Was also tun? Kommentare nicht zuzulassen ist keine Lösung (muss ich nicht erklären, oder?). Manche gehen so…

Leserblog der HNA wrote on November 3, 2006 - 6:44 AM
#467

I am not able to dowbload the ver 3.0 from teh link you have posted at teh top of this page. That page fails to load.

Pls help.

Thanks

Raj wrote on November 4, 2006 - 12:25 AM
#468

Raj, i use ie7 and can view this page without problems.

3dsl Eugen wrote on November 21, 2006 - 1:51 PM
#469

[...] This is a review of AuthImage, a WordPress Plugin which I use on my site. [...]

WP Plugin: AuthImage » Randomness At Its Best wrote on November 30, 2006 - 10:47 AM
#470

[...] You can find AuthImage here if you are interested. It is free to download and install, and with a bit of tweaking you can get captcha images that look just the way you want. The instructions are really easy to follow too. [...]

#471

[...] Deswegen hab ich mir gestern nen CAPTCHA-Plugin für Wordpress installiert. AuthImage heißt das gute Stück. War etwas Fummelei das zu installieren, läuft aber scheinbar dennoch ganz gut. [...]

Deltablog! » Es h wrote on December 28, 2006 - 7:11 AM
#472

[...] AuthImage Med denne plugin kan man ikke efterlade kommentarer uden enten at være logget ind, eller have indtastet et ord, der bliver vist som et billede. Denne løsning skulle reducere sansynligheden for blog-spam. [...]

#473

[...] There are really much implementations in different languages, but here’s a selection. WordPress Plugin: AuthImage (PHP) PEAR: Text_Captcha (PHP) freeCap (PHP) Calculator-CAPTCHA (PHP) JCaptcha (JAVA) [...]

pixeldude – the blog » Secure Captcha Images wrote on January 6, 2007 - 4:22 PM
#474

[...] 此外,我特别要提一下AuthImage这款插件的插件。它提供的设置选项丰富,调试起来相当有趣。具体显示可以看本页面最下方的Demo。它的优点在于,可以动态刷新验证图片;缺点在于,默认设置下的验证图片是在很丑,甚至很难辨认(真人很难辨认… orz)。我选择的是背景图片模式,去掉了大部分花里胡哨的背景图片,只留下来了两张,而且用Photoshop去掉了颜色变成灰度,并且调整了亮度对比度。虽然,相对来说防机器识别能力下降了,但可读性好多了。想来我这样的小站犯不着有人用机器识别来对付我吧?我还调整了字体变形的算法。因为单靠设置还不能达到要求,所以对于源代码略为有些小的改动。 [...]

和WP插件搏斗 – drin@mel wrote on February 5, 2007 - 5:34 AM
#475

[...] Anti Spam Image (this is the number thing by the comments, and the plugin’s home page disappeared, but the program is still working even after an update of Wordpress software. Here is a link to a similar plugin, though there are so many, no one would have a problem finding one: AuthImage) [...]

Pastoral Blogging Pt. 2 at 12 Witnesses wrote on February 7, 2007 - 6:46 AM
#476

[...] Gudlyf’s AuthImage Plugin (http://www.gudlyf.com/index.php?p=376)  [...]

Tjeerdoo.com » Blog Archive » Wordpress Captcha wrote on February 12, 2007 - 9:32 AM
#477

[...] AuthImage : This plugin displays an image with some random text that the commenter has to enter in order for their comment to go through. This should cut down on any bots out there from spamming your comments area and perhaps remove the need for comment moderation. [...]

#478

Great Hack!

Chuck wrote on March 9, 2007 - 3:12 PM
#479

re: w3c NHTML compliance:
I find that if you modify the code in the authimage.php like this:

//

the page will then properly validate and still allow the plugin to function.

Doug Castell wrote on April 13, 2007 - 5:45 PM
#480

Ok, so the code doesn’t post properly, but here’s a .txt file snippet of my modified authimage.php code.

http://www.castellcomputers.com/files/authimage_xhtml.txt

My page now validates as XHTML transitional — It’s never validated as strict anyway. Now, however, when checking strict in the validator, the authimage stuff doesn’t get flagged as a problem any more.

Doug Castell wrote on April 13, 2007 - 5:49 PM
#481

the first captcha shows without the bottom.. so i cant figure it out is a E or F. so this is the refreshed page.. and i would like to try whether comment can be posted or not. this no spam, pls dont get piss off :P ..

Ixwebhosting wrote on May 25, 2007 - 1:17 AM
#482

[...] potrete integrare AuthImage in modo da prevenire lo spam! Per integrarlo seguire questi 2 semplici [...]

#483

[...] AuthImage [...]

#484

[...] activation. Note: Spam Karma does not work well with this plugin. Mike suggests that you use the Authimage plugin instead of Spam [...]

Ajax Comments » WPDesigner wrote on June 15, 2007 - 3:15 AM
#485

[...] I set up the AuthImage plugin for WordPress to stop it once and for all. Now you have to fill out one of those annoying [...]

chrismetcalf.net – blog » Take that, spammers! wrote on June 17, 2007 - 1:49 AM
#486

Just checking this system to see of it’s working with AJAX

Doug Houston wrote on June 23, 2007 - 3:56 AM
#487

Oops, I was still using version 1.1 – but it (still) does a good job of keeping most of the simple spammers out :-)
I’ve just installed the new 3.0 version on another blog (my brother’s blog). Just follow the instructions and 20 sec’s later it all worked.

Thanks for the good job!

Rob wrote on July 10, 2007 - 12:49 AM
#488

Exellent, it works very well ! thkx u

David wrote on July 18, 2007 - 8:45 AM
#489

I need to recognize a text in a captcha image before I can sign in,the space provided is blank showing no text.What should I do to complete the application,help.

zizzie amanzie wrote on August 30, 2007 - 4:05 PM
#490

I’m finding it very difficult to read which letters there are!! Could I for example change the background color and the font?!

babs wrote on December 29, 2007 - 1:23 PM
#491

[...] AuthImage This plugin displays an image with some random text that the commenter has to enter in order for their comment to go through. This should cut down on any bots out there from spamming your comments area and perhaps remove the need for comment moderation. [...]

#492

hi can you please help me and tell me where to find the “my-hacks.php” file?

mrcopesetic wrote on February 13, 2008 - 5:18 AM
#493

Hi,

When i want to insert an image, i’ve got this code error:

Fatal error: Call to undefined function: createaicode() in …/wp-content/plugins/authimage/authimage.php on line 19

Can you help me, please ?

John

John wrote on April 8, 2008 - 5:18 PM
#494

I got this problem too.

Jasper wrote on July 25, 2008 - 2:33 PM
#495

gnfgg mt asetrjhrtj srkzsjtr srjtsrtjs. asetjt a, aejh etajetajetj.

jhnsfgsfg wrote on August 10, 2008 - 6:36 AM
#496

test

ron wrote on August 10, 2008 - 7:13 PM
Both comments and pings are currently closed.