User Sorting

From TNG_Wiki
Jump to navigation Jump to search


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 13.0

User_sorting_v13.0.0.0.zip
For
TNG 12.0
TNG 11.0
TNG 10.1.0

user_sorting_v10.1.0.1.zip
Download stats See download statistics
Author(s) David A Jamieson
Homepage Jamieson Genealogy
Mod Support TNG Forums or DAJ
Contact Developer justdaj.uk
Latest Mod 13.0.0.0
Min TNG V 10.1
Max TNG V 13.0.3
Files modified
admin_users.php
cust_text.php
Related Mods
Notes
Appears to also conflict with Admin Users Menu more version

Purpose of the mod

The mod will add 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

Example screen shot of mod in use

Developer

This mod was developed by David A Jamieson

Requirements

  • A working TNG V10 installation.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Download the zip
  2. Extract the file and upload the .cfg file to the mods folder on your tng webserver.
  3. Login to the TNG Admin
  4. Click on Mod Manager
  5. You should see the mod listed as 'OK to install'. Click this and then the Install Button

Custom Text

This MOD adds custom text in the cust_text.php file in the English / English-UTF8 folders.

cust_text.php

If you are not using English as the language in Admin, you need to add the following to cust_text.php for your language

// 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';

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Contact me through the forum (username daj) or email me.

Sites using this mod

If you download and use this mod, please add your TNG site to the table below. If you are not sure how to add your details please email me (see box top right) and I will update.

URL User Note Mod-Version TNG-Version User-language
Our Roy and Boucher Family Ken Roy A better mod than the Sort User List 10.1.0.1 10.1 French, English
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/GE/DU/ES
The Duttons of New England Darrin Dutton Public/Private 13.0.0.0 14.0.1 EN