Admin Deletion Messages

From TNG_Wiki
(Redirected from Admin Delete Message)
Jump to navigation Jump to search
Admin Deletion Messages
Summary Adds a list of deleted records to the cryptic confirmation message generated when most Admin objects (Branches, Families, Media Items, People, Places, etc.) are deleted. Also modifies the message for deleting or moving Media Item and Albums by adding the count of records affected.
Validation
Mod Updated 10 Oct 2020
Download link
See the Revision History for older versions
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 13.0.0.3
Min TNG V 10.1
Max TNG V 13
Files modified
admin_deleteselected.php, admin_updateselectedmedia.php, cust_text.php English
Related Mods
Notes


Purpose of the Mod

Adds a list of deleted records to the cryptic confirmation message generated when numerous Admin programs 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. The mod does not changes these Admin programs; it just changed the common action script that they all use to delete records.

Also adds the count of records changed to the confirmation message generated when Media items and Albums are deleted or moved.

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

none

Installation

This mod uses the standard Installation process, and has no mod subfolder [Show Standard Installation Process]

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]

Visualizations

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
Admin Deletion Messages 13.0.0.3 13 10Oct2020
  • Changed one target location search string to reflect a change in TNGv13
  • Added target file admin_updateselectedmedia.php to handle Media actions, since they don't use deleteselected.php.
  • Changed the mod name to avoid the mistaken impression that it deletes a message.
Admin Delete Message 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 13.0.0.3 13.0 English