The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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! |
#2
|
|||
|
|||
![]()
I am looking for the same thing as well.
I gave it a tiny try to edit showgroup.php to arrange order by usergroupid and it did work with one php error, the array. I think it was ksort I edited. I am no expret in php but it does seem to be a good step to figure out a way to add a custom code to arange forum leaders as usergroupid and a page to order it by a # of usergroupid? On the next upgrade you might use it as a good default to order group as 6, 5, 7; admins, supermods, mods. I do recall the original default is set in alphabetical order which makes it admin, mods, and supermods. The only normal way to fix it is to change supermods to global mods. The downside is when you add more additional groups to display on showgroups, it will become out of order. It will be a really useful if there was a easy way to customize order by group id. Edit: vb version 3.0.7 user. |
#3
|
||||
|
||||
![]()
<a href="https://vborg.vbsupport.ru/showthread.php?t=91246&highlight=administrators+to p" target="_blank">https://vborg.vbsupport.ru/showt...nistrators+top</a> ---found it for 3.5..give me an hour and I will see whats going on with 3.0.X..prolly not hard at all :P
~Curt |
#4
|
|||
|
|||
![]()
Thanks for the link but that is not it.. its more complitcated. Have to create a whole new code to make a custom order.
The link you provided just moves the $showgroup code to the top or below the moderator bit. Thats not what I'm looking for (as I already fixed that issue on my forums) |
#5
|
|||
|
|||
![]()
I would really need that, too...
Hopefully someone will start to work on this |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|