New Account Warning
|New Account Warning|
|Summary||Adds a warning about the lack of encryption in TNG's login process to the New Account Registration page.|
|Mod Updated||8 Nov 2018|
See the Revision History for older versions.
|Homepage||Robin Richmond's Genealogy Database|
|Mod Support||My Mod Support form or TNG Community Forums|
|Contact Developer||My Mod Support form|
|Min TNG V||12.0|
|Max TNG V||at least 12.0.2|
newacctform.php, English cust_text.php
Purpose of the Mod
To tell users about the lack of password encryption on TNG sites that do not support (or do not require) https.
Compatibility With Other Mods
Not compatible with New Account Form Mod.
- New Account Validation improves the validation of the form, and adds a mod parameter that lets you require additional fields.
- This mod saves information that can be used by Show Mod Names, but only if the optional Show Mod Names mod is installed.
This mod uses the standard installation process. It does not have a mod subfolder. [Show Installation Details]
- A working TNG installation.
- An installed current version of the Mod Manager.
- You should backup files listed in the panel on the right.
- Remove and delete previous version of this mod.
- Backup the files updated by this mod. They are listed in the panel at the upper right.
- Download the .zip file, Extract its .cfg file to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.
|Account Registration Form BEFORE|
|Account Registration Form AFTER:|
The following strings are defined in the English and English-UTF8 versions of cust_text.php
# This text is placed after the first password field $text['newacctwarn'] = "Note that the registration and login pages on this site ARE NOT ENCRYPTED, "; $text['newacctwarn'] .= "so don't use a password that you use ANYWHERE ELSE - and don't just add a suffix to your standard password. "; $text['newacctwarn'] .= "Use something completely different.";
If you want to modify this message, you must redefine it at the bottom of your cust_text.php file. Do not edit these lines, for that will cause a Mod Manager "Bad Target" error.
Be aware that most mods install their language strings immediately above the
?> that ends cust_text.php (and most PHP) files. As a result, language strings installed by mods after you define your own language strings will push your strings up in the file and make then hard to find.
(There is some good news: New mod programming guidelines introduced with TNGv12 address this problem, and reserve the space just above the closing
?> in cust_text.php files for hard-coded language strings (i.e. string definitions entered directly into cust_text.php files by TNG administrators.) Unfortunately, that scheme will not work well until all mods that target
?> have been updated to use the new guidelines.)
|Mod Version||TNG Version||Date||Note|
|184.108.40.206p||12.0+||15 May 2018||No functional changes; made compatible with TNGv12.|
|220.127.116.11||9.2.2+||21 Feb 2016||Moved the functionality that deals with additional required fields and form validation to the New Account Validation mod. Now uses Show Mod Names (but does not depend on it).|
|18.104.22.168||9.2.2 - 10.1.2||05 Sep 2015||Cleaned up the code to be more compatible with other mods and more like the original code in its form layout. The mod parameter now controls whether the Comments field is required (as it does with Phone, City, and State). Handles empty message strings more cleanly.|
|22.214.171.124||9.2.2 - 10.0.2||10 May 2014||No functional changes; the cust_text strings are added just at the end of the file rather than at the beginning.|
|126.96.36.199||9.2.2 - 10.0.2||30 Apr 2014||Initial Release|
Sites using this mod
If you download and install this mod, please add your site to the table below.
|Robin Richmond's Genealogy Database||Robin Richmond||Mod developer||188.8.131.52||11.1.1||English|
|Hooley Family Links||Rick Hooley||Public/Private||See Here||See Here||EN|