vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I put colors in the names administrator and moderator? (https://vborg.vbsupport.ru/showthread.php?t=153452)

Waveside 07-26-2007 11:51 AM

How can I put colors in the names administrator and moderator?
 
I want to color the names administrator and moderator! Administrator with blue and Moderator with orange. How can I do that? :confused:

deezelpope 07-26-2007 12:07 PM

HTML markup.:)

vertigo jones 07-26-2007 12:29 PM

Admincp - > Usergroups -> Usergroup Manager -> Edit the appropriate group ->

There are two fields called:

Username HTML Markup
Specify an opening and closing HTML tag with which to display the names of users in this group. This applies to names that appear on Logged-in Users, Who's Online, Users Browsing Forum, Users Browsing Thread, Posts, Member List etc.

So you could do something like:
<span style="color: something;">

in the first

and then:

</span>

in the second.

Waveside 07-26-2007 01:09 PM

I copied exacly the words you told me as you told me and there, that was saying something, i put blue, but nothing happend. What i've done wrong? I know nothing of html. There you say span is a member? In the place of span i put me "waveside style". The names i can put them like this <Waveside,oxide,diablo="font-color: orange;"> and in the second </waveside,oxide,diablo> Is that correct?

dismas 07-26-2007 01:18 PM

span isn't a member, it's part of the HTML markup that is used for that tag. Don't change the word "span" to anything else

Waveside 07-26-2007 01:25 PM

The administrators are Waveside and Oxide. I want to paint these names orange. Could you make the code for me? And then i will copy it! i'M :confused:

HMBeaty 07-26-2007 01:36 PM

The same way he told in you the first post....
HTML Code:

<span style="font-color: orange;">
in the first

and then:
HTML Code:

</span>
in the second

Waveside 07-26-2007 01:43 PM

Nothing happend. I dont have to put the names somewhere in this code?

dismas 07-26-2007 02:03 PM

No. The names don't go in the code.

Go to your AdminCP. Expand the Usergroups section. Click on Usergroup manager. That should list the usergroups in the main frame of the CP. Click on "Go" next to the Admin usergroup. In the fields for "Username HTML Markup" (it's the fourth field down from the top) put the following code in the first box:

Code:

<span style="color:blue;">
And in the second box put:
Code:

</span>
Go to the bottom of the page and click on "Update".

Go to the moderator usergroup next and do the same thing except change blue to orange.

Done.

The default color is blue (from what I recall) so you may not see a change with the Admins but you should with the moderators.

Now go to your forum, hit refresh on your browser. They should appear the way you want. If not, clear your browser's cache and refresh the page again.

edit: I just noticed that the previous codes that were provided used "font-color" whereas just the word "color" worked for me. I don't know if that makes a difference but it could.

towermatt 07-26-2007 04:37 PM

I think the problem is that this is a "group" thing, not a member thing.

As is stated above. :D

Waveside 07-26-2007 04:41 PM

YEAH!!!!! That was the problem!!!!!!!!!!! Thank you all very much and most thank you dismas!!!

Jubei 07-26-2007 05:00 PM

I take if say a Member buys a coloured username from uShop but is promoted to another usergroup, they'll automatically keep their custom colour right?

towermatt 07-26-2007 05:17 PM

The colors are usergroup based only. So the answer would be no, it would take on whatever color was for the group they were promoted to.

Hopefully that is isn't confusing

Jubei 07-26-2007 05:18 PM

I've seen it done on other forums though.

Kirk Y 07-26-2007 05:20 PM

If the coloring is applied through uShop, then the User should retain it regardless of what Usergroup he's in; although I personally have only used vBPlaza, so I can't speak 100% for uShop.

towermatt 07-26-2007 05:23 PM

I create a special member group for a person if I want them to have a color but I haven't used anything that automatically promotes.

I do know that the color options are based on groups, there may also be a mod out there somewhere that fixes it so you can retain the color at the user level. Or simply add it there.

Jubei 07-26-2007 05:30 PM

Quote:

Originally Posted by Kirk Y (Post 1302432)
If the coloring is applied through uShop, then the User should retain it regardless of what Usergroup he's in; although I personally have only used vBPlaza, so I can't speak 100% for uShop.

Mmhm, thought as much, thanks!

Megatr0n 07-27-2007 10:23 PM

How can you give an individual username a colour?

Memphis834@yaho 07-27-2007 10:37 PM

Quote:

Originally Posted by Megatr0n (Post 1303497)
How can you give an individual username a colour?

They'd have to have their own usergroup.

For anyone trying to set the usergroup colors up for Admins, Super Moderators, & Moderators, here you go:

Administrator (Typically Red):

Username HTML Markup:
1st Space:
Code:

<b><font color="red">
2nd Space:
Code:

</font></b>
Super Moderator (Typically Orange):

Username HTML Markup:
1st Space:
Code:

<b><font color="orange">
2nd Space:
Code:

</font></b>
Moderator (Typically Blue):

Username HTML Markup:
1st Space:
Code:

<b><font color="blue">
2nd Space:
Code:

</font></b>

Kirk Y 07-27-2007 10:42 PM

You should actually use:
Code:

<span style="color:red; font-weight:bold">
And:
Code:

</span>

Megatr0n 07-28-2007 09:15 AM

I see. I have seen some forums where some random users are given colours of their own? How is this done? A seperate usergroup is created and they're thrown into it then enable the markup code?


All times are GMT. The time now is 09:06 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.01671 seconds
  • Memory Usage 1,758KB
  • 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
  • (10)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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