Person Not Found Mod

De TNG_Wiki
Sauter à la navigation Sauter à la recherche
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 27 January 2023
Download link for
TNG 14.0
person_not_found_v14.0.0.1.zip
For
TNG 13.0
TNG 12.0
TNG 11.0
TNG 10.1.0
person_not_found_v10.1.0.1.zip
[Show Previous Versions]

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
[Hide Previous Versions]
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 14.0.0.1 for TNG v14
10.1.0.1 for TNG V9 thru v13.2
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 14+
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 Updated for TNG 14 by Ron Krzmarzick

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

Mod Version Date Contents
14.0.0.1 27 Jan 2023 updated for TNG V14 by Ron Krzmarzick
10.1.0.1 12 Jan 2012 updated for TNG V10.1
  • MySQLi and Mod Manager changes
9.0.0.0 2 Feb 2012 updated config file for TNG V9
8.1.0 27 May 2010 updated config file for TNG V8
1.0 25 May 2009 original Mod Manager config file
19 Jul 2008 Mod originally provided on TNG Forum for TNG v7

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder, admin/mod_folder for TNG V7.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

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

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
Treichel-Familie.de Andreas Treichel Public & Private 14.0.0.1 14.0.3 DE, UK, FR, ES, PL
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. 14.0.0.1 14.0.3 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 EN
Moss Family Tree Chris Moss 9.0.0.0 10.0.3 EN
The Duttons of New England Darrin Dutton Public/Private 14.0.0.1 14.0.1 EN
R G Strong Family Genealogy Russell G. Strong Public Site 14.0.0.1 14.0.4 EN, FR, DE, NL
OurLife Family History - McMullen Clan Sean Thompson Not a public site. 10.1.0.1 11.1.0 EN
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Bumbery-Wangler Bob Bumbery Public site 10.1.0.1 11.1.2 EN
Martius family Hendrik Martius Half public 10.1.0.1 12.0.1 DE, EN, FR, NL
Les Lapierre d'Amérique Normand Lapierre Public/Private 14.0.0.1 14.0 FR, EN
Kielakowie.com Janusz Kielak Public site 14.0.0.1 14.0.1 PL, EN, DE
The Severijns / Timmer Familytree Rob Severijns Public / Private 14.0.0.1 14.0.4 NL, EN
Carr’s Garage Regis Carr Public & XAMPP 14​.0​.0​.1 14.0.3 EN,DE,NO