Difference between revisions of "Source Occurrences Mod"

From TNG_Wiki
Jump to navigation Jump to search
(+new version)
(36 intermediate revisions by 11 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   = [[Media:Source occurrences mod v9.0.0.1.zip|Source occurrences mod v9.0.0.1.zip]]
+
| mod_last_update = 08 Apr 2020
 +
|  download_link = <div>[[Media:Source_occurrences_mod_v12.1.0.5.zip|source_occurrences_mod_v12.1.0.5.zip]]{{Tv1210}}</div>
 +
<div>[[Media:Source_occurrences_mod_v10.1.0.4.zip|source_occurrences_mod_v10.1.0.4.zip]]{{Tv1010}}{{Tv110}}{{Tv1210}}</div>
 +
<div>[[Media:Source occurrences mod v9.0.0.2.zip|Source_occurrences_mod v9.0.0.2.zip]]{{Tv100}}{{Tv90}}</div>
 +
| 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]]
 
| mod_url        = [[Source Occurrences Mod]] (This page)
 
| mod_url        = [[Source Occurrences Mod]] (This page)
| mod_support    = [http://www.tngforum.us/ TNG 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    = V1.0
+
| mod_version    = 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    = 9.0.0
+
| max_TNG_ver    = 12.1.3
| TNG_file_list  = admin_sources.php
+
| TNG_file_list  = admin_sources.php, English cust_text.php, German cust_text.php
|  related_mods    =  
+
|  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 !! Date !! Contents
 +
|-
 +
| 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
 
|-
 
|-
! Version
+
| v10.1.0.3
! Date
+
| 24 January 2015
! Contents
+
| Updated for TNG 10.1 by Ken Roy
 +
|-
 +
| v9.0.0.2
 +
| 23 July 2013
 +
|
 +
*Modified to allow coexistence with [[Admin Sources sort]] (new mod).
 
|-
 
|-
 
| v9.0.0.1
 
| v9.0.0.1
 
| 10&nbsp;February&nbsp;2012
 
| 10&nbsp;February&nbsp;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]].
+
*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
 
| v9.0.0.0
 
| 09 February 2012
 
| 09 February 2012
| Initial creation.
+
|  
 +
*Initial creation.
 
|}
 
|}
  
== TNG User sites using this mod ==
+
 
 +
== 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.
 
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.
Line 63: Line 98:
 
! User
 
! User
 
! Note
 
! Note
! Mod-Version / TNG-Version
+
! Mod-Version  
 +
! TNG-Version
 
! User-language
 
! User-language
 
|-
 
|-
Line 69: Line 105:
 
| [[User:Majdan|Nik Majdan]]
 
| [[User:Majdan|Nik Majdan]]
 
| align="center" | -
 
| align="center" | -
| V9.0.0.1 / V9.0.0
+
| V9.0.0.2
 +
| V10.0.0
 +
| English
 +
|-
 +
| [http://http://www.groganmob.com/ Grogan Mob]
 +
| [[User:Mgrogan|Margaret Grogan]]
 +
| Public Site
 +
| V10.1.0.3
 +
| TNG 10.1.
 
| English
 
| English
 +
|-
 +
| [http://http://www.turnermob.com/ Turner Mob]
 +
| [[User:Mgrogan|Margaret Grogan]]
 +
| Public Site
 +
| V10.1.0.3
 +
| TNG 10.1.
 +
| English
 +
|-
 +
| [https://genealogywings.com/ MOTYER Family Genealogy]
 +
| [[User:JMM|John Mark Motyer]]
 +
| Public site
 +
| [[User:JMM|see here]]
 +
| [[User:JMM|see here]]
 +
| EN, DE, RU
 +
|-
 +
| [https://www.royandboucher.com/tng/ Our Roy and Boucher Family]
 +
| [[User:Ken Roy|Ken Roy]]
 +
|
 +
| v10.1.0.3
 +
| 10.1.0
 +
| EN, FR
 +
|-
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
| [[User:lastejas|Rick Hooley]]
 +
| Public/Private
 +
| [[User: lastejas|See Here]]
 +
| [[User: lastejas|See Here]]
 +
| EN
 +
|-
 +
| [http://www.wortelboer.tk Wortelboer Genealogy]
 +
| [[User:Bernard57|Bernard Wortelboer]]
 +
| Public site
 +
| 10.1.0.4
 +
| 11.0.0
 +
| NL, EN
 +
|-
 +
| [http://www.kleinmanngenealogy Kleinmann Genealogy]
 +
| [[User:laxref93|John Kleinmann]]
 +
|
 +
| 12.1.0.5
 +
| 12.3
 +
| EN
 +
|-
 +
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 +
| [[User:Louis42|J-Louis Valory]]
 +
| Private - T17 customized
 +
| 10.1.0.4
 +
| 12.3
 +
| FR
 +
|-
 
|}
 
|}
  
 
+
[[Category:Mods for TNG v9]]
[[Category: Mods for TNG v9]]
+
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Admin sources.php mods]]

Revision as of 11:06, 11 April 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 08 Apr 2020
Download link
source_occurrences_mod_v10.1.0.4.zip
TNG 10.1.0
TNG 11.0
TNG 12.1.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 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 12.1.3
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
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 - V9.0.0.2 V10.0.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
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Wortelboer Genealogy Bernard Wortelboer Public site 10.1.0.4 11.0.0 NL, EN
Kleinmann Genealogy John Kleinmann 12.1.0.5 12.3 EN
Racine d'Alsace J-Louis Valory Private - T17 customized 10.1.0.4 12.3 FR