User Sorting

From TNG_Wiki
Jump to: navigation, search
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 {{{mod_last_update}}}
Download link
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 10.1.0.1
Min TNG V 10.1
Max TNG V 10.1
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 (daj)


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
Roots & Relatives Remembered Ron Krzmarzick Public & Private 10.1.0.1 See Here EN,DE,CS,ES