The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Font colour based on rank
Hi,
I'm hoping to find a way to allow for certain ranks to have their posts appear in certain font colours to show that they are of a certain rank. Currently, I'm not sure how to do this (hence the reason for posting it here...), but to understand what I mean a bit more clearly, perhaps a hypothetical example would be best: 1.) The average, or base, user makes a post in the typical font colour assigned to the style. (for this example, we'll say light grey font...) 2.) A Moderator could make a post and have the text show up in, say white to show that s/he is a moderator (since Mods and Smods are basically the same level, they'd be the same colour...) 3.) and if an Admin posted, let's say that his/her posts showed up in, say, green font, it would show up as such. I know that was a very vague and undescriptive example, but I also hope you understand what I'm looking for here. Is there any way to accomplish this? Thanks for your time. |
#2
|
|||
|
|||
First off, that's gonna be a killer on the eyes if you're using different types of styles. Second, what's so hard about [color=green][ /color]??
|
#3
|
||||
|
||||
1.) The colours were just examples...I'm not saying they'd be the colours I'd actually use; and there's only going to be one style, in dark colours.
2.) Yes, that's one way of doing it, but I'm looking for a way that would allow all team members to have a certain "official" colour. Given that the forums I'm working on are for an online game (not the forums at the website in my sig...), I wanted the staff members to be able to 'stand out' in the forums as much as they do in the game (In the game, staff members have different text colours that users...hence my reasoning for wanthing this on the forums...) and not just with a coloured, bolded, or italicized username. That's the purpose behind the request. I hope that's coherent...I'm typing this quite late at night |
#4
|
||||
|
||||
You can try using condition in postbit & postbit_legacy template
<if condition="(is_member_of($bbuserinfo, 6))><font color="for admin"><else condition="(is_member_of($bbuserinfo, 5)) OR (is_member_of($bbuserinfo, 7))"><font for more></else></if> uhm... not sure if those conditions are correct, but that's the idea. |
#5
|
||||
|
||||
Yes, I've tried using conditionals, the only problem is that I'm not sure what the conditionals are for such a request. I was hoping someone here would know.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|