FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » User Administration System: max 50 users displayed
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
User Administration System: max 50 users displayed [message #163209] Thu, 07 October 2010 23:43 Go to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
I noticed that the User Admin System in the Admin Control Panel displays at most 50 users as result from a search.
For example i have 131 registered users, if i do a search by login for '*' i get a list of 50 users (by email is the same).
This seems incorrect to me, I should see all 131 users listed (either as one long list or split up in separate pages).
Re: User Administration System: max 50 users displayed [message #163211 is a reply to message #163209] Fri, 08 October 2010 10:33 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Not big deal as you can simply refine your search.

Anyway, it if will make you smile:
http://fudforum.svn.sourceforge.net/fudforum/?rev=5024&view=rev
Re: User Administration System: max 50 users displayed [message #163214 is a reply to message #163211] Fri, 08 October 2010 12:32 Go to previous messageGo to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
Many thanks, I will try it later and provide feedback.

The reason why this was a (minor) issue for me, is because I like to do a sort of all users to see the ones most recently online, but also because a complete list makes it easier to check user details at a glance.

[Updated on: Fri, 08 October 2010 12:36]

Report message to a moderator

Re: User Administration System: max 50 users displayed [message #163220 is a reply to message #163214] Sat, 09 October 2010 05:29 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I have added last_visit to my findusers page and also sortable by that.

Re: User Administration System: max 50 users displayed [message #163221 is a reply to message #163220] Sun, 10 October 2010 04:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
David, can you please post a patch of your mod?
I don't think it should be part of the main theme (too crowded).
However, we can maybe add the code to the base release and leave the theming (to add the column or not) up to the end-user.
Re: User Administration System: max 50 users displayed [message #163222 is a reply to message #163209] Sun, 10 October 2010 05:38 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I don't know how to post it in "patchmode" - you will have to explain that to me someday.

Anyhow:

finduser.php.t

After (around line 70?)
        } else if (isset($_GET['fl'])) {
                $ord = 'flag_cc ' . ($_GET['fl'] % 2 ? 'DESC' : 'ASC');

insert
        } else if (isset($_GET['lv'])) {
                $ord = 'last_visit ' . ($_GET['lv'] % 2 ? 'DESC' : 'ASC');




around line 85, line that begins with
$find_user_data = '';
        $c = uq('SELECT /*!40000 SQL_CALC_FOUND_ROWS */

insert
last_visit, 




after (around line 106)
                        } else if (isset($_GET['rd'])) {
                                $pg .= (int)$_GET['rd'].'/';

insert
                        } else if (isset($_GET['lv'])) {
                                $pg .= (int)$_GET['lv'].'/';



After (around line 136)
                        if (isset($_GET['rd'])) {
                                $pg .= 'rd='.(int)$_GET['rd'].'&';
                        }

insert
                        if (isset($_GET['lv'])) {
                                $pg .= 'lv='.(int)$_GET['lv'].'&';
                        }




users.inc.t

After (around line 288)
                                                case 1: case 2: $_GET['pc'] = $p[1]; break;
                                                case 3: case 4: $_GET['us'] = $p[1]; break;
                                                case 5: case 6: $_GET['rd'] = $p[1]; break;
                                                case 7: case 8: $_GET['fl'] = $p[1]; break;

insert
                                                case 9: case 10: $_GET['lv'] = $p[1]; break;


Re: User Administration System: max 50 users displayed [message #163223 is a reply to message #163222] Sun, 10 October 2010 09:54 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Thanks.
Details @ http://fudforum.svn.sourceforge.net/fudforum/?rev=5032&view=rev
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: [SOLVED] Group Manager: Post Editing disabled is being ignored
Next Topic: Search results blank...sometimes??
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 17 03:19:59 EST 2017

Total time taken to generate the page: 0.00807 seconds