Surname Statistics

From TNG_Wiki
Jump to navigation Jump to search
Restricted 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 Restricted
Caution 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 Caution


Ambox notice.png 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:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


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.Valid-xhtml10.png
Mod Updated 1 Feb 2023
Download link For
TNG 14.0
TNG 13.0

surname_statistics_v13.0.0.3.zip
TNG 12.0
TNG 11.0

surname_statistics_v11.0.0.0.zip [Compatible with Mobile Devices]
For
TNG 10.1.0

surname_statistics_v10.1.0.1d.zip
For
TNG 10.1.0

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
  • fix PHP Warnings under PHP 8
13.0.0.2 13.0 12 Oct 2020 Updated by Ken Roy to
  • fix use tng_begin.php so page header for template is displayed
  • use TNG v12 Mod Guidelines for cust_text.php
  • added French-UTF8 and German-UTF8 cust_text.php
13.0.0.1 13.0 02 Oct 2020 Updated for TNG 13 by Ron Krzmarzick

Conflicts and Issues

No known conflicts.

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. 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

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and any tables if created, you should

  1. click the Uninstall button to uninstall the mod
  2. 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:

URL User Note Mod-Version TNG-Version User-language
Robison & Blythe Genealogy Jeff Robison Public site 11.0.0.0 11.0 EN
Roger's Online Genealogy Roger Moffat Public site 13.0.0.3 14.0.0 EN
Chamberlain & Eidenbenz Genealogy Graham Chamberlain 11.0.0.0 12.0.1 EN,FR,DE,ES,NL
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Our Roy and Boucher Family Ken Roy Public site 13.0.0.2 13.0.0 EN,FR
Wortelboer Genealogy Bernard Wortelboer 11.0.0.0 11.0.0 NL,EN
MOTYER Family Genealogy John Mark Motyer Public site See here See here EN
Luithlenfamilie Ingo Wagner Not a Public site 11.0.0.0 11.1 DE,EN,NO,FR
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.1d 10.1.1 EN,DE
Kemp(e) Family History Andrew Kemp Public site see here see here EN
Rintoul/Bowman Family Andrew Rintoul Public/Private 11.0.0.0 12.0 EN,DE,ES,FR
Our Family Saga Del Groves Public site 10.1.0.1d 10.1.2 EN
Bumbery-Wangler Bob Bumbery Public/Private site 13.0.0.2 13.0.0 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private, modified See here See here EN,DE,CS
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN,DE,FR,ES,NL
Family Histories Steven Davis Public/Private Site 11.0.0.0 12.0.1 EN
The Road to Ethel Alicia Clemmons Public site 12.0.3 EN
The Duttons of New England Darrin Dutton Public / Private 13.0.0.2 13.0.2 EN
Lathrope Family Genealogy S Sharpe Public 13.0.0.2 13.0.4 EN
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Your Roots are Showing Harold Craswell Public/Private See Here See Here EN
Familjen Johnson Leif Johnson Public See here See here SE,EN
Carr's Garage Regis Carr Public & XAMPP 13​.0​.0​.2 14.03. EN,GR,NO