Count Ancestors n Descendants
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] |
|
Count Ancestors n Descendants | ||||||
---|---|---|---|---|---|---|
Summary | Show number of Ancestors and Descendants under the person's name in getperson.php | |||||
Validation | n/a | |||||
Mod Updated | 9 Jan 2021 | |||||
Download link | For
Count Ancestors n Descendants v13.0.0.5b.cfg.zip For
Count Ancestors n Descendants v13.0.0.5b.cfg.zip | |||||
Download stats | ||||||
Author(s) | Erik Hoppe Current support by Brett. | |||||
Homepage | Count Ancestors n Descendants (This page) | |||||
Mod Support | TNG Community Forums | |||||
Contact Developer | TNG Community Forums | |||||
Latest Mod | 13.0.0.5b | |||||
Min TNG V | 10.1.1 | |||||
Max TNG V | 14.+ | |||||
Files modified | genlib.php languages/English/cust_text.php languages/English-UTF8/cust_text.php languages/German/cust_text.php languages/German-UTF8/cust_text.php languages/Spanish/cust_text.php languages/Spanish-UTF8/cust_text.php languages/Dutch/cust_text.php languages/Dutch-UTF8/cust_text.php languages/French/cust_text.php languages/French-UTF8/cust_text.php languages/Swedish/cust_text.php languages/Swedish-UTF8/cust_text.php% | |||||
Related Mods | ||||||
Notes | Author of TNG Colouring Book. Mods by me: At my user page. |
Purpose of the mod
To show the number of Ancestors and Descendants (up to 100 of each) below the person's name in getperson.php.
The max 100 is a limit I put there after measuring the time it took on the live server.
If I remember correctly, it took like 0.2 seconds to count to around 1,000 people.
You can change the limit to whatever you want, using the ModManager's built-in Edit Options.
Developer
This mod was developed by Erik Hoppe.
Current support by Brett.
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
Version | Date | Description |
---|---|---|
13.0.0.5b | 9 Jan 2021 | Corrected French, thanks to Michel Kirsch's suggestions. Corrected Dutch suggested by Peter Buyk. NOTE! the TNG12+ cust_text files update guidelines (see top of page)! |
10.1.1.5b | 9 Jan 2021 | Corrected French, thanks to Michel Kirsch's suggestions. Corrected Dutch suggested by Peter Buyk. NOTE! the TNG12+ cust_text files update guidelines (see top of page)! |
13.0.0.5 | 3 Dec 2020 | Correcting PHPcode (6 PHP Notices removed) and some French, thanks to Michel Kirsch's suggestions. |
10.1.1.5 | 3 Dec 2020 | Correcting PHPcode (6 PHP Notices removed) and some French, thanks to Michel Kirsch's suggestions. |
13.0.0.4 | 22 Sep 2020 | Updated for TNG v13 by Ken Roy. Thanks Ken! |
10.1.1.4 | 15 Sep 2019 | Updated to use TNG variables for database table names by Ken Roy. |
10.1.1.3d | 9 Jul 2017 | Corrected Dutch translation kindly provided by Bernard Wortelboer. |
10.1.1.3c | 11 May 2017 | Was making an empty line in genlib.php making it incompatible with a future mod of mine. Thanks to Ken Roy for the suggested change. |
10.1.1.3a | 17 Sep 2016 | Added Spanish, Dutch and French translations, kindly provided By Graham Chamberlain. |
10.1.1.3 | 4 May 2016 | Prevented the mod to count persons in duplicate branches, e.g. cousins making a family. |
10.1.1.2d | 24 Jul 2015 | Text changed from "our family tree" to "this family tree" by several requests. |
10.1.1.2c | 15 Jun 2015 | Reported to not install (thanks Rick Hooley). Solved. |
10.1.1.2b | 10 Jun 2015 | Clumsy solution for the below made it Crash in some situations. |
10.1.1.2 | 9 Jun 2015 | Could not be installed after Mobile Media mod. Now can. |
10.1.1.1 | 29 May 2015 | Added the MM Edit Option to set the counter limit |
10.1.1.0b | 19 May 2015 | Changes in the German text only (Thanks Hendrik M.) |
10.1.1.0 | 17 May 2015 | Introduction. |
Conflicts and Issues
Note the install order requirements. If using the Regroup Person Profile mod:
|
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.
- After installation you can edit the counter limit that defaults to 100.
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.
Visualization
The following screen captures show the changes made by the mod:
Some examples of texts: |
Languages
English, German and Swedish are included with the Mod. If you want to use it with a different language, add the correct text (between double quotes) in the code below and add to your cust_text.php file in the appropriate language folder.
$text['xerxxGPstarttext0'] = " Has "; // When 0 ancs $text['xerxxGPstarttext'] = " Has "; $text['xerxxGPstarttextNone'] = ""; $text['xerxxGPstarttextSing'] = ""; $text['xerxxGPstarttextPlur'] = ""; $text['xerxxGPdescs'] = " descendants"; $text['xerxxGPdesc'] = " descendant"; $text['xerxxGPancs'] = " ancestors"; $text['xerxxGPanc'] = " ancestor"; $text['xerxxGPno'] = "no"; $text['xerxxGPone'] = "one"; $text['xerxxGPand'] = " and "; $text['xerxxGPbut'] = " but "; $text['xerxxGPmore'] = "more than "; $text['xerxxGPfinishtext'] = " in this family tree.";
(The empty ones close to the top are used for German word and MUST be present in ALL languages)
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
Regarding the Swedish-Only site below: Using the Google setting "English language" and then google for the site, I have a "Translate this page" beside the link. If I use it I get a quite decent translation...
URL | User | Note | Mod-Version | TNG-Version | User-language | |
---|---|---|---|---|---|---|
Treichel-Familie.de | Andreas Treichel | Public & Private | 13.0.0.5b |
|
DE,EN,FR,ES,PL | |
Botebygden | Lars Arén | Open public site: Many of Erik Hoppe's mods on display. Swedish only (community research site). | 13.0.0.5b | 13.1.2 | SE | |
Family tree of Marcin & Emilia Senderski | Marcin Senderski | Only home page is public | 13.0.0.5 | 13.0.4 | EN,PL | |
Stegemüller Family History | Stegemüller | Public site | 13.0.0.5b | 14.0.6 | EN,DE,DA | |
Wortelboer Genealogy | Bernard Wortelboer | Public site | 10.1.1.3d | 11.1.1 | NL,EN | |
Brady Family Tree in Western Australia | Darryl Brady | Public site | 10.1.1.1 | 10.1.1 | EN,DE | |
MOTYER Family Genealogy | John Mark Motyer | Public site | See here | See here | EN | |
Mitchell Families Online | Roger Mitchell | Another great idea from Erik | 10.1.1.2c | 10.1.1 | EN,DE,ES,NL,FR | |
Hooley Family Links | Rick Hooley | Public/Private | See Here | See Here | EN | |
Kemp(e) Family History | Andrew Kemp | Public Site | see User:Kempons | see User:Kempons | EN | |
DJCM.DK | Claus Martinussen | Not a Public Site | 13.0.0.5b | 13.0.4 | DA,EN | |
Families all over the World | Hans Weebers | Public/Private | 10.1.1.2d | 11.0.0.0 | NL,DE,EN,FR | |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private, modified | See here | See here | EN,DE,CS | |
Chamberlain & Eidenbenz Genealogy | Graham Chamberlain | Public Site. Some restrictions for non-registered users | 10.1.1.3 | 12.0.1 | EN,NL,FR,DE,ES | |
The Duttons of New England | Darrin Dutton | Public/Private | 13.0.0.5b | 14.0.1 | EN | |
Familienforschung Riehl & Kröber | Otto Riehl | (no public site) | 10.1.1.3a | 11.1.2 | DE,EN,ES,FR,PT | |
Rintoul/Bowman Family | Andrew Rintoul | Public/Private | 10.1.1.3c | 12.0 | EN,DE,ES,FR | |
Racine d'Alsace | J-Louis Valory | Public/Private - T17 customized | 10.1.1.3d | 12.0.2 | FR | |
Stamboom Jongman | Roel Jongman | Public/Private - Template 9 | 10.1.1.3d | 10.1.3 | NL,EN,DE | |
local computer | Tadeusz Kozłowski | local computer | 10.1.1.3d | 11.0.2 | PL | |
Familie van Seeventer | Sandor van Seeventer | Public site | 13.0.0.5b |
|
DE,EN,NL | |
Bumbery-Wangler | Bob Bumbery | Public/Private site | 13.0.0.4 | 13.0.0 | EN | |
The Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | EN,DE,FR,ES,NL | |
Eskeland and Haugland Family | Helge Haugland | Private | 10.1.1.3d | 12.0.2 | NO,EN | |
Journeys in Genealogy | Patrick Thrush | Public WordPress/TNG bundle | 10.1.1.3d | 12.0.3 | EN | |
Familienforschung SCABELL | Helga Scabell | Public/Private | 13.0.0.4 | 13.0.1 | DE,EN,PT | |
Our Roy and Boucher Family | Ken Roy | Updated v10.1.0.4 to use TNG table name variables for queries | 13.0.0.5b |
|
EN,FR | |
Jan Suhr family tree | Jan Suhr | Public Joomla / TNG | 10.1.1.3d | 12.1 | SV,NL,EN | |
Genealogie Buijk | Peter Buijk | Public/Private | 13.0.0.5 | 13.02 | NL,EN | |
Racines Luxo-hennuyères | Michel Kirsch | Public site (registration) | V13.0.0.5b | TNG 13.0.3 | FR,EN,DE,NL | |
Lathrope Family Genealogy | S Sharpe | Public | 13.0.0.2a | 13.0.4 | EN | |
Sejarah Thümann | Jeffrey Thümann | Public | 13.0.0.5b | 13.0.3 | NL,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 | |
Coon White Family History | Alan Coon | Public / Private | 13.0.0.1 | 13.1.2 | EN | |
Les Lapierre d'Amérique | Normand Lapierre | Public/Private site | 13.0.0.5b | 14.0 | FR,EN | |
Vår Familjehistoria | Lars Arén | Public/Private | 13.0.0.5b | 14.0.6 | SE,EN,DE | |
Onze familiegeschiedenis | Wim van der Horde | Public / Private | 13.0.0.5b | 14.0.3 | NL | |
Stammbaum der Familie Datschetzky | Christian Datschetzky | Public | 13.0.0.5b | 14.0.3 | DE,EN | |
Chris Korte's New Zealand Genealogy Project | Chris Korte | Public / Private | 13.0.0.5b |
|
DA,EN,FR,DE |