Display Private Notes

From TNG_Wiki
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 18 Sep 2023
Download link for
TNG 14.0.3
display_private_notes_14.0.3.6.zip
for
TNG 13.1.0
display_private_notes_13.1.0.5.zip
for
TNG 13.0
display_private_notes_13.0.0.3.zip
for
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 14.0.3.6 for TNG 14.0.3+
13.1.0.5 for TNG v13.1+
13.0.0.3 for TNG v13+
12.1.0.2 for TNG V12.1+
11.0.0.1 for TNG V11
Min TNG V 11.0.0
Max TNG V 14+
Files modified
getperson.php
personlib.php
familygroup.php
reglib.php
Related Mods
Kind of Notes
Secret Notes for Admin for TNG 13.0.4 and before
Notes
Secret Notes for Admin is obsolete in TNG 13.1



Introduction

TNG version: 13.0.4
TNG version: 11.0.0

This mod was developed to make it easier to know that the Notes section contains private notes, i.e., those with the secret flag set, that are 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
TNG version: 13.1.0

This mod was updated to use the Private Notes label if the user has the new Allow Private Notes privilege and the note section contains private notes

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

Conflict with Collapse notes mod is resolved when using:

Revision History

Version Date Contents
v14.0.3.6 18 Sep 2023 Updated for TNG 14.0.3 code changes in getperson.php
v13.1.0.5 15 Dec 2021 Updated for TNG 13.1 in conjunction with Michel Kirsch
  • to use insert instructions instead of replace to resolve conflict with Michel's Collapse notes mod
  • changed $text['secretnotes'] to $text['privatenotes']
  • fixed family private notes not to be displayed if user does not have Allow Private Notes privilege
v13.1.0.4 2 Nov 2021 Updated for TNG 13.1 to use the new Allow Private Notes privilege
v13.0.0.3 29 May 2021 Updated to show relationship to Kind of Notes and Secret Notes for Admin mods and to add French and German custom text
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 14.0.3.6
TNG 14.0.5
EN, FR
Racine d'Alsace J-Louis Valory Public/Private - T17 customized 11.0.0.1 12.0.2 FR
Bumbery-Wangler Bob Bumbery Public/Private site 12.1.0.2 13.0.0 English
Carr's Garage Regis Carr Public / Private 13.1.0.5 13.1.2 EN, DE, NO