Source Not Found Mod
![]() |
This mod is marked obsolete and no longer supported by the developer. Please use the 404 Error Mod instead | ![]() |
![]() |
Downloads of Source 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 | ![]() |
![]() |
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 | ![]() |
Source Not Found Mod | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Summary | Displays a meaningful 404 error message that allows the visitor to browse the sources for your site. | |||||||||
Validation | Not compliant, but then it's an error page. | |||||||||
Mod Updated | 12 Jan 2015 | |||||||||
Download link | For
For
French language files For
For
| |||||||||
Download stats | View download statistics | |||||||||
Author(s) | Ken Roy | |||||||||
Homepage | Source Not Found Mod (This page) | |||||||||
Mod Support | TNG Community Forums | |||||||||
Contact Developer | TNG Community Forums | |||||||||
Latest Mod | 10.1.0.1 for TNG V0.1 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 | 14+ | |||||||||
Files modified | showsource.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 showsource.php to a more friendly 404 page that might keep the user on your site by allowing the visitor to browse the sources for your site.
You may want to consider using this mod if you use the Resequencing_IDs feature in TNG 7.0 to re-sequence Sources, so that search engine links will not fail entirely.
See the TNG Forum entry for TNG 7.0 mod
Developer
Ken Roy based on Rush Krieger's Message 404 - getperson Mod for the individual page.
The 404_Error_Mod is an alternative to using this mod in that it provides a 404 error page for any TNG page and not just the showsource.php.
Requirements
- A working TNG installation. The automated installation release was initially tested at TNG Version 7.1.0. Manual installation previously used on TNG 7
- A backup of your TNG showsource.php file.
- An installed current version of the Mod Manager.
Revision History
Mod Version | Date | Contents |
---|---|---|
10.1.0.1 | 12 Jan 2015 | updated for TNG V10.1 |
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.1 | 18 Dec 2009 | updated config file to eliminate dependency on Message 404 - getperson Mod for some of the $text variables |
1.0 | 25 May 2009 | original Mod Manager config file |
19 Jul 2008 | Mod originally provided on TNG Forum for TNG 7.0 |
Conflicts and Issues
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the admin/mod_folder in TNG V7 and mods folder in TNG V8 and above or FTP the extracted file to respective mods folder.
- 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
- Try using the Mod Manager Remove capability
- Copy the backup of the affected files back to your TNG directory
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- 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.
See the English custom Text additions made to your English/cust_text.php file by this mod.
The language additions for French custom Text is shown below.
Note that the config file only includes the custom text for the English language, so you will need to add the other languages that your site supports. Also if you did not install the Message 404 - getperson Mod you will need to add the $text[sorry] to the config file.
Custom Text
English/cust_text.php
The following is added to the English/cust_text.php in TNG V7 and to the languages/English/cust_text.php and languages/English-UTF8/cust_text.php in TNG V8
// Added for Source Not Found message in showsource.php 404 error message
$text['source_sorry'] = "Sorry!";
$text['sourcepagemoved'] = "The page for the source you were looking for may have moved,";
$text['source_use'] = "Please use the ";
$text['tolocatesource'] = " feature to locate the source page.";
French/cust_text.php
For the French language, you would add the following to the French/cust_text.php in TNG V7 and to the languages/French/cust_text.php or languages/French-UFT8/cust_text.php in TNG V8
// Added for Source Not Found message in showsource.php 404 error message
$text[source_sorry] = "Désolé!";
$text[sourcepagemoved] = "La page pour la source que vous cherchez peut-être déplacée,";
$text[source_use] = "Veuillez employer la forme de ";
$text[tolocatesource] = " pour localiser la source.";
Visualization
The following screen captures show the changes made by the mod:
Without Mod
Without this mod, the normal 404 message displayed by TNG is shown in the image on the right. |
With Mod Installed
With the Message 404 - source Mod installed, the source not found message is changed to one that allows the user to click the Browse All Sources link to find the source as shown in the image on the right. |
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.
- Message 404 - getperson Mod
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 on my site if the source ID from a search engine is no longer found. | 10.1.0.1 | 14.0.3 | EN,FR |
Kemp(e) Family History | Andrew Kemp | see User:Kempons | see User:Kempons | EN | |
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 |
SiEiNo's slekt på Internett | Eilif A Nordseth | Not a public site | 10.1.0.1 | 11.1.1 | EN,NO |
Bumbery-Wangler | Bob Bumbery | Public site | 10.1.0.1 | 11.1.2 | EN |
R G Strong Family Genealogy | Russ Strong | Public site | 10.1.0.1 | 14.0.4 | EN,FR,DE,NL |
Carr's Garage | Regis Carr | Public/Private requires registration | 10.1.0.1 | 14.0.3 | EN, GR, NO |