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 14.0
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.
Validation
Mod Updated 28 Jan 2023
Download link For
TNG 14.0

v14.0.0.0
For
TNG 13.0

v13.0.0.0
For
TNG 12.1.0

v12.1.0.5
For
TNG 12.0
TNG 11.0
TNG 10.1.0

v10.1.0.4
For
TNG 10.0
TNG 9.0

v9.0.0.2
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 14.0.0.0 for TNG 14.0
13.0.0.0 for TNG 13.0
12.1.0.5 for TNG 12.1+
10.1.0.4 for TNG 10.1+
9.0.0.2 for TNG 9.0.2+
Min TNG V 9.0.0
Max TNG V 14.0
Files modified
admin_sources.php
English cust_text.php
German cust_text.php
Danish just_text.php
Related Mods
Notes

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.

Developer

The Mod Name mod was developed by Nik Majdan.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary in the upper right corner of the page)
  • An installed current version of the Mod Manager.

Revision History

Mod Version TNG Version Date Contents
14.0.0.0 14.0 28 Jan 2023
  • Accommodated changes made to TNGv14
  • Add Danish translation
13.0.0.0 13.0 22 Dec 2020
  • Accommodated changes made to TNGv13
12.1.0.5 12.1 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.
10.1.0.4 10.1 02 Jun 2015
  • Fixed bug when only a single tree exists
  • Added German translation
10.1.0.3 10.1 24 Jan 2015 Updated for TNG 10.1 by Ken Roy
9.0.0.2 9.0 23 Jul 2013
9.0.0.1 9.0 10 Feb 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.
9.0.0.0 9.0 09 Feb 2012
  • Initial creation.

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.
  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 any tables if created, 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.

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

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
Stegemüller Family History Hanne B. Stegemüller Public site 14.0.0.0 14.0.3 EN, DE, DA
http://family.themajdans.com Nik Majdan - 14.0.0.0 14.0 EN
Treichel-Familie.de Andreas Treichel Public & Private 14​.0​.0​.0
TNG 14.0.6
DE,EN,FR,ES,PL
Grogan Mob Margaret Grogan Public Site 10.1.0.3 10.1. EN
Turner Mob Margaret Grogan Public Site 10.1.0.3 10.1. EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See here See here EN,DE,CS
MOTYER Family Genealogy John Mark Motyer Public site See here See here EN
Our Roy and Boucher Family Ken Roy 10.1.0.3 10.1.0 EN, FR
Wortelboer Genealogy Bernard Wortelboer Public site 10.1.0.4 11.0.0 NL, EN
Kleinmann Genealogy John Kleinmann 14.0.0.0 14.0.0 EN
Bastiaanssen Genealogy Jan Bastiaanssen Public / Private 14.0.0.0
TNG 14.0.5
EN, NL, ES
Racine d'Alsace J-Louis Valory Private - T17 customized 10.1.0.4 12.3 FR
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN, DE, FR, ES, NL
Les Lapierre d'Amérique Normand Lapierre Public/Private 14.0.0.0
TNG 14.0.3
FR, EN
Legstaðaleit.com Rakel Bára Þorvaldsdóttir Public Site 14.0.0.0. 14.0 IS
Solem Genealogy Jan-Thore Solem Private 14​.0​.0​.0 14.0.5 EN, NO