Difference between revisions of "Source Occurrences Mod"

From TNG_Wiki
Jump to navigation Jump to search
 
(54 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{TNGmod
+
{{V12_cust_text}}{{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 {{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 = 28 Jan 2023
| download_stats  =
+
| download_link   = For{{Tv140}}<br />[[Media:Source occurrences mod v14.0.0.0.zip|v14.0.0.0]]<hr style="clear: both;"/>For{{Tv130}}<br />[[Media:Source occurrences mod v13.0.0.0.zip|v13.0.0.0]]<hr style="clear: both;"/>For{{Tv1210}}<br />[[Media:Source_occurrences_mod_v12.1.0.5.zip|v12.1.0.5]]<hr style="clear: both;"/>For{{Tv120}}{{Tv110}}{{Tv1010}}<br />[[Media:Source_occurrences_mod_v10.1.0.4.zip|v10.1.0.4]]<hr style="clear: both;"/>For{{Tv100}}{{Tv90}}<br />[[Media:Source occurrences mod v9.0.0.2.zip|v9.0.0.2]]
 +
| 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    = [https://tng.community/index.php?/forums/forum/21-addons/ 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    = V9.0.0.2
+
| mod_version    = 14.0.0.0 for TNG 14.0<br/>13.0.0.0 for TNG 13.0<br/>12.1.0.5 for TNG 12.1+<br />10.1.0.4 for TNG 10.1+<br />9.0.0.2 for TNG 9.0.2+
 
| min_TNG_ver    = 9.0.0
 
| min_TNG_ver    = 9.0.0
| max_TNG_ver    = 10.0.0
+
| max_TNG_ver    = 14.0
| TNG_file_list  = admin_sources.php
+
| TNG_file_list  = admin_sources.php<br />English cust_text.php<br />German cust_text.php<br />Danish just_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 ==
+
== Developer ==
 
+
The Mod Name mod was developed by [[User:Majdan|Nik Majdan]].
# Download the appropriate file from the download links in the mod summary area in the upper right.
 
# 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.
 
 
 
== Mod Visualization ==
 
''admin_sources.php'' before:
 
[[Image:SourcesOccurrence Before.png]]
 
  
''admin_sources.php'' after:
+
==Requirements==
[[Image:SourcesOccurrence After.png]]
+
* 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==
 
==Revision History==
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
+
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
|-
 
|-
! Version
+
! Mod Version
 +
! TNG Version
 
! Date
 
! Date
 
! Contents
 
! Contents
|-
+
 
| v9.0.0.2
+
|- style="vertical-align:top;"
| 23 July 2013
+
| 14.0.0.0
 +
| 14.0
 +
| style="white-space: nowrap;"|28 Jan 2023
 +
|
 +
*Accommodated changes made to TNGv14
 +
*Add Danish translation
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.0.0
 +
| 13.0
 +
| style="white-space: nowrap;"|22 Dec 2020
 +
|
 +
*Accommodated changes made to TNGv13
 +
 
 +
|- style="vertical-align:top;"
 +
| 12.1.0.5
 +
| 12.1
 +
| style="white-space: nowrap;"|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.
 +
 
 +
|- style="vertical-align:top;"
 +
| 10.1.0.4
 +
| 10.1
 +
| style="white-space: nowrap;"|02 Jun 2015
 +
|
 +
*Fixed bug when only a single tree exists
 +
*Added German translation
 +
 
 +
|- style="vertical-align:top;"
 +
| 10.1.0.3
 +
| 10.1
 +
| style="white-space: nowrap;"|24 Jan 2015
 +
| Updated for TNG 10.1 by Ken Roy
 +
 
 +
|- style="vertical-align:top;"
 +
| 9.0.0.2
 +
| 9.0
 +
| style="white-space: nowrap;"|23 Jul 2013
 
|  
 
|  
 
*Modified to allow coexistence with [[Admin Sources sort]] (new mod).  
 
*Modified to allow coexistence with [[Admin Sources sort]] (new mod).  
|-
+
 
| v9.0.0.1
+
|- style="vertical-align:top;"
| 10&nbsp;February&nbsp;2012
+
| 9.0.0.1
 +
| 9.0
 +
| style="white-space: nowrap;"|10 Feb 2012
 
|  
 
|  
 
*Fixed bug with mod breaking search functionality.  
 
*Fixed bug with mod breaking search functionality.  
Line 57: Line 93:
 
*Added support for cust_text.php.  
 
*Added support for cust_text.php.  
 
*Brought mod in compliance with [[Mod Guidelines]].
 
*Brought mod in compliance with [[Mod Guidelines]].
|-
+
 
| v9.0.0.0
+
|- style="vertical-align:top;"
| 09 February 2012
+
| 9.0.0.0
 +
| 9.0
 +
| style="white-space: nowrap;"|09 Feb 2012
 
|  
 
|  
 
*Initial creation.
 
*Initial creation.
 
|}
 
|}
  
 +
==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 '''mods''' folder or FTP the extracted 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 mod.
 +
 +
== In the event of a problem ==
 +
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
 +
* Copy the backup of the affected files back to your TNG  directory
 +
* Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums].
 +
 +
== Uninstalling the mod ==
 +
 +
If  you want to completely '''Remove''' (uninstall) this mod and all its tables, 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.
  
== Sites using this mod ==
+
== Mod Visualization ==
 +
{| border="2" cellspacing="2" cellpadding="2" class="wikitable"
 +
|-
 +
| ''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).
 +
|-
 +
| [[Image:SourcesOccurrence Before.png]]
 +
|-
 +
|''admin_sources.php'' after:
 +
|-
 +
|[[Image:SourcesOccurrence After.png]]
 +
|}
  
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.
+
==Sites using this mod==
 +
If you download and install this mod, please add your TNG site to the table below:
  
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
Line 74: Line 145:
 
! User
 
! User
 
! Note
 
! Note
! Mod-Version  
+
! Mod-Version
 
! TNG-Version
 
! TNG-Version
 
! User-language
 
! User-language
 +
 
|-
 
|-
 +
|[https://tng.stegemueller.dk Stegemüller Family History]
 +
|[https://tng.lythgoes.net/wiki/index.php/User:Stegemüller Hanne B. Stegemüller]
 +
|Public site
 +
|14.0.0.0
 +
|14.0.3
 +
|EN, DE, DA
 +
 +
|- style="vertical-align:top;"
 
| http://family.themajdans.com
 
| http://family.themajdans.com
 
| [[User:Majdan|Nik Majdan]]
 
| [[User:Majdan|Nik Majdan]]
 
| align="center" | -
 
| align="center" | -
| V9.0.0.2
+
| 14.0.0.0
| V10.0.0
+
| 14.0
| English
+
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 +
| [https://www.treichel-familie.de Treichel-Familie.de]
 +
| [[User:EAndy| Andreas Treichel]]
 +
| Public & Private
 +
| 14​.0​.0​.0
 +
| 14.0
 +
| DE, UK, FR, ES, PL
 +
 
 +
|- style="vertical-align:top;"
 
| [http://http://www.groganmob.com/ Grogan Mob]
 
| [http://http://www.groganmob.com/ Grogan Mob]
 
| [[User:Mgrogan|Margaret Grogan]]
 
| [[User:Mgrogan|Margaret Grogan]]
 
| Public Site
 
| Public Site
| V9.0.0.2
+
| 10.1.0.3
| TNG 9.2.1
+
| 10.1.
| English
+
| EN
|-
+
 
| [http://genealogywings.com/ GenealogyWings]
+
|- style="vertical-align:top;"
 +
| [http://http://www.turnermob.com/ Turner Mob]
 +
| [[User:Mgrogan|Margaret Grogan]]
 +
| Public Site
 +
| 10.1.0.3
 +
| 10.1.
 +
| EN
 +
 
 +
|- style="vertical-align:top;"
 +
| [https://www.kmtrees.com/ Roots & Relatives Remembered]
 +
| [[User:Tngrlkrz|Ron Krzmarzick]]
 +
| Public & Private
 +
| [https://www.kmtrees.com/mods-installed See Here]
 +
| [https://www.kmtrees.com/mods-installed See Here]
 +
| EN,DE,CS
 +
 
 +
|- style="vertical-align:top;"
 +
| [https://www.genealogywings.com/ MOTYER Family Genealogy]
 
| [[User:JMM|John Mark Motyer]]
 
| [[User:JMM|John Mark Motyer]]
 
| Public site
 
| Public site
| v9.0.0.2
+
| [https://www.genealogywings.com/jmm_pages/My-TNG-mods.php See here]
| TNG 9.2.1
+
| [https://www.genealogywings.com/jmm_pages/My-TNG-mods.php See here]
| EN, DE, RU
+
| EN
|-
+
 
| [http://www.royandboucher.com/tng/ Our Roy and Boucher Family]
+
|- style="vertical-align:top;"
 +
| [https://www.royandboucher.com/tng/ Our Roy and Boucher Family]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
 
|  
 
|  
| v9.0.0.2
+
| 10.1.0.3
| 10.0.0
+
| 10.1.0
 
| EN, FR
 
| EN, FR
|-
+
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
+
|- style="vertical-align:top;"
| [[User:lastejas|Rick Hooley]]
 
| login: guest pwd: guest
 
| 9.0.0.2
 
| 10.0.1
 
| EN
 
|-
 
 
| [http://www.wortelboer.tk Wortelboer Genealogy]  
 
| [http://www.wortelboer.tk Wortelboer Genealogy]  
 
| [[User:Bernard57|Bernard Wortelboer]]
 
| [[User:Bernard57|Bernard Wortelboer]]
 
| Public site
 
| Public site
| 9.0.0.2
+
| 10.1.0.4
| 10.0.3
+
| 11.0.0
 +
| NL, EN
 +
 
 +
|- style="vertical-align:top;"
 +
| [http://www.kleinmanngenealogy Kleinmann Genealogy]
 +
| [[User:laxref93|John Kleinmann]]
 +
|
 +
| 14.0.0.0
 +
| 14.0.0
 
| EN
 
| EN
 +
 +
|- style="vertical-align:top;"
 +
| [https://bastiaanssen.us Bastiaanssen Genealogy]
 +
| Jan  Bastiaanssen
 +
| Public / Private
 +
| 13.0.0.0
 +
| 13.1.2
 +
| EN, NL, ES
 +
 +
|- style="vertical-align:top;"
 +
| [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
 +
 +
|- style="vertical-align:top;"
 +
| [http://www.colegenealogy.net/ The Cole / Tanner Family Tree]
 +
| [[User:dlcole|David Cole]]
 +
| Public/Private
 +
| [[User:Dlcole|see here]]
 +
| [[User:Dlcole|see here]]
 +
| EN, DE, FR, ES, NL
 +
 +
|- style="vertical-align:top;"
 +
| [https://cnl-gla.ca/nos-ancetres/lapierreamerique/ Les Lapierre d'Amérique]
 +
| [[User:NLapierre|Normand Lapierre]]
 +
| Public/Private
 +
| 14.0.0.0
 +
| {{Tv1403}}
 +
| FR, EN
 +
 +
|- style="vertical-align:top;"
 +
|[https://www.legstadaleit.com Legstaðaleit.com]
 +
|Rakel Bára Þorvaldsdóttir
 +
|Public Site
 +
|14.0.0.0.
 +
|14.0
 +
|IS
 
|-
 
|-
 +
|[https://slekt.solem.info Solem Genealogy]
 +
|[[User:JTS|Jan-Thore Solem]]
 +
|Private
 +
|14​.0​.0​.0
 +
|14.0.2
 +
|EN, NO
 
|}
 
|}
  
 
[[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:Mods for TNG v14]]
 +
 
[[Category:Admin sources.php mods]]
 
[[Category:Admin sources.php mods]]
 +
 +
[[Category:Cust text.php English mods]]
 +
[[Category:Cust text.php Danish mods]]
 +
[[Category:Cust text.php German mods]]

Latest revision as of 14:11, 8 December 2023


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 all its tables, 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 14.0 DE, UK, 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 13.0.0.0 13.1.2 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.2 EN, NO