Difference between revisions of "Person Not Found Mod"

From TNG_Wiki
Jump to navigation Jump to search
(33 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{TNGmod
+
{{restricted}}{{TNGmod
| mod_name        = Message 404 - getperson Mod
+
| mod_name        = Person Not Found Mod
 
| mod_summary    = Displays a meaningful 404 error message that allows the visitor to search for the person not found.
 
| mod_summary    = Displays a meaningful 404 error message that allows the visitor to search for the person not found.
 
| mod_validation  = Not compliant, but then it's an error page.
 
| mod_validation  = Not compliant, but then it's an error page.
| download_link  = For {{Tv90}} [http://www.royandboucher.com/ccount/click.php?id=66 person_not_found_v9.0.0.0.zip]<br />[http://www.royandboucher.com/ccount/click.php?id=67 French language files]<hr />For {{Tv80}}[http://www.royandboucher.com/ccount/click.php?id=68 person_not_found_v8.1.0.zip]<hr />For {{Tv70}}[http://www.royandboucher.com/ccount/click.php?id=69 person_not_found_v1.0.zip]
+
| mod_last_update = 12 Jan 2012
| download_stats = [http://www.royandboucher.com/ccount/index.php?action=stats&id=66-67-68-69 View download statistics]
+
| download_link  = For {{Tv110}}{{Tv1010}}[https://www.royandboucher.com/ccount/click.php?id=221&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} person_not_found_v10.1.0.1.zip]<hr />For <span class="nowrap">{{Tv100}}{{Tv90}}</span>[https://www.royandboucher.com/ccount/click.php?id=66&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} person_not_found_v9.0.0.0.zip]<br />[https://www.royandboucher.com/ccount/click.php?id=67&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} French language files]<hr />For {{Tv80}}[https://www.royandboucher.com/ccount/click.php?id=68&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} person_not_found_v8.1.0.zip]<hr />For {{Tv70}}[https://www.royandboucher.com/ccount/click.php?id=69&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} person_not_found_v1.0.zip]
 +
| download_stats = [https://www.royandboucher.com/ccount/index.php?action=stats&id=66-67-68-69-221 View download statistics]
 
| mod_author      = Rush Krieger<br />Config file by Ken Roy
 
| mod_author      = Rush Krieger<br />Config file by Ken Roy
| mod_url        = [[Message 404 - getperson Mod]] (This page)
+
| mod_url        = [[Person Not Found Mod]] (This page)
| mod_support    = [http://www.tngforum.us/ TNG Forums]
+
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_contact    =
 
| mod_contact    =
| mod_version    = 9.0.0.0. for TNG V9<br />8.1.0 for TNG V8<br />1.0 for TNG V7
+
| mod_version    = 10.1.0.1 for TNG V9 and up<br />9.0.0.0 for TNG V9 and up<br />8.1.0 for TNG V8<br />1.0 for TNG V7
 
| min_TNG_ver    = 7.0.0
 
| min_TNG_ver    = 7.0.0
| max_TNG_ver    = 9.0.3
+
| max_TNG_ver    = 11+
 
| TNG_file_list  = getperson.php
 
| TNG_file_list  = getperson.php
| related_mods    = [[Message 404 - showsource Mod]]
+
| related_mods    = [[Source Not Found Mod]]
 
| notes          = This mod might be helpful to keep visitors on your site if you use the [[Resequencing_IDs]] feature in TNG 7.0.0 and above.<br />If using multiple languages, please add the [[Message 404 - getperson Mod#Custom Text Additions|custom text]] for your other languages
 
| notes          = This mod might be helpful to keep visitors on your site if you use the [[Resequencing_IDs]] feature in TNG 7.0.0 and above.<br />If using multiple languages, please add the [[Message 404 - getperson Mod#Custom Text Additions|custom text]] for your other languages
 
}}
 
}}
 
<!-- French language file name = Person_not_found_v9.0.0.0_fr.zip -->
 
<!-- French language file name = Person_not_found_v9.0.0.0_fr.zip -->
{|align=right
+
{| style="margin-right:0.5 em;" align="right"
|__TOC__
+
| __TOC__
 
|}
 
|}
 +
  
 
== Purpose of Mod ==
 
== Purpose of Mod ==
Line 27: Line 29:
 
You may want to consider using this mod if you use the [[Resequencing_IDs]] feature in TNG 7.0 to re-sequence People.  
 
You may want to consider using this mod if you use the [[Resequencing_IDs]] feature in TNG 7.0 to re-sequence People.  
  
See the TNG Forum for the [TNG Forum http://www.tngforum.us/index.php?showtopic=2186 TNG 6.2 mod] version.
+
See the TNG Forum for the [TNG Forum https://tng.community/index.php?/forums/index.php?showtopic=2186 TNG 6.2 mod] version.
 +
 
 +
An alternative to using this mod is to provide a page for "[[Customization#thispagedoesnotexist.html|thispagedoesnotexist.html]]" in the main area of your TNG site. The advantage is that it will cure the problem for ''any'' module to that has this problem, not just getperson.php.
  
 
== Developer ==  
 
== Developer ==  
Line 48: Line 52:
 
! Date
 
! Date
 
! Contents
 
! Contents
 +
|-
 +
| v10.1.0.1
 +
| 12 January 2012
 +
| updated for TNG V10.1 MySQLi and Mod Manager changes
 
|-
 
|-
 
| v9.0.0.0
 
| v9.0.0.0
Line 63: Line 71:
 
|  
 
|  
 
| 19 July 2008
 
| 19 July 2008
| Mod originally provided on TNG Forum for [http://www.tngforum.us/index.php?showtopic=2223&pid=17438&st=0&#entry17438 TNG 7.0]
+
| Mod originally provided on TNG Forum for [https://tng.community/index.php?/forums/index.php?showtopic=2223&pid=17438&st=0&#entry17438 TNG 7.0]
 
|}
 
|}
  
Line 153: Line 161:
 
! User-language
 
! User-language
 
|-
 
|-
| [http://www.royandboucher.com/genealogy/ Our Acadian, French Canadian, and Maine Ancestors]
+
| [https://www.royandboucher.com/genealogy/ Our Acadian, French Canadian, and Maine Ancestors]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
 
| I use this TNG mod to help keep visitors on my site if the person ID from a search engine is no longer found.  
 
| I use this TNG mod to help keep visitors on my site if the person ID from a search engine is no longer found.  
| 9.0.0.0
+
| 10.1.0.1
| 9.0.3
+
| 11.1.0  
 
| EN, FR
 
| EN, FR
 
|-
 
|-
Line 177: Line 185:
 
| [[User:Kempons|Andrew Kemp]]
 
| [[User:Kempons|Andrew Kemp]]
 
|  
 
|  
| 9.0.0.0
+
| see [[User:Kempons]]
| 9.1.2
+
| see [[User:Kempons]]
 
| EN
 
| EN
 
|-
 
|-
Line 185: Line 193:
 
| Public Site
 
| Public Site
 
| 9.0.0.0
 
| 9.0.0.0
| TNG 9.2.1
+
| 9.2.1
 +
| EN
 +
|-
 +
| [http://williamsfamilytree.co.uk The Williams Family Tree]
 +
| [[User:RottenSod|Phil Williams]]
 +
| Public Site
 +
| 9.0.0.0
 +
| 10.0.3
 +
| English
 +
|-
 +
| [http://mossfamilytree.info Moss Family Tree]
 +
| [[User:Chris Moss|Chris Moss]]
 +
|
 +
| 9.0.0.0
 +
| 10.0.3
 
| EN
 
| EN
 +
|-
 +
| [http://www.duttongenealogy.com The Dutton's of Vermont Genealogy & History]
 +
| [[User:Darrin65|Darrin Dutton]]
 +
| Public Site
 +
| 10.1.0.1
 +
| 11.1.1
 +
| EN
 +
|-
 +
| [https://www.rgstrong-genes.com/ R G Strong Family Genealogy]
 +
| [[User:Rgstrong|Russell G. Strong]]
 +
| Public Site
 +
| 10.1.0.1
 +
| 11.0.1
 +
| EN, FR, DE, NL
 +
|-
 +
| [https://www.kmtrees.com/ Roots & Relatives Remembered]
 +
| [[User:Tngrlkrz|Ronald Krzmarzick]]
 +
| Public & Private
 +
| 10.1.0.1
 +
| 11.1.2
 +
| EN,DE,CS,ES
 +
|-
 +
| [https://www.ourlife.us OurLife Family History - McMullen Clan]
 +
| [[User:Seanst|Sean Thompson]]
 +
| Not a public site.
 +
| 10.1.0.1
 +
| 11.1.0
 +
| English
 +
|-
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
| [[User:Lastejas|Rick Hooley]]
 +
|
 +
| 10.1.0.1
 +
| 11.0.2
 +
| English
 +
|-
 +
| [http://bumbery.com/ Bumbery-Wangler]
 +
| [[User:Bob|Bob Bumbery]]
 +
| Public site
 +
| 10.1.0.1
 +
| 11.1.2
 +
| English
 
|-
 
|-
 
| ...
 
| ...
Line 197: Line 261:
  
  
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v9]]
 +
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v7]]
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v9]]
 
 
[[Category:getperson.php mods]]
 
[[Category:getperson.php mods]]
 
[[Category:cust_text.php English mods]]
 
[[Category:cust_text.php English mods]]
 
[[Category:cust_text.php French mods]]
 
[[Category:cust_text.php French mods]]

Revision as of 08:10, 30 December 2017

Restricted Downloads of Person Not Found Mod 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 Restricted
Caution 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


Caution


Person Not Found Mod
Summary Displays a meaningful 404 error message that allows the visitor to search for the person not found.
Validation Not compliant, but then it's an error page.
Mod Updated 12 Jan 2012
Download link For
TNG 11.0
TNG 10.1.0
person_not_found_v10.1.0.1.zip
For
TNG 10.0
TNG 9.0
person_not_found_v9.0.0.0.zip
French language files
For
TNG 8.0
person_not_found_v8.1.0.zip
For
TNG 7.0
person_not_found_v1.0.zip
Download stats View download statistics
Author(s) Rush Krieger
Config file by Ken Roy
Homepage Person Not Found Mod (This page)
Mod Support TNG Community Forums
Contact Developer
Latest Mod 10.1.0.1 for TNG V9 and up
9.0.0.0 for TNG V9 and up
8.1.0 for TNG V8
1.0 for TNG V7
Min TNG V 7.0.0
Max TNG V 11+
Files modified
getperson.php
Related Mods
Notes
This mod might be helpful to keep visitors on your site if you use the Resequencing_IDs feature in TNG 7.0.0 and above.
If using multiple languages, please add the custom text for your other languages



Purpose of Mod

This mod changes the thispagedoesnotexist.html for the getperson.php to a more friendly 404 page that might keep the user on your site by providing a link to the person search page.

You may want to consider using this mod if you use the Resequencing_IDs feature in TNG 7.0 to re-sequence People.

See the TNG Forum for the [TNG Forum https://tng.community/index.php?/forums/index.php?showtopic=2186 TNG 6.2 mod] version.

An alternative to using this mod is to provide a page for "thispagedoesnotexist.html" in the main area of your TNG site. The advantage is that it will cure the problem for any module to that has this problem, not just getperson.php.

Developer

Rush Krieger

Config file by Ken Roy

Requirements

  • A working TNG installation. The automated installation release was initially tested at TNG Version 7.1.0. Manual installation previously used on TNG 6 and 7
  • A backup of your TNG getperson.php file.
  • An installed current version of the Mod Manager.

Revision History

Version Date Contents
v10.1.0.1 12 January 2012 updated for TNG V10.1 MySQLi and Mod Manager changes
v9.0.0.0 2 February 2012 updated config file for TNG V9
v8.1.0 27 May 2010 updated config file for TNG V8
v1.0 25 May 2009 original Mod Manager config file
19 July 2008 Mod originally provided on TNG Forum for TNG 7.0


Automated Install

  1. Download the appropriate zip file from the summary in the upper right hand corner
  2. Unzip the downloaded config file into your admin/mod_folder for TNG V7 and mods folder for TNG V8
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the person_not_found.cfg.

Custom Text Additions

Note that the 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 your other languages, or you need to manually add the custom text to your other language cust_text.php files.

The English custom text additions made to your English/cust_text.php and English-UTF8/cust_text.php files by this mod are shown below.

The language additions for French and Nederlands custom Text are also shown below.


English/cust_text.php

additions

// Added for Person Not Found message in getperson.php 404 error message
$text[sorry] = "Sorry!";
$text[personpagemoved] = "The page for the person you were looking for may have moved,";
$text[pleaseuse] = "Please use the ";
$text[tolocateperson] = " feature to locate the person.";

French/cust_text.php

additions

// Added for Person Not Found message in getperson.php 404 error message
$text[sorry] = "Désolé!";
$text[personpagemoved] = "La page pour la personne que vous cherchez peut-être déplacée,";
$text[pleaseuse] = "Veuillez employer la forme de ";
$text[tolocateperson] = " pour localiser la personne.";

Nederlands/cust_text.php

toevoegingen

// Toegevoegd voor een gebruikers vriendelijkere getperson.php 404 error message
$text[sorry] = "Sorry!";
$text[personpagemoved] = "De pagina voor de gezochte persoon lijkt verplaatst te zijn,";
$text[pleaseuse] = "U kunt de ";
$text[tolocateperson] = " mogelijkheid gebruiken om te persoon te lokaliseren.";

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Or copy your backed up getperson.php file to your TNG directory
    • all should be well now

Visualization of this mod

Without Mod

Without this mod, the normal 404 message displayed by TNG is shown in the image on the right.

This page does not exist.jpg

With Mod Installed

With the Message 404 - getperson Mod installed, the person not found message is changed to one that allows the user to click the Search link to find the person using the Advanced Search page as shown in the image on the right.

Message 404 person.jpg

Related Links

This mod is used in conjunction with the Resequencing IDs to help keep the user on your site, if you resequenced or deleted some IDs.


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 I use this TNG mod to help keep visitors on my site if the person ID from a search engine is no longer found. 10.1.0.1 11.1.0 EN, FR
The Ennever family site Barry Ennever 8.1.1 8.1.3 EN
MacomberKin Family Tree Rev. Clinton Macomber Great for merging of individuals and resulting lost pages! 9.0.0.0 9.0.3 EN
Kemp(e) Family History Andrew Kemp see User:Kempons see User:Kempons EN
Legacy Gazette: My Roots - My Legacy Melissa Watson Padilla Public Site 9.0.0.0 9.2.1 EN
The Williams Family Tree Phil Williams Public Site 9.0.0.0 10.0.3 English
Moss Family Tree Chris Moss 9.0.0.0 10.0.3 EN
The Dutton's of Vermont Genealogy & History Darrin Dutton Public Site 10.1.0.1 11.1.1 EN
R G Strong Family Genealogy Russell G. Strong Public Site 10.1.0.1 11.0.1 EN, FR, DE, NL
Roots & Relatives Remembered Ronald Krzmarzick Public & Private 10.1.0.1 11.1.2 EN,DE,CS,ES
OurLife Family History - McMullen Clan Sean Thompson Not a public site. 10.1.0.1 11.1.0 English
Hooley Family Links Rick Hooley 10.1.0.1 11.0.2 English
Bumbery-Wangler Bob Bumbery Public site 10.1.0.1 11.1.2 English
... ... ... ... ... ...