Difference between revisions of "Count Ancestors n Descendants"
Chuckfilteau (talk | contribs) (add my site) |
(New support link) |
||
(48 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{restricted}} | ||
{{TNGmod | {{TNGmod | ||
| mod_name = Count Ancestors (and) Descendants | | mod_name = Count Ancestors (and) Descendants | ||
| mod_summary = Show number of AnD under the person's name in getperson.php | | mod_summary = Show number of AnD under the person's name in getperson.php | ||
| mod_validation = | | mod_validation = | ||
− | | download_link = for {{Tv110}}{{Tv1011}}[https://xerxx.se/modSupport/click/click.php?id= | + | | mod_last_update = 9 Jul 2017 |
+ | | download_link = for {{Tv120}}{{Tv110}}{{Tv1011}}[https://xerxx.se/modSupport/click/click.php?id=104&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Count Ancestors Descendants mod v10.1.1.3d.cfg.zip] | ||
| download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=1 Click here] | | download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=1 Click here] | ||
| mod_author = Erik Hoppe | | mod_author = Erik Hoppe | ||
| mod_url = [[Count Ancestors n Descendants]] (this page) | | mod_url = [[Count Ancestors n Descendants]] (this page) | ||
− | | mod_support = [https:// | + | | mod_support = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons] |
− | | mod_contact = | + | | mod_contact = |
− | | mod_version = 10.1.1. | + | | mod_version = 10.1.1.3d |
| min_TNG_ver = 10.1.1 | | min_TNG_ver = 10.1.1 | ||
− | | max_TNG_ver = | + | | max_TNG_ver = 12.x |
| TNG_file_list = See [[Count_Ancestors_n_Descendants#TNG_Modules_Impacted|TNG Modules Impacted]] | | TNG_file_list = See [[Count_Ancestors_n_Descendants#TNG_Modules_Impacted|TNG Modules Impacted]] | ||
| related_mods = | | related_mods = | ||
Line 54: | Line 56: | ||
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability | * Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability | ||
* Replace all affected files with the copies you made before the installation. | * Replace all affected files with the copies you made before the installation. | ||
− | * | + | * [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons] |
Line 95: | Line 97: | ||
! Date | ! Date | ||
! Description | ! Description | ||
+ | |- | ||
+ | | V10.1.1.3d | ||
+ | | 9 July 2017 | ||
+ | | Corrected Dutch translation kindly provided by Bernard Wortelboer. | ||
+ | |- | ||
+ | | V10.1.1.3c | ||
+ | | 11 May 2017 | ||
+ | | Was making an empty line in genlib.php making it incopatible w/ a future mod of mine. Thanks to Ken Roy for the suggested change. | ||
|- | |- | ||
| V10.1.1.3a | | V10.1.1.3a | ||
Line 159: | Line 169: | ||
| [[User:XerxX|Erik Hoppe]] | | [[User:XerxX|Erik Hoppe]] | ||
| Mod author - Mod not visible unless logged in | | Mod author - Mod not visible unless logged in | ||
− | | 10.1.1. | + | | 10.1.1.3d |
− | | | + | | 11.1.2 |
| EN, DE, SE | | EN, DE, SE | ||
|- | |- | ||
Line 166: | Line 176: | ||
| [[User:Bernard57|Bernard Wortelboer]] | | [[User:Bernard57|Bernard Wortelboer]] | ||
| Public site | | Public site | ||
− | | 10.1.1. | + | | 10.1.1.3d |
− | | 11. | + | | 11.1.1 |
| NL, EN | | NL, EN | ||
|- | |- | ||
Line 193: | Line 203: | ||
| [http://oceanwharf.com Hooley Family Links] | | [http://oceanwharf.com Hooley Family Links] | ||
| [[User:lastejas|Rick Hooley]] | | [[User:lastejas|Rick Hooley]] | ||
− | | Public | + | | Public/Private |
− | | | + | | [[User: lastejas|See Here]] |
− | | | + | | [[User: lastejas|See Here]] |
− | |EN | + | | EN |
|- | |- | ||
| [http://www.kempfamilyhistory.com Kemp(e) Family History] | | [http://www.kempfamilyhistory.com Kemp(e) Family History] | ||
Line 208: | Line 218: | ||
| [[User:Clausm|Claus Martinussen]] | | [[User:Clausm|Claus Martinussen]] | ||
| Public Site | | Public Site | ||
− | | 10.1.1. | + | | 10.1.1.3d |
− | | | + | | 12.0 |
| DA,EN | | DA,EN | ||
|- | |- | ||
Line 221: | Line 231: | ||
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered] | | [https://www.kmtrees.com/index.php Roots & Relatives Remembered] | ||
| [[User:tngrlkrz| Ron Krzmarzick]] | | [[User:tngrlkrz| Ron Krzmarzick]] | ||
− | | | + | | Public & Private, modified |
− | | 10.1.1. | + | | 10.1.1.3d |
− | | | + | | [https://kmtrees.com/modlist_wiki?whichoptions=basic&cachemethod=3&sortby=filename See Here] |
− | | EN | + | | EN,DE,CS,ES |
|- | |- | ||
| [http://www.katiandgraham.com/genealogy Chamberlain & Eidenbenz Genealogy] | | [http://www.katiandgraham.com/genealogy Chamberlain & Eidenbenz Genealogy] | ||
Line 230: | Line 240: | ||
| Public Site<br/>with some restrictions for non-registered users | | Public Site<br/>with some restrictions for non-registered users | ||
| 10.1.1.3 | | 10.1.1.3 | ||
− | | | + | | 12.0.1 |
| EN,NL,FR,DE,ES | | EN,NL,FR,DE,ES | ||
|- | |- | ||
Line 240: | Line 250: | ||
| EN | | EN | ||
|- | |- | ||
− | | [https://tng.riehl-partner-web.de/ Familienforschung Riehl & Kröber] | + | | [https://www.tng.riehl-partner-web.de/ Familienforschung Riehl & Kröber] |
| [[User:Otto_Riehl|Otto Riehl]] | | [[User:Otto_Riehl|Otto Riehl]] | ||
| (no public site) | | (no public site) | ||
| 10.1.1.3a | | 10.1.1.3a | ||
+ | | 11.1.2 | ||
+ | | DE, EN, ES, FR, PT | ||
+ | |- | ||
+ | | [https://www.rintoulbowman.com/ Rintoul/Bowman Family] | ||
+ | | [[User:Adrintoul|Andrew Rintoul]] | ||
+ | | Public/Private | ||
+ | | 10.1.1.3c | ||
+ | | 12.0 | ||
+ | | EN, DE, ES, FR | ||
+ | |- | ||
+ | | [http://racine-ad.fr/TNG/index.php Racine d'Alsace] | ||
+ | | [[User:Louis42|J-Louis Valory]] | ||
+ | | Public/Private - T17 customized | ||
+ | | 10.1.1.3d | ||
+ | | 12.0.2 | ||
+ | | FR | ||
+ | |- | ||
+ | | [https://roeljongman.nl Stamboom Jongman] | ||
+ | | [[User:Roelj|Roel Jongman]] | ||
+ | | Public/Private - Template 9 | ||
+ | | 10.1.1.3d | ||
+ | | 10.1.3 | ||
+ | | NL, EN, DE | ||
+ | |- | ||
+ | | local computer | ||
+ | | [[Tadeko]] | ||
+ | | local computer | ||
+ | | 10.1.1.3d | ||
| 11.0.2 | | 11.0.2 | ||
− | | DE | + | | PL |
+ | |- | ||
+ | | [https://vanseeventer.nl Familie van Seeventer] | ||
+ | | [[User:see7ter|Sandor van Seeventer]] | ||
+ | | Public site | ||
+ | | 10.1.1.3d | ||
+ | | 12.0.1 beta 2 | ||
+ | | DE/EN/NL | ||
+ | |- | ||
+ | | [http://bumbery.com/ Bumbery-Wangler] | ||
+ | | [[User:Bob|Bob Bumbery]] | ||
+ | | Public site | ||
+ | | 10.1.1.3d | ||
+ | | 11.1.2 | ||
+ | | English | ||
|- | |- | ||
− | | [http:// | + | | [http://colegenealogy.dynu.net/ Cole / Tanner Family Tree] |
− | | [[User: | + | | [[User:dlcole|David Cole]] |
− | | Public | + | | Public/Private |
− | | | + | | [[User:Dlcole|see here]] |
− | | | + | | [[User:Dlcole|see here]] |
+ | | English | ||
|- | |- | ||
+ | | [https://www.eskeland.net/tng/ Eskeland and Haugland Family] | ||
+ | | [[User:helland71]] | ||
+ | | Private | ||
+ | | 10.1.1.3d | ||
+ | | 12.0.2 | ||
+ | | NO, EN | ||
|} | |} | ||
Line 274: | Line 333: | ||
[[Category:Mods for TNG v10]] | [[Category:Mods for TNG v10]] | ||
[[Category:Mods for TNG v11]] | [[Category:Mods for TNG v11]] | ||
+ | [[Category:Mods for TNG v12]] | ||
[[Category:genlib.php mods]] | [[Category:genlib.php mods]] |
Revision as of 10:31, 13 January 2019
Downloads of Count Ancestors n Descendants 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 | ||
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
|
Count Ancestors (and) Descendants | ||||
---|---|---|---|---|
Summary | Show number of AnD under the person's name in getperson.php | |||
Validation | ||||
Mod Updated | 9 Jul 2017 | |||
Download link | for
| |||
Download stats | Click here | |||
Author(s) | Erik Hoppe | |||
Homepage | Count Ancestors n Descendants (this page) | |||
Mod Support | TNG Community Forums: TNG Specific - Code Discussion - Addons | |||
Contact Developer | ||||
Latest Mod | 10.1.1.3d | |||
Min TNG V | 10.1.1 | |||
Max TNG V | 12.x | |||
Files modified | ||||
Related Mods | ||||
Notes |
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
Requirements
TNG version: | ≥ 10.1.1 |
- 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 v10.1.1)
Installation
- Click on the download link, shown in the summary in the upper right corner of the page.
- Un-zip the file.
- Move/copy/FTP the un-zipped .cfg file to the mods folder of your TNG system.
- 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
- Replace all affected files with the copies you made before the installation.
- TNG Community Forums: TNG Specific - Code Discussion - Addons
Custom Text Additions
Note: The config file includes the English language custom text. If the German, Spanish, Dutch, French and/or Swedish texts are present in your system translations will be added.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.
English custom text For Reference Only!
$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)
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and all its tables, you should
- click the Uninstall button to uninstall the mod and then
- click the Delete button to delete the config file from the mods folder.
Revision History
Version | Date | Description |
---|---|---|
V10.1.1.3d | 9 July 2017 | Corrected Dutch translation kindly provided by Bernard Wortelboer. |
V10.1.1.3c | 11 May 2017 | Was making an empty line in genlib.php making it incopatible w/ a future mod of mine. Thanks to Ken Roy for the suggested change. |
V10.1.1.3a | 17 Sep 2016 | Added Spanish, Dutch and French translations, kindly provided By Graham Chamberlain. |
V10.1.1.3 | 4 May 2016 | Prevented the mod to count persons in duplicate branches, e.g. cousins making a family. |
V10.1.1.2d | 24 July 2015 | Text changed from "our family tree" to "this family tree" by several requests. |
V10.1.1.2c | 15 June 2015 | Reported to not install (thanks Rick Hooley). Solved. |
V10.1.1.2b | 10 June 2015 | Clumsy solution for the below made it Crash in some situations. |
V10.1.1.2 | 9 June 2015 | Could not be installed after Mobile Media mod. Now can. |
V10.1.1.1 | 29 May 2015 | Added the MM Edit Option to set the counter limit |
V10.1.1.0b | 19 May 2015 | Changes in the German text only (Thanks Hendrik M.) |
V10.1.1.0 | 17 May 2015 | Introduction. |
Visualization of this mod (v10.1.1.2d)
Some examples of texts: |
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 - Mod not visible unless logged in | 10.1.1.3d | 11.1.2 | EN, DE, SE |
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, DE, RU |
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 | Public Site | 10.1.1.3d | 12.0 | DA,EN |
Families all over the World | Hans Weebers | Public/Private | 10.1.1.2d | 11.0.0.0 | NL/DE/ENG/(FR) |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private, modified | 10.1.1.3d | See Here | EN,DE,CS,ES |
Chamberlain & Eidenbenz Genealogy | Graham Chamberlain | Public Site with some restrictions for non-registered users |
10.1.1.3 | 12.0.1 | EN,NL,FR,DE,ES |
The Dutton's of Vermont | Darrin Dutton | Public site | 10.1.1.3 | 11.0.2 | 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 | Tadeko | local computer | 10.1.1.3d | 11.0.2 | PL |
Familie van Seeventer | Sandor van Seeventer | Public site | 10.1.1.3d | 12.0.1 beta 2 | DE/EN/NL |
Bumbery-Wangler | Bob Bumbery | Public site | 10.1.1.3d | 11.1.2 | English |
Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | English |
Eskeland and Haugland Family | User:helland71 | Private | 10.1.1.3d | 12.0.2 | NO, EN |
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
- genlib.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/Spanish/cust_text.php - if present
- languages/Spanish-UTF8/cust_text.php - if present
- languages/Dutch/cust_text.php - if present
- languages/Dutch-UTF8/cust_text.php - if present
- languages/French/cust_text.php - if present
- languages/French-UTF8/cust_text.php - if present
- languages/Swedish/cust_text.php - if present
- languages/Swedish-UTF8/cust_text.php - if present