vb.org Archive

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

mr.jo 12-06-2013 10:57 PM

Request
 
hi

every one

I need this product


http://im39.gulfup.com/7scVt.png

ozzy47 12-06-2013 11:00 PM

What, to color the usernames?

ZUCCO 12-06-2013 11:16 PM

I use this one, but it has not phosporescent colors

https://vborg.vbsupport.ru/showthread.php?t=259806

ForceHSS 12-07-2013 01:26 AM

Quote:

Originally Posted by ZUCCO (Post 2466442)
I use this one, but it has not phosporescent colors

https://vborg.vbsupport.ru/showthread.php?t=259806

If you want them type of colours you need to put the correct html code in to get that effect

Code:

<span style="color:yellow;font-weight:bold;text-shadow: 1px 1px 10px yellow;">
Code:

</span>
Something like this in Username HTML Markup in user group

ZUCCO 12-07-2013 01:47 AM

Quote:

Originally Posted by ForceHSS (Post 2466474)
If you want them type of colours you need to put the correct html code in to get that effect

Code:

<span style="color:yellow;font-weight:bold;text-shadow: 1px 1px 10px yellow;">
Code:

</span>
Something like this in Username HTML Markup in user group

Perfect :) thanks it worked

ozzy47 12-07-2013 01:50 AM

If you have multiple styles, that are different colors you can also do the following:

Username HTML Markup. ACP --> Usergroups --> Usergroup Manager edit each usergroup, you will need to add the html to the two input fields found in the setting, Username HTML Markup.

NOTE: Your field boxes won't be as wide as the ones in the image, I over-sized them for illustration purposes.
https://vborg.vbsupport.ru/external/2013/12/30.png

The first field is the opening tag. The second field is the closing tag. These tags will be inserted around the user's username like this:

Code:

[opening tag]username[closing tag]
Some HTML tags you might want to use here include:

Code:

<span style="font-weight: bold;"> </span>
<span style="text-decoration: line-through; font-weight:bold;">  </span>
<span style="font-style: italic;"> </span>
<span style="text-decoration: underline;"> </span>
<span style="color: red;"> </span>

Example 1

First field
Code:

<span style="color: Red;">
Second field

Code:

</span>
Example 2

First field

Code:

<span style="color: Blue; font-weight: bold;">
Second field

Code:

</span>
You can also do combinations by using more than one attribute in the style property.

Q. Wait, I have different colored styles, it is very difficult to choose a color to work on them all, what can I do?

A. Well then you should use this solution. It will take time to set up for each usergroup, but it's worth it.

First off add this code to your additional.css templates for all your styles.
In each style you can define a different color for each group.
You can add more groups or change the names as you wish.

Code:

.admin
{
        color: #FF0000;
        font-weight: bold;
}

.moderator
{
        color: #0000ff;
        font-weight: bold;
}

.supermod
{
        color: #32CD32;
        font-weight: bold;
}

.registered users
{
        color: #802A2A;
        font-weight: bold;
}

.banned
{
        color: #000000;
        text-decoration: line-through;
        font-weight: bold;
}

.group1
{
        color: #FF8000;
        font-weight: bold; 
}

.group2
{
        color: #A020F0;
        font-weight: bold;
}

.group3
{
        color: #FFC0CB;
        font-weight: bold;
}

Then for each usergroups html markup do like this.

Example 1

First field
Code:

<span class="admin">
Second field

Code:

</span>
Example 2

First field

Code:

<span class="moderator">
Second field

Code:

</span>
Remember to change the class to the usergroup you are working with.

You can get a good list of colors here, Color Codes

ZUCCO 12-07-2013 02:41 AM

Is there a way to put more character in the first html box?

I tried what forceHSS said and it worked for the admin (because red has 3 characters) however when I try this with moderators (green color) it doesnt fit and the code doesnt work. When I click on update it wont save the whole code.

ozzy47 12-07-2013 02:42 AM

Try my suggestion above. :)

ZUCCO 12-07-2013 02:44 AM

Quote:

Originally Posted by ozzy47 (Post 2466488)
Try my suggestion above. :)

Im good I figured it out .

ozzy47 12-07-2013 02:45 AM

Glad ya got it sorted. :)


All times are GMT. The time now is 02:30 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.02115 seconds
  • Memory Usage 1,746KB
  • 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
  • (15)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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