vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Usergroup Color Bar Legend (https://vborg.vbsupport.ru/showthread.php?t=228607)

Crotan 02-16-2011 01:14 AM

4.1.2 breaks this. With the product enabled, users names and the userbar no longer show. If I disable the product, their names will reappear.

Worked up until 4.1.1 without a hitch :(

BaanFarsang 02-16-2011 08:43 AM

User Legend Color Bar disappear after VB4.1.2 updated

Hall of Famer 02-16-2011 09:54 AM

Well this is not compatible with VB4.1.2, sadly.

Mrquarter2 02-16-2011 11:41 AM

Hopefully it gets updated soon :)

washingtonboise 02-16-2011 12:55 PM

The method of defining HTML markup for user name shown in this thread is somewhat incomplete.

More powerful text formatting is possible if you define a style in your CSS style sheet and then reference it.

A short video explains the steps involved:
http://www.youtube.com/watch?v=1XJlNYQ1Q9A

There are two locations where you will define values:

1: Style sheet values
Styles & Templates > Style Manager > Edit Templates > CSS Templates > Additional.CSS

2: Username HTML Markup values
usergroups>usergroup manager>

To make this idiotproof, I am providing my own values below.

Username HTML MARKUP (for my 'admin' usergroup)
first input box <span class="admin">
Second box </span>


My CSS Stylesheet values:

Code:

.admin {
font-family: Microsoft Sans Serif;
font-size: 20px; color: red;
text-shadow: rgb(255, 0, 0) 0px 0px 4px, rgb(255, 255, 255) 2px 1px 0px, rgb(255, 0, 0) 0px 0px 12px;" }

.moderator {
font-family: Impact;
font-size: 15px;
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(255, 255, 0) 0px 0px 3px;" }

.supermod {
color: rgb(0, 0, 218);
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(0, 0, 0) 0px 0px 9px;" }

.lv1 {
font-family: Fixedsys;
font-size: 10px;
color: rgb(0, 0, 0); text-shadow: rgb(0, 0, 0) 0px 0px 5px;" }

.lv2 {
font-family: system;
font-size: 11px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px;" }

.lv3 {
font-family: Microsoft Sans Serif;
font-size: 15px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px;" }

.lv4 {
font-family: Microsoft Sans Serif; font-size: 17px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 4px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 5px;" }

.lv5 {
font-family: Microsoft Sans Serif; font-size: 20px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(0, 12, 244) 0px 0px 3px, rgb(0, 12, 244) 0px 0px 4px;" }


TeknoSounds 02-16-2011 04:21 PM

does that work across all the forums where names appear? or just in the legend? Looks like it would affect everything everywhere. (which is a good thing, don't get me wrong)

Crotan 02-16-2011 04:37 PM

Quote:

Originally Posted by washingtonboise (Post 2163190)
The method of defining HTML markup for user name shown in this thread is somewhat incomplete.

More powerful text formatting is possible if you define a style in your CSS style sheet and then reference it.

A short video explains the steps involved:
http://www.youtube.com/watch?v=1XJlNYQ1Q9A

There are two locations where you will define values:

1: Style sheet values
Styles & Templates > Style Manager > Edit Templates > CSS Templates > Additional.CSS

2: Username HTML Markup values
usergroups>usergroup manager>

To make this idiotproof, I am providing my own values below.

Username HTML MARKUP (for my 'admin' usergroup)
first input box <span class="admin">
Second box </span>


My CSS Stylesheet values:

Code:

.admin {
font-family: Microsoft Sans Serif;
font-size: 20px; color: red;
text-shadow: rgb(255, 0, 0) 0px 0px 4px, rgb(255, 255, 255) 2px 1px 0px, rgb(255, 0, 0) 0px 0px 12px;" }

.moderator {
font-family: Impact;
font-size: 15px;
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(255, 255, 0) 0px 0px 3px;" }

.supermod {
color: rgb(0, 0, 218);
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(0, 0, 0) 0px 0px 9px;" }

.lv1 {
font-family: Fixedsys;
font-size: 10px;
color: rgb(0, 0, 0); text-shadow: rgb(0, 0, 0) 0px 0px 5px;" }

.lv2 {
font-family: system;
font-size: 11px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px;" }

.lv3 {
font-family: Microsoft Sans Serif;
font-size: 15px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px;" }

.lv4 {
font-family: Microsoft Sans Serif; font-size: 17px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 4px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 5px;" }

.lv5 {
font-family: Microsoft Sans Serif; font-size: 20px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(0, 12, 244) 0px 0px 3px, rgb(0, 12, 244) 0px 0px 4px;" }


Thanks for this, and i guess we can do better color patterns/effects with this method but sadly it doesn't fix the actual user legend being broken after 1.1.2

matrixmark 02-16-2011 07:02 PM

I am glad others are having problems with this not working on the latest update :D

I thought I might have done something to break it lol.

Guess we just have to wait and hope it it gets updated.

Boofo 02-16-2011 07:40 PM

What was changed in the latest update to break this? It might be nice to know before we upgrade.

bpi007 02-16-2011 08:14 PM

Quote:

Originally Posted by Boofo (Post 2163344)
What was changed in the latest update to break this? It might be nice to know before we upgrade.

They changed in FORUMHOME template

Code:

{vb:raw activeusers}
with

Code:

<vb:each from="activeusers" value="loggedin">
        <li> {vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
</vb:each>

More information here


All times are GMT. The time now is 09:25 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.01277 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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