Difference between revisions of "Relationship to Site Owner Mod"
(Display change) |
|||
(83 intermediate revisions by 20 users not shown) | |||
Line 3: | Line 3: | ||
| mod_summary = Adds a line to the getperson.php page if the person displayed is related to a single, predefined person - typically this would be the Site Owner - in the database. | | mod_summary = Adds a line to the getperson.php page if the person displayed is related to a single, predefined person - typically this would be the Site Owner - in the database. | ||
| mod_validation = XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | | mod_validation = XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | ||
− | | download_link = [ | + | | mod_last_update = 25 Jan 2022 |
− | + | | download_link = [https://lisaandroger.com/downloads/download-info/relationship-to-site-owner-tng-14/ TNG 14.0.0.8 Relationship to Site Owner Mod]{{Tv140}}<hr style="clear: both;"/>[https://lisaandroger.com/downloads/download-info/tng-11-0-relationship-to-site-owner-mod/ TNG 12.0.0.7 Relationship to Site Owner Mod]{{Tv1311}}{{Tv130}}{{Tv120}}<hr style="clear: both;"/>[https://lisaandroger.com/download/3561/?version=11-0-0-2 TNG 11.0.0.2 Relationship to Site Owner Mod] for {{Tv110}}<hr style="clear: both;"/>[https://lisaandroger.com/downloads/download-info/tng-10-1-relationship-to-site-owner-mod/ TNG 10.1.0 Relationship to Site Owner Mod]{{tv1010}}<hr style="clear: both;"/>[https://lisaandroger.com/downloads/download-info/tng-10-0-relationship-to-site-owner-mod/ TNG 10.0.0 Relationship to Site Owner Mod]{{tv100}}<hr style="clear: both;"/> [https://lisaandroger.com/downloads/download-info/tng-9-2-2-relationship-to-site-owner-mod/ TNG 9.2.2 Relationship to Site Owner Mod]{{Tv922}}<hr style="clear: both;"/>[https://lisaandroger.com/downloads/download-info/tng-9-1-relationship-to-site-owner-mod/ TNG 9.1.x Relationship to Site Owner Mod]{{Tv91}} | |
+ | | download_stats = | ||
| mod_author = Roger Moffat - based on relationship.php by Darrin Lythgoe as part of TNG | | mod_author = Roger Moffat - based on relationship.php by Darrin Lythgoe as part of TNG | ||
| mod_url = [[Relationship to Site Owner Mod]] (This page) | | mod_url = [[Relationship to Site Owner Mod]] (This page) | ||
− | | mod_support = [http:// | + | | mod_support = [http://tng.community/ TNG Community Forums] |
− | | mod_version = v10.0.0.0 for TNG V10<br />v9.2.2.0 for TNG V9.2.2<br />v9.1.0.1 for TNG V9.1 | + | | mod_contact =[http://tng.community/ TNG Community Forums] |
+ | | mod_version = v14.0.0.8 for TNG 14<br />v12.0.0.7 for TNG V12.x and TNG V13.x<br />v10.1.0.0 for TNG V10.1.x and TNG V11.x.x<br />v10.0.0.0 for TNG V10.0.x<br /> v9.2.2.0 for TNG V9.2.2<br />v9.1.0.1 for TNG V9.1 | ||
| use_mod_manager = Yes | | use_mod_manager = Yes | ||
| min_TNG_ver = 9.1.0 | | min_TNG_ver = 9.1.0 | ||
− | | max_TNG_ver = | + | | max_TNG_ver = 14.0.0 |
| TNG_file_list = getperson.php<br/>genlib.php<br>languages/English/cust_text.php<br>languages/English-UTF8/cust_text.php | | TNG_file_list = getperson.php<br/>genlib.php<br>languages/English/cust_text.php<br>languages/English-UTF8/cust_text.php | ||
| related_mods = [[Relationship Display Mod]] by Jeff Robison | | related_mods = [[Relationship Display Mod]] by Jeff Robison | ||
| notes = | | notes = | ||
− | }} | + | }}{| style="margin-right:0.5 em;" align="right" |
− | + | | __TOC__ | |
− | {|align=right | + | |} |
− | |||
− | |||
− | |__TOC__ | ||
− | |} | ||
== Purpose of the Mod == | == Purpose of the Mod == | ||
Line 42: | Line 40: | ||
For TNG 9 up to TNG 9.2.1 | For TNG 9 up to TNG 9.2.1 | ||
Download the .cfg file from: | Download the .cfg file from: | ||
− | * [http://lisaandroger.com/downloads/ | + | * [http://lisaandroger.com/downloads/download-info/tng-9-1-relationship-to-site-owner-mod/ TNG 9.1 Relationship to Site Owner Mod] |
For TNG 9.2.2 | For TNG 9.2.2 | ||
Download the .cfg file from: | Download the .cfg file from: | ||
− | * [http://lisaandroger.com/downloads/? | + | * [http://lisaandroger.com/downloads/download-info/tng-9-2-2-relationship-to-site-owner-mod/ TNG 9.2.2 Relationship to Site Owner Mod] |
+ | |||
+ | For TNG 10.0.0 up to TNG 10.0.3 | ||
+ | Download the .cfg file from: | ||
+ | * [http://lisaandroger.com/downloads/download-info/tng-10-0-relationship-to-site-owner-mod/ TNG 10.0.0 Relationship to Site Owner Mod] | ||
+ | |||
+ | For TNG 10.1.0 up to | ||
+ | Download the .cfg file from: | ||
+ | * [http://lisaandroger.com/downloads/download-info/tng-10-1-relationship-to-site-owner-mod/ TNG 10.1.0 Relationship to Site Owner Mod] | ||
+ | |||
+ | For TNG 11.0.0 up to | ||
+ | Download the .cfg file from: | ||
+ | * [http://lisaandroger.com/download/3561/?version=11-0-0-2 TNG 11.0.0 Relationship to Site Owner Mod] | ||
+ | |||
+ | For TNG 12.0.0 up to | ||
+ | Download the .cfg file from: | ||
+ | * [http://lisaandroger.com/downloads/download-info/tng-11-0-relationship-to-site-owner-mod/ TNG 12.0.0 Relationship to Site Owner Mod] | ||
− | For TNG | + | For TNG 14.0.0 up to |
Download the .cfg file from: | Download the .cfg file from: | ||
− | * [ | + | * [https://lisaandroger.com/downloads/download-info/relationship-to-site-owner-tng-14/ TNG 14.0.0 Relationship to Site Owner Mod] |
==Revision History== | ==Revision History== | ||
Line 59: | Line 73: | ||
! Date | ! Date | ||
! Description | ! Description | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 6 | + | | 14.0.0.8 |
− | | | + | | style="white-space: nowrap;"|25 Jan 2022 |
− | *Change required for TNG 10.0.0. | + | | Updated for TNG 14 |
− | |- | + | *keep the relationship calculation code in line with TNG's relationship.php |
− | | | + | |
− | | 8 Aug 2013 | + | |- style="vertical-align:top;" |
− | | | + | | 12.0.0.7 |
− | + | | style="white-space: nowrap;"|25 Jan 2022 | |
− | |- | + | | Updated |
− | | | + | *keep the relationship calculation code in line with TNG's relationship.php |
− | | 24 May 2013 | + | |
− | | | + | |- style="vertical-align:top;" |
− | + | | 12.0.0.6 | |
− | |- | + | | style="white-space: nowrap;"|29 Oct 2020 |
− | | | + | | Updates include: |
− | | 10 | + | *ability to store settings outside the .cfg file so that they survive across Mod updates. |
− | | | + | *Thanks to [[User:KenRoy|Ken Roy]] for this change that allows the settings for primary person ID and treeID to persist across updates to the Mod |
− | + | ||
+ | |- style="vertical-align:top;" | ||
+ | | 12.0.0.5 | ||
+ | | style="white-space: nowrap;"|26 Oct 2020 | ||
+ | | Updated | ||
+ | *latest relationship.php to correctly calculate more distant relationship | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 12.0.0.4 | ||
+ | | style="white-space: nowrap;"|23 Oct 2020 | ||
+ | | Updated | ||
+ | *include Czech, Dutch, and German translations | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 12.0.0.3 | ||
+ | | style="white-space: nowrap;"|3 Oct 2020 | ||
+ | | Updated | ||
+ | *TNG 12+ Mod Manager syntax | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 11.0.0.2 | ||
+ | | style="white-space: nowrap;"|15 Oct 2018 | ||
+ | | Fix to show half cousins | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 11.0.0.1 | ||
+ | | style="white-space: nowrap;"|Jun 2016 | ||
+ | | Minor changes for TNG 11 | ||
+ | |||
+ | |- valign="top" | ||
+ | | style="white-space: nowrap;"|10.1.0.1 | ||
+ | | style="white-space: nowrap;"|30 Aug 2015 | ||
+ | | Minor tweak to encode the & symbol so the Mod passes validation. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.1.0.0 | ||
+ | | style="white-space: nowrap;"|13 Feb 2015 | ||
+ | | Change required for TNG 10.1.0 changing from mysql_ queries to mysqli_ queries. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.0.0.0 | ||
+ | | style="white-space: nowrap;"|6 Feb 2014 | ||
+ | | Change required for TNG 10.0.0 | ||
+ | * now includes a "not related to" statement if there is no relationship. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 9.2.2.0 | ||
+ | | style="white-space: nowrap;"|8 Aug 2013 | ||
+ | | Change required for TNG 9.2.2. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 9.1.0.1 | ||
+ | | style="white-space: nowrap;"|24 May 2013 | ||
+ | | Page load problem when switching language fixed - thanks Jeff Robison for the heads up. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 9.1.0.0 | ||
+ | | style="white-space: nowrap;"|10 Mar 2013 | ||
+ | | Relationship calculated AFTER the page has loaded | ||
*Configurable list of bots so the relationship won't' calculate when a bot is accessing the page. | *Configurable list of bots so the relationship won't' calculate when a bot is accessing the page. | ||
*Parameters to set the Tree and PersonID to calculate the relationship from. | *Parameters to set the Tree and PersonID to calculate the relationship from. | ||
|} | |} | ||
− | == | + | ==Installation== |
− | # Download the | + | # Download the appropriate zip file as shown in the summary in the upper right corner of the page. |
− | # Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install. | + | # 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. | ||
# Once installed, you need to click on the Edit button beside the Mod in Mod Manager to set the PersonID and Tree for the person relationships are calculated from. (See screen shot below). The Edit screen for the Mod allows you to set: | # Once installed, you need to click on the Edit button beside the Mod in Mod Manager to set the PersonID and Tree for the person relationships are calculated from. (See screen shot below). The Edit screen for the Mod allows you to set: | ||
Line 95: | Line 168: | ||
== In the event of a problem == | == In the event of a problem == | ||
* 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 | ||
+ | * Copy the backup of the affected files back to your TNG directory | ||
+ | * Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG forum]. | ||
== Custom Text Additions == | == Custom Text Additions == | ||
− | '''Note:''' The config file | + | '''Note:''' The config file includes the English, Czech, Dutch and German languages. Specifically English, English-UTF8, Czech-UTF8, Dutch, Dutch-UTF8, German, German-UTF8. If you support other languages you can either: |
# modify the config file to add the custom text for those other languages or | # 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. e.g. if your site uses ''' | + | # manually add the following custom text to each of your other languages with appropriate translations. e.g. if your site uses '''Spanish-UTF8''' you'd add the translations to your languages/'''Spanish-UTF8'''/cust_text.php file |
− | |||
− | <syntaxhighlight lang="php | + | <syntaxhighlight lang="php" > |
// For Relationship to SiteOwner line on getperson.php | // For Relationship to SiteOwner line on getperson.php | ||
$text['siteowner'] = $dbowner . " (the owner of this site)"; | $text['siteowner'] = $dbowner . " (the owner of this site)"; | ||
$text['clicktoviewrelationship'] = "Click to View Relationship"; | $text['clicktoviewrelationship'] = "Click to View Relationship"; | ||
− | $text[' | + | $text['within'] = " within "; |
+ | $text['isnotrelatedto'] = " is not related to "; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | and then provide the appropriate translations. | ||
+ | |||
+ | Note that the Mod's .cfg file is saved as UTF-8 (no BOM), so if your site is running latin1/Windows collation, then you will need to open the .cfg file in a Text Editor and save it as Windows/Latin1 (or something similar) before uploading it to your site. This is to preserve any accented characters you might be using. This is also the reason that the Mod supports Dutch and German both Latin1 and UTF-8, but not Czech (Latin1) - there are no accented characters in the Dutch and German (and of course English) translations, but there are accented characters in the Czech translations. | ||
== Visualization of this mod == | == Visualization of this mod == | ||
Line 129: | Line 208: | ||
====Admin Configuration Options==== | ====Admin Configuration Options==== | ||
+ | ===TNG 9 & 10.0.x=== | ||
The configuration options from within Mod Manager to change the person from whom relationships are calculated, how many relationships to calculate if there's more than one between the 2 people, and the list of bots from which the line is hidden | The configuration options from within Mod Manager to change the person from whom relationships are calculated, how many relationships to calculate if there's more than one between the 2 people, and the list of bots from which the line is hidden | ||
{| | {| | ||
| | | | ||
|[[File:RelationshipToSiteOwnerConfiguration.png|right]] | |[[File:RelationshipToSiteOwnerConfiguration.png|right]] | ||
+ | |} | ||
+ | |||
+ | ===TNG 10.1.x, 11.x, 12.x, & 13.x=== | ||
+ | The configuration options from within Mod Manager to change the person from whom relationships are calculated, how many relationships to calculate if there's more than one between the 2 people, and the list of bots from which the line is hidden | ||
+ | {| | ||
+ | | | ||
+ | |[[File:RelationshipToSiteOwner_10.1.png|right]] | ||
|} | |} | ||
== TNG User sites using this mod == | == TNG User sites using this mod == | ||
− | + | ||
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
|- | |- | ||
Line 142: | Line 229: | ||
! User | ! User | ||
! Note | ! Note | ||
− | ! Mod-Version | + | ! Mod-Version |
+ | ! TNG-Version | ||
! User-language | ! User-language | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://lisaandroger.com/genealogy/getperson.php?personID=I16&tree=Roger Roger's Genealogy Online] | | [http://lisaandroger.com/genealogy/getperson.php?personID=I16&tree=Roger Roger's Genealogy Online] | ||
| [[User:TheKiwi|Roger Moffat]] | | [[User:TheKiwi|Roger Moffat]] | ||
| Mod developer (Public site) | | Mod developer (Public site) | ||
− | | | + | | 12.0.0.7 |
− | + | | 13.1.1 | |
− | | | + | |EN |
− | |- | + | |- style="vertical-align:top;" |
| [http://legacygazette.com Legacy Gazette: My Roots - My Legacy] | | [http://legacygazette.com Legacy Gazette: My Roots - My Legacy] | ||
| [[User:Mylegacy|Melissa Watson Padilla]] | | [[User:Mylegacy|Melissa Watson Padilla]] | ||
| | | | ||
− | | 9.1.0.0 | + | | 9.1.0.0 |
+ | | 9.2.1 | ||
| EN | | EN | ||
− | |||
− | |- | + | |- style="vertical-align:top;" |
| [http://teresa-goatham.me.uk/genealogy/home.php Teresa's Tree] | | [http://teresa-goatham.me.uk/genealogy/home.php Teresa's Tree] | ||
| [[User:Teresa|Teresa Goatham]] | | [[User:Teresa|Teresa Goatham]] | ||
| Public site | | Public site | ||
− | | 9.1.0.1 | + | | 9.1.0.1 |
+ | | 9.2.1 | ||
| EN | | EN | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://www.maarelweb.nl/stamboom/surnames100.php/ Van der Maarel Genealogy] | | [http://www.maarelweb.nl/stamboom/surnames100.php/ Van der Maarel Genealogy] | ||
| [[User:Edward|Edward van der Maarel]] | | [[User:Edward|Edward van der Maarel]] | ||
Line 173: | Line 264: | ||
| 10.0 | | 10.0 | ||
| EN, NL | | EN, NL | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
+ | | [http://www.overtonmedia.com/tng Steve's Family Tree] | ||
+ | | [[User:Overtsr|Steve Overton]] | ||
+ | | Private site | ||
+ | | 10.0.0.0 | ||
+ | | 10.0.0 | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://williamsfamilytree.co.uk The Williams Family Tree] | ||
+ | | [[User:RottenSod|Phil Williams]] | ||
+ | | Public Site | ||
+ | | 10.0.0.0 | ||
+ | | 10.0.3 | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.genealogywings.com/ MOTYER Family Genealogy] | ||
+ | | [[User:JMM|John Mark Motyer]] | ||
+ | | Public site | ||
+ | | [https://www.genealogywings.com/jmm_pages/My-TNG-mods.php See here] | ||
+ | | [https://www.genealogywings.com/jmm_pages/My-TNG-mods.php See here] | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.gambrillfamilytree.com/ Gambrill Family Tree] | ||
+ | | [[User:bobbyfamilytree|Bobby Gambrill]] | ||
+ | | Public site | ||
+ | | 10.1.0 | ||
+ | | 12.0 | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://justalittleleaf.co.uk Genealogy of the Weir and Drain Families] | ||
+ | | [[User:BeverleyStimpson|Beverley Stimpson]] | ||
+ | | Public Site | ||
+ | | 11.0.0.1 | ||
+ | | | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://theroadtoethel.com/genealogy/index.php The Road to Ethel] | ||
+ | | Alicia Clemmons | ||
+ | | Public site | ||
+ | | | ||
+ | | 12.0.3 | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.schuster-pippersteiner.at/genealogie/ Schuster-Pippersteiner] | ||
+ | | [[User:pipsi|Ingrid Schuster]] | ||
+ | | Public site | ||
+ | | 14.0.0.8 | ||
+ | | 14.0 | ||
+ | | DE, CZ, EN, HU | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages] | ||
+ | | [[User:Stores|Jim Holt]] | ||
+ | | Private | ||
+ | | [[User:Stores|See Here]] | ||
+ | | | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |[https://huygens-vandemoortel-ancestry.be/ Huygens - Van de Moortel] | ||
+ | |[[User:Fluffy82|Tom Huygens]] | ||
+ | |Public/Private on WordPress | ||
+ | |12.0.0.6 | ||
+ | | 13.1.2 | ||
+ | |NL | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | Von den Isert's und den Schmidt's | ||
+ | | [[User:Mabba|Madeleine Bähler-Bonomini]] | ||
+ | | Private Site - Local installation | ||
+ | | 14.0.0.8 | ||
+ | | | ||
+ | | DE | ||
+ | |} | ||
[[Category:Mods for TNG v9]] | [[Category:Mods for TNG v9]] | ||
[[Category:Mods for TNG v10]] | [[Category:Mods for TNG v10]] | ||
+ | [[Category:Mods for TNG v11]] | ||
+ | [[Category:Mods for TNG v12]] | ||
+ | [[Category:Mods for TNG v13]] | ||
+ | [[Category:Mods for TNG v14]] | ||
[[Category:getperson.php mods]] | [[Category:getperson.php mods]] | ||
[[Category:genlib.php mods]] | [[Category:genlib.php mods]] |
Latest revision as of 16:20, 14 February 2023
Relationship to Site Owner | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Summary | Adds a line to the getperson.php page if the person displayed is related to a single, predefined person - typically this would be the Site Owner - in the database. | |||||||||
Validation | XHTML compliant. | |||||||||
Mod Updated | 25 Jan 2022 | |||||||||
Download link | TNG 14.0.0.8 Relationship to Site Owner Mod
TNG 12.0.0.7 Relationship to Site Owner Mod
TNG 11.0.0.2 Relationship to Site Owner Mod for
TNG 10.1.0 Relationship to Site Owner Mod
TNG 10.0.0 Relationship to Site Owner Mod
TNG 9.2.2 Relationship to Site Owner Mod
TNG 9.1.x Relationship to Site Owner Mod
| |||||||||
Download stats | ||||||||||
Author(s) | Roger Moffat - based on relationship.php by Darrin Lythgoe as part of TNG | |||||||||
Homepage | Relationship to Site Owner Mod (This page) | |||||||||
Mod Support | TNG Community Forums | |||||||||
Contact Developer | TNG Community Forums | |||||||||
Latest Mod | v14.0.0.8 for TNG 14 v12.0.0.7 for TNG V12.x and TNG V13.x v10.1.0.0 for TNG V10.1.x and TNG V11.x.x v10.0.0.0 for TNG V10.0.x v9.2.2.0 for TNG V9.2.2 v9.1.0.1 for TNG V9.1 | |||||||||
Min TNG V | 9.1.0 | |||||||||
Max TNG V | 14.0.0 | |||||||||
Files modified | getperson.php genlib.php languages/English/cust_text.php languages/English-UTF8/cust_text.php | |||||||||
Related Mods | Relationship Display Mod by Jeff Robison | |||||||||
Notes |
Purpose of the Mod
This Mod adds a line near the top of getperson.php that indicates the relationship of the person on the page to a single, predefined individual - usually the TNG Site Owner - in the database. If there is no relationship that is also listed.
It uses JQuery to load the line after getperson.php has been loaded, so that the sometimes intensive calculations behind the relationship do not slow down the loading of getperson.php.
It does not load this line if the page is being viewed by a bot, so not letting the server get bogged down by a fast moving web bot.
It allows for configuration of:
- the single individual in the TNG Database to calculate relationships from
- a list of bots for which the line is not shown.
- how many relationships to calculate if the person and the Site Owner are related in more than one way. This is a separate setting from what is in TNG Admin for Relationships.
Developer
This Mod was developed by Roger Moffat. The relationships are calculated using a stripped down version of relationship.php - part of TNG by Darrin Lythgoe.
Downloads
For TNG 9 up to TNG 9.2.1 Download the .cfg file from:
For TNG 9.2.2 Download the .cfg file from:
For TNG 10.0.0 up to TNG 10.0.3 Download the .cfg file from:
For TNG 10.1.0 up to Download the .cfg file from:
For TNG 11.0.0 up to Download the .cfg file from:
For TNG 12.0.0 up to Download the .cfg file from:
For TNG 14.0.0 up to Download the .cfg file from:
Revision History
Version | Date | Description |
---|---|---|
14.0.0.8 | 25 Jan 2022 | Updated for TNG 14
|
12.0.0.7 | 25 Jan 2022 | Updated
|
12.0.0.6 | 29 Oct 2020 | Updates include:
|
12.0.0.5 | 26 Oct 2020 | Updated
|
12.0.0.4 | 23 Oct 2020 | Updated
|
12.0.0.3 | 3 Oct 2020 | Updated
|
11.0.0.2 | 15 Oct 2018 | Fix to show half cousins |
11.0.0.1 | Jun 2016 | Minor changes for TNG 11 |
10.1.0.1 | 30 Aug 2015 | Minor tweak to encode the & symbol so the Mod passes validation. |
10.1.0.0 | 13 Feb 2015 | Change required for TNG 10.1.0 changing from mysql_ queries to mysqli_ queries. |
10.0.0.0 | 6 Feb 2014 | Change required for TNG 10.0.0
|
9.2.2.0 | 8 Aug 2013 | Change required for TNG 9.2.2. |
9.1.0.1 | 24 May 2013 | Page load problem when switching language fixed - thanks Jeff Robison for the heads up. |
9.1.0.0 | 10 Mar 2013 | Relationship calculated AFTER the page has loaded
|
Installation
- Download the appropriate zip file as shown in the 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.
- Once installed, you need to click on the Edit button beside the Mod in Mod Manager to set the PersonID and Tree for the person relationships are calculated from. (See screen shot below). The Edit screen for the Mod allows you to set:
- ID of the person to base calculations from. Defaults to (I1)
- Tree the base person to base is in. Defaults to (tree1)
- List of "bots" excluded. Defaults to (google, yahoo, baidu, msnbot)
- Maximum number of relationships to show. A similar but separate setting is found in TNG Admin -> Setup -> Chart Settings -> Relationship -> Initial Relationships. Defaults to (5)
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
- Contact us through the TNG forum.
Custom Text Additions
Note: The config file includes the English, Czech, Dutch and German languages. Specifically English, English-UTF8, Czech-UTF8, Dutch, Dutch-UTF8, German, German-UTF8. If you support other languages you can either:
- 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. e.g. if your site uses Spanish-UTF8 you'd add the translations to your languages/Spanish-UTF8/cust_text.php file
// For Relationship to SiteOwner line on getperson.php
$text['siteowner'] = $dbowner . " (the owner of this site)";
$text['clicktoviewrelationship'] = "Click to View Relationship";
$text['within'] = " within ";
$text['isnotrelatedto'] = " is not related to ";
and then provide the appropriate translations.
Note that the Mod's .cfg file is saved as UTF-8 (no BOM), so if your site is running latin1/Windows collation, then you will need to open the .cfg file in a Text Editor and save it as Windows/Latin1 (or something similar) before uploading it to your site. This is to preserve any accented characters you might be using. This is also the reason that the Mod supports Dutch and German both Latin1 and UTF-8, but not Czech (Latin1) - there are no accented characters in the Dutch and German (and of course English) translations, but there are accented characters in the Czech translations.
Visualization of this mod
On getperson.php page
If there is a relationship, it is described:
If there is no relationship, that is stated:
Admin Configuration Options
TNG 9 & 10.0.x
The configuration options from within Mod Manager to change the person from whom relationships are calculated, how many relationships to calculate if there's more than one between the 2 people, and the list of bots from which the line is hidden
TNG 10.1.x, 11.x, 12.x, & 13.x
The configuration options from within Mod Manager to change the person from whom relationships are calculated, how many relationships to calculate if there's more than one between the 2 people, and the list of bots from which the line is hidden