The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Manipulating Stack Order of User Ranks
Is it possible to manipulate the order in which ranks are stacked in the postbit?
I guess what I'm asking is, how does vBulletin determine which order to stack them in? Highest rank ID? Latest issue? Newest usergroup? Thanks. |
#2
|
|||
|
|||
The code that gets ranks from the database and calculates them for a user is in includes/function_ranks.php. It looks like they are sorted by usergroupid, high to low, then minimum posts, high to low. So if a user only belongs to one group they should appear based on number of posts required (highest first), and if a user is in more than one group (or you have added ranks for the user's group and for "all usergroups"), it looks like any ranks for "all usergroups" would be first, followed by ranks for any other groups.
Or at least that's what I think, based on the code. I'd have to do a test to be certain. Edit: to answer your original question, there doesn't appear to be any way of controlling the order without editing the code. |
#3
|
|||
|
|||
I used this thread to order my ranks: https://vborg.vbsupport.ru/showthread.php?t=109292
The instructions start around post #20 but make sure to read through the whole thread before you start. Also even though my ranks are now ordered how I want them it took a while before they did show that way. I have no idea why lol |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|