The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Sorting order of users in showgroups.
I'm trying to adjust to the 3.5 versions of vB and so far it's going pretty well. There is something that's bothering me though. In the Showgroups page, every user is sorted alphabetically, in its usergroup and in the section of whoever is a moderator of a forum.
However, I want to sort the users in a usergroup in userids, and leave the users who moderate a forum alphabetically ordered. Do any of you know how to do that, by any chance? I tried modifying showgroups.php, but without any luck. Thanks in advance. |
#2
|
|||
|
|||
Anyone?
|
#3
|
|||
|
|||
Remove the following line (comment it out) from showgroup.php and it might do what you want:
PHP Code:
|
#4
|
|||
|
|||
Thanks, Marco! It worked for all users, except for one. Do you think there's another code to add instead of the ksort($users) to make all userids in the correct order? Like $userids, where this variable should be referring to the userids in the database?
|
#5
|
|||
|
|||
Try the following:
Find: PHP Code:
PHP Code:
this is all untested. |
#6
|
|||
|
|||
Awesome, Marco! It worked. Thanks for your help.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|