Difference between revisions of "Regroup Person-Hide Branches"

From TNG_Wiki
Jump to navigation Jump to search
(→‎Sites using this mod: no longer use Robin's mod - Private version of previous mod version)
 
(42 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = Hide Branch Names
 
| mod_name        = Hide Branch Names
|  mod_summary    = On the Person Profile, hides branch names unless the user is an administrator or has a branch restriction, in which case, only matching branches are shown.
+
|  mod_summary    = On the Person Profile, hides the person's branch names unless the user is an administrator or, if the user is assigned to a branch, that branch name can optionally be shown when the user views the Person Profile of someone in that branch.
 
| mod_validation  =  
 
| mod_validation  =  
| download_link  = For {{Tv100}}[[Media:hide_branch_names_v10.0.0.4.zip|(mod)_v10.0.0.4.zip]]
+
| mod_last_update = 23 Sep 2023
 +
| download_link  = [[Media:regroup person-hide branches_v14.0.0.20a.zip|v14.0.0.20a]]{{Tv140}}<div style='font-size:90%;clear:both;'>(See the [[#Revision_History|Revision History]])</div>
 
| download_stats  =
 
| download_stats  =
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
| mod_url        = [http://robinr.org/family/ Robin Richmond's Genealogy Database]
+
| mod_url        = ''this page''
| mod_contact    = [http://robinr.org/family/mod_support.php My Mod Support form]
+
| mod_contact    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form]
| mod_support    = [http://robinr.org/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
+
| mod_support    = [http://www.robinrichmond.comg/family/mod_support.php My Mod Support form]
| mod_version    = 10.0.0.4
+
| mod_version    = 14.0.0.20a
| min_TNG_ver    = 10.0
+
| min_TNG_ver    = 10.1
| max_TNG_ver    = 10.1.3
+
| max_TNG_ver    = 14|
|   TNG_file_list  = getperson.php
+
| TNG_file_list  = getperson.php
| related_mods  = [[Show Branch Members]], [[Show Mod Names]]
+
| related_mods  = [[Media:mod_settings_blocks_v14.0.0.3a.zip|Mod Settings Blocks_v14.0.0.3a]], [[Admin Branches Show Users]], The Regroup Person family of mods
| notes    =   
+
| notes    =  This mod can be installed independently of other mods in the Regroup Person family.
 
}}
 
}}
 
+
== Purpose of the Mod ==
 +
In the Person Profile, this mod limits the visibility of the branches to which an Individual is assigned.
 +
# Administrators see all branch names assigned to all Individuals.
 +
# Non-logged-in users and users without a branch assignment never see branch names.
 +
# Depending on a mod option, users who are assigned to a branch may see ''their'' branch name when viewing someone in their branch.
 
{| style="margin-right:0.5 em;" align="right"  
 
{| style="margin-right:0.5 em;" align="right"  
 
| __TOC__
 
| __TOC__
 
 
|}
 
|}
  
== Purpose of the Mod ==
+
== Mod Options ==
In the Person Profile, this mod limits the visibility of the branches to which an Individual is assigned.
+
The idea behind this mod's single option is that, even if you don't want users to see branch members, it make sense for a logged in user who has a branch restriction to see who is in that branch.
# Administrators see all branch names assigned to all Individuals.
+
# Non-logged-in users and users without a branch restriction never see any branch assignments.
+
== Other Mods ==
# If the mod parameter is true, then logged-in users who have a branch restriction see branch assignments ''for their branch only''. That is,
+
=== Compatibility ===
#* If an Individual has 3 branches, including the one assigned to the current user, only the user's branch would be shown.
 
#* If an Individual has one or more branches, bot not the one assigned to the current user, no branches branches would be shown.
 
 
 
== Mod Parameters ==
 
The one parameter allows logged-in users with a branch assignment to see ''their'' branch name, for Indivduals in their branch.  When the parameter is false, only administrators will see any branch names in the person profile.
 
 
 
==Compatibility With Other Mods==
 
 
There are no apparent conflicts, but there are so many mods that affect the Person Profile that I haven't tested them all against this mod.  Please contact me if you encounter any conflicts.
 
There are no apparent conflicts, but there are so many mods that affect the Person Profile that I haven't tested them all against this mod.  Please contact me if you encounter any conflicts.
  
==Related Mods==
+
=== Related Mods ===
# This mod uses the mod registration and display features as defined by [[Show Mod Names]].  If you have not installed [[Show Mod Names]], you won't see any effect, but if you have  installed [[Show Mod Names]], the names of all mods that use this feature will be shown at the bottom of the Person Profile.
+
<ol>
# [[Show Branch Members]] doesn't have a dependent relationship with this mod, but it also affects the display of branch names in the Person Profile.  It turns whatever branch names are displayed into hyperlinks that show a list of the branch's members.
+
<li>{{RobinBoilerplate | text=msb}}</li>
 +
<li>[[Admin Branches Show Users]] was spun off from this mod for TNGv13. When it has been installed, the branch members popup in the Person Profile will (optionally) also show branch-assigned users.</li>
 +
</ol>
 +
{{RobinBoilerplate | text=regroup}}
  
 
==Installation==
 
==Installation==
# Remove previous version of this mod.
+
=== Files Installed ===
# Backup the getperson.php, the only file affected by this mod.
+
{{RobinBoilerplate | text=language}}
# Download the .zip file, and extract its .cfg file to your mods folder.
+
{{RobinBoilerplate | text=install}}
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]].
 
  
== In the event of a problem ==
+
== Visualizations ==
# Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
+
{| border="3" cellspacing="1" cellpadding="2" class="wikitable"
# Contact me through [http://www.robinrichmond.com/family/mod_support.php My Mod Support form].
+
|-
 +
| <span style="color: red">'''Before Installation:'''</span>
 +
Note the circled branch names, visible to anyone who can see the person's name. Even with the mod, they will continue to be visible to administrators.  
 +
<div>[[Image:hide_branch_names-before.png]]</div>
 +
|}
  
== Visualization of this Mod ==
+
{| border="3" cellspacing="1" cellpadding="2" class="wikitable"
 +
| '''<span style="color: red">After Installation</span>, with the mod's option set NOT to allow "branch-restricted" users to see their own branch(es)'''
 +
The branch names are now invisible to all end users (i.e. all non-admins)
 +
<div>[[Image:hide_branch_names-after-none.png]]</div>
 +
|}
  
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
+
{| border="3" cellspacing="1" cellpadding="2" class="wikitable"
 +
| '''<span style="color: red">After Installation</span>, with the mod's option set TO ALLOW "branch-restricted" users to see their own branch(es)
 +
(These conditions all assume that the user is not a site administrator.)
 
|-
 
|-
|<span style="color: red">''' BEFORE:'''</span>
+
| '''Condition 1 - The user is not in any of the person's branches'''
Note the circled branch name, visible to anyone who can see the person's name.
+
As with the example above, the user cannot see any of the branches
| [[Image:hide_branch_names-before.png]]
+
<div>[[Image:hide_branch_names-after-none.png]]</div>
 +
|-
 +
| '''Condition 2 - The user is in the branch "Bacon"'''
 +
<br>This user can see "Bacon", but not the other branch names
 +
<div>[[Image:hide_branch_names-after-bacon.png]]</div>
 
|-  
 
|-  
| <span style="color: red">'''AFTER:'''</span>
+
| '''Condition 3 - The user is in a "virtual branch" that includes two of the person's branches'''
The branch name is now invisible to non-administrators and to users not restricted by a matching branch.
+
The branches whose ''descriptions'' are "Kuykendall" and "Hutcheson" have the branch ''names'' "HK-Kuykendall" and "HK-Hutcheson", and the user is in the branch whose ''name'' is "HK".  Thus, the user is effectively in both the "Kuykendall" and "Hutcheson" branches
| [[Image:hide_branch_names-after.png]]
+
<div>[[Image:hide_branch_names-after-hk.png]]</div>
 +
|}
 +
 
 +
{| border="3" cellspacing="1" cellpadding="2" class="wikitable"
 +
| '''FYI - With [[Regroup Person Profile]] installed'''
 +
[[Regroup Person Profile]] is not interdependent with [[Hide Branch Names]], but it does change the display of branch names significantly. [[Regroup Person Profile]] moves the tree and branch names and the edit date out of the event block, and into the Person Profile heading
 +
<div>[[Image:hide_branch_names-regroup_person_profile.png]]</div>
 
|-  
 
|-  
| colspan="2" | <span style="color: red">'''AFTER:'''</span> If you have installed [[Show Mod Names]], this mod will join other compliant mods in a list at the bottom of the page.
+
| '''FYI - ''Without'' [[FindAGrave Links]]'''
|-
+
[[FindAGrave Links]] is also not interdependent with Hide Branch Names, but since I inadvertently took the screenshots above with [[FindAGrave Links]] installed, I though that it might be useful to describe the effect of that mod. [[FindAGrave Links]] converts the string ''GRid=nnn'' (as shown below) in comment and note fields to a hyperlinked reference to the appropriate FindAGrave memorial page (as shown in the screen clips above). That puts the FindAGrave page just one click away from the Person Profile, and reduces the need to copy the FindAGrave page's images and text to your TNG site.
| colspan="2" style="text-align:right;" | [[Image:person_profile_modlist.png]]
+
<div>[[Image:hide_branch_names-fag.png]]</div>
 
|}
 
|}
  
== Mod Change History ==
+
== Revision History ==
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 +
! Mod Version !! TNG Version !! Date !! Note
 
|-
 
|-
! Mod Version
+
|[[Media:Regroup person-hide branches v14.0.0.20a.zip|v14.0.0.20a]]
! TNG Versions
+
|14
! Date
+
|23Sep2023
! Note
+
|Fixed a typo in admin_genconfig.php, Removed showmodnames references, changed the admin_genconfig.php search string
|-  
+
|- style="vertical-align:top;"<!-- ####################################################### -->
 +
| [[Media:Regroup person-hide branches v14.0.0.20.zip|v14.0.0.20]]
 +
| 14
 +
| 28Jan2023
 +
| No functional changes. Upgraded to TNGv14
 +
 
 +
|- style="vertical-align:top;"<!-- ####################################################### -->
 +
| [[Media:Regroup person-hide branches v13.0.0.19a.zip|v13.0.0.19a]]
 +
| 13
 +
| 20 Sep 2020
 +
|
 +
* No TNGv13 syntax or functional changes
 +
* Uses the Mod Settings Blocks mod rather than shared files.
 +
* Added French translations by Katryne Chauvigné-Bourlaud
 +
 
 +
|- style="vertical-align:top;"<!-- ############################################# -->
 +
| [[Media:Regroup person-hide branches v12.0.0.19.zip|v12.0.0.19.zip]]
 +
| 12.0-12.3
 +
| 10 May 2020
 +
| No functional changes. This version's primary purpose is to set the mod's version number to 19 to show that all Regroup Person mods are in sync with Regroup Person Profile.<br>Technical changes include
 +
* Uses the new stand-alone mod [[Inner Mod Menus]] to display the mod's Inner Mod Menu. As a result, the visibility of the Inner Mod Menu is tied to the installation of the [[Inner Mod Menus]] mod.
 +
* Moved the language strings to a mod subfolder.
 +
* Added a link to the mod's options from a dummy mod parameter
 +
* Upgraded to version 4 of the shared Mod Settings Blockis libraries
 +
* Added "What has changed" text to the Inner Mod Menu (made possible by v5 of the Inner Mod Menu library)
 +
 
 +
|- style="vertical-align:top;"<!-- ############################################# -->
 +
| [[Media:Regroup person-hide branches v12.0.0.18.zip|v12.0.0.18.zip]]
 +
| 12.0+
 +
| 15 May 2018
 +
|
 +
*'''Renamed the mod to Regroup Person-Hide Branches''' and jumped to v18 for consistency with other Regroup Person mods.
 +
* Moved the mod option to a mod settings block
 +
* Added an inner mod menu, like the other Regroup Person mod
 +
* Fixed a problem with a dangling comma in the limited list of branches presented to users who are in one of the person's branches.
 +
 
 +
|- style="vertical-align:top;"<!-- ############################################# -->
 +
| [[Media:Hide branch names v12.0.0.4a.zip|12.0.0.4a]]
 +
| 12.0+
 +
| 15 May 2018
 +
| No functional changes; made compatible with TNGv12.
 +
'''This mod version and all versions below are named Hide Branch Names'''
 +
 
 +
|- style="vertical-align:top;"<!-- ############################################# -->
 +
|[[Media:Textplus charts v10.0.0.4.zip|10.0.0.4]]
 +
| 10.0.0-10.1.3
 +
| 14 Feb 2016
 +
|  - Uses Show Mod Names v2
 +
|- style="vertical-align:top;"  <!-- ############################################# -->
 
| 10.0.0.4
 
| 10.0.0.4
 
| 10.0.0-10.1.3
 
| 10.0.0-10.1.3
Line 81: Line 149:
 
- Reworked code to be compatible with [[Show Branch Members]]<br/>
 
- Reworked code to be compatible with [[Show Branch Members]]<br/>
 
- Avoids database calls, thus removing any need to deal with TNGv10.0 vs 10.1.
 
- Avoids database calls, thus removing any need to deal with TNGv10.0 vs 10.1.
|-  
+
 
 +
|- style="vertical-align:top;"  <!-- ############################################# -->
 
| 10.0.0.3
 
| 10.0.0.3
 
| 10.0.0-10.1.1
 
| 10.0.0-10.1.1
 
| 11 Jul 2015
 
| 11 Jul 2015
 
| - Followed Ken Roy's suggestion to use the code<br/>($allow_edit && $allow_add && $allow_delete && !$assignedtree)<br/>to determine whether the user is an administrator.<br/> - Added the option to display matching branches to users who have a branch restriction.<br/> - Put the word "Branches" in front of the branch names.<br/> - Includes conditional code to allow a SQL statement to be executed in TNG v10.0 or v10.1
 
| - Followed Ken Roy's suggestion to use the code<br/>($allow_edit && $allow_add && $allow_delete && !$assignedtree)<br/>to determine whether the user is an administrator.<br/> - Added the option to display matching branches to users who have a branch restriction.<br/> - Put the word "Branches" in front of the branch names.<br/> - Includes conditional code to allow a SQL statement to be executed in TNG v10.0 or v10.1
|-  
+
|- style="vertical-align:top;"  <!-- ############################################# -->
 
| 10.0.0.2
 
| 10.0.0.2
 
| 10.0.0-10.1
 
| 10.0.0-10.1
 
| 26 Feb 2015
 
| 26 Feb 2015
 
| v10.0.0.1 would hide branch names from non-administrators, but wouldn't display them for administrators.
 
| v10.0.0.1 would hide branch names from non-administrators, but wouldn't display them for administrators.
|-  
+
|- style="vertical-align:top;"  <!-- ############################################# -->
 
| 10.0.0.1
 
| 10.0.0.1
 
| 10.0.0-10.1
 
| 10.0.0-10.1
Line 102: Line 171:
  
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 +
! URL !! User !! Note !! Mod-Version !! TNG-Version !! User-language
 +
 
|-
 
|-
! URL
+
| [http://www.robinrichmond.com/family/Robin Richmond's Genealogy Database] ([http://www.robinrichmond.com/family/search.php?personID=I20094&tree=rr See a specific Person Profile])
! User
 
! Note
 
! Mod-Version
 
! TNG-Version
 
! User-language
 
|-
 
| [http://www.robinrichmond.com/family/search.php?mylastname=Richmond&myfirstname=Clarence&mybirthyear=1895 Robin Richmond's Genealogy Database] (not installed)
 
 
| [[User:Robinrichm|Robin Richmond]]
 
| [[User:Robinrichm|Robin Richmond]]
 
| Mod developer
 
| Mod developer
| 10.0.0.4
+
| 14.0.0.20a
| 10.1.3
+
| 14
 
| English
 
| English
 
|-
 
|-
Line 120: Line 184:
 
| [[User:Clausm|Claus Martinussen]]
 
| [[User:Clausm|Claus Martinussen]]
 
| Public Site
 
| Public Site
| 10.0.0.3
+
| 12.0.0.4a
| 10.1.3
+
| 12.0.3
 
| DA, EN
 
| DA, EN
 
|-
 
|-
Line 137: Line 201:
 
| v10.1.2
 
| v10.1.2
 
| EN
 
| EN
 
+
|-
 +
| [https://www.martius-familie.de/ Martius family]
 +
| [[User:Hemar|Hendrik Martius]]
 +
| Half public
 +
| 12.0.0.4a
 +
| 12.0.1
 +
| DE, EN, FR, NL
 +
|-
 +
| [https://www.craswell.ca/ Your Roots are Showing]
 +
| [[User:crashar|Harold Craswell]]
 +
| Public/Private
 +
| [https://www.craswell.ca/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]
 +
| [https://www.craswell.ca/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]
 +
| EN
 
|-
 
|-
 
|}
 
|}
  
[[Category:Mods for TNG v10]]
+
[[Category:Mods for TNG v14]][[Category:Mods for TNG v13]][[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]][[Category:Mods for TNG v10]]
 
[[Category:getperson.php mods]]
 
[[Category:getperson.php mods]]
 +
[[Category:admin_genconfig.php mods]]
 +
[[Category:admin_updateconfig.php mods]]

Latest revision as of 08:21, 3 March 2024

Hide Branch Names
Summary On the Person Profile, hides the person's branch names unless the user is an administrator or, if the user is assigned to a branch, that branch name can optionally be shown when the user views the Person Profile of someone in that branch.
Validation
Mod Updated 23 Sep 2023
Download link v14.0.0.20a
TNG 14.0
Download stats
Author(s) Robin Richmond
Homepage this page
Mod Support My Mod Support form
Contact Developer My Mod Support form
Latest Mod 14.0.0.20a
Min TNG V 10.1
Max TNG V 14
Files modified
getperson.php
Related Mods
Mod Settings Blocks_v14.0.0.3a, Admin Branches Show Users, The Regroup Person family of mods
Notes
This mod can be installed independently of other mods in the Regroup Person family.


Purpose of the Mod

In the Person Profile, this mod limits the visibility of the branches to which an Individual is assigned.

  1. Administrators see all branch names assigned to all Individuals.
  2. Non-logged-in users and users without a branch assignment never see branch names.
  3. Depending on a mod option, users who are assigned to a branch may see their branch name when viewing someone in their branch.

Mod Options

The idea behind this mod's single option is that, even if you don't want users to see branch members, it make sense for a logged in user who has a branch restriction to see who is in that branch.

Other Mods

Compatibility

There are no apparent conflicts, but there are so many mods that affect the Person Profile that I haven't tested them all against this mod. Please contact me if you encounter any conflicts.

Related Mods

  1. The Mod Settings Blocks mod packages this mod's options into what I call a "Mod Settings Block", which is a set of form fields that formatted and labeled so that it stands out among other options in an Admin>>Setting form. Mod Settings Blocks is a prerequisite for this mod; it must be installed before this mod can be installed.
  2. Admin Branches Show Users was spun off from this mod for TNGv13. When it has been installed, the branch members popup in the Person Profile will (optionally) also show branch-assigned users.

This mod is compatible with, and part of, My "Regroup Person" family of mods.    [Show the family members]

[Hide details]

My "Regroup Person" family of mods all affect the Person Profile. All of them can be used independently of Regroup Person Profile, which was the the first and is the most complex member of the family.(I'll add that the reputation of the family has been stained by the fact that Regroup Person Profile is distinctly complex and is incompatible with an awkward number of other Person Profile mods. But, in truth, Regroup Person-Date Place is the only other member of the family that is similarly complex and invasive.)

  1. Regroup Person Profile - Rearranges the data in and spacing and formatting of the Person Profile. Also (optionally) adds siblings.
  2. Regroup Person-Branch Members - Turns each of the profiled person's branch names into a hyperlink that pops up a list of branch members. Options control whether anonymous visitors and/or logged-in users are allowed to see branch details.
  3. Regroup Person-Child2Parent - Hides the display of selected relationships (typically "birth", which would be assumed if it were not displayed) between the profiled person and that person's parents and children.
  4. Regroup Person-Date Place - Adjusts the spacing used to display (1) Event dates, places, and values and/or (2) The name/birth/death/age data for the profiled person's relatives.
  5. Regroup Person-Family Indicators - Based on Jeff Robison's Family Indicators Mod, this mod adds flags (i.e. "indicators") next to the names of the profiled person's relatives. The flags provide information about and links to several aspects of those relatives' relatives, including popup profiles and ancestor or descendant charts.
  6. Regroup Person-Gender Before Birth - Simply moves the Gender "event" so that it appears above the Birth event. (As you would expect, this mod is incompatible with Regroup Person-Remove Gender)
  7. Regroup Person-Hide Branches - Hides branch names from anonymous visitors and/or logged-in users who are not assigned to the branch.
  8. Regroup Person-Move Media - Simply moves the media files above the event map.
  9. Regroup Person-No Living Data - Suppresses display of ANY data about a living or private person the user doesn't have rights to see. By default, TNG will show some data, plus spouses, parents, and children.
  10. Regroup Person-Remove Gender - Removes the Gender event (the sex) from the event tables, leaving the gender icon next to the name as the sole representation of the person's gender. (As you would expect, this mod is incompatible with Regroup Person-Gender Before Birth)
  11. Regroup Person-Sources - Allows some source and citation data to be hidden for brevity, and to be displayed as desired.
[Hide the list of Regroup Person mods]

Installation

Files Installed

This mod includes a typical mod subfolder, with the same base name as the mod's .cfg file. The subfolder is atypical in that no files in it are installed to working TNG folders. However, it does contain critical files that contain the mod's language strings, which the mod does not add to standard cust_text.php files. Instead, the PHP code modified by this mod loads the language strings from files in the mod's languages/ subfolder. Read more about this technique.

[Show Standard Installation Process]

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.
  • You should backup files listed in the panel on the right.

Procedure

  1. Remove and delete previous version of this mod.
  2. Backup the files updated by this mod. They are listed in the panel at the upper right.
  3. Download the .zip file, Extract its .cfg file to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

Problems?

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.
[Hide Details]

Visualizations

Before Installation:

Note the circled branch names, visible to anyone who can see the person's name. Even with the mod, they will continue to be visible to administrators.

Hide branch names-before.png
After Installation, with the mod's option set NOT to allow "branch-restricted" users to see their own branch(es)

The branch names are now invisible to all end users (i.e. all non-admins)

Hide branch names-after-none.png
After Installation, with the mod's option set TO ALLOW "branch-restricted" users to see their own branch(es)

(These conditions all assume that the user is not a site administrator.)

Condition 1 - The user is not in any of the person's branches

As with the example above, the user cannot see any of the branches

Hide branch names-after-none.png
Condition 2 - The user is in the branch "Bacon"


This user can see "Bacon", but not the other branch names

Hide branch names-after-bacon.png
Condition 3 - The user is in a "virtual branch" that includes two of the person's branches

The branches whose descriptions are "Kuykendall" and "Hutcheson" have the branch names "HK-Kuykendall" and "HK-Hutcheson", and the user is in the branch whose name is "HK". Thus, the user is effectively in both the "Kuykendall" and "Hutcheson" branches

Hide branch names-after-hk.png
FYI - With Regroup Person Profile installed

Regroup Person Profile is not interdependent with Hide Branch Names, but it does change the display of branch names significantly. Regroup Person Profile moves the tree and branch names and the edit date out of the event block, and into the Person Profile heading

Hide branch names-regroup person profile.png
FYI - Without FindAGrave Links

FindAGrave Links is also not interdependent with Hide Branch Names, but since I inadvertently took the screenshots above with FindAGrave Links installed, I though that it might be useful to describe the effect of that mod. FindAGrave Links converts the string GRid=nnn (as shown below) in comment and note fields to a hyperlinked reference to the appropriate FindAGrave memorial page (as shown in the screen clips above). That puts the FindAGrave page just one click away from the Person Profile, and reduces the need to copy the FindAGrave page's images and text to your TNG site.

Hide branch names-fag.png

Revision History

Mod Version TNG Version Date Note
v14.0.0.20a 14 23Sep2023 Fixed a typo in admin_genconfig.php, Removed showmodnames references, changed the admin_genconfig.php search string
v14.0.0.20 14 28Jan2023 No functional changes. Upgraded to TNGv14
v13.0.0.19a 13 20 Sep 2020
  • No TNGv13 syntax or functional changes
  • Uses the Mod Settings Blocks mod rather than shared files.
  • Added French translations by Katryne Chauvigné-Bourlaud
v12.0.0.19.zip 12.0-12.3 10 May 2020 No functional changes. This version's primary purpose is to set the mod's version number to 19 to show that all Regroup Person mods are in sync with Regroup Person Profile.
Technical changes include
  • Uses the new stand-alone mod Inner Mod Menus to display the mod's Inner Mod Menu. As a result, the visibility of the Inner Mod Menu is tied to the installation of the Inner Mod Menus mod.
  • Moved the language strings to a mod subfolder.
  • Added a link to the mod's options from a dummy mod parameter
  • Upgraded to version 4 of the shared Mod Settings Blockis libraries
  • Added "What has changed" text to the Inner Mod Menu (made possible by v5 of the Inner Mod Menu library)
v12.0.0.18.zip 12.0+ 15 May 2018
  • Renamed the mod to Regroup Person-Hide Branches and jumped to v18 for consistency with other Regroup Person mods.
  • Moved the mod option to a mod settings block
  • Added an inner mod menu, like the other Regroup Person mod
  • Fixed a problem with a dangling comma in the limited list of branches presented to users who are in one of the person's branches.
12.0.0.4a 12.0+ 15 May 2018 No functional changes; made compatible with TNGv12.

This mod version and all versions below are named Hide Branch Names

10.0.0.4 10.0.0-10.1.3 14 Feb 2016 - Uses Show Mod Names v2
10.0.0.4 10.0.0-10.1.3 6 Dec 2015 - Uses the mod name display functionality defined by Show Mod Names

- Reworked code to be compatible with Show Branch Members
- Avoids database calls, thus removing any need to deal with TNGv10.0 vs 10.1.

10.0.0.3 10.0.0-10.1.1 11 Jul 2015 - Followed Ken Roy's suggestion to use the code
($allow_edit && $allow_add && $allow_delete && !$assignedtree)
to determine whether the user is an administrator.
- Added the option to display matching branches to users who have a branch restriction.
- Put the word "Branches" in front of the branch names.
- Includes conditional code to allow a SQL statement to be executed in TNG v10.0 or v10.1
10.0.0.2 10.0.0-10.1 26 Feb 2015 v10.0.0.1 would hide branch names from non-administrators, but wouldn't display them for administrators.
10.0.0.1 10.0.0-10.1 26 Dec 2014 New mod; adapted from a incompletely documented, un-credited mod already in use.

Sites using this mod

If you download and install this mod, please add your site to the table below.

URL User Note Mod-Version TNG-Version User-language
Richmond's Genealogy Database (See a specific Person Profile) Robin Richmond Mod developer 14.0.0.20a 14 English
DJCM.DK Claus Martinussen Public Site 12.0.0.4a 12.0.3 DA, EN
Brady Family Tree in Western Australia Darryl Brady Public site 10.0.0.4 10.1.1 EN, DE
Our Family Links Chuck Filteau Public site, modified Template 12 v10.0.0.3 v10.1.2 EN
Martius family Hendrik Martius Half public 12.0.0.4a 12.0.1 DE, EN, FR, NL
Your Roots are Showing Harold Craswell Public/Private See Here See Here EN