vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Usergroup badge (https://vborg.vbsupport.ru/showthread.php?t=294910)

Panzer Max 02-09-2013 02:34 AM

Usergroup badge
 
Ok, so we use the vB Paid Subscription feature and this upgrades people to different usergroups, where they can see additional forums. Several people are asking, could be add something to the postbit legacy section that will display an icon for their usergroup.
https://vborg.vbsupport.ru/external/2013/02/33.png
It would appear under the Posts: 6 line.

Is there a mod that can do this? We are using Yet Another Awards mod, which is nice for simple awards, but has no usergroup tie in.

If there is no mod for this, what would be involved in making one? Would we need to add a field to the usergroup table that designates the icon related to that usergroup? And then some callout in the postbit that pulls in the icon?

Digital Jedi 02-09-2013 05:13 AM

You can do this in the User Ranks Manager in the Admin CP. You can then move around the $post[rank] variable, if you don't like where it shows up in the postbit_legacy template.

Panzer Max 02-09-2013 12:39 PM

Well, thank you, another feature of vB that I was completely ignorant of! :eek:

That looks like it does eveything we need. I added a User Rank for a certain usergroup, post count 1 or more, Display Type = Always ( to apply to members with usergroup as primary or additional).

Thank you!


All times are GMT. The time now is 04: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.02102 seconds
  • Memory Usage 1,711KB
  • 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
  • (3)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