Changes

Jump to navigation Jump to search
1,408 bytes added ,  16:10, 28 January 2023
Display change
Line 1: Line 1: −
{{restricted}}{{TNGmod
+
{{obsolete
 +
|ver = 13.1
 +
|notes = The <span style="color: red; background-color:yellow;">'''[[Unlink private notes]] is now obsolete with TNG v13.1'''</span> which added the option in the user Admin page whether you want to authorize the user to see private notes. ''' }}{{restricted}}
 +
{{TNGmod
 
| mod_name        = Unlink private notes
 
| mod_name        = Unlink private notes
 
| mod_summary    = Notes marked '''Secret''' can now be hidden or visible independently of the view living/private setting in the admin user page.
 
| mod_summary    = Notes marked '''Secret''' can now be hidden or visible independently of the view living/private setting in the admin user page.
 
| mod_validation  =  
 
| mod_validation  =  
| mod_last_update = 09 Aug 2021
+
| mod_last_update = 12 Sept 2021
|  download_link  = for {{Tv1304}} [https://brabantse-genealogie.nl/ccount/click.php?id=3&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Unlink_private_notes_v13.0.4.0.zip]<hr />
+
|  download_link  = for {{Tv1304}} [https://brabantse-genealogie.nl/ccount/click.php?id=6&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Unlink_private_notes_v13.0.4.2.zip]<hr />
 
for {{Tv1302}} [https://brabantse-genealogie.nl/ccount/click.php?id=1&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Unlink_private_notes_v13.0.0.0.zip]<hr />
 
for {{Tv1302}} [https://brabantse-genealogie.nl/ccount/click.php?id=1&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Unlink_private_notes_v13.0.0.0.zip]<hr />
| download_stats = [https://brabantse-genealogie.nl/ccount/index.php?action=stats&id=1 View Download Stats]
+
| download_stats = [https://brabantse-genealogie.nl/ccount/index.php?action=stats&id=6 View Download Stats]
 
| mod_author      = Rob van Rij
 
| mod_author      = Rob van Rij
 
| mod_url        = [[Unlink private notes]] (This page)
 
| mod_url        = [[Unlink private notes]] (This page)
| mod_support    = [http://tng.community/ TNG Community Forums]
+
| mod_support    = [https://brabantse-genealogie.nl/support.php?mod={{PAGENAMEE}} Support for {{PAGENAMEE}}]
| mod_contact    =
+
| mod_contact    =[[User:Rob van Rij|Rob van Rij]]
| mod_version    = 13.0.4.0 for TNG V13.0.4
+
| mod_version    = 13.0.4.2 for TNG V13.0.4
 
| min_TNG_ver    = 13.0.4
 
| min_TNG_ver    = 13.0.4
 
| max_TNG_ver    = 13+
 
| max_TNG_ver    = 13+
|  TNG_file_list  = admin_edituser.php<br />admin_adduser.php<br />admin_updateuser.php<br />admin_users.php<br />api_checklogin.php<br />browsenotes.php<br />checklogin.php<br />getperson.php<br />globallib.php<br />personlib.php<br />processlogin.php<br />register.php files
+
|  TNG_file_list  = admin_edituser.php<br />admin_newuser.php<br />admin_adduser.php<br />admin_updateuser.php<br />admin_users.php<br />api_checklogin.php<br />browsenotes.php<br />checklogin.php<br />getperson.php<br />globallib.php<br />personlib.php<br />processlogin.php<br />register.php files
 
|  related_mods    = [[Private Note Mod]] for restricting Notes in  browsenotes.php to Admin users<br />[[Secret Notes for Admin]].
 
|  related_mods    = [[Private Note Mod]] for restricting Notes in  browsenotes.php to Admin users<br />[[Secret Notes for Admin]].
 
[[Hide private and living children]] mod must be installed after [[Unlink private notes]]
 
[[Hide private and living children]] mod must be installed after [[Unlink private notes]]
 
|  notes          =  
 
|  notes          =  
}}
+
}}{| style="margin-right:0.5 em;" align="right"
__TOC__
+
| __TOC__
 +
|}
    
== Purpose of the Mod ==
 
== Purpose of the Mod ==
 +
TNG has a user setting 'Allow to view information for private individuals' which allows the user to see individuals that are marked private. However this setting also controls if the user is able to see notes that are marked private. 
 +
 +
This setting controls 2 functions and therefore you cannot allow a person to see private individuals without access to the private notes.
   −
The private notes are managed with the setting 'Allow to view private individuals' this means that if this setting is enabled automatically for all individuals that you can see the private notes will be visible. This mod creates an additional setting in the admin user page where you can enable private notes independent of the Living or Private individual setting.
+
This mod adds the option to view private notes separate from the option to 'Allow to view information for private individuals'. The private notes are managed with the new setting 'Allow to view private notes (persons that are allowed to be viewed)' this means that if this setting is enabled automatically for all individuals that you can see the private notes will be visible.
   −
The mod consist of the mod cfg file and a database update script. This database update script must be run once when the mod is installed to add an additional column to the tng_user table.but in both case notes that are marked secret are exported.  
+
This mod creates an additional setting in the admin user page where you can enable private notes independent of the Living or Private individual setting.  
    +
The mod consist of the mod cfg file and a database update script. This database update script must be run once when the mod is installed to add an additional column to the tng_user table.
    
== Developer ==
 
== Developer ==
   
Mod Developer is Rob van Rij.
 
Mod Developer is Rob van Rij.
    
== Revision History ==
 
== Revision History ==
   
{| border="1" cellspacing="5" cellpadding="2" width="60%" class="wikitable"
 
{| border="1" cellspacing="5" cellpadding="2" width="60%" class="wikitable"
 
|-
 
|-
Line 40: Line 46:  
! Contents
 
! Contents
 
|-
 
|-
| v13.0.4.0
+
|13.0.4.2
 +
|02 September 2021
 +
|Cleaned up mod code and added upgrade_db_unlink_private_notes.php file
 +
|-
 +
|13.0.4.1
 +
|31 August 2021
 +
|Updated to include option when adding new user
 +
|-
 +
| 13.0.4.0
 
| 09 August 2021
 
| 09 August 2021
 
| Updated version of the mod for TNG 13.0.4
 
| Updated version of the mod for TNG 13.0.4
Line 49: Line 63:     
* a working TNG installation.  
 
* a working TNG installation.  
* a backup of your TNG admin_edituser.php, admin_adduser.php, admin_updateuser.php, api_checklogin.php, browsenotes.php, checklogin.php, getperson.php, globallib.php, personlib.php, processlogin.php and register.php files.
+
* a backup of your TNG admin_edituser.php, admin_adduser.php, admin_updateuser.php, admin_users.php, api_checklogin.php, browsenotes.php, checklogin.php, getperson.php, globallib.php, personlib.php, processlogin.php and register.php files.
    
==Automated Installation Requirements==
 
==Automated Installation Requirements==
Line 56: Line 70:  
# Unzip the unlink_private_notes zip file
 
# Unzip the unlink_private_notes zip file
 
# Upload the unlink_private_notes.cfg file to your mods folder
 
# Upload the unlink_private_notes.cfg file to your mods folder
# Upload the unlink_private_notes.php file to your TNG root folder
+
# Upload the upgrade_db_unlink_private_notes.php file to your root tng folder
# Run the unlink_private_notes.php form your browser (http://{your website url}/unlink_private_notes.php
+
# Run the file upgrade_db_unlink_private_notes.php from your www.<domainname>/upgrade_db_unlink_private_notes.php to add the new column to your tng_users table
#   Follow the normal automated installation for Mod Manager, as shown in   the example [[Mod Manager - Installing Config Files]] to install the    '''unlink_private_notes.cfg'''.
+
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the    '''unlink_private_notes.cfg'''.
    
== In the event of a problem ==
 
== In the event of a problem ==
Line 66: Line 80:     
== Visualization of this mod ==
 
== Visualization of this mod ==
 +
[[File:Screenshot2.png|none|thumb|900x900px]]
 +
[[File:Screenshot1.png|none|thumb|900x900px]]
    
== Related Links ==
 
== Related Links ==
   
The following mods are also related to the Unlink Private Notes
 
The following mods are also related to the Unlink Private Notes
 
* If you also use the '[[Hide private and living children|'Hide private and living children]]' mod, you must first install the Unlink private notes mod before installing the '[[Hide private and living children]]'.
 
* If you also use the '[[Hide private and living children|'Hide private and living children]]' mod, you must first install the Unlink private notes mod before installing the '[[Hide private and living children]]'.
Line 83: Line 98:  
! User-language
 
! User-language
 
|-
 
|-
| [https://www.brabantse-genealogie.nl/ Population reconstruction Baarle-Nassau/Hertog and surrounding places]
+
| [https://familievanrij.nl/ Genealogy van Rij (van Riede, van Reij, van Rije)]
 +
|[[User:Rob van Rij|Rob van Rij]]
 +
|Developed the mod.
 +
|13.0.4.2
 +
|13.0.4
 +
|EN,NL
 +
|-
 +
| [https://brabantse-genealogie.nl/ Population reconstruction Baarle-Nassau/Hertog and surrounding places]
 
| [[User:Rob van Rij|Rob van Rij]]
 
| [[User:Rob van Rij|Rob van Rij]]
 
| Developed the mod.
 
| Developed the mod.
| V13.0.4.0
+
| 13.0.4.2
 
| 13.0.4
 
| 13.0.4
 
| DE,EN,NL
 
| DE,EN,NL
'''Experienced''', Administrators, sysops
3,332

edits

Navigation menu