ID Analysis

From TNG_Wiki
Jump to navigation Jump to search
ID Analysis Mod
Summary Adds a tab (ID Analysis) to the Admin > Miscellaneous page
Validation Admin application, validation not attempted
Mod Updated 4 Dec 2022
Download link Id_analysis_v13.0.0.6.zip for
.
TNG 14.0
TNG 13.0

for     
TNG 12.0
TNG 11.0
Id_analysis_v11.0.0.3.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 13.0.0.6 for TNG v13
11.0.0.3 for TNG v11
10.1.0.0 for TNG v10
9.0.0.2 for TNG V9
8.1.2 for TNG V8
1.0 for TNG V7
Min TNG V 7.0.0
Max TNG V 13.1.2
Files modified
Related Mods
Notes
supports English, Dutch and optionally, German


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, 11.0.0, 12.3.0 and 13.1.2
  • 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 English and Dutch text. If your site supports other languages, you will need to modify the config file to add the custom text for those other languages.

Revision History

Version Date Contents
v13.0.0.6 4 Dec 2022 Id_analysis_v13.0.0.6.zip‎‎ => Added Dutch translation (provided by Rob Severijns)
v13.0.0.5 29 May 2022 Id_analysis_v13.0.0.5.zip‎‎ => Added an option to select whether to report unused IDs as a range (I10 to I15) or to report each one (I10, I11, I12, I13, I14, I15)
v13.0.0.4 13 Oct 2020 Id_analysis_v13.0.0.4.zip‎‎ => Updated for TNG 13 new Admin layout
v11.0.0.3 8 May 2020 Id_analysis_v11.0.0.3.zip‎‎ => Bug fix; cust_text standards
v11.0.0.2 3 January 2019 Id_analysis_v11.0.0.2.zip‎‎ => PHP coding corrections - added missing quotes to array indexes
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, languages/English-UTF8/cust_text.php, languages/Dutch/cust_text.php, languages/Dutch-UTF8/cust_text.php, 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.