Secret Notes for Admin

From TNG_Wiki
Revision as of 09:42, 6 November 2021 by KenRoy (talk | contribs) (updated for TNG 13.1)
Jump to navigation Jump to search
Obsolete This mod is obsolete with TNG 13.1. Please use the new Allow Private Notes privilege to manage who has access to private notes. This mod applies only to
TNG version: 13.0.4
Obsolete


Restricted Downloads of Secret Notes for Admin are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


Secret Notes for Admin
Summary Allows users with Admin privilege to view the Notes marked Secret.
Validation Latest mods are XHTML compliant.Valid-xhtml10.png
Mod Updated 5 Oct 2020
Download link For
TNG 13.0
secret_notes_admin_v13.0.0.3.zip
TNG 12.0
secret_notes_admin_v12.0.0.2.zip
For
TNG 11.0
TNG 10.0
TNG 9.0

secret_notes_admin_v9.0.0.1.zip
Download stats View Download Stats
Author(s) Ken Roy
Homepage Secret Notes for Admin (This page)
Mod Support TNG Community Forums
Contact Developer
Latest Mod 13.0.0.3 for TNG V13+
12.0.0.2 for TNG V12+
9.0.0.1 for TNG V9 and above
Min TNG V 9.0.0
Max TNG V 13.0.4
Files modified
personlib.php
reglib.php
Related Mods
Private Note Mod for restricting Notes in browsenotes.php to Admin users
Notes
Mod is obsolete with TNG 13.1


Purpose of the Mod

This TNG modification is to restrict notes that have been marked Private that is have the secret flag in the table to those who have Admin privileges.

This mod was created from Brian McFadyen's original Private Note Mod where you can find the code to display secret notes TNG 7 through TNG 8.1.3. In TNG v9 the Private notes, that is those with the secret flag, are displayed by TNG to users who have the "Allow to view information for private individuals" privilege.

This mod overrides the TNG privilege and restricts Private notes (secret flag) to the administrator.

Developer

Mod Developer is Ken Roy.

Based on the mod originally developed by Brian McFadyen to displaying Private Notes on Individual page

Revision History

Version Date Contents
v13.0.0.3 5 Oct 2020 Updated for TNG 13 to fix SQL query failure. Also removed SQL query change in reglib.php
v12.0.0.2 30 Jun 2018 Updated for TNG 12 to add conditional processing if the Display Private Notes mod is installed
v9.0.0.1 13 January 2015 No code change. Updated for TNG 10.1 to add Wiki icon for URL that is generated by %wikipage:Secret_Notes_for_Admin%
v9.0.0.0 29 September 2012 Original version of the mod, although not published until 10 February 2014


Requirements

  • a working TNG installation. The automated installation release was initially tested at TNG Version 7.1.0.
  • an installed current version of the Mod Manager
  • a backup of your TNG personlib.php and reglib.php files or access to your original TNG installation package.

Automated Installation Requirements

  1. Download the appropriate mod configuration file as shown in the summary in the upper right corner of the page
  2. Unzip the private_notes_for_admins zip file to your mods folder
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the private_notes_for_admins.cfg.

In the event of a problem

  • Try using the Mod Manager Remove capability
  • copy your backup personlib.php, and reglib.php files to your base TNG directory
    • all should be well now

Visualization of this mod

Related Links

The following mods are also related to the Private flag

Sites using this mod

If you download this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
Our Roy and Boucher Family Ken Roy Updated to use conditional textexists processing whether the Display Private Notes mod is installed or not 13.0.0.3 13.0.0 EN, FR
The John Dunham Society Daniel Smith Not a public site. 10.1.0.1 11.1.0 English
XAMPP site only Michael Bayer Not a public site. 10.1.0.1 11.1.0 English
OurLife Family History - McMullen Clan Sean Thompson Not a public site. 10.1.0.1 11.1.0 English
Familie Bitterer Martin Bitterer Not a public site. 10.1.0.1 11.1.0 German
Martius family Hendrik Martius Half public 9.0.0.1 12.0.1 DE, EN, FR, NL
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Genealogische Datenbank JPB Public site see here see here DE, EN, FR
Hatcher Families Genealogy Association William J. Watson Public Site 13.0.0.3 13.0.3 EN
The Zausmer Forest Joyaa Antares Not a public site. 13.0.0.3 13.0.3 EN, FR