PDA

View Full Version : Forum Leaders/Show Groups Question


peterg0415
03-26-2014, 01:18 AM
Hey guys,

I recently figured out how to get the usergroups on the Show Groups page to order themselves using <!--- x ---> but I am now trying to change the way the users are organized inside of those usergroups when they're displayed on Show Forum Leaders. Does anyone know if there is a way, whether it be editing or adding a code, that would allow me to sort the users within that usergroup by userid instead of alphabetical.

Any help would be appreciated. Let me know if you need more information. Thanks!

ozzy47
03-27-2014, 11:45 PM
Best way to do it is in the showgroup.php file look for this bit of code:

ksort($users); // alphabetically sort users

And change it to this:

asort($users); // sort users by id number