Descendtree Counter mod

From TNG_Wiki
Revision as of 10:32, 13 January 2019 by XerxX (talk | contribs) (New support link)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Restricted Downloads of Descendtree Counter mod 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


Descendtree Counter
Summary Shows the number of descendants in descend.php.
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 14 Oct 2016
Download link for
TNG 12.0
TNG 11.0
TNG 10.0
Descendtree Counter v10.0.0.1b.cfg.zip
Download stats Descendtree Counter
Author(s) Erik Hoppe
Homepage Descendtree Counter mod (this page)
Mod Support TNG Community Forums: TNG Specific - Code Discussion - Addons
Contact Developer
Latest Mod 10.0.0.1b for TNG 10 and 11
Min TNG V 10.0.0
Max TNG V 12.x
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

To show the number of descendants in the tree generated in descend.php


Developer

This mod was developed by Erik Hoppe


Requirements

TNG version: 10.0
  • A working TNG installation.
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG)


Installation

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file and you will find the .cfg file there (if there's also a folder there: That's a Mac habit - don't bother).
  3. Move/copy/FTP the .cfg file to the mods folder of your TNG system.
  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


Custom Text Additions

Note: The config file includes the English language custom text.
The mod also includes German and Swedish texts if they are present in your system.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.

$text['xerxxDescCounter1'] = "There are ";
$text['xerxxDescCounter2'] = " descendants (plus spouses) in this view";
$text['xerxxDescCounterDup'] = " unique";


Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Remove button to uninstall the mod and then
  2. click the Delete button to delete the config file from the mods folder.


Revision History

Version Date Description
V10.0.0.1b 14 Oct 2016 The word "tree" changed to "view" ("Ansicht" / "Vy") - excellent suggestion by Willem van O. (See img below)
V10.0.0.1a 17 Sep 2016 The Wiki page link didn't work. Thanks to Ron K for the alert.
V10.0.0.1 4 May 2016 Prevented the mod to count persons in duplicate branches, e.g. cousins making a family.
If a duplicate person is found, the text will have the word "unique" added.
V10.0.0.0b 12 March 2016 Forgot the %fileoptional:% for the German and Swedish language files... Thanks to John Motyer for the alert.
V10.0.0.0 11 March 2016 Introduction.

Visualization of this mod

When only unique persons are found When duplicates are found
Desctreecntr1.png Desctreecntr2.png


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
Andersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod author. 10.0.0.1b 11.1.2 Swedish, German, English
MOTYER Family Genealogy John Mark Motyer Public site see here see here EN, DE, RU
Our Faily Histories Bryan S. Larson Public site 10.0.0.0 10.1.3 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private 10.0.0.1b See Here EN,DE,CS,ES
Our Family Links Chuck Filteau Public site v10.0.0.1b v10.1.2 EN
Racine d'Alsace J-Louis Valory Public/Private - T17 customized 10.0.0.1b 12.0.2 FR

| Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | English |}

TNG Modules Impacted

The following TNG Modules are modified, and should be backed up prior to installing this mod:

  • descend.php
  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php
  • languages/German/cust_text.php (if present)
  • languages/German-UTF8/cust_text.php (if present)
  • languages/Swedish/cust_text.php (if present)
  • languages/Swedish-UTF8/cust_text.php (if present)