User Sorting

NeedSupport The mod User Sorting needs a new support person since the original mod developer or subsequent developers are no longer available to support the mod NeedSupport


Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


User Sorting
Summary This mod adds the ability to sort the user list in Admin using various fields.
Validation This mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 23 Nov 2020
Download link For
TNG 14.0
TNG 13.0

User_sorting_v13.0.0.0.zip
Download stats
Author(s) David A Jamieson
Homepage User Sorting (This page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 13.0.0.0
Min TNG V 10.1
Max TNG V 14
Files modified
admin_users.php
languages/English/cust_text.php
languages/English-UTF8/cust_text.php
Related Mods
Notes

Purpose of the mod

This TNG modification adds two new buttons below the search text area within User Admin. These allow you to order the results based on eight different fields, in ascending or descending order.

Developer

This mod was developed by David A Jamieson. Updated for TNG13 by Russ Strong.

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.
  • Both English and English-UTF8 folders be on your site

Revision History

Mod Version TNG Version Date Contents
13.0.0.0 13.0 23 Nov 2020 Updated for TNG v13.0.0
10.1.0.1 10.1 New for TNG v10.1

Conflicts and Issues

Conflict with Admin Users Menu.

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:

 

Languages

This MOD adds custom text in the cust_text.php file in the English / English-UTF8 folders. If you want to use it with a different language, add the correct text (between double quotes) in the code below and add to your cust_text.php file in the appropriate language folder.

// Added for TNG Admin Mod - User Sorting
$admtext['uso_orderby'] = 'Order by: ';
$admtext['uso_username'] = 'Username';
$admtext['uso_realname'] = 'Real name';
$admtext['uso_description'] = 'Description';
$admtext['uso_personid'] = 'Person ID';
$admtext['uso_role'] = 'Role';
$admtext['uso_tree'] = 'Tree';
$admtext['uso_branch'] = 'Branch';
$admtext['uso_lastlogin'] = 'Last Login';
$admtext['uso_ascending'] = 'Ascending';
$admtext['uso_descending'] = 'Descending';

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
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.1 10.1.1 EN,DE
R G Strong Family Genealogy Russ Strong Public 13.0.0.0
TNG 14.0.4
EN,FR,DE,NL
Racines Luxos-hennuyères Michel Kirsch Pleasant Mod ! 13.0.0.0 13.0.3 FR,EN,DE,DU,ES
The Duttons of New England Darrin Dutton Public/Private 13.0.0.0 14.0.1 EN