Person Not Found Mod

From TNG_Wiki
Revision as of 18:35, 30 January 2012 by KenRoy (talk | contribs) (updated for TNG V9)
Jump to navigation Jump to search
Message 404 - getperson 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 {{{mod_last_update}}}
Download link For
TNG 9.0
person_not_found_v9.0.0.0.zip
For
TNG 8.0
person_not_found_v8.1.0.zip
For
TNG 7.0
person_not_found_v1.0.zip
Download stats {{{download_stats}}}
Author(s) Rush Krieger
Config file by Ken Roy
Homepage Message 404 - getperson Mod (This page)
Mod Support TNG Forums
Contact Developer
Latest Mod 9.0.0.0. for TNG V9
8.1.0 for TNG V8
1.0 for TNG V7
Min TNG V 7.0.0
Max TNG V 9.0.0
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 http://www.tngforum.us/index.php?showtopic=2186 TNG 6.2 mod] version.

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
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.


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
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. V8.1.1/TNG 8.1.3
V9.0.0.0/TNG 8.0.0 beta
EN, FR
The Ennever family site Barry Ennever V8.1.1/TNG 8.1.3 EN
... ... ... ... ...