|Downloads of Password Generator 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|
|If you are having trouble downloading with the Google Chrome browser, try another browser|
|The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]
If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:
[See details in the TNGv12 Change Impacts Article][Hide the instructions]
|Summary||Adds a 'Generate' button next to the password field on multiple pages.|
|Validation||The mod is XHTML compliant.|
|Author(s)||Bart 'Roebie' Degryse and Michel Kirsch|
|Mod Support||TNG Community Forums|
|Latest Mod||v 3 for TNG v12 & 13 |
8.1.0 for TNG v8
|Min TNG V||8.0.0|
|Max TNG V||13.0.0|
Purpose of the mod
Adds a 'Generate' button next to the password field on the 'Add New User' page.
The TNG v8 version of the mod applies to TNG 8.0.2 but should work with 8.0.0 and 8.0.1 too (although I didn't test it).
The TNG v12 version of the mod applies to TNG 12.3 but probably works with TNG v12.x and above. It can probably be run with TNG v11x.
This mod was developed by Bart 'Roebie' Degryse. The maintenance and adaptations are handled by [Michel Kirsch] from Charleroi - Hainaut - Belgium
- A working TNG installation.
- A backup of your TNG admin_newuser.php file.
- Download the appropriate zip file as shown in the summary in the upper right corner of the page.
- Follow the normal automated installation for Mod Manager.
In the event of a problem
- Try using the Mod Manager Remove capability
- Or copy your backup of the admin_newuser.php file to your TNG directory
|v22.214.171.124 - v126.96.36.199||28 sep 2020||Add generate button on multiple forms where it is necessary.|
|v188.8.131.52||15 sep 2020||Updated for TNG V12|
Added the EDIT option.
|v184.108.40.206||6 February 2012||This version is LOST. If someone have the zip file of this version, he can send it to me...(see mail above)|
|v8.1.2||18 November 2010||Initial config file release|
Visualization of this mod
The following images show the 'Add New User' page without and with the mod installed.
Password specifics since TNG v9
The generated password will consist of lowercase and uppercase characters and numbers and will be 8 long. You can however change this by using the EDIT button in the Mod Manager.
Password specifics TNG v8
The generated password will consist of lowercase and uppercase characters and numbers and will be 8 long. You can however change this by editing the config file.
The end of line 25 looks like this
...password.value = getPassword();">
This getPassword() function takes 10 optional parameters however.
|(1) length||The length of the generated password||8|
|(2) extraChars||Here you can provide a set of characters to use in generating the password. They can always be used regardless of the values of the following parameters.||(empty)|
|(3) firstNumber||The first character of the password can be a number||true|
|(4) firstLower||The first character of the password can be a lowercase character||true|
|(5) firstUpper||The first character of the password can be a uppercase character||true|
|(6) firstOther||The first character of the password can be a special character||false|
|(7) latterNumber||From the second character of the password on a number can be used||true|
|(8) latterLower||From the second character of the password on a lowercase character can be used||true|
|(9) latterUpper||From the second character of the password on a uppercase character can be used||true|
|(10) latterOther||From the second character of the password on a special character can be used||false|
The defined sets of characters are:
- A five character password starting with an uppercase and having all characters but numbers
...password.value = getPassword(5,'',false,false,true,false,false,true,true,true);">
- A five character password starting with an uppercase and having all characters but specials
...password.value = getPassword(5,'',false,false,true);">In this example you can see that you can omit variables for which you want to use the default value. You only have to provide values for all parameters upto the last non-default one (in this case the fifth parameter)
- A six character password consisting of numbers and the uppercase characters A to E
...password.value = getPassword(6,'ABCDE',true,false,false,false,true);">Note that ABCDE can appear in all positions.
Finally note that the default parameter values don't produce a strong password but one that can be remembered by most people (possibly with some excercise). To have a strong password you should use at least
...password.value = getPassword(14,'',true,true,true,true,true,true,true,true);">
As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the Mod Manager greatly simplifies this process).
Until now I haven't heard of any conflicts with other mods.
Sites using this mod
Well, of course, my own. Since it's not public it's not really worth adding a link here though.
The mod has been downloaded 34 times between the initial release and Feb. 6, 2012. So I guess it can be found 'in the wild'. Please add public TNG sites that you have found that utilize this modification!
|Genealogy of a Dutch East-Indies Family||Rob Severijns||Private||v220.127.116.11||v13.0.3||NL, EN|
|MOTYER Family Genealogy||John Mark Motyer||Public Site||see here||see here||EN, DE, RU|
|The Cole / Tanner Family Tree||David Cole||Public/Private||see here||see here||EN, DE, FR, ES, NL|