Quote:
Originally Posted by Brian31fl
great work man gets better and better might wanna update your options file with this spent an hour sorting roster by groupid here how tofix that in the new showroster.php
Find:
Code:
$t = strtoupper($user[$groupsort]);
after add:
Code:
$t = strtoupper($user['usergroupid']);
when done the changes should look like this:
Code:
$t = strtoupper($user[$groupsort]);
$t = strtoupper($user['usergroupid']);
$u = strtoupper($user[$usersort]);
hope this helps
~Brian
|
Brian, that change there would pretty much kill sorting I think. That is fine if you don't want sorting, but I wouldn't make that change in the master. You'd be better off just replacing the default $t with yours since the first one gets ignored.
I would actually recommend going back to the default though and instead making another change.
Find:
Code:
if ($groupsort == '') { $groupsort = 'title'; $grouptitle = 'title'; }
Replace with:
Code:
if ($groupsort == '') { $groupsort = 'usergroupid'; $grouptitle = 'usergroupid'; }
Does the same thing though so really not important. I'll have to update my optional instructions though, so thank you.