User Administration System: max 50 users displayed [message #163209] |
Fri, 08 October 2010 03:43 |
tux99
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 #163222 is a reply to message #163209] |
Sun, 10 October 2010 09:38 |
Ernesto
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
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;
Ginnunga Gaming
|
|
|
|