Expand Statistics

From TNG_Wiki
Revision as of 23:57, 16 July 2019 by Emile (talk | contribs) (Add website)
Jump to navigation Jump to search
Expand Statistics
Summary Stats pages for jobs, centuries and veterans
Validation
Mod Updated 9 Jun 2019
Download link for
TNG 12.0

Expand Statistics Version 1b


Download stats
Author(s) A. S. DuPree
Homepage Expand_Statistics (this page)
Mod Support TNG Community Forums
Contact Developer [1]
Latest Mod
Min TNG V
Max TNG V 12
Files modified
statistics.php
Related Mods
Notes
This expands the tng statistics page


Introduction

Display new statistics about your data.

  1. Occupations - Displays statistics about occupations. (Only shows up if you have Display_Jobs_Facts installed)
  2. By Century - Displays statistics about amounts of individuals by century. (Can be used with Sosa )
  3. Veterans - Displays statistics about veterans.

Each of the pages has subpages. For instance, click on the job category and it shows statistics for the jobs within that category. Click on one of the jobs on that page and it takes you to a page to see everyone who has that job. Veterans works in a similar way. The neat thing is that you can now see all the cooks or kings in your data very easily.

The screenshots below give examples of the initial pages from the statistics menu (once installed, you just go to the Statistics page as always and the new options will appear.

The main statistics page also now includes a few extra stats: Average number of children in families, largest family size and average number of identified parents in a family.

New Statistics page

New statistics are underlined in red.

Statsnew.png

Occupations page

Page shows up if you have [Display_Jobs_Facts] mod installed.

Stats1.png

By Century page

Page also includes sosa people if you have [Sosa] mod installed.

Stats2.png

Veterans page

Page requires updating the fields you use for veterans in the mod options.

StatsA3.png

Developer

This mod was developed by A.S. DuPree (a novice, happy for any help on improving it)

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Download the zip file in the status area in the upper right.
  2. Extract the Expand_statistics_v1b.zip to your mod folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files .

In the event of a problem with your TNG site

  1. Try using the Mod Manager to Remove the mod

Customizations in Mod Manager

  1. Choose pages to show

Changes/versions

V1b - Fixed a missing $ in cust_text file. V1a - Adds new stats to the main stats page, some refinements on the other pages.

Language Customization

Mod currently works in English and French (Thanks Katryne). To customize for your language you need to add the following to the cust_text.php file after you translate the parts after the equal signs.

// Expand Stats
$text['IndOcc'] = "Occupations of Individuals";
$text['Jobs'] = "Jobs";
$text['totalrec'] = "Total Recorded";
$text['jobsmsg'] = "You apparently do not have the mod \"Display Job/Facts\" installed.  This page requires it.";
$text['overview'] = "Overview";
$text['occupations'] = "Occupations";
$text['bycentury'] = "By Century";
$text['veterans'] = "Veterans";
$text['war'] = "War";
$text['numind'] = "Number of Individuals";
$text['allindivs'] = "All Individuals";
$text['totals'] = "Totals";
$text['nobirthdate'] = "No Birth Date";
$text['info'] = "Info";
$text['avgc'] = "Average Number of Children";
$text['avgp'] = "Average Identified Parents";
$text['bigfamily'] = 'Largest Family';
$text['Example'] = 'Example';
$text['person'] = "Person";
$text['nocats'] = "No Category";
$text['nomom'] = 'No Mother';
$text['nodad'] = "No Father";
$text['citations'] = "Citations";
$text['mostbirths'] = "Most births in";
$text['other'] = "Other";
// End Expand Stats

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
Adupree.com A.S. DuPree Mod Developer 12.0.0.3 12.0.3 English
vanheerden.net Emile Administrator 12.0.0.1b 12.1 English