Difference between revisions of "Admin Deletion Messages"

From TNG_Wiki
Jump to navigation Jump to search
(uploaded visualizations)
(Text replacement - "{{RobinV12_cust_text_update}}" to "{{V12_cust_text}}")
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{construction
+
{{V12_cust_text}}
|notes=This mod is in a beta testing state. I've been using it for a while, but
 
* It needs to be tested on other TNG sites,
 
* I haven't completed the description below, and
 
* I haven't created the visualizations this article needs
 
 
 
In truth, I have over 40 new and updated mods in this state, and I'd appreciate whatever help that anyone can offer.
 
So it would be great if you could download the mod, test it, and let me know how it works for you.
 
And if you're up for it, screenshots from before the mod was installed and after (annotated or not) would be a great help.
 
You're welcome to insert in the article, or just email them to me.
 
My email username is '''mail'', and my email domain is robinrichmond.com.
 
 
 
Thanks in advance.
 
Robin Richmond 19:05, 2 April 2017 (CDT)
 
}}
 
 
{{TNGmod
 
{{TNGmod
 
| mod_name        =  Admin Delete Message
 
| mod_name        =  Admin Delete Message
 
|  mod_summary    = Adds a list of deleted records to the cryptic confirmation message generated by admin_deleteselected.php, which is used by the administrative Search/Select/Delete program for several database tables.
 
|  mod_summary    = Adds a list of deleted records to the cryptic confirmation message generated by admin_deleteselected.php, which is used by the administrative Search/Select/Delete program for several database tables.
 
| mod_validation  =  
 
| mod_validation  =  
| download_link  =  For {{Tv1010}}[[Media:admin_delete_message_v10.1.0.1.zip|admin_delete_message_v10.1.0.1.zip]]
+
| mod_last_update = 4 May 2018
 +
| download_link  =  v{{Tv120}}[[Media:admin_delete_message_v12.0.0.2.zip|12.0.0.2]]<hr>v{{Tv110}}{{Tv1010}}[[Media:admin_delete_message_v10.1.0.1p.zip|10.1.0.1p]]
 
| download_stats  =
 
| download_stats  =
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
Line 24: Line 11:
 
| mod_contact    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form]
 
| mod_contact    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form]
 
| mod_support    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
| mod_version    = 10.1.0.1
+
| mod_version    = 10.1.0.1p & 12.0.0.2
 
| min_TNG_ver    = 10.1
 
| min_TNG_ver    = 10.1
| max_TNG_ver    = 11.1
+
| max_TNG_ver    = at least 12.0
 
|  TNG_file_list  = admin_deleteselected.php, cust_text.php English  
 
|  TNG_file_list  = admin_deleteselected.php, cust_text.php English  
| related_mods  = [[Show Mod Names]]
+
| related_mods  = Optional [[Show Mod Names]]
 
| notes    =   
 
| notes    =   
 
}}
 
}}
 
 
{| style="margin-right:0.5 em;" align="right"  
 
{| style="margin-right:0.5 em;" align="right"  
 
| __TOC__
 
| __TOC__
 
 
|}
 
|}
 
 
== Purpose of the Mod ==
 
== Purpose of the Mod ==
Adds a list of deleted records to the cryptic confirmation message generated by by admin_deleteselected.php, which is used by the Administrative screen to delete records from several database tables.  (I'm not exactly sure which ones!) This mod does not changes those admin programs themselves; it changes only the action script that is used by those programs.  
+
Adds a list of deleted records to the cryptic confirmation message generated by by admin_deleteselected.php, which is used by numerous Admin programs to delete records from their database tables.  The programs that use admin_deleteselected.php include admin_branches.php, admin_cemeteries.php, admin_families.php, admin_notelist.php, admin_people.php, admin_places.php, admin_repostories.php, admin_reviewusers.php, admin_sources.php, admin_timelineevents.php, and admin_users.php
  
== Mod Dependencies ==
+
This mod does not changes those admin programs themselves; it changes only the action script that they use to delete records.  
This mod saves data that can be used by the [[Show Mod Names]] utility mod, but is ''not dependent on'' that mod.
 
There are no dependencies on other mods.
 
  
 
== Compatibility with other Mods ==
 
== Compatibility with other Mods ==
No known incompatibilities, but ''please'' let me know if you encounter any.
+
No known incompatibilities. As of this writing, this is the only mod that affects admin_deleteselected.php. ''Please'' let me know if you encounter any conflicts.
 
 
==Requirements==
 
* A working TNG installation.
 
* An installed current version of the [[Mod Manager]].
 
* You should backup files listed in the panel on the right.
 
  
==Installation==
+
== Related Mods ==
# Remove and delete previous version of this mod.
+
This mod saves data that can be used by the [[Show Mod Names]] utility mod, but is '''not dependent on''' that mod.
# Backup the files updated by this mod.  They are listed in the panel at the upper right.
 
# Download the .zip file, and extract its .cfg file to the mods folder.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]].
 
 
 
== In the event of a problem ==
 
# Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
 
# Contact me through [http://www.robinrichmond.com/family/mod_support.php My Mod Support form].
 
  
 +
{{RobinInstallationBoilerplate}}
 
== Visualization of this Mod ==
 
== Visualization of this Mod ==
 
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 
|-
 
|-
! <style="text-align:left;"> | The vague confirmation message for deleted Repositories <span style="color: red">''' BEFORE:'''</span>
+
| style="border:thin solid black;" | '''<span style="color: red"> BEFORE:</span> The vague deletion confirmation confirmation message''' <br/>
|-
+
[[Image:admin_delete_message-before.jpg]]
| [[admin_delete_messages-before.png]]
 
|-
 
! <style="text-align:left;"> | New confirmation message for deleted Repositories  <span style="color: red">'''AFTER:'''</span>
 
 
|-  
 
|-  
| The newconfirmation messages lists the tree ID and recordID for each record that was deleted.<br/>
+
| style="border:thin solid black;" | '''<span style="color: red">AFTER:</span> New confirmation message with tree ID and record ID for each deleted record'''<br/>
[[admin_delete_messages-after.png]]
+
[[Image:admin_delete_message-after.jpg]]
 
|}
 
|}
  
Line 83: Line 51:
 
! Note
 
! Note
 
|-  
 
|-  
| 10.1.0.1
+
| [[Media:admin_delete_message_v12.0.0.2.zip|12.0.0.2]]
| 11.1
+
| 12.0+
 +
| 3 May 2018
 +
| No functional changes; made compatible with TNGv12.
 +
|-
 +
| [[Media:admin_delete_message_v10.1.0.1p.zip|10.1.0.1p]]
 +
| 10.1-10.1.3
 +
| 1 Dec 2017
 +
| No functional changes; Removed the second line of the target location search string for cust_text.php files
 +
|-
 +
| [[Media:admin_delete_message_v10.1.0.1.zip|10.1.0.1]]
 +
| 10.1-10.1.3
 
| 10 Apr 2017
 
| 10 Apr 2017
 
| New mod.
 
| New mod.
Line 104: Line 82:
 
| [[User:Robinrichm|Robin Richmond]]
 
| [[User:Robinrichm|Robin Richmond]]
 
| Mod developer
 
| Mod developer
| 10.1.0.1
+
| 12.0.0.2
| 11.1
+
| 12.0
 
| English
 
| English
 
|}
 
|}
Line 111: Line 89:
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v12]]
 
[[Category:admin_deleteselected.php mods]]
 
[[Category:admin_deleteselected.php mods]]
 
[[Category:cust_text.php English mods]]
 
[[Category:cust_text.php English mods]]

Revision as of 09:31, 27 October 2018


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



Admin Delete Message
Summary Adds a list of deleted records to the cryptic confirmation message generated by admin_deleteselected.php, which is used by the administrative Search/Select/Delete program for several database tables.
Validation
Mod Updated 4 May 2018
Download link v
TNG 12.0
12.0.0.2
v
TNG 11.0
TNG 10.1.0
10.1.0.1p
Download stats
Author(s) Robin Richmond
Homepage Robin Richmond's Genealogy Database
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod 10.1.0.1p & 12.0.0.2
Min TNG V 10.1
Max TNG V at least 12.0
Files modified
admin_deleteselected.php, cust_text.php English
Related Mods
Notes


Purpose of the Mod

Adds a list of deleted records to the cryptic confirmation message generated by by admin_deleteselected.php, which is used by numerous Admin programs to delete records from their database tables. The programs that use admin_deleteselected.php include admin_branches.php, admin_cemeteries.php, admin_families.php, admin_notelist.php, admin_people.php, admin_places.php, admin_repostories.php, admin_reviewusers.php, admin_sources.php, admin_timelineevents.php, and admin_users.php

This mod does not changes those admin programs themselves; it changes only the action script that they use to delete records.

Compatibility with other Mods

No known incompatibilities. As of this writing, this is the only mod that affects admin_deleteselected.php. Please let me know if you encounter any conflicts.

Related Mods

This mod saves data that can be used by the Show Mod Names utility mod, but is not dependent on that mod.


[Show Installation Details]

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.
  • You should backup files listed in the panel on the right.

Procedure

  1. Remove and delete previous version of this mod.
  2. Backup the files updated by this mod. They are listed in the panel at the upper right.
  3. Download the .zip file, Extract its .cfg file to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

Problems?

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.
[Hide Details]

Visualization of this Mod

BEFORE: The vague deletion confirmation confirmation message

Admin delete message-before.jpg

AFTER: New confirmation message with tree ID and record ID for each deleted record

Admin delete message-after.jpg

Mod Change History

Mod Version TNG Versions Date Note
12.0.0.2 12.0+ 3 May 2018 No functional changes; made compatible with TNGv12.
10.1.0.1p 10.1-10.1.3 1 Dec 2017 No functional changes; Removed the second line of the target location search string for cust_text.php files
10.1.0.1 10.1-10.1.3 10 Apr 2017 New mod.

Sites using this mod

If you download and install this mod, please add your site to the table below.

URL User Note Mod-Version TNG-Version User-language
Robin Richmond's Genealogy Database Robin Richmond Mod developer 12.0.0.2 12.0 English