Edit: This information is out of date, please see the project on GitHub for the up-to-date version of the add-on.
reCAPTCHA is an ExpressionEngine 2 extension that replaces the built-in captcha with the reCAPTCHA system on member registration and comment forms. If you don’t already have reCAPTCHA keys, you can sign up and get them here. Note that this is not an officially supported first-party plugin, though I’ll do my best to help.
Features
Installation
Unzip and place the ‘recaptcha’ folder in /system/expressionengine/third_party
From the control panel, click Add-Ons > Extensions and enable the reCAPTCHA extension
Click the Settings link and enter your domain’s Public and Private reCAPTCHA keys.
Remove the hard-coded captcha input field from your member registration template (/themes/profile_themes/[theme_name]/registration_form.html) and any comment submission form templates so that the captcha {if} looks something like:
{if captcha}
{captcha}
{/if}F.A.Q.
Q: Can I use reCAPTCHA with the Contact or Tell-a-Friend form? A: Currently the Email module uses its own functions for creating the captcha, so only member registration and comment forms are supported at this time.
Q: Can I use this with the MSM? A: It should work fine as long as you use a Global key by checking the ‘Enable this key on all domains (global key)’ box when you create your reCAPTCHA key. This has not specifically been tested yet; feedback welcome. Q: I’m testing the comment submission form, and I keep getting ‘Unable to receive your comment at this time.’ A: If you’re testing with the same comment text, EE is likely enforcing spam protection and/or throttling your post. I recommend always testing with a unique comment, but if necessary the relevant settings are here:
Admin > Security and Session Preferences > Deny Duplicate Data Admin > Channel Administration > Channels > Comment Posting Preferences > Comment Re-submission Time Interval
Q: Any plans for an EE 1.x version? A: Not at this time.
Download and Screenshots
Thanks Brandon. Looks great.
Just one teensy weensy feature request if I may though?
Don’t suppose you’d consider making a 1.6.9 version would you 😉
There was one made a while back but it only ever worked on comment forms as far as I can remember and never worked on the main registration page which is where I really needed it to work so having something like this working for 1.6.9 would be Christmas come early for me.
Thanks again for releasing this though, very much appreciated.
Best wishes,
Mark
Mark, I likely won’t be doing any 1.x development simply because I started with 2.x and my brain is at capacity right now. However, I didn’t have to do anything special for the member_member_register_start and insert_comment_start hooks, and that’s probably also the case on 1.x.
If anything, the real “magic” with this extension is the Javascript that unobtrusively works around caching issues with Webkit-based browsers. Without it, if you submit an invalid form the first time, you’ll never be able to make a successful subsequent submission because the browser will send an outdated reCAPTCHA challenge key and cause the captcha to always fail. Feel free to pick it apart.
Thanks for the feedback, guys!
Just wondering if you were planning to pull this reCAPTCHA plugin over to the Contact Form.
Hi Andrew,
The Email module (which supplies the Contact and Tell-a-Friend forms) doesn’t currently ‘see’ any captcha-related extensions, so the module itself would require some changes. I would like to see it happen, but I can’t comment on when or if those changes will be made.
I may consider trying to back-port this for 1.6 because I need some help with member registration spam, and was looking at using reCaptcha for registrations.
That would be great, Ryan. I’m also getting various spam registrations on a daily basis, and I won’t be updating to EE2 until it’s a stable release.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.