vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Badges order and usergroup ids (https://vborg.vbsupport.ru/showthread.php?t=311041)

mathforum 05-04-2014 03:40 PM

Badges order and usergroup ids
 
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 is the post that describes how to make this change. Works flawlessly on my 4.2.0 board.


All times are GMT. The time now is 07:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01066 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete