Source Occurrences Mod

From TNG_Wiki
Jump to navigation Jump to search

Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 13.0
TNG 12.0

Source Occurrences Mod
Summary Shows the number of times a source is being used on the admin_sources.php page.
Mod Updated 22 Dec 2020
Download link source occurrences mod
TNG 13.0

TNG 12.1.0

TNG 12.0
TNG 11.0
TNG 10.1.0

TNG 10.0
TNG 9.0
Download stats View download counts v10.1.0.3
Author(s) Nik Majdan
Homepage Source Occurrences Mod (This page)
Mod Support TNG Community Forums
Contact Developer Leave message on developer's talk page.
Latest Mod v13.0.0.0 for TNG 13.0
v12.1.0.5 for TNG 12.1+
v10.1.0.4 for TNG 10.1+
v9.0.0.2 for TNG 9.0.2+
Min TNG V 9.0.0
Max TNG V 13.0
Files modified
admin_sources.php, English cust_text.php, German cust_text.php
Related Mods

Purpose of Mod

This mod allows you to see how many times a source is being used throughout the site. This can help you prioritize any maintenance that may be needed on the sources.


  1. Download the file that is appropriate for your version of TNG from the download links in the mod summary area in the upper right.
  2. Extract the downloaded zip file to your mods folder.
  3. Follow the normal installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

Mod Visualization

admin_sources.php before:
  • The Tree column will be present only if the site has multiple trees.
  • In TNGv12.1, a "Last Update" column has been added, but it is displayed only under certain conditions (which is a whole other story).
SourcesOccurrence Before.png
admin_sources.php after:
SourcesOccurrence After.png

Revision History

Version Date Contents
v13.0.0.0 22 Dec 2020
  • Accommodated changes made to TNGv13
v12.1.0.5 08 Apr 2020
  • Accommodated changes made to TNGv12.1
  • Added comments to each text insertion/replacement
  • Brought the cust_text.php target locations and author tags up to TNGv12 specs.
v10.1.0.4 02 June 2015
  • Fixed bug when only a single tree exists
  • Added German translation
v10.1.0.3 24 January 2015 Updated for TNG 10.1 by Ken Roy
v9.0.0.2 23 July 2013
v9.0.0.1 10 February 2012
  • Fixed bug with mod breaking search functionality.
  • Fixed bug where unused sources were being excluded from the list.
  • Added support for cust_text.php.
  • Brought mod in compliance with Mod Guidelines.
v9.0.0.0 09 February 2012
  • Initial creation.

Sites using this mod

If you download and install this mod, please add your TNG site to the table below. Since this mod alters one of the admin pages, it may not be possible to preview on a live site without getting the admin of the site's approval and subsequent login credentials.

URL User Note Mod-Version TNG-Version User-language
Stegemüller Family History Hanne B. Stegemüller Public site 13.0.4 EN, DE, DA Nik Majdan - V13.0.0.0 V13.0 English
Grogan Mob Margaret Grogan Public Site V10.1.0.3 TNG 10.1. English
Turner Mob Margaret Grogan Public Site V10.1.0.3 TNG 10.1. English
MOTYER Family Genealogy John Mark Motyer Public site see here see here EN, DE, RU
Our Roy and Boucher Family Ken Roy v10.1.0.3 10.1.0 EN, FR
Wortelboer Genealogy Bernard Wortelboer Public site 11.0.0 NL, EN
Kleinmann Genealogy John Kleinmann 13.0.1 EN
Racine d'Alsace J-Louis Valory Private - T17 customized 12.3 FR
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN, DE, FR, ES, NL