![]() |
How I add color to user in a usergroup
Hello,
i would like to know what mod or what code i need to add. so like the usernames that are in the admin usergroup will be colored red. because now it's only color the sub under the username. |
See the manual: Adding or Editing a Usergroup
You will need to set the HTML Markup for the usergroup. |
i did set HTML Markup and it colored my subtitle under the username and not the user name itself
|
What values did you enter?
|
<font color='red'>admin</font>
|
In the HTML Markup for the usergroup, put "<font color='red'>" in the first field (opening tag), and "</font>" in the 2nd (closing tag).
|
that what i did and still the same resualt
|
Please post a screenshot of this setting.
|
ok my system is at hebrew so the tags look upside down but it ok
http://i33.tinypic.com/28jl0g2.jpg i hope this will help |
should be <font color="red"> and second one </font>
|
admin cp ----> usergroup manager ------> administrators -----> first box <span style="color: red;"> 2nd box </span>
It works perfectly. |
Quote:
|
Some reasons it wouldn't work:
- the users are in a secondary usergroup and that markup takes precedence - the template is modified to not use the username markup - a modification is interferring with the markup Check out those three things. |
By looking at the screenshot, you did it wrong.
The 2nd tag is </font>, not <font/> And get rid of the unneeded 's |
Also looking at the screen shot, red doesn't have quotes on both sides of it like it should, you only have them on one side ('red instead of 'red', or more properly "red" - although even more properly is the css version posted above by the_stig).
|
Quote:
but the 2nd and the 3rd maybe but how can i check it? Quote:
Quote:
and from my exprince with it on other forum it's should work and i tried to like you suggest to be and it doesnt have any affect |
So because it is in hebrew, you can get away with going <font color='red> instead of <font color='red'>? That is very strange and doesn't seem right, but if you say so....
As for whether it is the template, create a new style with no parent - Styles & Templates > Style Manager > Add New Style > no parent - then browse the site using that totally default vbulletin style - are the usernames correctly marked up then? And for whether it's a modification, try disabling your plugins and see if you still have this problem. Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php PHP Code:
|
All times are GMT. The time now is 04:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|