View Full Version : different usergroup color for different styles
sherwood
12-13-2008, 04:34 PM
is there away i can get a usergroup to have a different color in different themes??
thanks,
--------------- Added 1229245102 at 1229245102 ---------------
anyone??
sherwood
12-23-2008, 05:06 PM
anyone at all?
I assume you mean the actual "users" that are listed in "whos Online"
Most boards only have one skin, one option could be to use
My Board uses 4 user selectable Schemes which I chose colrs that show up in all 4 well..
https://vborg.vbsupport.ru/showthread.php?t=184426&highlight=different+user+color
or just make your user markup colors something that can be viewed on all schemes with the user markup function..
Username HTML Markup
The first field is the opening tag. The second field is the closing tag. These tags will be inserted around the user's username like this:
[opening tag]username[closing tag]
Some HTML tags you might want to use here include:
<span style="font-weight: bold;">username</span> = username
<span style="font-style: italic;">username</span> = username
<span style="text-decoration: underline;">username</span> = username
<span style="color: red;">username</span> = username
<span style="font: 20px verdana;">username</span> = username
You can also do combinations by using more than one attribute in the style property:
<span style="font: 20px verdana; color: red;">username</span> = username
Note that within the templates and code, the resulting username surrounded by HTML markup is referred to as 'musername'.
Hope that helps..
I am not usually good at this stuff;P
Opserty
12-23-2008, 11:32 PM
is there away i can get a usergroup to have a different color in different themes??
thanks,
See the text quoted in the 3rd post of this page: https://vborg.vbsupport.ru/showthread.php?t=112606
sherwood
12-24-2008, 07:35 AM
Slgihtly, but not the way you are thinking of it.
You add
<span class="admin"> to the first box and </span> to the second box
Now you go into the style manager and add in the addtional CSS area for your style
.admin
{
color:black;
font-weight:bold;
}
Repeat for each group and style.
you mean that ^^
I still don't understand that, where am I suppose to add and to what box?
Dismounted
12-24-2008, 08:36 AM
The first bit refers to the "HTML Markup" boxes when editing a usergroup. The second is inside the Style Manager. It is under the "Additional CSS" of each style.
sherwood
12-24-2008, 09:13 AM
so where do i add
<span class="admin"> to the first box and </span> to the second box
do I add that bit to the usergroup or does that go in the CSS as well?
Opserty
12-24-2008, 09:16 AM
You add
<span class="admin"> to the first box and </span> to the second box
Add that on the AdminCP > Usergroups > Usergroup Manager > Edit Usergroup page.
Now you go into the style manager and add in the addtional CSS area for your style
.admin
{
color:black;
font-weight:bold;
}
Add that to the AdminCP > Style Manager > Main CSS page.
(I think that was the right way to get to those pages, I haven't seen a vB admin panel in 3 months so I might have got it a bit wrong :p)
sherwood
12-24-2008, 09:39 AM
thank you mate!!
this wored perfectly :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.