Surname Statistics

From TNG_Wiki
Jump to: navigation, 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


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 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 02 Oct 2020
Download link for
TNG 13.0
surname_statistics_v13.0.0.2.zip
TNG 12.0
TNG 11.0

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

surname_statistics_v10.1.0.1d.zip
TNG 10.1.0

responsive_tables_surname_statistics_v10.1.0.1d.zip
[Compatible with and requires
Responsive Tables mod.]
Download stats V13 download statistics
See download statistics
See download statistics - Responsive Tables version
Author(s) Graham Chamberlain / Jeff Robison
Homepage Robison and Blythe Genealogy
Mod Support TNG Community Forums
Contact Developer My Mod Support
Latest Mod 13.0.0.2 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 mod 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. The automated installation release was tested at TNG Version 10.1+.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Download the relevant version of the mod. Upload and Extract to the mods folder.
  2. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install.

Custom Text Additions

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

In the event of a problem

Revision History

Version Release Date Comments
13.0.0.2
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
02 Oct 2020 Updated for TNG 13 by Ron Krzmarzick

TNG User sites using this mod

Please add TNG sites that you have found that utilize this modification

URL User Note Mod-Version TNG-Version User-language
Robison & Blythe Genealogy Jeff Robison Public site 11.0.0.0 11.0 English
Roger's Online Genealogy Roger Moffat Public site 13.0.0.1 13.0.0 English
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 English, French
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, DE, RU
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 site 11.0.0.0 11.1.2 English
Roots & Relatives Remembered Ron Krzmarzick Public & Private, modified See Here See Here EN,DE,CS
Cole / Tanner Family Tree David Cole Public/Private see here see here English
Family Histories Steven Davis Public/Private Site 11.0.0.0 12.0.1 English
The Road to Ethel Alicia Clemmons Public site TNG v. 12.0.3 EN