vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Adding User Banners/Badges (https://vborg.vbsupport.ru/showthread.php?t=309807)

RPSmedia 03-22-2014 05:42 PM

Adding User Banners/Badges
 
On our forum, we've got several different banners that appear between the user names & the avatars, to denote different categories such as Admin, Moderator, Site Supporter, etc.

We had this set up previously, but during the latest update, we lost the code that showed the banners, and now I cant remember which template this was in, and how it was coded.

This is how the banners show on the forum.

https://vborg.vbsupport.ru/external/2014/03/10.jpg

And this is how the banners are controlled in the user profile in the ACP

https://vborg.vbsupport.ru/external/2014/03/11.jpg

I've tried searching the templates for the Profile form "Options:Other" thats shown in the 2nd image but I've come up w/ nothing.

Can anyone help me out w/ this?

Seven Skins 03-22-2014 06:52 PM

Try rank images code will not get overwritten.

AdminCP > User Ranks.

----------------------

May be this is what you are looking for (put this code in postbit template after editing X's):

Code:

<vb:if condition="$post['fieldx']"><dt>My FieldX</dt> <dd>{vb:raw post.fieldx}</dd></vb:if>

RPSmedia 03-22-2014 08:39 PM

Thanks, I'll give that a shot.

Was hoping to not do it that way, since it means having to re-input the selection on each user, but I can live w/ it.

Is there anyway to order the banners so they show up in a certain order? Such that like Administrator banners would show at the top of the list regardless of the banners shown?


All times are GMT. The time now is 09:24 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.01107 seconds
  • Memory Usage 1,713KB
  • 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)bbcode_code_printable
  • (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