Surname Statistics
Downloads of Surname Statistics 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 have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox |
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] |
|
Surname Statistics | |||||||
---|---|---|---|---|---|---|---|
Summary | This mod creates the file surnames_statistics.php that displays a table of statistics for surnames. Also adds a link to the 'Info' drop down menu. | ||||||
Validation | This mod is XHTML compliant. | ||||||
Mod Updated | 1 Feb 2023 | ||||||
Download link | For
surname_statistics_v13.0.0.3.zip
surname_statistics_v11.0.0.0.zip [Compatible with Mobile Devices] For
surname_statistics_v10.1.0.1d.zip For
responsive_tables_surname_statistics_v10.1.0.1d.zip [Compatible with and requires Responsive Tables mod.] | ||||||
Download stats | See download statistics See download statistics - Responsive Tables version | ||||||
Author(s) | Graham Chamberlain / Jeff Robison | ||||||
Homepage | Surname Statistics (This page) | ||||||
Mod Support | Surname Statistics (This page) | ||||||
Contact Developer | Surname Statistics (This page) | ||||||
Latest Mod | 13.0.0.3 for TNG 13+ 11.0.0.0 for TNG 11 10.1.0.1d for TNG 10.1 | ||||||
Min TNG V | 10.1 | ||||||
Max TNG V | 13 | ||||||
Files modified | genlib.php css/genstyle.css | ||||||
Related Mods | Responsive Tables for TNG v10.1 only | ||||||
Notes |
Purpose of the mod
This TNG modification creates the file surnames_statistics.php that displays a table of statistics for surnames.
Surname Count (% of entire DB)
Males (% of surname)
Females (% of surname)
Unknown Gender (% of surname)
Earliest birth, Latest birth, Average lifespan
Also adds a link to the 'Info' drop down menu under 'Statistics'.
Developer
This mod was developed by Jeff Robison and Graham Chamberlain.
* View all mods by Jeff Robison
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary to the right)
- An installed current version of the Mod Manager.
- Both English and English-UTF8 folders be on your site
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
13.0.0.3 | 13.0 | 1 Feb 2023 | Updated by Roger Moffat to
|
13.0.0.2 | 13.0 | 12 Oct 2020 | Updated by Ken Roy to
|
13.0.0.1 | 13.0 | 02 Oct 2020 | Updated for TNG 13 by Ron Krzmarzick |
Conflicts and Issues
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
In the event of a problem
- Try using the Mod Manager Remove capability.
- Copy the backup of the affected files back to your TNG directory.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Languages
Note that config file only includes the English language changes, so if you support multiple languages you can modify the config file to add the custom text for those other languages, or manually add the following custom text to each of your other languages with appropriate translations.
// Added by Surname Statistics
$text['Earliest_Birth'] = "Earliest Birth";
$text['Latest_Birth'] = "Latest Birth";
$text['enterssname'] = "Enter all or any portion of the surname";
$text['surnamestats'] = "Surname Statistics";
$text['notavailable'] = "N/A";
Deutsch: (German-UTF8) included in v13.0.0.2
// Added by Surname Statistics
$text['Earliest_Birth'] = "Früheste Geburt";
$text['Latest_Birth'] = "Letzte Geburt";
$text['enterssname'] = "Trage den Nachnamen ein oder ein Teil davon";
$text['surnamestats'] = "Nachnamen Statistik";
$text['notavailable'] = "n.a.";
Sites using this mod
If you download and install this mod, please add your TNG site to the table below: