reCAPTCHA

Description

This extension easily protects the "Send to Friend", "Contact Us", "Product Review" and customer registration forms from unwanted spambots by adding in reCAPTCHA to these forms.

Instructions

  1. Sign up for a reCAPTCHA account
  2. Enter the public and private API keys from reCAPTCHA in Fontis Extensions -> Recaptcha -> Recaptcha Setup
  3. Choose the reCAPTCHA language from the list of supported languages under Fontis Extensions -> Recaptcha -> Recaptcha Setup
  4. Choose which pages to enable reCAPTCHA on under Fontis Extensions -> Recaptcha -> Recaptcha Controls
  5. If you want to disable reCAPTCHA for the case where the customer has already logged into the site, make sure that the "Hide for Logged-in Customers" option in Fontis Extensions -> Recaptcha -> Recaptcha Controls is set to "Yes"
  6. If you have a custom design that makes changes to any of the following files, you will need to update the corresponding Fontis reCAPTCHA files in
    app/design/frontend/default/default/fontis/recaptcha
    • contacts/form.phtml corresponds to fontis/recaptcha/contacts.phtml
    • customer/form/register.phtml corresponds to fontis/recaptcha/register.phtml
    • sendfriend/send.phtml corresponds to fontis/recaptcha/send.phtml
    • review/form.phtml corresponds to fontis/recaptcha/form.phtml

    The best approach is to create a new directory your_theme/template/fontis/recaptcha/ and copy your theme's versions of the above files to that directory. Then all you need to do is add the reCAPTCHA code that is found in the original Fontis templates. The code block that you will need to copy will look something like this:

    <?php  // recaptcha
        if( !(Mage::getStoreConfig("fontis_recaptcha/recaptcha/when_loggedin")  && (Mage::getSingleton('customer/session')->isLoggedIn())) )
        {
            if (Mage::getStoreConfig("fontis_recaptcha/recaptcha/sendfriend"))
                echo $this->getChildHtml('recaptcha_box');
        }
    ?>
  7. You can also choose from a range of reCAPTCHA themes under Fontis Extensions -> Recaptcha -> Recaptcha Setup. A new 'Magento' theme is available, which is designed using standard Magento CSS classes. If you want to make changes to the Magento theme, or create your own custom reCAPTCHA theme, the file to change is
    app/design/frontend/default/default/fontis/recaptcha/recaptcha.phtml

Fontis reCAPTCHA and Magento Enterprise Edition

Fontis reCAPTCHA has been successfully tested with Magento Enterprise Edition (EE). EE has different default templates, so if you want to use Fontis reCAPTCHA on an EE site you will need to follow the above steps on integrating Fontis reCAPTCHA into your site design. You will need to do this even if your design does not modify the default files.

Screenshots

Magento theme:

recaptcha magento theme

Configuration:

recaptcha backend settings

Compatibility

Fontis reCAPTCHA 2.0 has been tested with:

  • Magento EE 1.3.2.2
  • Magento CE 1.3.2.3
  • Magento CE 1.3.2.4
  • Magento CE 1.4 alpha3

Direct Download

Fontis Recaptcha 2.0

Changelog

2.0
  • New backend interface.
  • reCAPTCHA added to Product review
  • New Magento reCAPTCHA theme.
  • Multiple language support added.
  • Controller overriding redeveloped to minimise conflicts between different extensions.
1.1
  • Error messages are displayed when captcha fails.
  • Form data is saved when captcha fails.
  • New option: logged in customers do not see captcha.
1.0
  • Initial release.

Known Issues

  • None