View Full Version : how do I make my username colored
gatorenvy
01-10-2007, 04:33 PM
I've seen a lot of forums if you look at the "users who have visited this forum" or "currently active users", the mods and admin have colored usernames.
I want admin to have a Blue username and a Mod to have a orange username. How do I do this?
www.gatorenvy.com/forums
da420
01-10-2007, 05:04 PM
Usergroups > HTML Markup... put in the appropriate HTML and it will format it as such...
gatorenvy
01-10-2007, 06:19 PM
thank you !
Stunner
01-10-2007, 06:22 PM
Thing about that is it makes all users in the usergroup the same color. This would be better if we could make just our name 1 color and everyone else in the usergroup their own color.
WhaLberg
01-10-2007, 06:54 PM
Well, if you just want to make "your" nickname coloured. Then,
1) Go to your postbit or postbit_legacy template.
2) Find: <if condition="$show['profile']">
<a class="bigusername" href="member.php3?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
3) Replace it with (if your userid is not 1 then change it):
<if condition="$show['profile']">
<if condition="$post[userid] == 1"><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><font color="red">$post[musername]</a></font>
<else /><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a></if>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
If your userid is not 1 then don't forget to change it. And also you can change the color. The default is red. :)
Your sincerely.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.