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 :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
User Administration System: max 50 users displayed [message #163209] Fri, 08 October 2010 03:43 Go to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
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 14:33 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 16:32 Go to previous messageGo to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
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 16: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 09:29 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
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 08:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 09:38 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
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 13:54 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Thanks.
Details @ http://fudforum.svn.sourceforge.net/fudforum/?rev=5032&view=rev
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Thu Nov 21 11:06:31 GMT 2024

Total time taken to generate the page: 0.02390 seconds