Page 1 of 1

Captcha Failure Wording

Posted: Wed Mar 16, 2005 12:15 am
by Mikey
I'm running 0.8b2.

Don't know if this is a bug or if I'm just misunderstanding the wording.

I run with captchas on for all comments. When a user enters a comment to a post and mis types the captcha, it prints the following error:

Code: Select all

You did not enter the correct string displayed in the spam-prevention image box. Please look at the image and enter the values displayed there.
Your comment could not be added, because comments for this entry have been disabled. 
The last line does not seem to be needed/correct. If fact comments have NOT been disabled. They simply need to try the captcha again.

Also don't know if I really like the captcha font. I'm a young computer geek and I have a hard time reading some of them. I can't imagine how a computer-ignorant older person with bad eyesight would do with those. Are there other fonts out there where we could remake the .pngs to something different? I guess we can put whatever we want in there, huh? Sorry, didn't mean to get off-topic.

Thanks.

Re: Captcha Failure Wording

Posted: Wed Mar 16, 2005 9:44 am
by garvinhicking
The second message is just a generic message to let people know that the comment could not be added. In other languages this message is a bit clearer, but its hard to keep this message generic for all possible errors...

About the captcha fonts are stored within .ttf files, and you can easily add your own .ttf files. You can then just edit the spamblock.php file and search for the array with .ttf files and add yours to the array easily. And yes, the png images can be replaced with whatever you like, but they are only used if gdlib is not available for PHP.

Regards,
Garvin

Posted: Wed Mar 16, 2005 7:51 pm
by Mikey
Found the line. It looks like its the "chumbly" font that, to me, seems really hard to read. I'll find some other ones from fontfreak tonight and play with it.

Not really sure if a spambot would go to that much trouble to thrash my site anyway. Seems like the bots would better spend their time over signing up for hotmail accounts or something. Would they actually bother to do OCR on something like this? Even if they did, I have to believe almost ANY font would work with the excellent job you do rotating, sizing and colorizing them.
Or perhaps not
http://www.cs.berkeley.edu/~mori/gimpy/gimpy.html

Thanks for the help!

Excellent product in general by the way. Excellent work.

Posted: Thu Mar 17, 2005 11:31 am
by garvinhicking
Great you like it and that you'Re going to play with it.

I must say that when someone just spends enough time on the system, he would be able to OCR the fonts, that is true. But just let's hope they will not have so much spare cracking time available and we find better methods in the future...

Regards,
Garvin