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


All times are GMT. The time now is 08:10 PM.

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.01510 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete