Difference between revisions of "User Sorting"
MichelKirsch (talk | contribs) |
(Minor text and display changes) |
||
Line 1: | Line 1: | ||
− | {{V12_cust_text}} | + | {{V12_cust_text}}{{TNGmod |
− | {{TNGmod | ||
| mod_name = [[User Sorting]] | | mod_name = [[User Sorting]] | ||
| mod_summary = This mod adds the ability to sort the user list in Admin using various fields. | | mod_summary = This mod adds the ability to sort the user list in Admin using various fields. | ||
Line 8: | Line 7: | ||
<span class="nowrap">{{Tv120}}{{Tv110}}{{Tv1010}}</span>[http://justdaj.uk/files/clickcount/click.php?id=2 user_sorting_v10.1.0.1.zip]<hr /> | <span class="nowrap">{{Tv120}}{{Tv110}}{{Tv1010}}</span>[http://justdaj.uk/files/clickcount/click.php?id=2 user_sorting_v10.1.0.1.zip]<hr /> | ||
| download_stats = [http://www.justdaj.uk/files/clickcount/index.php?action=stats&id=2 See download statistics] | | download_stats = [http://www.justdaj.uk/files/clickcount/index.php?action=stats&id=2 See download statistics] | ||
− | | mod_author = David A Jamieson | + | | mod_author = [[User:Daj|David A Jamieson]] |
| mod_url = [https://www.jamiesontree.uk/ Jamieson Genealogy] | | mod_url = [https://www.jamiesontree.uk/ Jamieson Genealogy] | ||
| mod_support = TNG Forums or [http://justdaj.uk DAJ] | | mod_support = TNG Forums or [http://justdaj.uk DAJ] | ||
Line 14: | Line 13: | ||
| mod_version = 13.0.0.0 | | mod_version = 13.0.0.0 | ||
| min_TNG_ver = 10.1 | | min_TNG_ver = 10.1 | ||
− | | max_TNG_ver = 13.0. | + | | max_TNG_ver = 13.0.3 |
| TNG_file_list = admin_users.php<br/>cust_text.php | | TNG_file_list = admin_users.php<br/>cust_text.php | ||
| related_mods = [[Sort User List]] | | related_mods = [[Sort User List]] | ||
| notes = Appears to also conflict with [[Admin Users Menu]] more version | | notes = Appears to also conflict with [[Admin Users Menu]] more version | ||
− | }} | + | }}{|align=right |
− | |||
− | {|align=right | ||
|__TOC__ | |__TOC__ | ||
|} | |} | ||
Line 27: | Line 24: | ||
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 | 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 | ||
− | |||
[[Image:User-sorting-mod-screenshot.png|650px|Example screen shot of mod in use]] | [[Image:User-sorting-mod-screenshot.png|650px|Example screen shot of mod in use]] | ||
− | |||
== Developer == | == Developer == | ||
This mod was developed by David A Jamieson (daj) | This mod was developed by David A Jamieson (daj) | ||
− | |||
==Requirements== | ==Requirements== | ||
Line 41: | Line 35: | ||
* A working TNG V10 installation. | * A working TNG V10 installation. | ||
* An installed current version of the [[Mod Manager]]. | * An installed current version of the [[Mod Manager]]. | ||
− | |||
==Automated Installation== | ==Automated Installation== | ||
Line 72: | Line 65: | ||
$admtext['uso_descending'] = 'Descending'; | $admtext['uso_descending'] = 'Descending'; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== In the event of a problem == | == In the event of a problem == | ||
Line 78: | Line 70: | ||
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability | * Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability | ||
* Contact me through the forum (username daj) or email me. | * Contact me through the forum (username daj) or email me. | ||
− | |||
== Sites using this mod == | == Sites using this mod == |
Revision as of 04:42, 6 March 2021
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:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
User Sorting | |||||
---|---|---|---|---|---|
Summary | This mod adds the ability to sort the user list in Admin using various fields. | ||||
Validation | This mod is XHTML compliant. | ||||
Mod Updated | 23 Nov 2020 | ||||
Download link | for
| ||||
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
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
- Download the zip
- Extract the file and upload the .cfg file to the mods folder on your tng webserver.
- Login to the TNG Admin
- Click on Mod Manager
- 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 | See Here | See Here | EN,DE,CS,ES |
R G Strong Family Genealogy | Russ Strong | Public | 13.0.0.0 | 13.0.1 | EN, FR, DE, NL |
Racines Luxos-hennuyères | Michel Kirsch | Pleasant Mod ! | 13.0.0.0 | 13.0.3 | FR/EN/GE/DU/ES |