Difference between revisions of "User Sorting"
(→Sites using this mod: no longer use this mod) |
|||
(23 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | {{TNGmod | + | {{SupportNeeded}}{{V12_cust_text}}{{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. | ||
| mod_validation = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | | mod_validation = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | ||
− | | download_link = <br/> | + | | mod_last_update = 23 Nov 2020 |
− | | download_stats = | + | | download_link = For{{Tv140}}{{Tv130}}<br />[[Media:User_sorting_v13.0.0.0.zip|User_sorting_v13.0.0.0.zip]]<!-- <hr style="clear: both;"/>[http://justdaj.uk/files/clickcount/click.php?id=2 user_sorting_v10.1.0.1.zip] --> |
− | | mod_author = David A Jamieson | + | | download_stats = <!-- [http://www.justdaj.uk/files/clickcount/index.php?action=stats&id=2 See download statistics] --> |
− | | mod_url = [https://www.jamiesontree.uk/ Jamieson Genealogy] | + | | mod_author = [[User:Daj|David A Jamieson]] |
− | | mod_support = TNG Forums | + | | mod_url = '''{{PAGENAME}}''' (This page)<!-- [https://www.jamiesontree.uk/ Jamieson Genealogy] --> |
− | | mod_contact = [http:// | + | | mod_support = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]<!-- [http://justdaj.uk DAJ] --> |
− | | mod_version = | + | | mod_contact = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums] <!-- [http://justdaj.uk justdaj.uk] --> |
+ | | mod_version = 13.0.0.0 | ||
| min_TNG_ver = 10.1 | | min_TNG_ver = 10.1 | ||
− | | max_TNG_ver = | + | | max_TNG_ver = 14 |
− | | TNG_file_list = admin_users.php<br/>cust_text.php | + | | TNG_file_list = admin_users.php<br />languages/English/cust_text.php<br />languages/English-UTF8/cust_text.php |
− | | related_mods | + | | related_mods = [[Sort User List]] |
− | | notes | + | | notes = |
− | }} | + | }}{| style="margin-right:0.5 em;" align="right" |
− | + | | __TOC__ | |
− | {|align=right | ||
− | |__TOC__ | ||
|} | |} | ||
− | |||
== Purpose of the mod == | == 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 [[User:Daj|David A Jamieson]]. Updated for TNG13 by [[User:Rgstrong|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 == | |
+ | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
+ | |- | ||
+ | ! Mod Version | ||
+ | ! TNG Version | ||
+ | ! Date | ||
+ | ! Contents | ||
+ | |- style="vertical-align:top;" | ||
+ | | 13.0.0.0 | ||
+ | | 13.0 | ||
+ | | style="white-space: nowrap;"|23 Nov 2020 | ||
+ | | Updated for TNG v13.0.0 | ||
− | == | + | |- style="vertical-align:top;" |
+ | | 10.1.0.1 | ||
+ | | 10.1 | ||
+ | | style="white-space: nowrap;"| | ||
+ | | New for TNG v10.1 | ||
+ | |} | ||
− | + | == Conflicts and Issues == | |
+ | Conflict with [[Admin Users Menu]]. | ||
+ | == Installation == | ||
+ | # Uninstall and delete previous version of this mod (if installed) | ||
+ | # Download the appropriate zip file as shown in the mod summary in the upper right corner of the page. | ||
+ | # Extract the file from the downloaded zip file into the '''mods''' folder or FTP the extracted file to your mods folder. | ||
+ | # 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 == |
− | + | * Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability. | |
− | * | + | * Copy the backup of the affected files back to your TNG directory. |
− | * | + | * Retry installing mod. |
+ | * Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]. | ||
+ | == Uninstalling the mod == | ||
+ | If you want to completely '''Remove''' (uninstall) this mod and all its tables, you should | ||
+ | # click the '''Uninstall''' button to uninstall the mod | ||
+ | # 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: | ||
− | + | [[Image:User-sorting-mod-screenshot.png|650px|Example screen shot of mod in use]] | |
− | === cust_text.php | + | ==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. | ||
− | + | <syntaxhighlight lang="php"> | |
− | |||
− | <syntaxhighlight lang="php | ||
// Added for TNG Admin Mod - User Sorting | // Added for TNG Admin Mod - User Sorting | ||
$admtext['uso_orderby'] = 'Order by: '; | $admtext['uso_orderby'] = 'Order by: '; | ||
Line 69: | Line 99: | ||
$admtext['uso_descending'] = 'Descending'; | $admtext['uso_descending'] = 'Descending'; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Sites using this mod == | == Sites using this mod == | ||
+ | If you download and install this mod, please add your TNG site to the table below: | ||
− | + | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" width="100%" | |
− | |||
− | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
|- | |- | ||
! URL | ! URL | ||
Line 89: | Line 111: | ||
! TNG-Version | ! TNG-Version | ||
! User-language | ! User-language | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia] | | [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia] | ||
− | | [[User:bradyfamilytree|Darryl Brady]] | + | | style="white-space: nowrap;"|[[User:bradyfamilytree|Darryl Brady]] |
| Public site | | Public site | ||
| 10.1.0.1 | | 10.1.0.1 | ||
| 10.1.1 | | 10.1.1 | ||
− | | EN, DE | + | | style="white-space: nowrap;"|EN,DE |
+ | |- | ||
+ | | [https://www.rgstrong-genes.com R G Strong Family Genealogy] | ||
+ | | style="white-space: nowrap;"|[[User:Rgstrong|Russ Strong]] | ||
+ | | Public | ||
+ | | 13.0.0.0 | ||
+ | | {{Tv1404}} | ||
+ | | style="white-space: nowrap;"|EN,FR,DE,NL | ||
|- | |- | ||
− | | [ | + | | [http://www.genealogie.mkirsch.be Racines Luxos-hennuyères] |
− | | [[User: | + | | style="white-space: nowrap;"|[[User:MichelKirsch|Michel Kirsch]] |
− | | | + | | Pleasant Mod ! |
− | | | + | | 13.0.0.0 |
− | | | + | | 13.0.3 |
− | | EN,DE, | + | | style="white-space: nowrap;"|FR,EN,DE,DU,ES |
|- | |- | ||
+ | | [https://www.duttongenealogy.com The Duttons of New England] | ||
+ | | style="white-space: nowrap;"|[[User:Darrin65|Darrin Dutton]] | ||
+ | | Public/Private | ||
+ | | 13.0.0.0 | ||
+ | | 14.0.1 | ||
+ | | style="white-space: nowrap;"|EN | ||
|} | |} | ||
+ | [[Category:Mods for TNG v14]] | ||
+ | [[Category:Mods for TNG v13]] | ||
+ | [[Category:Mods for TNG v12]] | ||
+ | [[Category:Mods for TNG v11]] | ||
[[Category:Mods for TNG v10]] | [[Category:Mods for TNG v10]] | ||
+ | |||
[[Category:admin_users.php mods]] | [[Category:admin_users.php mods]] | ||
+ | |||
+ | [[Category:Cust text.php English mods]] |
Revision as of 05:19, 10 April 2024
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 |
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
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
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- 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
- Try using the Mod Manager Remove capability.
- Copy the backup of the affected files back to your TNG directory.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and all its tables, you should
- click the Uninstall button to uninstall the mod
- 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 |
|
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 |