Display Private Notes

From TNG_Wiki
Revision as of 07:09, 9 November 2020 by Lastejas (talk | contribs)
Jump to navigation Jump to search
Restricted Downloads of Display Private Notes 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


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


Display Private Notes
Summary Displays Private Notes instead of Notes on Individual and Family Group pages for the Notes section if note is has secret flag set
Validation Latest mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 24 Mar 2019
Download link for
TNG 13.0
TNG 12.1.0
display_private_notes_12.1.0.2.zip
for
TNG 12.0
TNG 11.0
display_private_notes_11.0.0.1.zip
Download stats View download statistics
Author(s) Ken Roy
Homepage Display Private Notes (This page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 12.1.0.2 for TNG V12.1 and above
11.0.0.1 for TNG V11 and above
Min TNG V 11.0.0
Max TNG V 13+
Files modified
getperson.php
personlib.php
familygroup.php
reglib.php
Related Mods
Notes
If you use the Secret Notes for Admin, you must update to a newer version of that mod.



Introduction

This mod was developed to make it easier to know that the Notes section has the secret flag set and is not displayed to users who

  • do not have the Allow to view information for private individuals privilege as a TNG user or
  • are not Administrators if the Secret Notes for Admin mod is installed

This mod replaces the Notes row heading with Private Notes. This mod does not add the Private Notes label to notes that are part of events where TNG currently does not display a label. If you use Private notes associated to events, you will need to add the Private indicator within the note itself.

Developer

Ken Roy developed this mod.


Advantages

This mod adds the word Private to the Notes row label on the Individual (getperson) page and the Family Group Sheet. It simply replaces the Notes row label with a Private Notes row label. It does not add any new labels to the getperson.php or familygroup.php pages.


Requirements

  • A working TNG installation.
  • A backup of your TNG getperson.php file
  • A backup of your TNG personlib.php file
  • A backup of your TNG familygroup.php file
  • A backup of your TNG reglib.php file

Conflicts

This mod conflicts with the v9.0.0.1 version of the Secret Notes for Admin and requires that you update the mod to the v11.0.0.2 of that mod to eliminate the conflict.

Revision History

Version Date Contents
v12.1.0.2 24 Mar 2019 Resolved conflict with Public Access Control mod. Updated to TNG v12 standards for cust_text.php
v11.0.0.1 4 Mar 2018 original version of mod to displaying Private Notes instead of Notes when secret flag is set

Automated Installation

  1. Download the appropriate zip file from the Mod Summary in the upper right hand corner
  2. After downloading the zip file, unzip the config file into the 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_flag_display.cfg.

In the event of a problem

  1. Try using the Mod Manager Remove capability
  2. Or copy your descendtext.php files to your TNG directory
    • all should be well now

Related Links

This mod can be used in conjunction with the following mods

Sites using this mod

If you download and install 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 I developed this mod based on user request 12.1.0.2 13.0 EN, FR
Racine d'Alsace J-Louis Valory Public/Private - T17 customized 11.0.0.1 12.0.2 FR