Changes

Jump to navigation Jump to search
2,523 bytes added ,  15:39, 16 April 2017
Line 1: Line 1: −
{{TNGver
+
{{restricted}}{{TNGver
 
|ver=9110
 
|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.
 
|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.
Line 7: Line 7:  
| 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]]
|  download_link  = for {{Tv110}}[http://www.royandboucher.com/ccount/click.php?id=359 same_person_link_v11.0.0.0.zip]<hr />for {{Tv1010}}[http://www.royandboucher.com/ccount/click.php?id=343 same_person_link_v10.1.0.5a.zip] if using [[Simple SEO]] mod<br />[http://www.royandboucher.com/ccount/click.php?id=258 same_person_link_v10.1.0.5.zip]<div class='mw-collapsible  mw-collapsed'>Expand for prior versions<div class='mw-collapsible-content'><hr />for  {{Tv103}}[http://www.royandboucher.com/ccount/click.php?id=192 same_person_link_v10.0.3.3.zip]<hr />for  {{Tv100}}[http://www.royandboucher.com/ccount/click.php?id=187 same_person_link_v10.0.0.1.zip]<br>Language files are same as V9<hr />for  {{Tv91}}[http://www.royandboucher.com/ccount/click.php?id=101 same_person_link_v9.1.0.6.zip]</div></div><hr  /><strong>Language Files</strong><br />[http://www.royandboucher.com/ccount/click.php?id=249 French  Language file]<br />[http://www.royandboucher.com/ccount/click.php?id=250 Dutch Language file]<br />[http://www.royandboucher.com/ccount/click.php?id=251 German Language file]<br />[http://www.royandboucher.com/ccount/click.php?id=252 Portuguese Language file]
+
|  download_link  = 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 />for {{Tv1010}}[https://www.royandboucher.com/ccount/click.php?id=343&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v10.1.0.5a.zip] if using [[Simple SEO]] mod<br />[https://www.royandboucher.com/ccount/click.php?id=258&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} same_person_link_v10.1.0.5.zip]<div class='mw-collapsible  mw-collapsed'>Expand for prior versions<div class='mw-collapsible-content'><hr />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 />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 />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></div><hr  /><strong>Language Files</strong><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}} Portuguese Language file]
| download_stats  =  [http://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 View download counts]<br  />[http://www.royandboucher.com/ccount/index.php?action=stats&groupid=7  View Multi-Tree mods statistics]
+
| 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 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_url        = [[Same Person Link]] (this page)
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://tng.community/ TNG Community Forums]
| mod_contact    = [http://www.royandboucher.com/tng/mod_support.php Ken Roy]
+
| mod_contact    = [https://www.royandboucher.com/tng/mod_support.php Ken Roy]
| mod_version    = 11.0.0.0 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
+
| mod_version    = 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    = 11+
 
| max_TNG_ver    = 11+
Line 68: Line 68:  
# then the person.  
 
# 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.
 
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 ==
Line 85: Line 91:  
! Date
 
! Date
 
! Contents
 
! Contents
 +
|-
 +
| V11.0.0.3
 +
| 16 April 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.
 +
|-
 +
| V11.0.0.2
 +
| 9 April 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.
 +
|-
 +
| V11.0.0.1
 +
| 23 March 2016
 +
| Fixed the typo in one of the copy statements in V11.0.0.1
 
|-
 
|-
 
| V11.0.0.0
 
| V11.0.0.0
Line 167: Line 185:       −
== Post Installation ==
+
== 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>'''
| 1. Using Admin >> Setup >> General Settings >> Table Names,
+
::{|
* create the tng_sameperson table by clicking the '''Create''' button
  −
: once the Same Person Link table (tng_sameperson) is created the button is changed to '''Rename'''
   
|[[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
 +
 
 +
{{TNG 11.0.0|and after}}
 +
:In TNG V11 and after, 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>'''
 
:  '''<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  
+
: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'''
* go to the Mod Manager and using Edit 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]]
   
|}
 
|}
   −
=== Beta Testers ===
+
:3. You must do a force page reload after installing the mod to get the updated selectutil.js file. See [[Bypassing Browser Cache]]
 
  −
There are some actions required for updating from the previous Same Person Link mod, either v9.1.0.3 or v9.1.0.4, please contact the Mod Developer
      
== Custom Text Additions ==  
 
== Custom Text Additions ==  
Line 370: Line 390:  
! User-language
 
! User-language
 
|-
 
|-
| [http://www.royandboucher.com Our Acadian, French-Canadian, and Maine Ancestors]
+
| [https://www.royandboucher.com Our Acadian, French-Canadian, and Maine Ancestors]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
| [http://www.royandboucher.com/tng/getperson.php?personID=I5996&tree=T0001 Link to another tree] and [http://www.royandboucher.com/tng/getperson.php?personID=I1788&tree=T0001 Link to another TNG site]
+
| [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]
| 11.0.0.0
+
| 11.0.0.3
| 11.0.0
+
| 11.1.0
 
| EN, FR
 
| EN, FR
 
|-
 
|-
Line 461: Line 481:  
| DA, EN
 
| DA, EN
 
|-
 
|-
| [http://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
+
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
 
| [[User:bradyfamilytree|Darryl Brady]]
 
| [[User:bradyfamilytree|Darryl Brady]]
 
| Public site  
 
| Public site  
Line 474: Line 494:  
| [[User:JMM|see here]]
 
| [[User:JMM|see here]]
 
| EN, DE, RU
 
| EN, DE, RU
 +
|-
 +
| [http://www.luithlenfamilie.de Luithlenfamilie]
 +
| [[User:pingo|Ingo Wagner]]
 +
| Not a Public site
 +
| 11.0.0.3
 +
| 11.1
 +
| DE, EN, NO, FR
 +
|-
 +
| [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)
 +
|-
 +
| [https://www.ourlife.us OurLife Family History - McMullen Clan]
 +
| [[User:Seanst|Sean Thompson]]
 +
| Not a public site.
 +
| 11.0.0.3
 +
| 11.1.0
 +
| English
 
|-
 
|-
 
| ...
 
| ...
Line 487: Line 528:  
The following are some Same Person Link examples
 
The following are some Same Person Link examples
   −
* [http://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=I5996&tree=T0001 Nicolas Roy] links from '''Antoine Roy''' tree to '''Nicolas Roy''' tree on same web site
* [http://www.royandboucher.com/tng/getperson.php?personID=I1788&tree=T0001 Jacob Bourgeois] links to '''Jacques (Jacob) Bourgeois)''' on another TNG User 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
  
17,862

edits

Navigation menu