View Full Version : chaning user title color?
berry05
06-06-2008, 09:57 PM
is there a way to changing the user title color on users? i tried HTML and it didn't work...
veenuisthebest
06-06-2008, 10:04 PM
it has to work.
usergroup manager->choose usergroup->HTML markup
put this in first box
<span style="color: red";>
and this in second
</span>
Opserty
06-06-2008, 10:22 PM
Add a ">" to the end of the first code ;)
berry05
06-06-2008, 10:43 PM
no..like opserty...see how your thing is "advisor" and its blue...like that...not the user name..
veenuisthebest
06-06-2008, 10:49 PM
okayy.. i got it now..
you'll have to edit title in postbit template.
Carlos X
06-06-2008, 11:18 PM
I was going to respond to this thread clarifying this, but I didn't want to correct Osperty.
berry05
06-06-2008, 11:44 PM
ok..so how do i do it? lol
Dismounted
06-07-2008, 06:54 AM
Edit your postbit template, find the user title variable, and wrap the colour code.
berry05
06-07-2008, 11:59 AM
oOo ic....but i just wanna make a certain one light blue...is there a way i can add HTML to the user title of one user?
Dismounted
06-07-2008, 12:17 PM
Use a conditional:
<if condition="$vbulletin->userinfo['userid'] == X">CODE</if>
berry05
06-07-2008, 12:33 PM
your prob gunna get mad at me but...where exactly do i put the code? i tried in postbit but i dont know where in postbit i put it.
Lynne
06-07-2008, 01:48 PM
your prob gunna get mad at me but...where exactly do i put the code? i tried in postbit but i dont know where in postbit i put it.
Go to your postbit template and in the Search in Template field, put "usertitle" and hit Find. It will show you where in the template the usertitle is located. You will see a line like this:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
You want to put your conditional there, after the condition that is currently there. Try it out yourself, and if you are having problems, post what you tried and we will help you to get it how you want it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.