Kind of Notes

From TNG_Wiki
(Redirected from Private Note Mod)
Jump to navigation Jump to search
Restricted Downloads of Kind of 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 are having trouble downloading with the Google Chrome browser, try using try right-click and select Open in new Window, then F5, or use another browser 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 13.0
TNG 12.0


Kind of Notes
Summary Allows users with Admin privilege to view the kind of notes (previously Private Note Nod)
Validation Latest mods are XHTML compliant.Valid-xhtml10.png
Mod Updated 2 Nov 2021
Download link for
TNG 13.1.0



for
TNG 13.0.4
kind_of_notes_v13.0.4.4.zip
for
TNG 13.0
kind_of_notes_v13.0.0.3.zip
[Show Previous Versions]
for
TNG 12.0
TNG 11.0
private_notes_v11.0.0.0.zip
Language Files for TNG v11 / TNG v12
French Language Files
German Language Files

For

TNG 10.1.0
private_notes_v10.1.0.2.zip
if using Responsive Tables responsive_tables_private_notes_v10.1.0.3b.zip
For
TNG 10.0
private_notes_v10.0.0.1.zip
For
TNG 9.0.4
private_notes_v9.0.4.1.zip
For
TNG 9.0

private_notes_v9.0.0.0.zipFor

TNG 8.1.2
Private Notes v8.1.3.zip
If unable to Edit notes, use
Private Notes v8.1.3a.zip
For
TNG 8.0
Private Notes v8.1.2.zip
If unable to Edit notes, use
Private Notes v8.1.2a.zip
For
TNG 7.0
Private Notes v1.3.zip
[Hide Previous Versions]
Download stats View download statistics
Author(s) Brian McFadyen
Ken Roy and Jeff Robison
Homepage Kind of Notes (wss previously Private Note Mod)
Mod Support TNG Community Forums
Contact Developer
Latest Mod 13.1.0.5 for TNG 13.1+
13.0.4,4 for TNG 13.0.4
13.0.0.3 for TNG 13+
11.0.0.0 for TNG V11+
10.1.0.3b for TNG V10.1 with Responsive Tables
10.1.0.2 for TNG V10.1
10.0.0.1 for TNG V10
9.0.0.0 for TNG V9
8.1.3 for TNG V8.1.2
8.1.2 for TNG V8.0.0 to V8.1.1
1.3 for TNG V7.1.3
Min TNG V 7.0.0
Max TNG V 13+
Files modified
for TNG V13 Kind of Notes
browsenotes.php
admin_notelist.php
languages/English/misc_help.php
several cust_text.php
for earlier versions of Private Note mod
admin_editnote2.php
personlib.php
reglib.php
Related Mods
None
Notes
Note that version 1.2 of this mod extended the Private notes display to the Family Group and Browse Notes pages



Purpose of the Mod

This mod adds new columns to the Browse Notes and Admin Notes display to indicate whether the notes are associated with

  • L for living persons or families
  • P for private persons or families and
  • S whether the note is marked as Private (secret flag)
  • TNG table to indicate what table contains the note
You can click on the [Expand] link on the right to view the previous evolution of the Private Note Mod and [Collapse] to hide the section again.

The original purpose of the mod was to display the Private notes on the Individual (getperson.php) and Family Group sheet but part of function was incorporated into TNG 9 which allows Private notes (secret flag) to be display if the user has the View Private privilege.


TNG version: 8.1.3
TNG version: 7.0

This TNG modification deals with notes that have been marked Private and have a secret flag in the table.

It is a modification to the person pages so that notes that are marked Private will display for admin users in the same area that regular notes are displayed.

The description below is specific to TNG V7.0, although the mod has worked for versions since V6.1.1 at different line numbers.

V1.2 of the mod extends the Private note display to the Browse Notes and the Family Group sheet


TNG version: 8.0.1
V8.1.0 for TNG V8.0.1 extends the mod to add the Types of notes to the Browse Notes and the Admin Notelist:
  • S for secret (or Private) note
  • L for a note associated with a Living person or family
  • P for a note associated with a person marked Private

and attempts providing a fix to set the Private (secret) flag when edit notes from the new Admin Notelist

V8.1.1 for TNG V8.0.1 extends the mod to allow filtering on the types of notes.


TNG version: 9.0
Starting with TNG V9, the ability to view Private notes is controlled by the user privilege Allow to view information for private individuals.

The ability to check or uncheck the Private (secret) flag was fixed in TNG V9. So this mod essentially provides a visualization on the type of notes added in v8.1.0 of the mod.

This mod only provides the visual on the type of notes in Browse Notes and in the Admin Note List, which also provides a selection capability.


TNG version: 9.0.4
V9.0.4.1 no longer supports a selection criteria for notes associated with Living or Private individuals or families. TNG 9.0.4 added the capability to select Private Notes, those with the secret flag set and URL links for the Linked To column.

Note that if you use the Responsive Tables mods, you need to uninstall your current version of this mod and install the Responsive Tables-3 - Private Notes version

Developer

This mod was originally developed by Brian McFadyen for displaying Private Notes on Individual page

Mod was enhanced by Ken Roy to also display private notes in the Browse Notes display and Family Group sheet

TNG V8 mod was enhanced by Ken Roy and Jeff Robison to include the Types of Note columns to Browse Notes and Admin Note List, and later enhanced again by Jeff Robison to select notes by type (Living, Private, or Secret)

TNG V9 mod was reworked by Ken Roy with the acronym in the Types header provided by Oname.gif.

Revision History

Version Date Contents
v13.1.0.5 2 Nov 2021 updated for TNG 13.1 beta 2 code changes to use the new Allow Private Notes privilege
v13.0.4.4 4 Jun 2021 updated for TNG 13.0.4
v13.0.0.3 26 May 2021 Mod renamed from Private Note Mod to Kind of Notes as a better description of the mod. Norwegian custom text added thanks to Kare and Jen-Thore Solem
v13.0.0.2a 20 May 2021 Updated for TNG V13 with our thanks to Michel Kirsch for fixing the conditional check on whether the PersonID Note Mod is installed.
v13.0.0.2 17 May 2021 Updated for TNG V13 with our thanks to Michel Kirsch for helping resolve the install sequence conflict. This version includes the following updates:
  • Displays what table the note is associated with
  • The French, German, and Dutch custom text variables previously downloadable as a separate mod were included in this version.
v11.0.0.0 7 March 2016 Updated for TNG V11
v10.1.0.3b 22 April 2015 Version to use, if you are using the Responsive Tables mod
v10.1.0.2 21 January 2015 Updated for TNG 10.1 use of MySQLi. Note zip file uploaded on 4 September 2015
v10.0.0.1 21 April 2014 Updated so that mod can be installed on TNG V10 without having first installed PersonID Note Mod

Note that if you have version 10.0.0.0 install correctly, you do not need to download and install this version which only fixed the dependencies between the two mods.

v10.0.0.0 29 January 2014 Updated for TNG V10 for the restructure of browsenotes made in TNG v9.2.2
v9.0.4.1 1 October 2012 Updated for the restructure of admin_notelist.php in TNG V9.0.4. The selection criteria for notes associated with Living or Private individuals or families has been dropped since TNG no longer does a JOIN on these tables. TNG 9.0.4 added the selection criterion for Private (secret flag) notes, so you can still select notes marked Private (secret flag). TNG 9.0.4 also made the Linked To column URL links, so that part of the mod was also dropped.
v9.0.0.0 2 February 2012 Updated for TNG V9.0.0 and no longer provides the ability to view private (secret) notes, which is now controlled by the Allow to view information for private individuals privilege in TNG V9. This mod no longer includes a fix for checking or unchecking the Private (secret) flag, so there is now only one version of the mod.
v8.1.3a 28 April 2011 Created a version of the mod that removes the attempt to fix setting the Private (secret) flag for users where Edit does not work from admin_notelist.php
v8.1.3 28 April 2011 Updated for TNG 8.1.2 which now provides an XHTML compliant version of browsenotes.php
v8.1.2a 6 March 2011 Created a version of the mod that removes the attempt to fix setting the Private (secret) flag for users with multiple trees
v8.1.2 10 February 2011 Updated to be XHTML compliant once issues in browsenotes.php are fixed
v8.1.1 13 September 2010 Updated by Jeff Robison to add selection of notes by types (Living, Private, or Secret).
v8.1.0a 10 September 2010 Fix minor coding error that caused table formatting error in Internet Explorer (IE)
v8.1.0 6 September 2010 Updated for TNG V8 and enhanced by Ken Roy and Jeff Robison to include the Types of Note columns to Browse Notes and Admin Note List
v1.4 6 September 2010 updated to fix code in reglib.php that caused problems in the ahnentafel and register reports
v1.2 5 January 2010 updated to add display of Private Notes in the Browse Notes and Family Group sheet displays when logged in as Admin
v1.1 1 December 2009 config file updated to point to TNG Wiki article
v1.0 13 May 2009 initial config file release


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 file or access to your original TNG installation package.
  • An installed current version of the Mod Manager.

Automated Installation Requirements

  1. Uninstall any previous version of the mod
  2. Download the appropriate mod configuration file as shown in the summary in the upper right corner of the page
  3. Unzip the private_notes_for_admins zip file to your admin/mod_folder in TNG V7 and to your mods folder in TNG V8.
  4. 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.

Side effects

  1. As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the Mod Manager greatly simplifies this process.

In the event of a problem

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

Custom Text

TNG version: 13.0.0

The mod for TNG v13 adds the following custom text to the English and English-UTF8, the French and French-UTF8, the Dutch-UTF8 and German-UTF8 cust_text.php files. If you use other languages you will need to add to your other languages custom text files and provide the appropriate translations.

//  Added for Private Note mod
$admtext['notetypes'] = "Types (<acronym title=\"Living\">L</acronym>,<acronym title=\"Private\">P</acronym>,<acronym title=\"Secret\">S</acronym>)";
$admtext['notesecret'] = "Secret";
$admtext['noteforliving'] = "L";
$admtext['noteforprivate'] = "P";
$admtext['noteissecret'] = "S";
$admtext['notefrom'] = "TNG Table";
$admtext['notefrompeople'] = "People";
$admtext['notefromfamily'] = "Family";
$admtext['notefromsource'] = "Source";
$admtext['notefromrepository'] = "Repository";
//  end of additions for Private Note mod
You can click on the [Expand] link on the right to view the previous version custom text section or [Collapse] to hide the section again.
TNG version: 12.0.0
TNG version: 9.0
In TNG V9 and above, the note Types text, includes an <acronym title> thanks to Oname.gif
//  Added for Private Notes for Admin
$admtext['notetypes'] = "Types (<acronym title=\"Living\">L</acronym>,<acronym title=\"Private\">P</acronym>,<acronym title=\"Secret\">S</acronym>)";

In French for example, the custom text entries would be

//  Added for Private Notes for Admin
$admtext['notetypes'] = "Types";
$admtext['notesecret'] = "Secrète";
$admtext['noteforliving'] = "V";
$admtext['noteforprivate'] = "P";
$admtext['noteissecret'] = "S";


TNG version: 9.0
In TNG V9 and above, the note Types text, includes an <acronym title> thanks to Oname.gif


//  Added for Private Notes for Admin
$admtext['notetypes']  = "Types (<acronym title=\"en Vie\">V</acronym>,<acronym  title=\"Privée\">P</acronym>,<acronym  title=\"Secrète\">S</acronym>)";


TNG version: 9.0
In TNG V9 and above, the German custom text entries would be
//  Added for Private Notes for Admin
$admtext['notetypes'] = "Typen - <abbr title=\"Lebend\">L</abbr> <abbr title=\"Vertraulich\">V</abbr> <abbr title=\"Geheim\">G</abbr>)";
$admtext['notesecret'] = "Geheim";
$admtext['noteforliving'] = "L";
$admtext['noteforprivate'] = "V";
$admtext['noteissecret'] = "G";

In TNG V9 and above, the Dutch custom text entries would be

//  Added for Private Notes for Admin
$admtext['notetypes'] = "Typen - <abbr title=\"Levend\">L</abbr> <abbr title=\"Vertrouwelijk\">V</abbr> <abbr title=\"Geheim\">G</abbr>";
$admtext['notesecret'] = "Geheim";
$admtext['noteforliving'] = "L";
$admtext['noteforprivate'] = "V";
$admtext['noteissecret'] = "G";

Visualization of this mod

With Mod Installed

TNG V8 additions

TNG version: 8.0.1


Browse Notes

With the TNG V8.1.0 of the Private Note Mod installed, the note Types column is displayed which shows whether the note is:

  • L for a note associated with a person or family who was marked as Living
  • P for a note associated with a person or family who was marked as Private
  • S for a note that is marked Private (or secret)

Note that the note Types columns are not displayed to users who do not have Admin privilege.

Private note types browsenotes.jpg

Admin Note List

With the TNG V8.1.0 of the Private Note Mod installed, the note Types column is displayed which shows whether the note is:

  • L for a note associated with a person or family who was marked as Living
  • P for a note associated with a person or family who was marked as Private
  • S for a note that is marked Private (or secret)
Private note types admin notelist.jpg


Related Links

The following mods are also related to the Private flag

Sites using this mod

Please add your TNG site to the list if you utilize this modification!

URL User Note Mod-Version TNG-Version User-language
My family Oname.gif (no public site) see Oname.gif see Oname.gif D,(NL),(GB)
Our Roy and Boucher Family Ken Roy 13.1.0.5 13.1.0 EN, FR
Genealogy of the Roy and Royes families Bruce Roy 8.1.2a 8.1.1 EN
Leverette Family History Jeff Leverette 10.1.0.2 10.1.3 EN
OurLife Family History - McMullen Clan Sean Thompson Not a public site. 10.1.0.2 11.1.0 English
Genealogics Ian Fettes Used for private sources shown under notes. 11.0.0.0 11.1.0 English and others
Familienforschung Riehl & Kröber Otto Riehl (no public site) 11.0.0.0 11.1.2 DE, EN, ES, FR, PT
The Zausmer Forest Joyaa Antares (no public site) 11.0.0.0 11.1.2 EN, FR
Rintoul/Bowman Family Andrew Rintoul Public/Private 11.0.0.0 12.0 EN, DE, ES, FR
Familienforschung SCABELL Helga Scabell Public/Private 11.0.0.0 13.0.1 DE, EN, PT
Hooley Family Links Rick Hooley Public/Private See Here See Here EN