No Captcha reCAPTCHA Add-on

From TNG_Wiki
Jump to: navigation, search
Ambox notice.png The No Captcha reCAPTCHA Add-on should work with any TNG version since TNG V6 when the conditional include for the TNG_captcha.php was added to the suggest.php and newacctform.php.
If you currently are using a different version of TNG_Captcha.php, installing this mod will overlay the TNG_captcha.php script, so you might want to rename your existing TNG_captcha.php as a backup before installing this mod.
Note that this add-on does not use the Mod Manager for installation but rather it works when the appropriate files are uploaded and a key is entered in customconfig.php.
TNG All


No Captcha reCAPTCHA Add-on
Summary Adds a secure and simple to use captcha to TNG contact pages.
Validation n/a
Mod Updated 23 Feb 2015
Download link No_captcha_recaptcha_v10.1.0.3.zip
TNG All
Download stats statistics for v10.1.0.3NOT CURRENTLY WORKING
statistics for previous versionsNOT CURRENTLY WORKING
Author(s) Bryan S. Larson
Homepage No Captcha reCAPTCHA Add-on (this page)
Mod Support Support for No Captcha reCAPTCHA Add-on
Contact Developer Bryan S. Larson
Latest Mod 10.1.0.3
Min TNG V 6.0.0
Max TNG V N/A
Files modified
TNG_captcha.php, customconfig.php
Related Mods
None
Notes
Add-on should work with any version of TNG that supplies a dummy TNG_captcha.php.


Introduction

This Captcha display consists of a simple check box which checks before proceeding to the protected page. reCAPTCHA is a free service that protects your site from spam and abuse. It uses advanced risk analysis engine to tell humans and bots apart. With the new API, a significant number of your valid human users will pass the reCAPTCHA challenge without having to solve a CAPTCHA (See blog for more details).

Hundreds of millions of CAPTCHAs are solved by people every day. reCAPTCHA makes positive use of this human effort by channeling the time spent solving CAPTCHAs into digitizing text, annotating images, building machine learning datasets. This in turn helps preserve books, improve maps, and solve hard AI problems. Those already logged into the website as registered users will not be presented with the Captcha, but will be given direct access to the page.

While the No Captcha reCAPTCHA add-on does not modify any TNG files, it does replace the empty TNG_captcha.php file that is provided with TNG for this purpose. It has been tested with TNGv10, but it should work with previous versions that supplied the TNG captcha file. To use the No Captcha reCAPTCHA add-on, you will need to register for a free account to create the necessary keys. Once you have obtained your keys, you will enter the following in your customconfig.php file replacing "yoursiteKeyHere" and "yoursecretKeyHere" with your keys (keep the quote marks).

$siteKey = "yoursiteKeyHere";
$secret = "yoursecretKeyHere";

Visualizations

New recaptcha.gif

Revision History

Version Date Description
v10.1.0.3 23 Feb 2015 This update adds a feature to 'remember' if a visitor has successfully completed a reCAPTCHA challenge, no further challenges will be presented to that visitor during the visit.
v10.1.0.2 21 Jan 2015 This update corrects an issue where variable parameters were not being passed through to the appropriate form. Credit goes to Jeff Robison for catching this.
v10.1.0.1 19 Jan 2015 Initial release

Installation

The No Captcha reCAPTCHA add-on does not need to be installed using the download manager. Download and unpack the zip file. Place the contents of the folder in your TNG website's top level or root folder. Add your key as described above and that's all there is to it.

Limitations

The No Captcha reCAPTCHA add-on will work with all the TNG forms that have a captcha capability built into them. To use it on a custom page you must insert the following statement in the code where you want to present a challenge:


@include($cms['tngpath'] . "TNG_captcha.php");

NOTE: The code above should be placed within <?php ?> tags. If your custom page requires 'POST' information (like a form processor), the 'POST' information will be lost and the page will likely fail. To make it work, your page would have to save the POST data externally and retrieve it after the challenge has been answered.

Disclaimer

No particular problems have been encountered with this add-on, but as always, use it at your own risk.

Sites using this mod

If you download and install this mod, please add your TNG Site to the table below:

URL User Note Mod-Version/TNG-Version User-language
Our Family Histories Bryan S. Larson Mod Developer V10.1.0.3/TNG 10.1 EN
Blethyn / Hudgell Family Tree Derek Blethyn V10.1.0.2/TNG 10.0.2 EN
Gittens One-name Study Cliff Gittens V10.1.0.3/TNG 10.1.1 EN
Stirling-Hinds Genealogy Rick Stirling V10.1.0.3/TNG 11.0.0 EN
Our Family Tree Paul Barrett V10.1.0.3/TNG 11.1.0 EN
Stamboom Jongman Roel Jongman Public/Private site 10.1.0.3 / 10.1.3 NL, DE, EN
The Laumaster Project Barry Sherry 10.1.0.3 / TNG 11.1.1 EN
Bumbery-Wangler Bob Bumbery Public site 10.1.0.3/TNG 11.1.2 English
The Howes One-Name Study Paul Howes Public site 10.1.0.3 / TNG 11.0.1 EN