Difference between revisions of "Admin Deletion Messages"

From TNG_Wiki
Jump to navigation Jump to search
(Added new mod templates, and boilerplate how to update cust_text.php to TNGv12 specs)
(Text replacement - "{{RobinV12_cust_text_update}}" to "{{V12_cust_text}}")
Line 1: Line 1:
{{RobinV12_cust_text_update}}
+
{{V12_cust_text}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        =  Admin Delete Message
 
| mod_name        =  Admin Delete Message

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