![]() |
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.
|
Usertitles are different than Ranks. Ranks may have images; usertitles may not.
|
Unless you use conditionals in conjunction with your usertitles.
HTML Code:
<if condition="$post[usertitle] == 'Corporal'"><img src="images/ranks/Corporal.gif" /></if> |
Yeah, you could do what Gio suggested also.
|
So where would i put that code? in postbit?
|
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. |
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.
|
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.
|
No, ranks images are only to be added with usergroups. I don't want an image for usergroups. I want it for a usertitle.
|
Well, then I guess you can do what Gio suggested in your postbit or postbit_legacy template.
|
Ok how would i figure out if im using postbit and postbit_legacy
|
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.
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|