Last updated October 30, 2013. Created on May 7, 2012.
Edited by kreynen, richardhayward, synchlayer. Log in to edit this page.

The reCAPTCHA module uses the reCAPTCHA web service to improve the CAPTCHA system.

This documentation explains how to configure and install reCAPTCHA as part of a Community Media installation. The existing reCAPTCHA Documentation by rkdeveloper contains extra useful information.

Enabling reCAPTCHA

  1. Navigate to Administer > Modules
  2. Select all four modules in the Spam Control block:
    • CAPTCHA
    • Image CAPTCHA
    • reCAPTCHA
    • reCAPTCHA mailhide
  3. Scroll to the bottom of the page and click Save Configuration

Configuring reCAPTCHA

To use ReCAPTCHA first create Private and Public ReCAPTCHA keys.

  1. Sign in to your Google account, or create a new one and then go to https://www.google.com/recaptcha/admin/create. Enter your domain name in the text box, select "Enable this key on all domains (global key)" and click Create Key. Your Private and Public keys will appear onscreen.
  2. Navigate to Administer > Configuration > People > CAPTCHA and click the reCAPTCHA tab in the top right. Copy and paste your Private and Public keys into the appropriate fields.
  3. Select Secure Connection checkbox, and choose a different Theme Setting if you wish - this basically chooses the color of the ReCAPTCHA box.
  4. Click Save Configuration.

Configuring Image CAPTCHA

To adjust the default Image CAPTCHA settings navigate to Administer > Configuration > People > CAPTCHA and click the Image CAPTCHA tab in the top right

Configuring CAPTCHA

Navigate to Administer > Configuration > People > CAPTCHA and click the CAPTCHA tab in the top right.

This page allows you to set what type of CAPTCHA site users will be presented with, on which pages and how often.

Select the appropriate Challenge Type: Math, Image or reCAPTCHA for each instance.

Depending on the site settings, Permissions or Roles you can deploy CAPTCHA in various ways. We recommend at least configuring reCAPTCHA as the Challenge Type for user_register_form and contact_site_form as those forms are generally exposed to everyone. All the others may (depending on other settings) require a User to be logged in, and thus have already proved their identity.

A Challenge description is added by default to the CAPTCHA. Toggle the option here and change the phrasing.

When done click Save configuration.

To test, try registering as new User (with a different email address from any previously used on your site) to see if you need to make any further adjustments.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.