View Full Version : User Title Color
If there's a mod for this someone please direct me to it as I couldn't find anything.
Basically what I'm looking to do is give user the options to choose a custom User Title color. I know there are shops for this, but I don't want a whole shop just for one feature. Would like to be able to have only certain usergroups access the option also.
Fongool
09-13-2012, 11:53 PM
I would also like to know what template would have to be edited to make the user title different colors.
I was going to post asking about this, but I searched first and found the exact thread of what I was going to ask...Can someone please help me with this?
I am using Vbulletin 4.2
Thanks in advance
F
LouiseWilson
09-14-2012, 09:48 PM
User title colours are handled in ADMINCP > Usergroups > Usergroup Manager > Edit a usergroup > Username HTML Markup
Fongool
09-15-2012, 12:09 AM
I found another way...a much easier way...
In the Admin CP, I find a specific user who I want to have a colored title and paste this in "User Title":
<b><font color="4ab4ed">Administrator</font></b>
You an substitute whatever you want in place of Administrator.
The hex color I have there is blue, but you can substitute any hex color you want.
Then below that in "Custom User Title"
Choose "Yes, Admin set (HTML Allowed)"...that's all...then they all come out in color... I did find this code on the forums, but I'm not sure where...
Syxguns
09-15-2012, 04:19 AM
I found another way...a much easier way...
In the Admin CP, I find a specific user who I want to have a colored title and paste this in "User Title":
<b><font color="4ab4ed">Administrator</font></b>
You an substitute whatever you want in place of Administrator.
The hex color I have there is blue, but you can substitute any hex color you want.
Then below that in "Custom User Title"
Choose "Yes, Admin set (HTML Allowed)"...that's all...then they all come out in color... I did find this code on the forums, but I'm not sure where...
This seems to be a much more difficult way of doing it. As LouiseWilson, mentioned above is the best method to cover all usergroups.
In the first box for Admin I place this HTML
<span style="font: 13px Comic Sans MS; color: red; font-weight: bold;">
The above is correct HTML syntax, if I was just changing the color then the following would work:
<span style="color:#FF0000">
#FF0000 is the hex for the color red. Now in the second box you would have to have your closing tags.
</span>
Using the <span> element you may have many things included, as in my first example. I have Font size, font type, font color, and I want it to be bold. That is the proper way to use HTML.
For your current code I would change it to:
<span style="color: blue; font-weight: bold";>Administrator</span>
But I'm glad your way is working!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.