Difference between revisions of "Same Person Link"
(Corrected Category.) |
|||
(95 intermediate revisions by 18 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{restricted}}{{V12_cust_text}}{{TNGmod |
− | |||
− | |||
− | }} | ||
− | {{TNGmod | ||
| mod_name = Same Person Link | | mod_name = Same Person Link | ||
| mod_summary = Adds a Same Person Link row to the Personal Information section of the Individual page (getperson.php) | | mod_summary = Adds a Same Person Link row to the Personal Information section of the Individual page (getperson.php) | ||
| mod_validation = Mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | | mod_validation = Mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | ||
− | | | + | | mod_last_update = 16 December 2022 |
− | | download_stats = [ | + | | download_link = for {{Tv140}}{{Tv130}}[http://www.royandboucher.com/ccount/click.php?id=682&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v13.0.0.7b.zip]<hr style="clear: both;"/>for{{Tv120}}[http://www.royandboucher.com/ccount/click.php?id=475&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v12.0.0.5.zip]<hr style="clear: both;"/>for{{Tv110}}[https://www.royandboucher.com/ccount/click.php?id=370&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v11.0.0.3.zip]<hr style="clear: both;"/><strong>Language Files</strong> for older versions<br />[https://www.royandboucher.com/ccount/click.php?id=249&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} French Language file]<br />[https://www.royandboucher.com/ccount/click.php?id=250&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Dutch Language file]<br />[https://www.royandboucher.com/ccount/click.php?id=251&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} German Language file]<br />[https://www.royandboucher.com/ccount/click.php?id=252&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} PortugueseBR Language file]<hr style="clear: both;"/> |
+ | <div class='mw-collapsible mw-collapsible-content' id='mw-customcollapsible-sb1'><span class='mw-customtoggle-sb1 mw-customtoggle-sbdiv' style='text-decoration:underline;float:right;'>[Show Previous Versions]</span></div> | ||
+ | <div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-sbdiv'> | ||
+ | for{{Tv1010}}[https://www.royandboucher.com/ccount/click.php?id=343&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v10.1.0.5a.zip]<br /> if using [[Simple SEO]] mod<hr style="clear: both;"/>for{{Tv1010}}[https://www.royandboucher.com/ccount/click.php?id=258&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v10.1.0.5.zip]<hr style="clear: both;"/>for{{Tv103}}[https://www.royandboucher.com/ccount/click.php?id=192&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v10.0.3.3.zip]<hr style="clear: both;"/>for{{Tv100}}[https://www.royandboucher.com/ccount/click.php?id=187&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v10.0.0.1.zip]<br>Language files are same as V9<hr style="clear: both;"/>for{{Tv91}}[https://www.royandboucher.com/ccount/click.php?id=101&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v9.1.0.6.zip]<div class='mw-customtoggle-sb1 mw-customtoggle-sbdiv' style='text-decoration:underline;float:right;'>[Hide Previous Versions]</div></div> | ||
+ | | download_stats = [https://www.royandboucher.com/ccount/index.php?action=stats&id=99-100-101-102-107-108-164-187-192-213-249-250-251-252-258-343-359-367-369-370-475-566-603-682 View download counts]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&groupid=7 View Multi-Tree mods statistics] | ||
| mod_author = Ken Roy<br />with help from Mike Bluett, Bart Degryse, and Roger Moffat | | mod_author = Ken Roy<br />with help from Mike Bluett, Bart Degryse, and Roger Moffat | ||
− | | | + | | mod_url = [[Same Person Link]] (this page) |
− | | mod_support = [http:// | + | | mod_support = [http://tng.community/ TNG Community Forums] |
− | | mod_contact = [http:// | + | | mod_contact = [http://tng.community/ TNG Community Forums] |
− | | mod_version = 9.1.0.6 for TNG V9.1 | + | | mod_version = 13.0.0.7b for TNG V13+<br />12.0.0.5 for TNG V12+<br />11.0.0.3 for TNG V11<br />10.1.0.5a for TNG V10.1 if using [[Simple SEO]] mod<br />10.1.0.5 for TNG V10.1<br />10.0.3.3 for TNG V10.0.3<br />10.0.0.1 for TNG V10<br />9.1.0.6 for TNG V9.1-v9.2.2 |
| min_TNG_ver = 9.1.0 | | min_TNG_ver = 9.1.0 | ||
− | | max_TNG_ver = | + | | max_TNG_ver = 14+ |
| TNG_file_list = See [[Same Person Link#TNG Modules Impacted|TNG Modules Impacted]] | | TNG_file_list = See [[Same Person Link#TNG Modules Impacted|TNG Modules Impacted]] | ||
− | | related_mods | + | | related_mods = [[Tree ID Mod]] |
| notes = Requires creation of the Same Person Link table | | notes = Requires creation of the Same Person Link table | ||
− | }} | + | }}{| style="margin-right:0.5 em; float:right;" |
− | {| style="margin-right:0.5 em; float:right;" | ||
|__TOC__ | |__TOC__ | ||
|} | |} | ||
<!-- French Language file = same_person_link_v9.1.0.5_french.zip --> | <!-- French Language file = same_person_link_v9.1.0.5_french.zip --> | ||
<!-- Dutch Language file = same_person_link_v9.1.0.5_dutch.zip --> | <!-- Dutch Language file = same_person_link_v9.1.0.5_dutch.zip --> | ||
+ | <!-- German Language file = same_person_link_v9.1.0.0_german.zip --> | ||
+ | <!-- Portuguese Language file = same_person_link_v9.1.0.0_portuguese.zip --> | ||
+ | <!-- French Language file = http://tng.lythgoes.net/wiki/images/e/e7/Same_person_link_v9.1.0.6_french.zip --> | ||
+ | <!-- Dutch Language file = http://tng.lythgoes.net/wiki/images/0/02/Same_person_link_v9.1.0.6_dutch.zip --> | ||
+ | <!-- German Language file = http://tng.lythgoes.net/wiki/images/4/42/Same_person_link_v9.1.0.1_german.zip --> | ||
+ | <!-- Portuguese Language file = http://tng.lythgoes.net/wiki/images/5/52/Same_person_link_v9.1.0.1_portuguese.zip --> | ||
+ | <!-- {{TNGver | ||
+ | |ver=9110 | ||
+ | |notes=The [[Same Person Link]] mod is <span style="color: red">'''only available to TNG 9.1 and above'''</span> environments, due to the change in the javascript framework.<br />'''There are no intentions of ever attempting to link media between trees'''.<br />'''<span style="color: red">The mod requires that you create the TNG Same Person Link table (tng_sameperson) after installation</span>''' before you can add same person links between two or more trees on your site, or an external link to the same person on a cousin's TNG site or an external link to another web site that contains information on the person. | ||
+ | }} --> | ||
== Introduction == | == Introduction == | ||
− | Since | + | Since TNG does not support merging individuals from one tree into another tree, the [[Same Person Link]] mod was developed to show the connections. |
A '''Same Person Link''' is a record that shows two people as the same person: | A '''Same Person Link''' is a record that shows two people as the same person: | ||
− | * | + | * in a different tree on the same TNG site - in this case the reciprocal link will be automatically displayed when viewing the person in the other tree |
* on a different TNG web site | * on a different TNG web site | ||
* or on a different non-TNG web site. | * or on a different non-TNG web site. | ||
− | External | + | External site links are not restricted to TNG sites only but can be created to any other web site that contains information on the person. |
=== Same Person Links === | === Same Person Links === | ||
Line 43: | Line 52: | ||
* a person on another web site | * a person on another web site | ||
− | When | + | When linking to a personID in another tree on your own web site, the easiest way to find the needed personIDs is to use the Find Person dialog within the Same Person Link dialogs. You can also use the Search People dialog. To make it easier to find the needed information, you might want to install the [[Tree ID Mod]] which adds the treeID to the search results. |
=== Restrictions === | === Restrictions === | ||
Line 55: | Line 64: | ||
If you have the same person in multiple trees on your site, it will require that you create multiple Same Person Links as well as create them from tree 2 pointing to the same person in tree 3, 4, etc. | If you have the same person in multiple trees on your site, it will require that you create multiple Same Person Links as well as create them from tree 2 pointing to the same person in tree 3, 4, etc. | ||
+ | === Deleting a Person With Links Assigned === | ||
+ | |||
+ | When deleting person's who have same person links assigned, | ||
+ | # At first, delete the same person link, and | ||
+ | # then the person. | ||
+ | Otherwise the same person link remains as orphan link in the database. If possible, set Setup >> Configuration >> General Settings >> Re-use deleted IDs to "No" to avoid that possible orphaned Same Person Links will be automatically re-assigned to newly created persons. | ||
+ | |||
+ | === Known Problems === | ||
+ | |||
+ | If your site is still setup using a [[TNG charset]] of ISO-8859-? with a latin1 encoded database, the AJAX dialogs used in this mod will mangle the accents used in names and links. | ||
+ | |||
+ | I have not found a way to fix this problem and so am indicating that the mod is supported only in UTF-8 environments (unless you do not use any accents). See [[Changing to UTF-8]] on how to convert your ISO-8859-? and latin1 database to a UTF-8 environment | ||
== Developer == | == Developer == | ||
Mod developer is [[User:Ken Roy|Ken Roy]] with extensive help from<br /> | Mod developer is [[User:Ken Roy|Ken Roy]] with extensive help from<br /> | ||
− | : Mike Bluett to debug the AJAX dialogs, | + | : [[User:Mbluett|Mike Bluett]] to debug the AJAX dialogs, |
− | : Bart Degryse to get the | + | : [[User:Roebie|Bart Degryse]] to get the Same Person Link table changes borrowed his [[Persistent Bookmarks]] mod working correctly, |
− | : Several beta testers, especially Roger Moffat who updated the Help screen, tweaked the External Link display sentence, and helped convert the mod to Same Person Link to better describe its functionality | + | : Several beta testers, especially [[User:TheKiwi|Roger Moffat]] who updated the Help screen, tweaked the External Link display sentence, and helped convert the mod to Same Person Link to better describe its functionality |
+ | : Danish translations provided by [[User:Mfenger|Mogens C. Fenger]] | ||
+ | : German and PortugueseBR translations provided by [[User:carheu|Carlos A. Heuser]] | ||
==Revision History== | ==Revision History== | ||
− | + | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | |
− | {| border=" | ||
|- | |- | ||
− | ! Version | + | ! Mod Version |
! Date | ! Date | ||
! Contents | ! Contents | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 26 | + | | 13.0.0.7b |
+ | | style="white-space: nowrap;"|17 Dec 2022 | ||
+ | | updated to eliminate PHP Notice: Undefined variable: newtable on first time install. If table is already created there is not need to update to this version. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 13.0.0.7a | ||
+ | | style="white-space: nowrap;"|6 Jun 2021 | ||
+ | | updated to eliminate the Install depdendency with the [[Make associations sortable]] mod. Our thanks to Michel Kirschr for providing the mod change | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 13.0.0.7 | ||
+ | | style="white-space: nowrap;"|2 Nov 2020 | ||
+ | | updated to | ||
+ | * prevent Same Person Link table from being created with the wrong collation sequence and position for MySQL 8. Our thanks to Brent Hemphill for providing the code | ||
+ | * eliminate PHP warnings and notices in PHP 7.4+ | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 13.0.0.6 | ||
+ | | style="white-space: nowrap;"|23 Sep 2020 | ||
+ | | updated for new TNG v13 | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 12.0.0.5 | ||
+ | | style="white-space: nowrap;"|9 Feb 2019 | ||
+ | | updated for new TNG v12 custom text file standards | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 11.0.0.3 | ||
+ | | style="white-space: nowrap;"|16 Apr 2016 | ||
+ | | Remove some mods to admin_genconfig.php to resolve the warning issued when saving the General Settings. Fixed the code to create the Same Person Link table for first time installs. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 11.0.0.2 | ||
+ | | style="white-space: nowrap;"|9 Apr 2016 | ||
+ | | Fixed for first time installs using Mod Manager. There are no coding changes, so if you have installed V11.0.0.1, just download V11.0.0.2 to have the latest version and save it in your mods folder. It will show installed. Then delete the v11.0.0.1 file. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 11.0.0.1 | ||
+ | | style="white-space: nowrap;"|23 Mar 2016 | ||
+ | | Fixed the typo in one of the copy statements in V11.0.0.1 | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 11.0.0.0 | ||
+ | | style="white-space: nowrap;"|7 Mar 2016 | ||
+ | | Updated for TNG 11. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.1.0.5a | ||
+ | | style="white-space: nowrap;"|2 Nov 2015 | ||
+ | | Only cfg file was updated to resolve a conflict introduced by the [[Simple SEO]] mod. There were no code changes made in subfolder modules so it was not updated to expedite posting of this new version. | ||
+ | If you do not use the [[Simple SEO]] mod, there is no need to upgrade to this version of the mod. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.1.0.5 | ||
+ | | style="white-space: nowrap;"|25 Jan 2015 | ||
+ | | Updated for TNG 10.1. Changes required in creating new Same Person Link table, if one did not exist. | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.1.0.4 | ||
+ | | style="white-space: nowrap;"|11 Jan 2015 | ||
+ | | Updated for MySQLi changes and Mod Manager updates in TNG 10.1 | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.0.3.3 | ||
+ | | style="white-space: nowrap;"|23 Aug 2014 | ||
+ | | Updated for Mod Manager Upgrade testing targeted for TNG v10.0.3 | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.0.0.1 | ||
+ | | style="white-space: nowrap;"|28 Apr 2014 | ||
+ | | Updated to remove the hard-code tng_trees table and to provide values for Not Null fields required by MySQL 5.5 | ||
+ | Changes were provided by Ian Fettes | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 10.0.0.0 | ||
+ | | style="white-space: nowrap;"|6 Feb 2014 | ||
+ | | Updated for TNG V10 table layout change in Admin >> Setup >> General Settings | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 9.1.0.6 | ||
+ | | style="white-space: nowrap;"|26 Jan 2013 | ||
| Fix problem where mysql_free_result was not within the if statement checking for Living or Private on Living and Private pages when not logged in | | Fix problem where mysql_free_result was not within the if statement checking for Living or Private on Living and Private pages when not logged in | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 25 | + | | 9.1.0.5 |
+ | | style="white-space: nowrap;"|25 Jan 2013 | ||
| | | | ||
* renamed the mod to Same Person Link | * renamed the mod to Same Person Link | ||
Line 85: | Line 188: | ||
* changed the URL to be the complete URL. For an external TNG site this includes the getperson.php?personID= and tree= to position directly to the person | * changed the URL to be the complete URL. For an external TNG site this includes the getperson.php?personID= and tree= to position directly to the person | ||
* increased the size of the Same Person Link Note field | * increased the size of the Same Person Link Note field | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 15 | + | | 9.1.0.4 |
+ | | style="white-space: nowrap;"|15 Jan 2013 | ||
| | | | ||
* Added Edit parameter to control whether Same Person Links open in a separate window (defaults to No) | * Added Edit parameter to control whether Same Person Links open in a separate window (defaults to No) | ||
* Fixed Add Same Person Links dialog so that the TreeID and Treename for the first tree in the pull down list is already primed | * Fixed Add Same Person Links dialog so that the TreeID and Treename for the first tree in the pull down list is already primed | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 14 | + | | 9.1.0.3 |
+ | | style="white-space: nowrap;"|14 Jan 2013 | ||
| Initial beta test release of the mod for TNG 9.1 | | Initial beta test release of the mod for TNG 9.1 | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 15 | + | | 9.1.0.2 |
+ | | style="white-space: nowrap;"|15 Dec 2012 | ||
| Initial test version of the mod for TNG 9.1 was never released | | Initial test version of the mod for TNG 9.1 was never released | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 5 | + | | 9.0.0.1 |
+ | | style="white-space: nowrap;"|5 Oct 2012 | ||
| Initial test version of the mod was never released | | Initial test version of the mod was never released | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 6 | + | | 9.0.0.0 |
+ | | style="white-space: nowrap;"|6 Jun 2012 | ||
| Initial version of the mod was never released since you had to manually create the table entries | | Initial version of the mod was never released since you had to manually create the table entries | ||
|} | |} | ||
== Automated Install == | == Automated Install == | ||
− | |||
# Download the appropriate mod version from the status box above. | # Download the appropriate mod version from the status box above. | ||
− | # Extract the zip file into your '''/mods''' folder (unzip the .zip file and upload the | + | # Extract the zip file into your '''/mods''' folder (unzip the .zip file and upload the same_person_link_v9.x.x.x.cfg file and the same_person_link folder to your site's '''/mods''' folder.) |
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] | # Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] | ||
== Upgrade to new version == | == Upgrade to new version == | ||
− | # Remove the existing ''' | + | # Remove the existing '''same_person_link.cfg''' |
# Install the new version of the mod using the [[Same Person Link#Automated Install|Automated Install]] procedure | # Install the new version of the mod using the [[Same Person Link#Automated Install|Automated Install]] procedure | ||
+ | == First Time Post Installation == | ||
− | = | + | The following apply to <span style="color: red">'''first time install only'''</span>. |
− | {| | + | {{TNG 10.1.3|and before}} |
− | + | * In TNG V10.1.3 and before, use Admin >> Setup >> General Settings >> Table Names to create the tng_sameperson table by clicking the '''Create''' button '''<span style="color: red">after installing the Same Person Link mod</span>''' | |
− | + | ::{| | |
− | |||
− | : | ||
|[[File:Same_person_link_table_create.png]] | |[[File:Same_person_link_table_create.png]] | ||
− | | | + | |} |
− | | | + | : once the Same Person Link table (tng_sameperson) is created the button is changed to '''Rename''' in the mod versions prior to TNG V11 |
− | : If you forget to create the Same Person Link table, when you access an | + | |
+ | {{TNG 11.0.0|and after}} | ||
+ | * In TNG V11 and after, | ||
+ | :1. Use the Mod Manager '''Create Same Person Table''' button to create the required tng_sameperson table '''<span style="color: red">after installing the Same Person Link mod</span>''' | ||
+ | ::{| | ||
+ | |[[File:Same_person_first_time_install.png]] | ||
+ | |} | ||
+ | : '''<span style="color: red">If you forget to create the Same Person Link table, when you access an individual page, you will get an error from the new same person links query added to getperson.php</span>''' | ||
+ | ::{| | ||
|[[File:Same_person_link_table_not_created.png]] | |[[File:Same_person_link_table_not_created.png]] | ||
− | | | + | |} |
− | + | :2. If you want the Same Person Links on your own site to open in a new window, go to the Mod Manager and using Edit Option change the option from N to '''Y''' | |
− | + | ::{| | |
|[[File:Same_person_link_edit_options.jpg]] | |[[File:Same_person_link_edit_options.jpg]] | ||
− | |||
− | |||
− | |||
|} | |} | ||
− | + | :3. You must do a force page reload after installing the mod to get the updated selectutil.js file. See [[Bypassing Browser Cache]] | |
− | |||
− | |||
== Custom Text Additions == | == Custom Text Additions == | ||
Line 151: | Line 260: | ||
'''Note''' that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages. | '''Note''' that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages. | ||
− | The following custom text will be added to your English/cust_text.php file by this mod. If you are using other languages, you must add these lines to each of your language cust_text.php files with appropriate | + | The following custom text will be added to your English/cust_text.php file by this mod. If you are using other languages, you must add these lines to each of your language cust_text.php files with appropriate translations of course. |
− | |||
− | <syntaxhighlight lang="php" | + | <syntaxhighlight lang="php" > |
// Same Person Link default localization for table maintenance | // Same Person Link default localization for table maintenance | ||
$admtext['sameperson'] = 'Same Person Link'; | $admtext['sameperson'] = 'Same Person Link'; | ||
Line 207: | Line 315: | ||
If you would prefer that the Individual (getperson.php) page displays a different row heading and a slightly different sentence, you could install a custom mod after installing the Same Person Link mod to override some of the custom text variables. This technique eliminates the Clean Up error you get on the Mod Manager screen caused by manually changing the $text variable values. For example, the following is a sample mod that would accomplish this without having to modify the Same Person Link mod source and show both mods as installed. | If you would prefer that the Individual (getperson.php) page displays a different row heading and a slightly different sentence, you could install a custom mod after installing the Same Person Link mod to override some of the custom text variables. This technique eliminates the Clean Up error you get on the Mod Manager screen caused by manually changing the $text variable values. For example, the following is a sample mod that would accomplish this without having to modify the Same Person Link mod source and show both mods as installed. | ||
− | + | <syntaxhighlight lang="php" > | |
− | <syntaxhighlight lang="php | ||
%name:Same Person Link - mine% | %name:Same Person Link - mine% | ||
%version:v9.1.0.5% | %version:v9.1.0.5% | ||
Line 267: | Line 374: | ||
|- | |- | ||
| | | | ||
− | * click the Find icon to | + | * click the Find icon to get to the Find Person ID and then |
* Enter the last name and first name for the person in the Find dialog boxes | * Enter the last name and first name for the person in the Find dialog boxes | ||
− | * click the link for the correct person to add the PersonID to the | + | * click the link for the correct person to add the PersonID to the Same Person PersonID |
| [[File:Same_person_link_select_personID.png]] | | [[File:Same_person_link_select_personID.png]] | ||
|- | |- | ||
Line 312: | Line 419: | ||
[[File:Cross_tree_link_merge_candidates.png]] | [[File:Cross_tree_link_merge_candidates.png]] | ||
− | == | + | ==Sites using this mod== |
− | + | If you download and install this mod, please add your TNG site to the table below: | |
− | If you download and install this mod, please add TNG site to the table below | ||
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
Line 324: | Line 430: | ||
! TNG-Version | ! TNG-Version | ||
! User-language | ! User-language | ||
− | |- | + | |
− | | [ | + | |- style="vertical-align:top;" |
+ | | [https://www.royandboucher.com Our Acadian, French-Canadian, and Maine Ancestors] | ||
| [[User:Ken Roy|Ken Roy]] | | [[User:Ken Roy|Ken Roy]] | ||
− | | [ | + | | [https://www.royandboucher.com/tng/getperson.php?personID=I5996&tree=T0001 Link to another tree] and [https://www.royandboucher.com/tng/getperson.php?personID=I1788&tree=T0001 Link to another TNG site] |
− | | | + | | 13.0.0.7b |
− | | | + | | {{Tv1404}} |
| EN, FR | | EN, FR | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://genealogy.clanmoffat.org Clan Moffat Genealogy Online] | | [http://genealogy.clanmoffat.org Clan Moffat Genealogy Online] | ||
| [[User:TheKiwi|Roger Moffat]] | | [[User:TheKiwi|Roger Moffat]] | ||
| [http://genealogy.clanmoffat.org/getperson.php?personID=I77080&tree=ClanMoffat Robert Moffat] links from Clan Moffat Genealogy to Clan Moffat UK | | [http://genealogy.clanmoffat.org/getperson.php?personID=I77080&tree=ClanMoffat Robert Moffat] links from Clan Moffat Genealogy to Clan Moffat UK | ||
− | | | + | | 10.0.0.0 |
− | | | + | | 10.0.0 |
| EN | | EN | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://mfo.me.uk Mitchell Families Online] | | [http://mfo.me.uk Mitchell Families Online] | ||
| Roger Mitchell | | Roger Mitchell | ||
| Sample page not available (Living Persons) | | Sample page not available (Living Persons) | ||
− | | | + | | 9.1.0.6 |
− | | | + | | 9.1.1 |
| EN | | EN | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://www.ourfamilyhistories.org Our Family Histories] | | [http://www.ourfamilyhistories.org Our Family Histories] | ||
| [[User:Bsl20b50|Bryan S. Larson]] | | [[User:Bsl20b50|Bryan S. Larson]] | ||
− | | | + | | [http://www.ourfamilyhistories.org/getperson.php?personID=I207955&tree=00 William Draper, Jr.] links from my site to GenMayle.com |
− | | | + | | 10.0.0.0 |
− | | | + | | 10.0.0 |
| EN | | EN | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://nordicancestry.info Nordic Ancestry] | | [http://nordicancestry.info Nordic Ancestry] | ||
| [[User:Mfenger|Mogens C. Fenger]] | | [[User:Mfenger|Mogens C. Fenger]] | ||
| Translated into Danish | | Translated into Danish | ||
− | | | + | | 10.0.0.1 |
− | | | + | | 10.0.1 |
| EN, DA | | EN, DA | ||
− | |- | + | |
− | + | |- style="vertical-align:top;" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| [http://bushfamilygenealogy.com Bush Family Genealogy] | | [http://bushfamilygenealogy.com Bush Family Genealogy] | ||
| [[User:Cfbush|Chuck Bush]] | | [[User:Cfbush|Chuck Bush]] | ||
| Linked my tree to my wife's tree, same webhost different domains | | Linked my tree to my wife's tree, same webhost different domains | ||
− | | | + | | 9.1.0.6 |
− | | | + | | 9.1.1 |
| EN | | EN | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://chadjessen.com Jessen Family Genealogy] | | [http://chadjessen.com Jessen Family Genealogy] | ||
| [[User:Cjessen|Chad Jessen]] | | [[User:Cjessen|Chad Jessen]] | ||
| [http://chadjessen.com/cjtng/getperson.php?personID=I296&tree=tree1 Landmark, Gulbrand Tomasson] links to a tree on Ancestry.com | | [http://chadjessen.com/cjtng/getperson.php?personID=I296&tree=tree1 Landmark, Gulbrand Tomasson] links to a tree on Ancestry.com | ||
− | | | + | | 9.1.0.6 |
− | | | + | | 9.1.1 |
| EN | | EN | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://www.overtonmedia.com Steve's Family Tree] | | [http://www.overtonmedia.com Steve's Family Tree] | ||
| [[User:overtsr|Steve Overton]] | | [[User:overtsr|Steve Overton]] | ||
| Link individuals between trees as well as other TNG sites. | | Link individuals between trees as well as other TNG sites. | ||
− | | | + | | 10.0.0.0 |
− | | | + | | 10.0.0 |
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://heuser.pro.br Brazilian-German family trees] | ||
+ | | [[User:carheu|Carlos A. Heuser]] | ||
+ | | Link individuals between trees as well as other TNG sites. | ||
+ | | 9.1.0.6 | ||
+ | | 9.1.1 | ||
+ | | EN DE PT-BR | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://www.kempfamilyhistory.com Kemp(e) Family History] | ||
+ | | [[User:Kempons|Andrew Kemp]] | ||
+ | | | ||
+ | | see [[User:Kempons|Andrew Kemp]] | ||
+ | | see [[User:Kempons|Andrew Kemp]] | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://oiseth.org/ Norwegians of Dodge & Olmsted Counties, Minnesota] | ||
+ | | [[User:Sam Clark|Sam Clark]] | ||
+ | | [http://oiseth.org/getperson.php?personID=I29884&tree=dodgo Link to another tree] | ||
+ | | 9.1.0.6 | ||
+ | | 9.2.2 | ||
+ | | EN, NO, DA, DE, NE | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://genealogy.oceanwharf.com Hooley Family Links] | ||
+ | | [[User:lastejas|Rick Hooley]] | ||
+ | | Public/Private | ||
+ | | [[User: lastejas|See Here]] | ||
+ | | [[User: lastejas|See Here]] | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://djcm.dk DJCM.DK] | ||
+ | | [[User:Clausm|Claus Martinussen]] | ||
+ | | Link individuals between trees | ||
+ | | 10.1.0.5a | ||
+ | | 10.1.3 | ||
+ | | DA, EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia] | ||
+ | | [[User:bradyfamilytree|Darryl Brady]] | ||
+ | | Public site | ||
+ | | 10.1.0.5 | ||
+ | | 10.1.1 | ||
+ | | EN, DE | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://www.luithlenfamilie.de Luithlenfamilie] | ||
+ | | [[User:pingo|Ingo Wagner]] | ||
+ | | Not a Public site | ||
+ | | 11.0.0.3 | ||
+ | | 11.1.2 | ||
+ | | DE, EN, NO, FR | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://geneagraphie.com/ Families all over the World] | ||
+ | | [[User:Henri_Textor| Hans Weebers]] | ||
+ | | Public/Private | ||
+ | | 11.0.0.1 | ||
+ | | 11.0.0.0 | ||
+ | | NL/DE/ENG/FR | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.ourlife.us OurLife Family History - McMullen Clan] | ||
+ | | [[User:Seanst|Sean Thompson]] | ||
+ | | Not a public site. | ||
+ | | 11.0.0.3 | ||
+ | | 11.1.0 | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://ourfamilytree.online Koufos Family History] | ||
+ | | [[User:Rhodian|Stephen Koufos]] | ||
+ | | | ||
+ | | 11.0.0.3 | ||
+ | | 11.0.2 | ||
+ | | EN, DE, GR, PO | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://www.sherylaperry.com/ Bartlett, Lorenz, McCown, McMahan and Sherman Families] | ||
+ | | [[User:Shylper|Sheryl Perry ]] | ||
+ | | | ||
+ | | 11.0.0.3 | ||
+ | | 11.0.2 | ||
| EN | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.martius-familie.de/ Martius family] | ||
+ | | [[User:Hemar|Hendrik Martius]] | ||
+ | | Half public | ||
+ | | 11.0.0.3 | ||
+ | | 12.0.3 | ||
+ | | DE, EN, FR, NL | ||
|- | |- | ||
− | | ... | + | | [https://schuster-pippersteiner.at/genealogie/index.php Schuster-Pippersteiner] |
− | | ... | + | | [[User:pipsi|Ingrid Schuster]] |
− | | ... | + | | Public site / Translated into German and Czech |
− | | ... | + | | 13.0.0.7b |
− | | ... | + | | 14.0 |
− | | .. | + | | GE, EN, CZ |
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [http://genealogy.mkirsch.be Racines Luxo-hennuyères] | ||
+ | | [[User:MichelKirsch|Michel Kirsch]] | ||
+ | | Public site (registration) | ||
+ | | 13.0.0.6 | ||
+ | | 13.0.3 | ||
+ | | FR/EN/GE/DU/ES | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages] | ||
+ | | [[User:Stores|Jim Holt]] | ||
+ | | Private | ||
+ | | [[User:Stores|See Here]] | ||
+ | | [[User:Stores|See Here]] | ||
+ | | EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |[https://kielakowie.com Kielakowie.com] | ||
+ | |[[User:Janusz Kielak|Janusz Kielak]] | ||
+ | |Public site | ||
+ | |13.0.0.7a | ||
+ | |14.0.1 | ||
+ | |PL, EN, DE | ||
+ | |||
|} | |} | ||
Line 407: | Line 628: | ||
The following are some Same Person Link examples | The following are some Same Person Link examples | ||
− | * [ | + | * [https://www.royandboucher.com/tng/getperson.php?personID=I5996&tree=T0001 Nicolas Roy] links from '''Antoine Roy''' tree to '''Nicolas Roy''' tree on same web site |
− | * [ | + | * [https://www.royandboucher.com/tng/getperson.php?personID=I1788&tree=T0001 Jacob Bourgeois] links to '''Jacques (Jacob) Bourgeois)''' on another TNG User site |
* [http://genealogy.clanmoffat.org/getperson.php?personID=I77080&tree=ClanMoffat Robert Moffat] links from '''Clan Moffat Genealogy''' to '''Clan Moffat UK''' tree | * [http://genealogy.clanmoffat.org/getperson.php?personID=I77080&tree=ClanMoffat Robert Moffat] links from '''Clan Moffat Genealogy''' to '''Clan Moffat UK''' tree | ||
Line 433: | Line 654: | ||
The following modules are added by this mod: | The following modules are added by this mod: | ||
− | * | + | * admin_addsameperson.php |
− | * | + | * admin_samepersonlinks.php |
− | * | + | * admin_deletesameperson.php |
− | * | + | * admin_editsameperson.php |
− | * | + | * admin_maketable_sameperson.php |
− | * | + | * admin_removetable_sameperson.php |
− | * | + | * admin_updatesameperson.php |
+ | * upgrade_sameperson.php | ||
+ | * languages/English/sameperson_help.php | ||
+ | [[Category:Mods for TNG v14]] | ||
+ | [[Category:Mods for TNG v13]] | ||
+ | [[Category:Mods for TNG v12]] | ||
+ | [[Category:Mods for TNG v11]] | ||
+ | [[Category:Mods for TNG v10]] | ||
[[Category:Mods for TNG v9]] | [[Category:Mods for TNG v9]] | ||
Line 459: | Line 687: | ||
[[Category:selectutils.js mods]] | [[Category:selectutils.js mods]] | ||
[[Category:genstyle.css mods]] | [[Category:genstyle.css mods]] | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:Cust text.php English mods]] | ||
+ | [[Category:Cust text.php French mods]] | ||
+ | [[Category:Cust text.php Czech mods]] | ||
+ | [[Category:Cust text.php German mods]] | ||
+ | [[Category:Cust text.php Portuguese mods]] | ||
+ | [[Category:Cust text.php Danish mods]] | ||
+ | [[Category:Cust text.php Dutch mods]] |
Latest revision as of 22:42, 20 March 2024
Downloads of Same Person Link 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
|
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] |
|
Same Person Link | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Summary | Adds a Same Person Link row to the Personal Information section of the Individual page (getperson.php) | |||||||||
Validation | Mod is XHTML compliant. | |||||||||
Mod Updated | 16 December 2022 | |||||||||
Download link | for
for
for
Language Files for older versions French Language file Dutch Language file German Language file PortugueseBR Language file [Show Previous Versions]
for
if using Simple SEO mod for
for
for
Language files are same as V9 for
[Hide Previous Versions] | |||||||||
Download stats | View download counts View Multi-Tree mods statistics | |||||||||
Author(s) | Ken Roy with help from Mike Bluett, Bart Degryse, and Roger Moffat | |||||||||
Homepage | Same Person Link (this page) | |||||||||
Mod Support | TNG Community Forums | |||||||||
Contact Developer | TNG Community Forums | |||||||||
Latest Mod | 13.0.0.7b for TNG V13+ 12.0.0.5 for TNG V12+ 11.0.0.3 for TNG V11 10.1.0.5a for TNG V10.1 if using Simple SEO mod 10.1.0.5 for TNG V10.1 10.0.3.3 for TNG V10.0.3 10.0.0.1 for TNG V10 9.1.0.6 for TNG V9.1-v9.2.2 | |||||||||
Min TNG V | 9.1.0 | |||||||||
Max TNG V | 14+ | |||||||||
Files modified | ||||||||||
Related Mods | ||||||||||
Notes | Requires creation of the Same Person Link table |
Introduction
Since TNG does not support merging individuals from one tree into another tree, the Same Person Link mod was developed to show the connections. A Same Person Link is a record that shows two people as the same person:
- in a different tree on the same TNG site - in this case the reciprocal link will be automatically displayed when viewing the person in the other tree
- on a different TNG web site
- or on a different non-TNG web site.
External site links are not restricted to TNG sites only but can be created to any other web site that contains information on the person.
Same Person Links
You can create Same Person Links to
- a personID in another tree on your own web site
- a person on another web site
When linking to a personID in another tree on your own web site, the easiest way to find the needed personIDs is to use the Find Person dialog within the Same Person Link dialogs. You can also use the Search People dialog. To make it easier to find the needed information, you might want to install the Tree ID Mod which adds the treeID to the search results.
Restrictions
Note that when creating Same Person Links to another tree on your site, there is only one record created in the database table. You can only edit Same Person Links between two people from the Source person, but not from the Target person. If you are editing the person a Same Person Link points to you will not be able to edit that link from that Target person.
For example, Person 1, Tree 1 is linked to Person 2, Tree 2. The link was set up from person 1's page and the link details are obtainable by clicking on the "same person link" (which is highlighted by a green dot). Now, if we go to the corresponding Person 2 page, no link is indicated.
Therefore you should probably create your Same Person Links from the same tree so as to not get confused.
If you have the same person in multiple trees on your site, it will require that you create multiple Same Person Links as well as create them from tree 2 pointing to the same person in tree 3, 4, etc.
Deleting a Person With Links Assigned
When deleting person's who have same person links assigned,
- At first, delete the same person link, and
- then the person.
Otherwise the same person link remains as orphan link in the database. If possible, set Setup >> Configuration >> General Settings >> Re-use deleted IDs to "No" to avoid that possible orphaned Same Person Links will be automatically re-assigned to newly created persons.
Known Problems
If your site is still setup using a TNG charset of ISO-8859-? with a latin1 encoded database, the AJAX dialogs used in this mod will mangle the accents used in names and links.
I have not found a way to fix this problem and so am indicating that the mod is supported only in UTF-8 environments (unless you do not use any accents). See Changing to UTF-8 on how to convert your ISO-8859-? and latin1 database to a UTF-8 environment
Developer
Mod developer is Ken Roy with extensive help from
- Mike Bluett to debug the AJAX dialogs,
- Bart Degryse to get the Same Person Link table changes borrowed his Persistent Bookmarks mod working correctly,
- Several beta testers, especially Roger Moffat who updated the Help screen, tweaked the External Link display sentence, and helped convert the mod to Same Person Link to better describe its functionality
- Danish translations provided by Mogens C. Fenger
- German and PortugueseBR translations provided by Carlos A. Heuser
Revision History
Mod Version | Date | Contents |
---|---|---|
13.0.0.7b | 17 Dec 2022 | updated to eliminate PHP Notice: Undefined variable: newtable on first time install. If table is already created there is not need to update to this version. |
13.0.0.7a | 6 Jun 2021 | updated to eliminate the Install depdendency with the Make associations sortable mod. Our thanks to Michel Kirschr for providing the mod change |
13.0.0.7 | 2 Nov 2020 | updated to
|
13.0.0.6 | 23 Sep 2020 | updated for new TNG v13 |
12.0.0.5 | 9 Feb 2019 | updated for new TNG v12 custom text file standards |
11.0.0.3 | 16 Apr 2016 | Remove some mods to admin_genconfig.php to resolve the warning issued when saving the General Settings. Fixed the code to create the Same Person Link table for first time installs. |
11.0.0.2 | 9 Apr 2016 | Fixed for first time installs using Mod Manager. There are no coding changes, so if you have installed V11.0.0.1, just download V11.0.0.2 to have the latest version and save it in your mods folder. It will show installed. Then delete the v11.0.0.1 file. |
11.0.0.1 | 23 Mar 2016 | Fixed the typo in one of the copy statements in V11.0.0.1 |
11.0.0.0 | 7 Mar 2016 | Updated for TNG 11. |
10.1.0.5a | 2 Nov 2015 | Only cfg file was updated to resolve a conflict introduced by the Simple SEO mod. There were no code changes made in subfolder modules so it was not updated to expedite posting of this new version.
If you do not use the Simple SEO mod, there is no need to upgrade to this version of the mod. |
10.1.0.5 | 25 Jan 2015 | Updated for TNG 10.1. Changes required in creating new Same Person Link table, if one did not exist. |
10.1.0.4 | 11 Jan 2015 | Updated for MySQLi changes and Mod Manager updates in TNG 10.1 |
10.0.3.3 | 23 Aug 2014 | Updated for Mod Manager Upgrade testing targeted for TNG v10.0.3 |
10.0.0.1 | 28 Apr 2014 | Updated to remove the hard-code tng_trees table and to provide values for Not Null fields required by MySQL 5.5
Changes were provided by Ian Fettes |
10.0.0.0 | 6 Feb 2014 | Updated for TNG V10 table layout change in Admin >> Setup >> General Settings |
9.1.0.6 | 26 Jan 2013 | Fix problem where mysql_free_result was not within the if statement checking for Living or Private on Living and Private pages when not logged in |
9.1.0.5 | 25 Jan 2013 |
|
9.1.0.4 | 15 Jan 2013 |
|
9.1.0.3 | 14 Jan 2013 | Initial beta test release of the mod for TNG 9.1 |
9.1.0.2 | 15 Dec 2012 | Initial test version of the mod for TNG 9.1 was never released |
9.0.0.1 | 5 Oct 2012 | Initial test version of the mod was never released |
9.0.0.0 | 6 Jun 2012 | Initial version of the mod was never released since you had to manually create the table entries |
Automated Install
- Download the appropriate mod version from the status box above.
- Extract the zip file into your /mods folder (unzip the .zip file and upload the same_person_link_v9.x.x.x.cfg file and the same_person_link folder to your site's /mods folder.)
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files
Upgrade to new version
- Remove the existing same_person_link.cfg
- Install the new version of the mod using the Automated Install procedure
First Time Post Installation
The following apply to first time install only.
TNG version: | ≤ 10.1.3 |
- In TNG V10.1.3 and before, use Admin >> Setup >> General Settings >> Table Names to create the tng_sameperson table by clicking the Create button after installing the Same Person Link mod
- once the Same Person Link table (tng_sameperson) is created the button is changed to Rename in the mod versions prior to TNG V11
TNG version: | ≥ 11.0.0 |
- In TNG V11 and after,
- 1. Use the Mod Manager Create Same Person Table button to create the required tng_sameperson table after installing the Same Person Link mod
- If you forget to create the Same Person Link table, when you access an individual page, you will get an error from the new same person links query added to getperson.php
- 2. If you want the Same Person Links on your own site to open in a new window, go to the Mod Manager and using Edit Option change the option from N to Y
- 3. You must do a force page reload after installing the mod to get the updated selectutil.js file. See Bypassing Browser Cache
Custom Text Additions
Note that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages.
The following custom text will be added to your English/cust_text.php file by this mod. If you are using other languages, you must add these lines to each of your language cust_text.php files with appropriate translations of course.
// Same Person Link default localization for table maintenance
$admtext['sameperson'] = 'Same Person Link';
// Same Person Link(s) default localization
$admtext['samepersonlinks'] = 'Same Person Link(s)';
$admtext['entersamepersonID'] = "Please enter the Person ID for the same person link.";
$admtext['entersamepersontreeID'] = "Please enter the Tree ID for the same person link.";
$admtext['entersamepersontreename'] = "Please enter the Tree Name for the same person link.";
$admtext['entersamepersonwebsite'] = "Please enter the web site URL for the same person link.";
$admtext['enterabssamepersonname'] = "Please enter the Person Name for the external link.";
$admtext['enterabssamepersontreename'] = "Please enter the Tree Name for the external link.";
$admtext['enterabssamepersonsitename'] = "Please enter the Site Name for the external link.";
$admtext['enterabssamepersonwebsite'] = "Please enter the web site URL for the external link.";
$admtext['confdeletesameperson'] = "Are you sure you want to delete this same person link?";
$admtext['linkfromtree'] = 'Links from this person';
$admtext['linktype'] = 'Type';
$admtext['linktotree'] = 'Links to same person';
$admtext['samepersontree'] = 'Same Person Link(s)';
$admtext['samepersonid'] = 'Same PersonID';
$admtext['samepersontreeid'] = 'Same Person Tree ID';
$admtext['samepersontreename'] = 'Same Person Tree Name';
$admtext['samepersonwebsite'] = 'External Site URL';
$admtext['modifysamepersontree'] = 'Modify Same Person Links:';
$admtext['addnewsamepersontree'] = 'Add Same Person Links:';
$admtext['changestosamepersons'] = 'Changes to Same Person Links';
$admtext['samepersonselecttreeid'] = ' or Select Tree from list';
$admtext['findsameperson'] = 'Find person in other Tree';
$admtext['revlink'] = 'Rev';
$admtext['reverselink'] = 'Reverse Link';
$admtext['linkexternal'] = 'Create as an external link to another site';
$admtext['extsameperson'] = 'External Link';
$admtext['extlink'] = 'Ext';
$admtext['samepersonnote'] = 'Same Person Note';
$admtext['samepersonname'] = "External Person Name";
$admtext['samepersonexttreename'] = 'External Tree Name';
$admtext['samepersonsitename'] = "External Site Name";
$admtext['samepersonhdrpersonid'] = 'Person<br /> ID';
$admtext['samepersonhdrtreeid'] = 'Tree<br /> ID';
$admtext['samepersonextnote'] = 'External Link Note';
$text['sameperson'] = 'Same Person Link';
$text['samepersonis'] = 'This person is also ';
$text['samepersonin'] = ' in the ';
$text['samepersonmysite'] = ' tree on this site';
$text['samepersoninext'] = ' in the tree ';
$text['samepersonat'] = ' at ';
You can download the French language file for an example of how to construct the language file config file for your other languages.
Overriding Custom Text
If you would prefer that the Individual (getperson.php) page displays a different row heading and a slightly different sentence, you could install a custom mod after installing the Same Person Link mod to override some of the custom text variables. This technique eliminates the Clean Up error you get on the Mod Manager screen caused by manually changing the $text variable values. For example, the following is a sample mod that would accomplish this without having to modify the Same Person Link mod source and show both mods as installed.
%name:Same Person Link - mine%
%version:v9.1.0.5%
%description:This mod overrides some of the text variables for the Same Person Link row to the Personal Information section on the Individual page (getperson.php). <br /><br />
Mod developer is Ken Roy. For additional details see <a href="http://tng91beta.royandboucher.com/wiki/index.php?title=Same_Person_Link" target="_blank">Same Person Link</a><br /><br />%
%target:languages/English/cust_text.php%
%location:%
?>
%end:%
%insert:before%
// Same Person Link - my overrides
$text['sameperson'] = 'Links to';
$text['samepersonis'] = '';
$text['samepersonat'] = ' on the following web site ';
%end:%
%target:languages/English-UTF8/cust_text.php%
%location:%
?>
%end:%
%insert:before%
// Same Person Link - my overrides
$text['sameperson'] = 'Links to';
$text['samepersonis'] = '';
$text['samepersonat'] = ' on the following web site ';
%end:%
The resulting display after installing the override mod would then be
Visualization
Visitor
The Same Person Link mod adds a new row on the person Individual page for each same person link that is created. You can create a link to another tree on your own site, or a link to a cousin's TNG site, or to any web site that contains information on the person.
Administrator
The TNG Administrator can use the Same Person Link dialog from the Edit Person page, to add a same person link to another tree on their own site, a link to a cousin's TNG site, or a link to any other web site that contains information on the person.
Add Same Person Link
When you first access the Same Person Link dialog, TNG will put you in the Add Same Person Link dialog.
Same Person Link List
When you click Save, the Same Person Links list will be displayed.
Edit Same Person Link
You can Edit the Same Person Link
Delete Same Person Link
or delete an existing link.
Finding Candidates
You can use the People Search to find candidates that can be cross linked across trees.
Shown with the Tree ID Mod installed
A people search will also reveal merge candidates
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 | |
---|---|---|---|---|---|---|
Our Acadian, French-Canadian, and Maine Ancestors | Ken Roy | Link to another tree and Link to another TNG site | 13.0.0.7b |
|
EN, FR | |
Clan Moffat Genealogy Online | Roger Moffat | Robert Moffat links from Clan Moffat Genealogy to Clan Moffat UK | 10.0.0.0 | 10.0.0 | EN | |
Mitchell Families Online | Roger Mitchell | Sample page not available (Living Persons) | 9.1.0.6 | 9.1.1 | EN | |
Our Family Histories | Bryan S. Larson | William Draper, Jr. links from my site to GenMayle.com | 10.0.0.0 | 10.0.0 | EN | |
Nordic Ancestry | Mogens C. Fenger | Translated into Danish | 10.0.0.1 | 10.0.1 | EN, DA | |
Bush Family Genealogy | Chuck Bush | Linked my tree to my wife's tree, same webhost different domains | 9.1.0.6 | 9.1.1 | EN | |
Jessen Family Genealogy | Chad Jessen | Landmark, Gulbrand Tomasson links to a tree on Ancestry.com | 9.1.0.6 | 9.1.1 | EN | |
Steve's Family Tree | Steve Overton | Link individuals between trees as well as other TNG sites. | 10.0.0.0 | 10.0.0 | EN | |
Brazilian-German family trees | Carlos A. Heuser | Link individuals between trees as well as other TNG sites. | 9.1.0.6 | 9.1.1 | EN DE PT-BR | |
Kemp(e) Family History | Andrew Kemp | see Andrew Kemp | see Andrew Kemp | EN | ||
Norwegians of Dodge & Olmsted Counties, Minnesota | Sam Clark | Link to another tree | 9.1.0.6 | 9.2.2 | EN, NO, DA, DE, NE | |
Hooley Family Links | Rick Hooley | Public/Private | See Here | See Here | EN | |
DJCM.DK | Claus Martinussen | Link individuals between trees | 10.1.0.5a | 10.1.3 | DA, EN | |
Brady Family Tree in Western Australia | Darryl Brady | Public site | 10.1.0.5 | 10.1.1 | EN, DE | |
Luithlenfamilie | Ingo Wagner | Not a Public site | 11.0.0.3 | 11.1.2 | DE, EN, NO, FR | |
Families all over the World | Hans Weebers | Public/Private | 11.0.0.1 | 11.0.0.0 | NL/DE/ENG/FR | |
OurLife Family History - McMullen Clan | Sean Thompson | Not a public site. | 11.0.0.3 | 11.1.0 | EN | |
Koufos Family History | Stephen Koufos | 11.0.0.3 | 11.0.2 | EN, DE, GR, PO | ||
Bartlett, Lorenz, McCown, McMahan and Sherman Families | Sheryl Perry | 11.0.0.3 | 11.0.2 | EN | ||
Martius family | Hendrik Martius | Half public | 11.0.0.3 | 12.0.3 | DE, EN, FR, NL | |
Schuster-Pippersteiner | Ingrid Schuster | Public site / Translated into German and Czech | 13.0.0.7b | 14.0 | GE, EN, CZ | |
Racines Luxo-hennuyères | Michel Kirsch | Public site (registration) | 13.0.0.6 | 13.0.3 | FR/EN/GE/DU/ES | |
Joseph Oran Holtz Genealogy Pages | Jim Holt | Private | See Here | See Here | EN | |
Kielakowie.com | Janusz Kielak | Public site | 13.0.0.7a | 14.0.1 | PL, EN, DE |
Same Person Link Examples
The following are some Same Person Link examples
- Nicolas Roy links from Antoine Roy tree to Nicolas Roy tree on same web site
- Jacob Bourgeois links to Jacques (Jacob) Bourgeois) on another TNG User site
- Robert Moffat links from Clan Moffat Genealogy to Clan Moffat UK tree
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
- customconfig.php
- admin_backup.php
- admin_optimize.php
- admin_restore.php
- admin_utilities.php
- admin_genconfig.php
- tabledefs.php
- admin_modmanager.php
- getperson.php
- personlib.php
- tngdblib.php
- admin_editperson.php
- ajx_editperson.php
- eventlib_js.php
- js/selectutils.js
- css/genstyle.css
- your languages cust_text.php file(s)
The following modules are added by this mod:
- admin_addsameperson.php
- admin_samepersonlinks.php
- admin_deletesameperson.php
- admin_editsameperson.php
- admin_maketable_sameperson.php
- admin_removetable_sameperson.php
- admin_updatesameperson.php
- upgrade_sameperson.php
- languages/English/sameperson_help.php
- Pages with syntax highlighting errors
- Mods for TNG v14
- Mods for TNG v13
- Mods for TNG v12
- Mods for TNG v11
- Mods for TNG v10
- Mods for TNG v9
- Customconfig.php mods
- Admin backup.php mods
- Admin optimize.php mods
- Admin restore.php mods
- Admin utilities.php mods
- Admin genconfig.php mods
- Admin modmanager.php mods
- Getperson.php mods
- Personlib.php mods
- Tngdblib.php mods
- Admin editperson.php mods
- Ajx editperson.php mods
- Eventlib js.php mods
- Selectutils.js mods
- Genstyle.css mods
- Cust text.php English mods
- Cust text.php French mods
- Cust text.php Czech mods
- Cust text.php German mods
- Cust text.php Portuguese mods
- Cust text.php Danish mods
- Cust text.php Dutch mods