vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How I add color to user in a usergroup (https://vborg.vbsupport.ru/showthread.php?t=192388)

prince188 10-01-2008 07:15 AM

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.

Marco van Herwaarden 10-01-2008 07:22 AM

See the manual: Adding or Editing a Usergroup

You will need to set the HTML Markup for the usergroup.

prince188 10-01-2008 07:28 AM

i did set HTML Markup and it colored my subtitle under the username and not the user name itself

Marco van Herwaarden 10-01-2008 08:07 AM

What values did you enter?

prince188 10-01-2008 08:45 AM

<font color='red'>admin</font>

Marco van Herwaarden 10-01-2008 08:56 AM

In the HTML Markup for the usergroup, put "<font color='red'>" in the first field (opening tag), and "</font>" in the 2nd (closing tag).

prince188 10-01-2008 09:22 AM

that what i did and still the same resualt

Marco van Herwaarden 10-01-2008 09:52 AM

Please post a screenshot of this setting.

prince188 10-01-2008 10:49 AM

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

Sycoloco1212 10-01-2008 01:07 PM

should be <font color="red"> and second one </font>

the stig 10-01-2008 02:15 PM

admin cp ----> usergroup manager ------> administrators -----> first box <span style="color: red;"> 2nd box </span>

It works perfectly.

prince188 10-01-2008 07:32 PM

Quote:

Originally Posted by the stig (Post 1634750)
admin cp ----> usergroup manager ------> administrators -----> first box <span style="color: red;"> 2nd box </span>

It works perfectly.

didn't work and what wierd is that i got another forum and there it's working

Lynne 10-01-2008 07:47 PM

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.

Winterworks 10-01-2008 07:49 PM

By looking at the screenshot, you did it wrong.

The 2nd tag is </font>, not <font/>

And get rid of the unneeded 's

Lynne 10-01-2008 07:54 PM

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).

prince188 10-01-2008 10:14 PM

Quote:

Originally Posted by Lynne (Post 1635030)
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.

the first one is not.
but the 2nd and the 3rd maybe
but how can i check it?
Quote:

Originally Posted by Winterworks (Post 1635032)
By looking at the screenshot, you did it wrong.

The 2nd tag is </font>, not <font/>

And get rid of the unneeded 's

Quote:

Originally Posted by Lynne (Post 1635036)
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).

i know that it dosent suppoesd to be like that but because the system is translate to hebrew.
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

Lynne 10-02-2008 02:05 AM

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:

define('DISABLE_HOOKS'true); 



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
  • Page Generation 0.02291 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete