Difference between revisions of "Regroup Person-Branch Members"

From TNG_Wiki
Jump to navigation Jump to search
(mod v2)
(mod v3)
Line 1: Line 1:
 
{{TNGmod
 
{{TNGmod
 
| mod_name        =  Show Branch Members
 
| mod_name        =  Show Branch Members
|  mod_summary    = Turns branch names in the Person Profile into hyperlinks to a list of branch members.
+
|  mod_summary    = Turns branch names in the Person Profile into hyperlinks to a popup list of Branch members, using the same popup code as the Cemetery Edit program.  Also adds information to the Branch Members popup, including (optionally) a list of Branch users.
 
| mod_validation  =  
 
| mod_validation  =  
| mod_last_update = 13 Jan 2018
+
| mod_last_update = 14 Jan 2018
| download_link  = [[Media:show_branch_members_v10.1.0.2.zip|v10.1.0.2]]{{Tv110}}{{Tv1010}}
+
| download_link  = [[Media:show_branch_members_v10.1.0.3.zip|v10.1.0.3]]{{Tv110}}{{Tv1010}}
 
| download_stats  =
 
| download_stats  =
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
Line 10: Line 10:
 
| mod_contact    = [http://www.robinrichmond.com/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://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
| mod_version    = 10.1.0.2
+
| mod_version    = 10.1.0.3
 
| min_TNG_ver    = 10.1
 
| min_TNG_ver    = 10.1
 
| max_TNG_ver    = at least 11.1.2
 
| max_TNG_ver    = at least 11.1.2
Line 79: Line 79:
 
! Date
 
! Date
 
! Note
 
! Note
 +
|-
 +
| 10.1.0.3
 +
| 10.1-11.1.2+
 +
| 14 Jan 2018
 +
| In the Branch Members litbox popup used by the Branch editor, and now by the Person Profile,
 +
* Added more information to the heading
 +
* Made the people and families lists ordered lists
 +
* Added a Families heading, a link to the Families heading from the top heading, and links to the top from the Families heading and the bottom of the page.
 +
* The code now uses the correct gedcom field in the Users table to determine whether there is a default genealogy record for the user.
 
|-  
 
|-  
 
| 10.1.0.2
 
| 10.1.0.2
 
| 10.1-11.1.2+
 
| 10.1-11.1.2+
| 13 Jan 2018
+
| 4 May 2017
 
| Now makes sure that a branch-restricted user has an associated user before trying to display the associated user, and makes sure that the associated user exists.
 
| Now makes sure that a branch-restricted user has an associated user before trying to display the associated user, and makes sure that the associated user exists.
 
|-  
 
|-  

Revision as of 14:28, 14 January 2018

Show Branch Members
Summary Turns branch names in the Person Profile into hyperlinks to a popup list of Branch members, using the same popup code as the Cemetery Edit program. Also adds information to the Branch Members popup, including (optionally) a list of Branch users.
Validation
Mod Updated 14 Jan 2018
Download link v10.1.0.3
TNG 11.0
TNG 10.1.0
Download stats
Author(s) Robin Richmond
Homepage Robin Richmond's Genealogy Database
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod 10.1.0.3
Min TNG V 10.1
Max TNG V at least 11.1.2
Files modified
getperson.php, ajx_showbranch.php, English cust_text.php
Related Mods
Notes


Purpose of the Mod

To display all members (people and marriages), and users of a branch while on the Person Profile.

Compatibility And Dependencies

No known mod conflicts or strict dependencies, but do please let me know if you find any.

Related Mods

Installation

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, and 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.

Visualizations

Person Profile BEFORE: Note two branch names
Show branch members-before.png
Person Profile AFTER:
The branch names are now hyperlinks, and clicking on one pops up the list of members.

Show branch members-after.png

Note the circled changes to ajx_showbranch.php, which is the program that displays the contents of the pop-up box.
  1. The heading has new wording.
  2. The list of users is new (and is shown only when ajx_showbranch is called from the person profile.
  3. Consideration of inaccessible (Living or Private) records in the subheading and the footer are new.

Note also the mod name listed at the bottom of the pop-up box. The mod name would be shown there only on sites that have installed Show Mod Names, and have set Mod parameters to show the button.

Admin Branch Edit BEFORE:
When you click on the button shown, the members of the branch are listed in the pop-up box. Note that the button and the pop-up box heading are identical, and that they refer to "people" rather than "members" (which include families).

Show branch members-before2.png

Admin Branch Edit AFTER:
The button text and pop-up heading text are different, as is the subheading.

Show branch members-after2.png

Revision History

Mod Version TNG Versions Date Note
10.1.0.3 10.1-11.1.2+ 14 Jan 2018 In the Branch Members litbox popup used by the Branch editor, and now by the Person Profile,
  • Added more information to the heading
  • Made the people and families lists ordered lists
  • Added a Families heading, a link to the Families heading from the top heading, and links to the top from the Families heading and the bottom of the page.
  • The code now uses the correct gedcom field in the Users table to determine whether there is a default genealogy record for the user.
10.1.0.2 10.1-11.1.2+ 4 May 2017 Now makes sure that a branch-restricted user has an associated user before trying to display the associated user, and makes sure that the associated user exists.
v10.1.0.1.zip 10.1-10.1.3 30 Nov 2015 New mod.

Sites using this mod

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

User URL Mod-Version TNG-Version Note
Robin Richmond Robin Richmond's Genealogy Database Mod developer 10.1.3 English
Robin Richmond's Genealogy Database Robin Richmond Mod developer v10.1.0.1.zip 10.1.3 English