Difference between revisions of "Ancestor map"

From TNG_Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
| mod_summary    = Shows a Google map of birth places of the individual's ancestors.
 
| mod_summary    = Shows a Google map of birth places of the individual's ancestors.
 
| mod_validation  = Latest mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 
| mod_validation  = Latest mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
| download_link  = For {{Tv90}}[[Media:Ancestors_map_1_add_map_v9.0.0.6.zip | Ancestors_map_1_add_map_v9.0.0.6.zip]] <hr />For {{Tv812}}[[Media:Ancestors_map_v8.1.3.cfg.zip | Ancestors_map_v8.1.3.cfg.zip]] <hr />For {{Tv80}}[[Media:ancestors_map_v8.1.1.zip | ancestors_map_v8.1.1.zip]] <hr/>[[Media:Ancestors_map_1_add_map_v9.0.0.0_german.zip‎|German language file]]<br/>[http://ccount.degryse-moeys.net/click.php?id=20 Dutch language file]<br/>[[Media:ancestors_map_1_add_map_v9.0.0.0_french.zip|ancestors_map_1_add_map_v9.0.0.0_french.zip]][[Media:ancestors_map_1_add_map_v9.0.0.0_spanish.zip|ancestors_map_1_add_map_v9.0.0.0_spanish.zip]][http://ccount.degryse-moeys.net/click.php?id=21 French language file]<br/>[http://ccount.degryse-moeys.net/click.php?id=22 Spanish language file]
+
| download_link  = For {{Tv90}}[[Media:Ancestors_map_1_add_map_v9.0.0.6.zip | Ancestors_map_1_add_map_v9.0.0.6.zip]] <hr />For {{Tv812}}[[Media:Ancestors_map_v8.1.3.cfg.zip | Ancestors_map_v8.1.3.cfg.zip]] <hr />For {{Tv80}}[[Media:ancestors_map_v8.1.1.zip | ancestors_map_v8.1.1.zip]] <hr/>[[Media:Ancestors_map_1_add_map_v9.0.0.0_german.zip‎|German language file]]<br/>[http://ccount.degryse-moeys.net/click.php?id=20 Dutch language file]<br/>[http://ccount.degryse-moeys.net/click.php?id=21 French language file]<br/>[http://ccount.degryse-moeys.net/click.php?id=22 Spanish language file]
 
| mod_author      = Réal Charlebois<br />TNG v8 updated by Bryan S. Larson<br />TNG V8.1.2 and V9 updated by Roger Moffat
 
| mod_author      = Réal Charlebois<br />TNG v8 updated by Bryan S. Larson<br />TNG V8.1.2 and V9 updated by Roger Moffat
 
| mod_url        = [[Ancestor map]] (This page)
 
| mod_url        = [[Ancestor map]] (This page)

Revision as of 16:33, 23 September 2012

Ancestor Map
Summary Shows a Google map of birth places of the individual's ancestors.
Validation Latest mod is XHTML compliant.Valid-xhtml10.png
Mod Updated {{{mod_last_update}}}
Download link For
TNG 9.0
Ancestors_map_1_add_map_v9.0.0.6.zip
For
TNG 8.1.2
Ancestors_map_v8.1.3.cfg.zip
For
TNG 8.0
ancestors_map_v8.1.1.zip
German language file
Dutch language file
French language file
Spanish language file
Download stats {{{download_stats}}}
Author(s) Réal Charlebois
TNG v8 updated by Bryan S. Larson
TNG V8.1.2 and V9 updated by Roger Moffat
Homepage Ancestor map (This page)
Mod Support TNG Forums
Contact Developer
Latest Mod 9.0.0.1 for TNG 9.0
8.1.2 for TNG 8.1.2
8.1.1 for other versions of TNG 8
Min TNG V 8.0.0
Max TNG V 9.0.3
Files modified
pedigree.php
pedigreetext.php
ahnentafel.php
extrastree.php
cust_text.php
mappedigree.php (new file)
Related Mods
Notes
If using multiple languages, please add the custom text for your other languages


Purpose of the Mod

This mod was developed from a discussion on Adding a map to Ancestry for an individual, Putting all ancestors for an individual on a google map in this TNG Forum entry It will add a new link to the Ancestors tab on a getperson.php page that shows a map with all of the places (that have been geocoded) for that person's ancestors.


TNG version: 9.0

The following files are available to change an installed copy of Ancestor Map Mod if you have installed one of the following other Google Map mods

Note that you must choose the correct file to install based of which of the above other mods you installed.

Developer

This mod was developed by Developer is Réal Charlebois

TNG8 version by Bryan S. Larson

Config file for TNG V8.1.2 updated by Roger Moffat to work correctly, and have the variables quoted.

Mod was updated for TNG V9 by Roger Moffat to follow the Living and Private access rules as well as quoted variables from the TNG 8 Revision and tweaks for validation.

Known Issues

For the maps to work you must have geo-coded locations in your tree!


TNG version: 8.1.0

Other issues:

  • mappedigree.php is still coded in TNG V7 style without the quoted variables used in TNG V8
  • pins in Event table are not numbered
  • pins in Event table are shown with a border (See sites using the mod for visualization of these last 2 issues)
  • currently does not support the Google_Maps_-_More_Place_Levels_Mod
The ancestors_map_placelevel_v8.1.0.zip file can be installed on top of the Ancestor Map mod to address the previous 3 issues shown above. Note that if you don't have the Google_Maps_-_More_Place_Levels_Mod installed, you should rework the ancestors_map_placelevel config file and only use location 2 to fix the other two issues.


TNG version: 8.1.2

The above issues have been fixed in the

Ancestors_map_v8.1.3.cfg.zip file linked above


TNG version: 9.0

The above issues have been fixed in TNG V9.

Requirements

  • a working TNG installation of TNG8 or TNG9.
  • Geo-coded locations

Revision History

Version Date Contents
V9.0.0.6 23 April 2012 Minor bug fix.
Another attempt at fixing issue where sometimes "%A0" would display in a place name.
V9.0.0.5 23 April 2012 Minor bug fix.
Corrected an issue where the map would not show if you had set your site to NOT assign a tree to places.
V9.0.0.4 21 April 2012 Minor Update.
Added PDF link to be able to create a PDF Pedigree chart from this page - NOTE: It's not a PDF of the map page, but just the regular PDF as created from other pages.
V9.0.0.3 13 April 2012 Minor bug fix.
Corrected issue where people with certain prefixes in their names like "von" or "de" were being displayed with "%A0" in the name in the balloon on the map and in the table to the right of the map, instead of a space after the prefix. Also corrected an issue that stopped the map displaying if there was an apostrophe in a person's name.
V9.0.0.2 21 March 2012 Minor bug fix.
Corrected issue where Map would not show if the TNG Admin setting for Miscellaneous ------> "Individuals start with:" was set to "Personal information only" preventing the map from showing at all.
V9.0.0.1 8 March 2012 Minor bug fix.
Language Mods added for Dutch, French and Spanish. They work for all versions though!
V9.0.0.0 2 February 2012 Updated by Roger Moffat for TNG 9.0.0. This update suppresses ancestors that are marked Living and / or Private if the user is not allowed to view Living and / or Private for that Branch of the Tree
V8.1.3 20 Jan 2012 Updated by Roger Moffat for TNG 8.1.2
V8.1.2 27 April 2011 Updated by Roger Moffat for TNG 8.1.2
V8.1.1 5 August 2010 Updated by Ken Roy to create mappedigree.php in the config file and include $text for English-UTF8. Updated mappedigree.php to obtain mapconfig.php using the $subroot variable
V8.1.0 27 June 2010 original TNG V8 config file release by Bryan S. Larson

Automated Installation Requirements

  1. Remove previously installed version
  2. Download the appropriate zip file from the Mod Summary in the upper right hand corner
  3. Unzip the downloaded zip file to your mods folder in TNG V8 and above
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the ancestors_map_.cfg
  5. Delete previous version

If you have other Goggle Map mods installed, you may need to install additional fixes to the Ancestor Map mod

Custom Text Additions

Note that config file only includes the English language changes, so if you support multiple languages you will need add these lines to each of your language cust_text.php files with appropriate translations of course.

// added for use with mappedigree file
$text['ancestorsmap'] = "Map";

For example, you would add to the French/cust_text.php

// added for use with mappedigree file
$text['ancestorsmap'] = "Carte";

Or you can use the language mods in the summary in the upper right corner of this page to add Dutch, French or Spanish custom text additions. Procedure: download, unzip to TNG mods folder, install using Mod Manager. Note that these language mods work for all versions!

If you want to add another language please send me the translation (either the texts or as a full language mod) and your name (so I can give you credit) by sending me a personal message from the TNG forum.

Side effects

  1. As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the Mod Manager greatly simplifies this process.


In the event of a problem

Visualization of this mod

Sites using this mod include

TNG User 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
Steven's Genealogy Steven Willingale Mod Developer 8.1.1 8.0.0 EN
German Family-site Oname.gif (no public site) 9.0.0.5 9.0.2 D,(NL),(GB)
Majdan Family History Majdan 9.0.0.6 9.0.1 EN
Our Roy and Boucher Family Ken Roy 9.0.0.6 9.0.3 EN, FR
... ... ... ... ...