2014年12月14日日曜日

Let's try to use "Google's No CAPTCHA reCAPTCHA" plugin for WordPress #wpacja2014

Nice to meet you!
I'm Kimiya Kitani (@kimipooh) who takes charge of 14th in WordPress Advent Calendar 2014 in Japan.

* 9th in WordPress Advent Calendar 2014

On 3rd December, 2014, Google opened new spam filtering "No CAPTCHA reCAPTCHA" API.
It seems to be simple verification system , instead of complex image system.
Because only click on the checkbox "I'm not a robot".

You'd like to use it, don't you? :-)

I would like to introduce how to use new API in WordPress.

How to use No CAPTCHA reCAPTCHA plugin


This plugin set up Google's No CAPTCHA reCAPTCHA in the login form, registration form, and comment form.

* If you use "Google Apps Login" plugin for Google Apps Authorization for WordPress, you can sign in WordPress without the pass of "No CAPTCHA reCAPTCHA".

Step 1. Installation of No CAPTCHA reCAPTCHA plugin

This is very easy way because the plugin is opened to the WordPress public repository. Please find out the "No CAPTCHA reCAPTCHA" plugin in the plugin installation menu of WordPress administration menu.


Step 2. API Registration


  1. Access to "No CAPTCHA reCAPTCHA" menu in the side menu of WordPress administration menu.

     
  2. Click on "Here" in Site Key and go to Registration page for Google reCAPTCHA API
    * Requirement: Google Account


      
  3. Input "Label" and "Domains" and Click on "Register" button,
    * Example for explanation (Test: MAMP in my MacOS 10.10)
    Label: MAMP in Local
    Domains: localhost


     
  4. Then, the values of "Site key" and "Secret key" is displayed, so input the values in "No CAPTCHA reCAPTCHA" setting menu in WordPress administration menu. And click on "Save All Changes" button.

Step 3. Settings

Note: Turn off "login form"

Default value is "turn off".

* If there is the plugin bug, you cannot sign in WordPress.
When you turn on this option, you had better prepare the method for turning off this plugin.

* In my case, one of my administration WordPress site cannot be signed in due to the plugin trouble.


Login Error

Language Selection

Default value is "Auto Detect".
If WPML plugin is turned on, the main language is applied.
If you use multiple languages in WordPress, you had better change the setting to "English".

Step 4. Confirmation

When you try to post the comment without the check of reCAPTCHA, the following ERROR will be displayed.





14th December, 2014 @kimipooh

0 件のコメント:

コメントを投稿

Google+ Badge