Difference between revisions of "Source Occurrences Mod"

From TNG_Wiki
Jump to navigation Jump to search
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
{{V12_cust_text}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = Source Occurrences Mod
 
| mod_name        = Source Occurrences Mod
 
| mod_summary    = Shows the number of times a source is being used on the admin_sources.php page.
 
| mod_summary    = Shows the number of times a source is being used on the admin_sources.php page.
 
| mod_validation  =
 
| mod_validation  =
| download_link = For {{Tv1010}}[[Media:Source_occurrences_mod_v10.1.0.4.zip|source_occurrences_mod_v10.1.0.4.zip]]<hr />For {{Tv100}}{{Tv90}}<br /><span class="nowrap">[[Media:Source occurrences mod v9.0.0.2.zip|Source_occurrences_mod v9.0.0.2.zip]]</span>
+
| mod_last_update = 22 Dec 2020
 +
| download_link   = [[Media:Source occurrences mod v13.0.0.0.zip|source occurrences mod v13.0.0.0.zip]]{{Tv130}}[[Media:Source_occurrences_mod_v12.1.0.5.zip|source_occurrences_mod_v12.1.0.5.zip]]{{Tv1210}}
 +
{{Tv120}}{{Tv110}}{{Tv1010}}[[Media:Source_occurrences_mod_v10.1.0.4.zip|source_occurrences_mod_v10.1.0.4.zip]]
 +
{{Tv100}}{{Tv90}}[[Media:Source occurrences mod v9.0.0.2.zip|Source_occurrences_mod v9.0.0.2.zip]]
 
| download_stats  = [https://www.royandboucher.com/ccount/index.php?action=stats&id=255 View download counts v10.1.0.3]
 
| download_stats  = [https://www.royandboucher.com/ccount/index.php?action=stats&id=255 View download counts v10.1.0.3]
 
| mod_author      = [[User:Majdan|Nik Majdan]]
 
| mod_author      = [[User:Majdan|Nik Majdan]]
Line 9: Line 13:
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_contact    = Leave message on developer's [[User talk:Majdan|talk page]].
 
| mod_contact    = Leave message on developer's [[User talk:Majdan|talk page]].
| mod_version    = V10.1.0.4 for TNG 10.1 and up<br />V9.0.0.2 for TNG 9 and up
+
| mod_version    = v13.0.0.0 for TNG 13.0<br/>v12.1.0.5 for TNG 12.1+<br />v10.1.0.4 for TNG 10.1+<br />v9.0.0.2 for TNG 9.0.2+
 
| min_TNG_ver    = 9.0.0
 
| min_TNG_ver    = 9.0.0
| max_TNG_ver    = 10.1.1
+
| max_TNG_ver    = 13.0
| TNG_file_list  = admin_sources.php
+
| TNG_file_list  = admin_sources.php, English cust_text.php, German cust_text.php
 
|  related_mods    = [[Admin Sources sort]]
 
|  related_mods    = [[Admin Sources sort]]
 
| notes          =
 
| notes          =
 
}}  
 
}}  
 
 
{|align=right
 
{|align=right
 
|__TOC__
 
|__TOC__
 
|}  
 
|}  
 
 
== Purpose of Mod ==
 
== 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.
 
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.
  
== Automated Installation ==
+
== Installation ==
  
# Download the appropriate file from the download links in the mod summary area in the upper right.
+
# Download the file that is appropriate for your version of TNG from the download links in the mod summary area in the upper right.
 
# Extract the downloaded zip file to your '''mods''' folder.
 
# Extract the downloaded zip file to your '''mods''' folder.
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the appropriate '''source_title_display.cfg''' file.
+
# Follow the normal installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]].
  
 
== Mod Visualization ==
 
== Mod Visualization ==
''admin_sources.php'' before:
+
{| border="2" cellspacing="2" cellpadding="2" class="wikitable"
[[Image:SourcesOccurrence Before.png]]
+
|-
 
+
| ''admin_sources.php'' before:
''admin_sources.php'' after:
+
*The Tree column will be present only if the site has multiple trees.
[[Image:SourcesOccurrence After.png]]
+
*In TNGv12.1, a "Last Update" column has been added, but it is displayed only under certain conditions (which is a whole other story).
 +
|-
 +
| [[Image:SourcesOccurrence Before.png]]
 +
|-
 +
|''admin_sources.php'' after:
 +
|-
 +
|[[Image:SourcesOccurrence After.png]]
 +
|}
  
 
==Revision History==
 
==Revision History==
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
+
{| border="1" cellspacing="5" cellpadding="2" class="wikitable"
 
|-
 
|-
! Version
+
! Version !! Date !! Contents
! 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
 
| v10.1.0.4
Line 49: Line 68:
 
|  
 
|  
 
*Fixed bug when only a single tree exists
 
*Fixed bug when only a single tree exists
*Added german translation (with %fileoptional:%)
+
*Added German translation
 
|-
 
|-
 
| v10.1.0.3
 
| v10.1.0.3
Line 73: Line 92:
 
*Initial creation.
 
*Initial creation.
 
|}
 
|}
 
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 91: Line 109:
 
| [[User:Majdan|Nik Majdan]]
 
| [[User:Majdan|Nik Majdan]]
 
| align="center" | -
 
| align="center" | -
| V9.0.0.2
+
| V13.0.0.0
| V10.0.0
+
| V13.0
 
| English
 
| English
 
|-
 
|-
Line 122: Line 140:
 
| 10.1.0
 
| 10.1.0
 
| EN, FR
 
| EN, FR
|-
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
 
| [[User:lastejas|Rick Hooley]]
 
| Public Site
 
| 10.1.0.3
 
| 10.1.1
 
| EN
 
 
|-
 
|-
 
| [http://www.wortelboer.tk Wortelboer Genealogy]  
 
| [http://www.wortelboer.tk Wortelboer Genealogy]  
Line 140: Line 151:
 
| [[User:laxref93|John Kleinmann]]
 
| [[User:laxref93|John Kleinmann]]
 
|  
 
|  
 +
| 13.0.0.0
 +
| 13.0.1
 +
| EN
 +
|-
 +
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 +
| [[User:Louis42|J-Louis Valory]]
 +
| Private - T17 customized
 
| 10.1.0.4
 
| 10.1.0.4
| 11.1.2
+
| 12.3
| EN
+
| FR
 
|-
 
|-
 
|}
 
|}
Line 148: Line 166:
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v13]]
 
[[Category:Admin sources.php mods]]
 
[[Category:Admin sources.php mods]]

Revision as of 10:42, 22 December 2020


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 22 Dec 2020
Download link source occurrences mod v13.0.0.0.zip
TNG 13.0

source_occurrences_mod_v12.1.0.5.zip

TNG 12.1.0


TNG 12.0
TNG 11.0
TNG 10.1.0

source_occurrences_mod_v10.1.0.4.zip

TNG 10.0
TNG 9.0
Source_occurrences_mod v9.0.0.2.zip
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
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.

Installation

  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
http://family.themajdans.com 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 10.1.0.4 11.0.0 NL, EN
Kleinmann Genealogy John Kleinmann 13.0.0.0 13.0.1 EN
Racine d'Alsace J-Louis Valory Private - T17 customized 10.1.0.4 12.3 FR