How to have a custom order in showgroups?
Hi everybody!
I'd like to show the differents groups in showgroups.php in the "correct" order (can't find the word in english, in spanish is "orden jerárquico").
For example, I want to appear at top Administrators, then Super Moderators and at the end Moderators.
As vbulleting assigns the id 5:SM, 6:Admin, 7:Mods, I can't ORDER BY usergroupid ASC or DESC; and I can't find any function on MySQL or PHP to do something like "ORDER BY (6,5,7)"
Obviously, I don't want to change the usergroup ids to fetch that order... it must have be an "elegant" solution...
Well, thanks for all!
|