Sort User List

Sort User List
Summary Sorts the User List displayed in Admin by tree, then branch, then user name
Validation
Mod Updated 10 Feb 2014
Download link For
TNG 10.0
sort_user_list.v10.0.0.0.zip
For
TNG 9.0
TNG 8.0
sort_user_list.v8.1.1.zip
by Tree/Role/Branch sort
For
TNG 8.0

sort_user_list.v8.1.0.zip
by Tree/Branch sort
Download stats View V10 Download Stats
Author(s) Alan D Craxford
Homepage Sort User List (This page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 8.1.1 for sort by Tree/Role/Branch
8.1.0 for sort by Tree/Branch
Min TNG V 8.0.2
Max TNG V 10.0.0
Files modified
admin_users.php
Related Mods
None
Notes
None

Purpose of the mod

The list of users displayed on the Registered Users admin page is sorted by default by the user's description field. If your site has more than one tree, each of which has its own user population, or some of your users are restricted to just one branch, then this small mod may present a clearer user directory.

The list is now sorted by tree (alphabetically by tree name), then the user's function or role (Guest, Submitter etc), then branch and then username. Administrators, and others not assigned to any tree, are listed first. Then users are grouped alphabetical by tree name and their assigned function or role (if one has been given, "Guest" if not). Users assigned to a specific branch appear at the end of the tree list.

Developer

This mod was developed by Alan D Craxford.

Renamed from Sort Registered User List by Ken Roy for TNG V10. Created V10.0.0.0 of the mod so the name matches the wiki article name. The code remains the same as v8.1.1

Requirements

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

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.

Visualization

The following screen captures show the changes made by the mod:

V8.1.0

The first version of the mod did not include the Role as part of the sort.

V8.1.0 Sort by Tree/Branch Example
The image on the right shows the sort for V8.1.0 of the mod where Role was not sorted after the Tree.

V8.1.1

The current version of the mod includes the Role as part of the sort.

V8.1.1 Sort by Tree/Role/Branch Example

A specimen site contains two trees (Smithtree and Jonestree), each with its own population of users. Members of one tree do not get access rights to the other - unless they have been added to the second tree. In this example, site administrators have not been assigned to either tree and appear at the top of the list.

Smithtree has five members. The Guests are sorted alphabetically by username first, the Submitters appear next, sorted alphabetivally.

Jonestree has four members. One of the Guests has been assigned to a distinct branch and is sorted behind the remaining Guest. The Submitter appears last.

(A future mod might look to sort the user function by significance - Submitter before Guest - rather than alphabetically by role name.)

Username Tree Branch Role
James Administrator
John Administrator
Barbara Smithtree Guest
Sally Smithtree Guest
Sidney Smithtree Guest
Jean Smithtree Submitter
Thomas Smithtree Submitter
Bernard Jonestree Guest
Vincent Jonestree Guest
Alan Jonestree Mumside Guest
Sean Jonestree Submitter

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
The Extended Craxford Family Geneaolgy Magazine Alan D Craxford Mod Developer 8.1.1 8.1.0 DE,FR,EN,PR-BR
Our Roy and Boucher Family Ken Roy ... 10.0.0.0 10.0.0 EN,FR
Total Family History Scott Bennett Private Site (For right now) 10.0.1 EN