vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   is there a way...... (https://vborg.vbsupport.ru/showthread.php?t=221908)

DanTHEGREAT 08-27-2009 06:46 PM

is there a way......
 
is there a way to Let usertitles Have images cuz i have rank images like "Corporal; Private; Private First Class, etc" and I want to have images for them, not just text.

Lynne 08-27-2009 07:19 PM

Usertitles are different than Ranks. Ranks may have images; usertitles may not.

Gio~Logist 08-27-2009 07:30 PM

Unless you use conditionals in conjunction with your usertitles.

HTML Code:

<if condition="$post[usertitle] == 'Corporal'"><img src="images/ranks/Corporal.gif" /></if>

Lynne 08-27-2009 07:35 PM

Yeah, you could do what Gio suggested also.

DanTHEGREAT 08-27-2009 10:16 PM

So where would i put that code? in postbit?

Lynne 08-27-2009 10:28 PM

If that is where you want to change it, yes. (could be postbit_legacy or postbit, depending on which you use).

But I still wonder if you mean usertitles or ranks.

DanTHEGREAT 08-28-2009 04:25 PM

I made it so that if you have 500 posts you become a Corporal for example. Instead of showing text in the usertitle, I want to show an Army image.

Lynne 08-28-2009 04:45 PM

What I don't understand is you say "if you have 500 posts you become a Corporal". Those are Ranks, no? If so, you can just set an image in the Ranks Manager instead of showing the word.

DanTHEGREAT 08-28-2009 04:47 PM

No, ranks images are only to be added with usergroups. I don't want an image for usergroups. I want it for a usertitle.

Lynne 08-28-2009 04:52 PM

Well, then I guess you can do what Gio suggested in your postbit or postbit_legacy template.

DanTHEGREAT 08-28-2009 04:59 PM

Ok how would i figure out if im using postbit and postbit_legacy

Lynne 08-28-2009 05:11 PM

Well, you can always do this - - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. But in general (unless the style designer did something strange), if the userinfo is on the left, you are using the postbit_legacy. If the userinfo is on the top, it is the postbit template.

Gio~Logist 08-28-2009 06:54 PM

If your user info is on the left hand side, chances are you're using postbit_legacy, as the default (postbit) one is set up with the user info on top like here on vb.org.

Also check out vBulletin Options -> Style & Language Settings -> Use Legacy (Vertical) Postbit Template. If that's set to yes, then you're using postbit_legacy.


All times are GMT. The time now is 06:51 AM.

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.01034 seconds
  • Memory Usage 1,725KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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