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 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


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 3 Nov 2022
Download link For
TNG 14.0
TNG 13.1.0

kind_of_notes_v13.1.0.5a.zip
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.5a 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.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary in the upper right corner of the page)
  • An installed current version of the Mod Manager.

Revision History

Mod Version TNG Version Date Contents
13.1.0.5a 13.1 03 Nov 2022 updated for TNG 13.1 by Michel Kirsch to reduce the code being verified for install in browsemedia.php and allow mod to work in TNG 14
13.1.0.5 13.1 02 Nov 2021 updated for TNG 13.1 beta 2 code changes to use the new Allow Private Notes privilege
13.0.4.4 13.0.4 04 Jun 2021 updated for TNG 13.0.4
13.0.0.3 13.0 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
13.0.0.2a 13.0 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.
13.0.0.2 13.0 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.
11.0.0.0 11.0 07 Mar 2016 Updated for TNG V11
10.1.0.3b 10.1 22 Apr 2015 Version to use, if you are using the Responsive Tables mod
10.1.0.2 10.1 21 Jan 2015 Updated for TNG 10.1 use of MySQLi. Note zip file uploaded on 4 September 2015
10.0.0.1 10.0 21 Apr 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.

10.0.0.0 10.0 29 Jan 2014 Updated for TNG V10 for the restructure of browsenotes made in TNG v9.2.2
9.0.4.1 9.0.4 01 Oct 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.
9.0.0.0 9.0 02 Feb 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.
8.1.3a 8.1.3 28 Apr 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
8.1.3 8.1.2 28 Apr 2011 Updated for TNG 8.1.2 which now provides an XHTML compliant version of browsenotes.php
8.1.2a 8.1 06 Mar 2011 Created a version of the mod that removes the attempt to fix setting the Private (secret) flag for users with multiple trees
8.1.2 8.1 10 Feb 2011 Updated to be XHTML compliant once issues in browsenotes.php are fixed
8.1.1 8.1 13 Sep 2010 Updated by Jeff Robison to add selection of notes by types (Living, Private, or Secret).
8.1.0a 8.1 10 Sep 2010 Fix minor coding error that caused table formatting error in Internet Explorer (IE)
8.1.0 8.1.3 06 Sep 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
1.4 06 Sep 2010 updated to fix code in reglib.php that caused problems in the ahnentafel and register reports
1.2 05 Jan 2010 updated to add display of Private Notes in the Browse Notes and Family Group sheet displays when logged in as Admin
1.1 01 Dec 2009 config file updated to point to TNG Wiki article
1.0 13 May 2009 initial config file release

Conflicts and Issues

No known conflicts.

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

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

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
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.5a
TNG 14.0.4
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 EN
Genealogics Ian Fettes Used for private sources shown under notes. 11.0.0.0 11.1.0 EN,others
Familienforschung Riehl & Kröber Otto Riehl (no public site) 11.0.0.0 11.1.2 DE,EN,ES,FR,PT
Zausmer Forest Joyaa Antares Private 13​.1​.0​.5a 14.0.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
Kielakowie.com Janusz Kielak Public site 13.1.0.5a 14.0.1 PL,EN,DE
Solem Genealogy Jan-Thore Solem Private 13​.1​.0​.5a 14.0.2 EN, NO
Carr's Garage Regis Carr Public / Private 13.1.0.5 13.1.2 EN, DE, NO