Difference between revisions of "ID Analysis"

From TNG_Wiki
Jump to navigation Jump to search
(Text replacement - "http://www.gilbert-family-history.net" to "https://www.gilbert-family-history.net")
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{TNGmod
 
{{TNGmod
| mod_name        = Maintenance - ID Analysis
+
| mod_name        = ID Analysis Mod
| mod_summary    = Adds a tab (ID Analysis) to the Admin > Reports page
+
| mod_summary    = Adds a tab (ID Analysis) to the Admin > Miscellaneous page
| download_link  = [[Media:Id_analysis_v8.1.2.cfg.zip‎ | Id_analysis_v8.1.2.cfg.zip‎]] for TNG V8<br />[[Media:id_analysis_v1.0.zip | id_analysis_v1.0.zip]] for TNG V7
+
| mod_validation  = Admin application, validation not attempted
 +
| download_link  = for &nbsp;&nbsp;&nbsp;&nbsp;{{Tv110}}[[Media:Id_analysis_v11.0.0.1.zip | Id_analysis_v11.0.0.1.zip]]<hr />for {{Tv1010}}[[Media:id_analysis_v10.1.0.0.zip | id_analysis_v10.1.0.0.zip]]<hr />‎for {{Tv1003}}{{Tv90}} [[Media:Id_analysis_v9.0.0.2.zip | Id_analysis_v9.0.0.2.zip]]<br /> for [[Media:Id_analysis_v9.0.0.1_de.zip | German Language File]]<hr /> {{Tv80}}[[Media:Id_analysis_v8.1.2.zip‎ | Id_analysis_v8.1.2.zip‎]] for<hr />{{Tv70}}[[Media:id_analysis_v1.0.zip | id_analysis_v1.0.zip]] for  
 
| mod_author      = Warren S Gilbert  
 
| mod_author      = Warren S Gilbert  
| mod_url        = [[Maintenance - ID Analysis]]
+
| mod_url        = [[ID Analysis]]
| mod_support    = [http://www.tngforum.us/index.php?s=&showtopic=1087&view=findpost&p=20261 TNG Forums]
+
| mod_support    = [https://www.gilbert-family-history.net/mod_support.php Support for Warren Gilbert's mods]
| mod_version    = 8.1.1 for TNG V8<br />1.0 for TNG V7
+
| mod_version    = 11.0.0.1 for TNG v11.0<br />10.1.0.0 for TNG v10.1<br />9.0.0.2 for TNG V9 and above<br />8.1.1 for TNG V8<br />1.0 for TNG V7
 +
| mod_contact =
 
| min_TNG_ver    = 7.0.0
 
| min_TNG_ver    = 7.0.0
| max_TNG_ver    = 8.0.0
+
| max_TNG_ver    = 11.0.0
 
| TNG_file_list  = See [[Maintenance_-_ID_Analysis#TNG_modules_Involved | TNG Modules Involved]]
 
| TNG_file_list  = See [[Maintenance_-_ID_Analysis#TNG_modules_Involved | TNG Modules Involved]]
| related_mods    =  
+
| related_mods    = [[Use_Unused_IDs|Use Unused IDs Mod]]
| notes          = <span style="color: red">'''supports'''</span> <span style="color: blue">English</span> and <span style="color: blue">German</span>
+
| notes          = supports English, German optionally
 
}}
 
}}
  
Line 19: Line 21:
  
 
== Purpose of the mod ==
 
== Purpose of the mod ==
This mod adds a tab (ID Analysis) to Admin > Reports (v7) or Admin > Miscellaneous (v8). Lists for each tree in the database, for people and families: - declared prefix or suffix, total rows/records, list of unused ID numbers (if any), list of IDs not conforming to the declared prefix or suffix (if any).
+
This mod adds a tab (ID Analysis) to Admin > Reports (v7) or Admin > Miscellaneous (v8 and above). Lists for each tree in the database, for people and families: - declared prefix or suffix, total rows/records, list of unused ID numbers (if any), list of IDs not conforming to the declared prefix or suffix (if any).<br />
 +
If all the IDs in a tree/table are the same length, the latest version of the mod will report the unused IDs with leading zeros.  
  
 
== Developer ==
 
== Developer ==
Line 26: Line 29:
  
 
== Requirements ==
 
== Requirements ==
* A working TNG installation. Automated installation has been tested on TNG Versions 7.1.0, 7.1.1 and 8.0.0.
+
* A working TNG installation. Automated installation has been tested on TNG Versions 7.1.0, 7.1.1, 9.0.0.0, 10.1.0 and 11.0.0
 
* A backup of the [[Maintenance_-_ID_Analysis#TNG_modules_Involved | TNG modules involved]] - see below.
 
* A backup of the [[Maintenance_-_ID_Analysis#TNG_modules_Involved | TNG modules involved]] - see below.
 
* An installed current version of the Mod Manager.
 
* An installed current version of the Mod Manager.
Line 33: Line 36:
  
 
# Download the appropriate zip file shown in the summary in the upper right hand corner
 
# Download the appropriate zip file shown in the summary in the upper right hand corner
# Extract the downloaded config file into your '''admin/mod_folder''' for TNG V7 and '''mods''' folder for TNG V8
+
# Extract the downloaded config file into your '''admin/mod_folder''' for TNG V7 and '''mods''' folder for TNG V8 and above
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''id_analysis.cfg''' config file.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''id_analysis.cfg''' config file.
  
Line 44: Line 47:
 
! Date
 
! Date
 
! Contents
 
! Contents
 +
|-
 +
| v11.0.0.1
 +
| 21 March 2016
 +
|  [[Media:Id_analysis_v11.0.0.1.zip‎|Id_analysis_v11.0.0.1.zip‎‎]] => updated to use config.php rather than prefixes.php
 +
|-
 +
| v11.0.0.0
 +
| 18 March 2016
 +
|  [[Media:Id_analysis_v11.0.0.0.zip‎|Id_analysis_v11.0.0.0.zip‎‎]] => updated for TNG Version 11
 +
|-
 +
| v10.1.0.0
 +
| 28 January 2015
 +
|  [[Media:Id_analysis_v10.1.0.0.zip‎|Id_analysis_v10.1.0.0.zip‎‎]] => updated to replace mysql calls with tng (mysqli) calls.
 +
|-
 +
| v9.0.0.2
 +
| 9 April 2013
 +
|  [[Media:Id_analysis_v9.0.0.2.zip‎|Id_analysis_v9.0.0.2.zip‎‎]] => updated to detect and report IDs with leading zeros.
 +
|-
 +
| v9.0.0.1
 +
| 31 March 2012
 +
|  [[Media:Id_analysis_v9.0.0.1.zip‎|Id_analysis_v9.0.0.1.zip‎‎]] => German (UTF-8) Language file separated from the Mod file.
 +
|-
 +
| v9.0.0.0
 +
| 2 February 2012
 +
|  [[Media:Id_analysis_v9.0.0.0.zip‎|Id_analysis_v9.0.0.0.zip‎‎]] => updated for TNG Version 9
 
|-
 
|-
 
| v8.1.2
 
| v8.1.2
| 09.10.2011
+
| 9 October 2011
| [[Media:Id_analysis_v8.1.2.cfg.zip‎|Id_analysis_v8.1.2.cfg.zip‎‎]] => supports English and German (UTF8) language, menu item added to Index-age "admin_misc.php"
+
| [[Media:Id_analysis_v8.1.2.zip‎|Id_analysis_v8.1.2.zip‎‎]] => supports English and German (UTF8) language, menu item added to Index-page "admin_misc.php" and "admin_main.php"
 
|-
 
|-
 
 
| v8.1.1
 
| v8.1.1
| 30.05.2010
+
| 30 May 2010
| [[Media:id_analysis_v8.1.1.zip|id_analysis_v8.1.1.zip]] => supports English language
+
| [[Media:id_analysis_v8.1.1.zip|id_analysis_v8.1.1.zip]] => supports English language
 
|}
 
|}
  
Line 68: Line 94:
 
== Side effects ==
 
== Side effects ==
  
As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the [[Mod Manager]] to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).
+
As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the [[Mod Manager]] to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).
  
 
== TNG User sites using this mod ==
 
== TNG User sites using this mod ==
Line 74: Line 100:
 
As this is a modification to the Administration area of TNG, only Admin users would be able to see it in operation.
 
As this is a modification to the Administration area of TNG, only Admin users would be able to see it in operation.
  
* [http://www.gilbert-family-history.net/ Genealogy: GILBERT, KETTLE, BLOMELEY, LUDFORD etc.]
+
* [https://www.gilbert-family-history.net/ Genealogy: GILBERT, KETTLE, BLOMELEY, LUDFORD etc.]
 +
* [http://www.hendeefamily.org/ Genealogy of the Hendee Family]
 +
* [http://www.duttongenealogy.com The Dutton's of Vermont]
 +
* [http://www.wortelboer.tk Wortelboer Genealogy]
 +
* [http://geneagraphie.com/ Families all over the World] - [[User:Henri_Textor| Please see here]]
  
 
== TNG modules Involved ==
 
== TNG modules Involved ==
 +
=== TNG v11 ===
 +
This mod
 +
* modifies the admin_misc.php, admin_mostwanted.php, admin_whatsnewmsg.php, admin_data_validation.php, English/misc_help.php scripts,
 +
* adds text to languages/<span style="color: blue">English</span>/cust_text.php and languages/<span style="color: blue">English-UTF8</span>/cust_text.php and languages/<span style="color: blue">German-UTF8</span>/cust_text.php
 +
* introduces a new script, admin_idanalysis.php.
  
=== TNG V8 ===  
+
=== TNG v8, v9 and v10 ===  
 
This mod  
 
This mod  
* modifies the admin_editreport.php, admin_mostwantedlist.php, admin_newreport.php, admin_reports.php, admin_whatsnewmsg.php, English/reports_help.php scripts,  
+
* modifies the admin_misc.php, admin_mostwanted.php, admin_notelist.php, admin_whatsnewmsg.php, English/misc_help.php scripts,  
 
* adds text to languages/<span style="color: blue">English</span>/cust_text.php and languages/<span style="color: blue">English-UTF8</span>/cust_text.php and languages/<span style="color: blue">German-UTF8</span>/cust_text.php
 
* adds text to languages/<span style="color: blue">English</span>/cust_text.php and languages/<span style="color: blue">English-UTF8</span>/cust_text.php and languages/<span style="color: blue">German-UTF8</span>/cust_text.php
 
* introduces a new script, admin_idanalysis.php.
 
* introduces a new script, admin_idanalysis.php.
Line 92: Line 127:
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v8]]
 +
[[Category:Mods for TNG v9]]
 +
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Admin misc.php mods]]
 +
[[Category:Admin mostwanted.php mods]]
 +
[[Category:Admin notelist.php mods]]
 +
[[Category:Admin whatsnewmsg.php mods]]
 +
[[Category:Admin data_validation.php mods]]
 +
[[Category:Cust text.php English mods]]
 +
[[Category:Cust_text.php German mods]]

Revision as of 14:04, 17 November 2016

ID Analysis Mod
Summary Adds a tab (ID Analysis) to the Admin > Miscellaneous page
Validation Admin application, validation not attempted
Mod Updated {{{mod_last_update}}}
Download link for     
TNG 11.0
Id_analysis_v11.0.0.1.zip
for
TNG 10.1.0
id_analysis_v10.1.0.0.zip
‎for
TNG 10.0.3
TNG 9.0
Id_analysis_v9.0.0.2.zip
for German Language File
TNG 8.0
Id_analysis_v8.1.2.zip‎ for
TNG 7.0
id_analysis_v1.0.zip for
Download stats {{{download_stats}}}
Author(s) Warren S Gilbert
Homepage ID Analysis
Mod Support Support for Warren Gilbert's mods
Contact Developer
Latest Mod 11.0.0.1 for TNG v11.0
10.1.0.0 for TNG v10.1
9.0.0.2 for TNG V9 and above
8.1.1 for TNG V8
1.0 for TNG V7
Min TNG V 7.0.0
Max TNG V 11.0.0
Files modified
Related Mods
Notes
supports English, German optionally


Purpose of the mod

This mod adds a tab (ID Analysis) to Admin > Reports (v7) or Admin > Miscellaneous (v8 and above). Lists for each tree in the database, for people and families: - declared prefix or suffix, total rows/records, list of unused ID numbers (if any), list of IDs not conforming to the declared prefix or suffix (if any).
If all the IDs in a tree/table are the same length, the latest version of the mod will report the unused IDs with leading zeros.

Developer

This mod was developed by Warren S Gilbert

Requirements

  • A working TNG installation. Automated installation has been tested on TNG Versions 7.1.0, 7.1.1, 9.0.0.0, 10.1.0 and 11.0.0
  • A backup of the TNG modules involved - see below.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Download the appropriate zip file shown in the summary in the upper right hand corner
  2. Extract the downloaded config file into your admin/mod_folder for TNG V7 and mods folder for TNG V8 and above
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the id_analysis.cfg config file.

Note that the config file only includes the English language changes. If you support multiple languages, you will need to modify the config file to add the custom text for your other languages.

Revision History

Version Date Contents
v11.0.0.1 21 March 2016 Id_analysis_v11.0.0.1.zip‎‎ => updated to use config.php rather than prefixes.php
v11.0.0.0 18 March 2016 Id_analysis_v11.0.0.0.zip‎‎ => updated for TNG Version 11
v10.1.0.0 28 January 2015 Id_analysis_v10.1.0.0.zip‎‎ => updated to replace mysql calls with tng (mysqli) calls.
v9.0.0.2 9 April 2013 Id_analysis_v9.0.0.2.zip‎‎ => updated to detect and report IDs with leading zeros.
v9.0.0.1 31 March 2012 Id_analysis_v9.0.0.1.zip‎‎ => German (UTF-8) Language file separated from the Mod file.
v9.0.0.0 2 February 2012 Id_analysis_v9.0.0.0.zip‎‎ => updated for TNG Version 9
v8.1.2 9 October 2011 Id_analysis_v8.1.2.zip‎‎ => supports English and German (UTF8) language, menu item added to Index-page "admin_misc.php" and "admin_main.php"
v8.1.1 30 May 2010 id_analysis_v8.1.1.zip => supports English language


In the event of a problem

  • Try using the Mod Manager Remove capability
  • Or copy the backup versions of the TNG modules involved.

Visualization of this mod

Idanalysis.jpg ID Analyse V8 German.jpg

Side effects

As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the Mod Manager to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).

TNG User sites using this mod

As this is a modification to the Administration area of TNG, only Admin users would be able to see it in operation.

TNG modules Involved

TNG v11

This mod

  • modifies the admin_misc.php, admin_mostwanted.php, admin_whatsnewmsg.php, admin_data_validation.php, English/misc_help.php scripts,
  • adds text to languages/English/cust_text.php and languages/English-UTF8/cust_text.php and languages/German-UTF8/cust_text.php
  • introduces a new script, admin_idanalysis.php.

TNG v8, v9 and v10

This mod

  • modifies the admin_misc.php, admin_mostwanted.php, admin_notelist.php, admin_whatsnewmsg.php, English/misc_help.php scripts,
  • adds text to languages/English/cust_text.php and languages/English-UTF8/cust_text.php and languages/German-UTF8/cust_text.php
  • introduces a new script, admin_idanalysis.php.

TNG V7

This mod

  • modifies the admin/editreport.php, admin/mostwantedlist.php, admin/newreport.php, admin/reports.php, admin/whatsnewmsg.php, English/reports_help.php scripts,
  • adds text to English/cust_text.php and
  • introduces a new script, admin/idanalysis.php.