vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   glowing staff usernames (https://vborg.vbsupport.ru/showthread.php?t=316998)

CarpCharacin 01-28-2015 10:28 PM

glowing staff usernames
 
I need some help. How can i make it so the usernames of administrators are glowing red, the usernames of super moderators glowing orange and the usernames of moderators glowing blue?

Zachery 01-28-2015 10:56 PM

1 Attachment(s)
Usergroup html markup boxes.

do something like <span class="USERGROUPNAME"> in the firstbox, and in the second box do </span>

Then, in your additional.css template:

for admin we'd do something like

Code:

.administrator
{
    text-shadow: 0 0 2px red;
}


Code:

.supermoderators
{
    text-shadow: 0 0 2px orange;
}

Code:

.moderator
{
    text-shadow: 0 0 2px blue;
}


CarpCharacin 01-28-2015 11:01 PM

do i keep the quotes around where i put the usergroup name?

Gio~Logist 01-28-2015 11:12 PM

Quote:

Originally Posted by CarpCharacin (Post 2535089)
do i keep the quotes around where i put the usergroup name?

Yessir.

ForceHSS 01-29-2015 08:25 AM

In Usergroup Manager edit the group you want and in Username HTML Markup add
In the first box put
Code:

<span style="color:red;font-weight:bold;text-shadow: 1px 1px 10px red;">
in the 2nd box put
Code:

</span>
Change the colour in the code to what you need for each group

Zachery 01-29-2015 11:06 AM

I don't suggest using style tags for this, its easier to use the classes, you can add/do more to them and don't have to edit the usergroups to change the markup.

Gio~Logist 01-30-2015 02:57 AM

Quote:

Originally Posted by Zachery (Post 2535139)
I don't suggest using style tags for this, its easier to use the classes, you can add/do more to them and don't have to edit the usergroups to change the markup.

Yep. Style tags are not recommended really ever. Classes are much more optimized and efficient.


All times are GMT. The time now is 02:31 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.01094 seconds
  • Memory Usage 1,725KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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