vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How To Add usergroup Colour (https://vborg.vbsupport.ru/showthread.php?t=201021)

Vackrick 01-08-2009 12:55 AM

How To Add usergroup Colour
 
Hi i want to edit the HTML Usergroup Color

I Want to add red den the Administrator Words

And I Also Want The Banned Members To Have a line like this --------------

pLEASE HELP

Lynne 01-08-2009 01:00 AM

Admins - Red:
first box: <span style="color:red;">
second box: </span>

Banned - Line through:
first box: <span style="text-decoration: line-through;">
second box: </span>

Vackrick 01-08-2009 04:48 AM

Admins - Red:
first box: <span style="color:red;">
second box: </span>

I WANT THE ADD THE ADMIN NAME INSIDE THE HTML

Dismounted 01-08-2009 05:14 AM

The username will appear between those two pieces of code automatically.

Vackrick 01-08-2009 05:28 AM

dude u know

first box: <span style="color:red;">example administrator>

</span></span>

i need help pls

Dismounted 01-08-2009 07:26 AM

Quote:

Originally Posted by Vackrick (Post 1704832)
dude u know

I don't know. :rolleyes:

Add Lynne's code into the HTML Markup boxes of a usergroup. The username will automatically appear in the middle of the two when displayed. If this is not what you want, what do you want?

Lynne 01-08-2009 02:32 PM

I thought I was posting what you asked for - the HTML Usergroup Color. If you want something else, then you are going to have to explain it better.

zippys 01-08-2009 02:37 PM

Hi Lynne,
I understand your markup, Could you tell me where to put it? I would like "usergroup" names to be colored, like your usergroup is moderator. Currently im in add new usergroup and looking in there, but i see where you make a "username" colored, but not where I could make the group colored. Any thoughts?

Lynne 01-08-2009 02:54 PM

I'm not positive, but I'd guess Moderator is a Rank for me. That's what I use on my sites anyway. HTML is allow in the text for the user rank.

<span style="color:red;">Admin </span>

zippys 01-08-2009 03:30 PM

Thanks Lynne,

for anyone who stumbles across this , heres what I did:

I deleted all the "USER TITLES"
I recreated them in "USER RANKS"
In user ranks you can use the above html to code to add colors to your user rank/title. This way there is only 1 rank showing, and you can assign them based on usergroup.

For my case i wanted to create a moderator rank,with color so i set the group to moderator, min posts 0, display = always, stack = no and put <span style="color:black;font-weight:bold">Moderator</span> in the "OR you may enter text" box.

If you do not delete your user titles and also use user ranks both will show up.


All times are GMT. The time now is 07:03 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.01057 seconds
  • Memory Usage 1,724KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete