We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Extension: reCAPTCHA

Development and Programming

flxc4p4str's avatar
flxc4p4str
3 posts
16 years ago
flxc4p4str's avatar flxc4p4str

reCAPTCHA is a free CAPTCHA service that helps to digitize books, newspapers and old time radio shows.

Installation: copy ext.recaptcha_extension.php and recaptcha dir into extensions directory copy lang.recaptcha_extension.php into language/english dir

Usage in template:

{if captcha}
{captcha}
{/if}

A few notes: This is my first extension so I’m looking for a guru to tear it up and tell me what I could have done better.

I’ve tested successfully with ee v1.5.6 and v1.6.2

You can see it in action on my personal website http://www.supportthewall.net

To use the extension you will need to get public and private keys for your domain, you may do so by creating an account @ http://recaptcha.net/

Finally, if you find this extension helpful and end up using it, please feed free to drop by my website http://www.supportthewall.net/ and make donation by visiting the Support page. I lost my job when I broke my neck in a diving accident and any help would be appreciated. Thanks in advance for any help improving the code.

flx

       
Hop Studios's avatar
Hop Studios
459 posts
16 years ago
Hop Studios's avatar Hop Studios

Cool extension.

Looks like recaptcha_validate.php doesn’t pass the name, email, URL or location fields… plus, it breaks the back button a little (i.e. you have to click twice).

The first is a bug, the second, well, I think it’s a small issue compared to getting ReCaptcha working…

TTFN Travis

       
Hop Studios's avatar
Hop Studios
459 posts
16 years ago
Hop Studios's avatar Hop Studios

One other question: Aren’t you supposed to keep the private key private?

TTFN Travis

       
cmscritic's avatar
cmscritic
10 posts
16 years ago
cmscritic's avatar cmscritic

Yes, the fact that the keys are visible in the page source is probably not a good thing. 😛

       
grantmx's avatar
grantmx
1,439 posts
about 16 years ago
grantmx's avatar grantmx

The public one is supposed to be there. The private…well, should be private.

Has this bug been fixed?

       
grantmx's avatar
grantmx
1,439 posts
15 years ago
grantmx's avatar grantmx

Yeah, just tired this and it doesn’t work at all. When I submit a comment form, it throws a validation error because EE doesn’t pick up the name and email of the comment.

Also, when I go back from the error message, the reCapatcha validates again and throws me back to that same validation error page. Thus, I have to hit the back button quickly twice to get back to the article where I placed my comment.

Running 1.6.8 (which I’d encourage you to make this extension to work on, as this version addresses a lot of bugs in the previous versions your running.)

Thanks!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.