PDA

View Full Version : Badges order and usergroup ids


mathforum
05-04-2014, 03:40 PM
Hello all,

I haven't been able to get a definitive answer as to how the order of multiple badges is chosen in the postbit, but it seems to be related to the usergroup ids. If this is true, can I run a SQL query to change the order of usergroup ids and in turn the order of the badges? For example, can I run code that says 1 -> 2, 2->1?

Thank you!

Lynne
05-04-2014, 04:25 PM
Badges? Do you mean User Ranks?

mathforum
05-04-2014, 05:35 PM
Yes, sorry. We call them "badges" on my site. Some people have three of them and they don't stack in the order we would like them to.

Lynne
05-05-2014, 03:52 AM
Then you would need to actually modify the code itself. I don't think you could do a plugin. There is actually a thread around here about how to do this. Did you try a search? (A question about rank order was actually asked within the last couple of weeks with the link to the thread posted.)

mathforum
05-11-2014, 03:54 AM
Found it. Just for reference, here (https://vborg.vbsupport.ru/showpost.php?p=1729758&postcount=24) is the post that describes how to make this change. Works flawlessly on my 4.2.0 board.