Welcome to CrankyGoblin.Com Sign in | Join | Help

Public Class GeoffAppleby

Inherits Microsoft.VisualBasic.MVP : Implements IBrainFart
GAPTCHA - It's Live! Please tell me what you think!

Update: The source is now live

Well, I was up until 1am this morning getting it polished enough, and then I had to wait until morning for some tech support on some SQL that I wrote (damnit, I used SQL2005 syntax for one proc when I should have remembered that CrankyGoblin runs on SQL2000 - thanks Noonie!), but it's live.

The test now is to see two things: People can still leave comments; and my comment spam stops. Hopefully it works.

There's still two problems with the code as it stands right now, as far as comment leavers are concerned.

  1. If you get the GAPTCHA validation wrong, it will tell you that it's wrong. But unfortunately, it also loses your comment :( I'm working on it, but please remember to copy the text of your comment before submitting in case you get it wrong :) I should have this problem sorted out this week.
  2. If you're a geek and you view the source of any page that contains the captcha control, it isn't really that hard to figure out how to get past the validation. Instead of using Base64 encoding, I need to actually encrypt the private data. Again, this week some time I'll get it sorted out.

As for blog owners, the only real flaws left are the admin side of things. In the control panel for the blog you can enable and disable Gaptcha, and add/remove Gaptcha images.

But you can't edit the text - currently you have to delete it and add it again :) Also, there's a slight bug in that when you upload the image, it saves it to the right place but then records the URL wrong in the db, so you end up with broken images until you go and fix it in query analyzer. Sounds like a job for tonight :)

Please provide me with any feedback - if it's not easy to use, if the pictures suck, whatever. There's not much point going much further if everyone hates it now that they can use it :) Feel free to leave comments on this post to test it out. If it's obviously a test comment, I don't mind deleting it :)

Oh, and for those that are interested (hopefully someone is :) I'll be making the code for this available to anyone who wants it. I'd just release the binaries to make it easy for people, but it requires adding DB stuff, adding methods to the datalayer, modifying skins, modifying the controlpanel....it's going to have to be a series of patches I'm afraid.  But once I've resolved the issues above, I'll write a post describing it all and supplying a zip file with all the necessary bits.

Posted: Tuesday, 17 October 2006 10:11 AM by Geoff Appleby

Comments

Public Class GeoffAppleby said:

Update: It's now live! Thanks for the support everyone :) It's working! It's all working and there's

# October 16, 2006 5:17 PM

Bill McCarthy said:

you're assuming someone use the wbe interface.  Of course anyone spamming you will totally bypass that and where there is no layer of defense ;)

# October 16, 2006 6:45 PM

Bill McCarthy said:

and my previous comment shows that, totally bypassed the GAPTCHA.

Oh, and smiley Geoff is jsut plain scary :P

# October 16, 2006 6:47 PM

Geoff Appleby said:

To be honest, I thought the web interface was the only way. What have I missed Bill? :)

# October 16, 2006 6:56 PM

Bill McCarthy said:

hey if I tell you here , then all the spammers will know... but here's a hint.. the third letter is 3 before p

# October 16, 2006 7:40 PM

Jordana said:

Geoff is this now on my blog and do I have to enable/disable it???

# October 17, 2006 2:13 AM

Geoff Appleby said:

You've got to take your own pictures, upload them, and turn it on.  It's easy actually :)

# October 17, 2006 2:47 AM

Jordana said:

I think I'll wait to see if I get spam. It took me long enough to get a recent picture of me let alone heaps of them...

# October 17, 2006 3:42 AM

Grant said:

Great work Geoff! Innovation++, we'll have to send you down to Mexico (Vic) more often if you're going to keep doing things like this.

G

# October 17, 2006 5:22 AM

Dave Burke said:

One question, Your wife agreed to be in the GAPTCHA collection with her own free will?

# October 17, 2006 5:57 AM

Dennis van der Stelt said:

This rules!!! Way to go Geoff!!!

# October 17, 2006 6:03 AM

Geoff Appleby said:

Dave: Well...she didn't tell me to take it down when she saw it, put it that way. I made sure I chose a nice pic to make sure she wouldn't complain :)

Grant, Dennis: Thanks very much!

# October 17, 2006 6:14 AM

Public Class GeoffAppleby said:

When I wrote the code for my Gaptcha control , I made one pretty silly mistake. I was developing against

# October 17, 2006 6:22 AM

Deb said:

Poor Ma. ;)

# October 17, 2006 6:23 AM

MattyT said:

Lookin' real good Geoff!

# October 17, 2006 8:09 AM

Dave Burke said:

It's a great pic! I was just wondering what she thought about being part of Twisted Techno History.  

Nice updates to the GAPTCHA functions, btw.  I'm purposely going to click on the wrong pics now and see what happens.  Better save my comment though first... :-)

UPDATE:  Beautiful!  Comment preserved and reload takes me to the validation failed message.

# October 17, 2006 10:56 AM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Kelly White from "the Portland Whites"

# October 17, 2006 1:41 PM

David Neal said:

Awesome!

# October 17, 2006 2:19 PM

Gualha said:

Very nice...

Why not the option of select just one or two pictures?

# October 17, 2006 2:20 PM

Wyatt said:

This is amazing and genius.  I cannot wait to get it running on my site :)

btw, do you have a flickr site?

# October 17, 2006 2:22 PM

Geoff Appleby said:

Gualha: Selecting 1 out of 9 is a 1 in 9 chance of getting it right. 2 out of 9 is a 1 in 72 chance. 3 out of 9 is a one in 504 chance - so that's where the odds become good that you can't 'guess' :)

David Neal, Wyatt: thanks :)

# October 17, 2006 5:22 PM

Geoff Appleby said:

Wyatt: oh, and no i don't. I've never really got into flickr.

I do have a smugmug site though, where I chuck most of my photos. generally they're all of my family. http://applebys.smugmug.com

# October 17, 2006 5:27 PM

Jordana's Waffle House and Bakery said:

Geoff 's created a little addin on his blog to help get rid of all the spam he has been getting lately.

# October 18, 2006 3:15 AM

Announcements said:

This week... We are delighted to announce the awarding of Community Server MVP status to three deserving

# October 28, 2006 4:58 PM

External News Feed said:

news of the day a grab bag for what's happening in Community Server Wyatt Preul on how to add the Forums

# October 30, 2006 2:17 PM

Jon Sagara said:

That's a pretty cool idea, Geoff.  I can't wait to play around with it tonight.

# November 6, 2006 9:21 AM

Daily News Faq List said:

Happy Geoff. Shocked Geoff. Confused Geoff. Angry Geoff. Hairy Goeff. Oh my! Geoff Appleby releases version

# November 22, 2006 8:06 AM

Community Server said:

This week... We are delighted to announce the awarding of Community Server MVP status to three deserving

# January 19, 2007 8:23 PM

Community Server Bits said:

Happy Geoff. Shocked Geoff. Confused Geoff. Angry Geoff. Hairy Goeff. Oh my! Geoff Appleby releases version

# March 12, 2007 5:38 AM

test robot said:

goptcha

# June 15, 2007 1:50 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

To submit your comment, click on these pictures:
  • Shocked Geoff
  • Geoff's big sister's tongue
  • Sleepy Geoff
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Can't recognise the people in these pictures? Look here for a quick introduction.
There's a time limit for you to get your comment submitted before this set of pictures expires. If you think it's been longer than 10 minutes, get some new pictures first (you won't lose what you've typed so far).
Get some new pictures 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS