2017 © Pedro Peláez
 

magento-module mbiz_invisiblecaptcha

Magento 1 module which adds the Invisible ReCaptcha in some pages.

image

monsieurbiz/mbiz_invisiblecaptcha

Magento 1 module which adds the Invisible ReCaptcha in some pages.

  • Friday, May 11, 2018
  • by jacquesbh
  • Repository
  • 3 Watchers
  • 4 Stars
  • 17 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 1 Versions
  • 183 % Grown

The README.md

Mbiz_InvisibleCaptcha

This module adds the Invisible ReCaptcha from Google in all pages and setup the captcha only for the contact page., (*1)

Adding the JS in all pages is not a choice we made just because it's simple. It's also because most of the time you'll want to add the captcha in newsletter form and so on., (*2)

Requirements

You need to get an API key from Google: https://www.google.com/recaptcha/admin, (*3)

PHP >= 5.4, (*4)

How it works

You can setup the API key in the admin panel: System > Configuration > General > Invisible Captcha, (*5)

In that page you can set your site details and of course you can disable completely the captcha., (*6)

You can also choose if you want it by default to be on some pages., (*7)

Setup on my own form

It's easy., (*8)

Given the following example:, (*9)

<form method="post">
    <label>
        My Content
        <input type="text" name="content" />
    </label>
    <button type="submit">Send</button>
</form>

You just have to make few changes (only additions):, (*10)

+helper('mbiz_invisiblecaptcha');
+?>
+
-

<

form method="post" id="myForm">
+

isActive()): ?> + onsubmit="return captchaMyForm.uiSubmit('getSiteKey(); ?>', onCaptchaMyFormSubmit, '#g-recaptcha-myform');" + +> + + isActive()): ?> +
+ +
+ +isActive()): ?> + +

License

See the LICENSE file., (*11)

Contributors

The Versions

11/05 2018

dev-master

9999999-dev

Magento 1 module which adds the Invisible ReCaptcha in some pages.

  Sources   Download

MIT