Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Sorting of Authors in "Send new Password"
Is there a possibility to have the authors sorted e.g. by name in the dropdown for “sending new password to author”? In an installation I administer, there are about 40 authors, currently listed by id (?).
Offline
Re: Sorting of Authors in "Send new Password"
I wonder why people still use that option when the author can request a password reset all by himself in since 4.0.6.
Offline
Re: Sorting of Authors in "Send new Password"
Sometimes authors loose also their username and ask the admin to reset the password. Of course, I could also send them just the username, and advice to reset it on their own.
Offline
Re: Sorting of Authors in "Send new Password"
You’re right. I’ll commit a fix in SVN:
--- textpattern/include/txp_admin.php (revision 2839)
+++ textpattern/include/txp_admin.php (working copy)
@@ -262,7 +262,7 @@
$names = array();
- $them = safe_rows_start('*', 'txp_users', "name != '".doSlash($txp_user)."'");
+ $them = safe_rows_start('*', 'txp_users', "name != '".doSlash($txp_user)."' ORDER BY RealName");
while ($a = nextRow($them))
{
Offline
Re: Sorting of Authors in "Send new Password"
Thanks a lot!
Offline
Re: Sorting of Authors in "Send new Password"
Committed in SVN as changeset 2843.
Offline