PDA

View Full Version : is there a way......


DanTHEGREAT
08-27-2009, 06:46 PM
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.

<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.