Person Not Found Mod

From TNG_Wiki
Jump to: navigation, search
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


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 12.0.1 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
Martius family Hendrik Martius Half public 10.1.0.1 12.0.1 DE, EN, FR, NL
... ... ... ... ... ...