Difference between revisions of "Unlink private notes"
Rob van Rij (talk | contribs) (Update) |
(Display change) |
||
(32 intermediate revisions by one other user not shown) | |||
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 = | + | | mod_last_update = 12 Sept 2021 |
− | | download_link = for {{ | + | | 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 /> |
− | | download_stats = [https:// | + | 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=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 = [ | + | | 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. | + | | mod_version = 13.0.4.2 for TNG V13.0.4 |
− | | min_TNG_ver = 13.0 | + | | 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]] | ||
| notes = | | notes = | ||
− | }} | + | }}{| style="margin-right:0.5 em;" align="right" |
− | |||
− | {| style="margin-right:0.5 em;" align="right" | ||
| __TOC__ | | __TOC__ | ||
|} | |} | ||
+ | == 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. | ||
− | + | 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. | |
− | + | 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 43: | Line 46: | ||
! Contents | ! Contents | ||
|- | |- | ||
− | | | + | |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 | ||
+ | | Updated version of the mod for TNG 13.0.4 | ||
|- | |- | ||
|} | |} | ||
Line 52: | Line 63: | ||
* a working TNG installation. | * a working TNG installation. | ||
− | * | + | * 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== | ||
# Download the appropriate mod configuration file as shown in the summary in the upper right corner of the page | # Download the appropriate mod configuration file as shown in the summary in the upper right corner of the page | ||
− | # Unzip the unlink_private_notes zip file to your mods folder | + | # Unzip the unlink_private_notes zip file |
− | # | + | # Upload the unlink_private_notes.cfg file to your mods folder |
+ | # Upload the upgrade_db_unlink_private_notes.php file to your root tng folder | ||
+ | # 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'''. | ||
== 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 | + | * 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]]'. |
− | * | ||
== Sites using this mod == | == Sites using this mod == | ||
Line 83: | Line 98: | ||
! User-language | ! User-language | ||
|- | |- | ||
− | | [https:// | + | | [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. | ||
− | | | + | | 13.0.4.2 |
− | | 13.0. | + | | 13.0.4 |
− | | EN, NL | + | | DE,EN,NL |
|- | |- | ||
|} | |} | ||
[[Category:Mods for TNG v13]] | [[Category:Mods for TNG v13]] |
Latest revision as of 16:10, 28 January 2023
The Unlink private notes is now obsolete with TNG v13.1 which added the option in the user Admin page whether you want to authorize the user to see private notes. |
Downloads of Unlink 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 | ||
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
|
Unlink private notes | |||
---|---|---|---|
Summary | Notes marked Secret can now be hidden or visible independently of the view living/private setting in the admin user page. | ||
Validation | |||
Mod Updated | 12 Sept 2021 | ||
Download link | for
for
| ||
Download stats | View Download Stats | ||
Author(s) | Rob van Rij | ||
Homepage | Unlink private notes (This page) | ||
Mod Support | Support for Unlink_private_notes | ||
Contact Developer | Rob van Rij | ||
Latest Mod | 13.0.4.2 for TNG V13.0.4 | ||
Min TNG V | 13.0.4 | ||
Max TNG V | 13+ | ||
Files modified | admin_edituser.php admin_newuser.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 register.php files | ||
Related Mods | Private Note Mod for restricting Notes in browsenotes.php to Admin users Secret Notes for Admin. Hide private and living children mod must be installed after Unlink private notes | ||
Notes |
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.
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.
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
Mod Developer is Rob van Rij.
Revision History
Version | Date | Contents |
---|---|---|
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 | Updated version of the mod for TNG 13.0.4 |
Requirements
- a working TNG installation.
- 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
- Download the appropriate mod configuration file as shown in the summary in the upper right corner of the page
- Unzip the unlink_private_notes zip file
- Upload the unlink_private_notes.cfg file to your mods folder
- Upload the upgrade_db_unlink_private_notes.php file to your root tng folder
- 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.
In the event of a problem
- Try using the Mod Manager Remove capability
- copy your backup files to your base TNG directory
Visualization of this mod
Related Links
The following mods are also related to the Unlink Private Notes
- If you also use the ''Hide private and living children' mod, you must first install the Unlink private notes mod before installing the 'Hide private and living children'.
Sites using this mod
If you download this mod, please add your TNG site to the table below:
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Genealogy van Rij (van Riede, van Reij, van Rije) | Rob van Rij | Developed the mod. | 13.0.4.2 | 13.0.4 | EN,NL |
Population reconstruction Baarle-Nassau/Hertog and surrounding places | Rob van Rij | Developed the mod. | 13.0.4.2 | 13.0.4 | DE,EN,NL |