No Captcha reCAPTCHA Add-on

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of No Captcha reCAPTCHA Add-on are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome browser, try using try right-click and select Open in new Window, then F5, or use another browser Caution

Ambox notice.png This mod is OBSOLETE with TNG v12 since it was incorporated into TNG v12. DO NOT INSTALL this mod on TNG v12, but rather see Recaptcha V2 Implemented

The No Captcha reCAPTCHA Add-on applies to TNG version prior to TNG V12 only and should work for versions between TNG v6 and v11.1.2 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.


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
Download stats View download statistics
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
Min TNG V 6.0.0
Max TNG V 11.1.2
Files modified
TNG_captcha.php, customconfig.php
Related Mods
Add-on should work with any version of TNG that supplies a dummy TNG_captcha.php.


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";


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


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.


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.


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 n/a/TNG 12.0.3 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.3 NL, DE, EN
The Laumaster Project Barry Sherry / TNG 11.1.1 EN
Bumbery-Wangler Bob Bumbery Public site 11.1.2 English
The Howes One-Name Study Paul Howes Public site / TNG 11.0.1 EN
KK's Family History Kathy Kult Public/Private site / TNG 12.0.1 EN