vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Dark User legend (https://vborg.vbsupport.ru/showthread.php?t=123981)

Dark_D 08-14-2006 09:00 PM

Dark User legend
 
I have made a user group legend that I want to share with you all. I've had this set up on my site (3.5.3 to 3.6.0) without any problems.

This will put the legend right below the current active users with a bar between the users and the legend. Also you can change the background of it by changing numbers in the "<td class="alt1" colspan="2" >" to alt2 and or colspan1. Find the combonation that you like.

Alter the list to suit your forums' needs.

Live demo

There is also a screen shot in the attachment.

If you like it, please press Install

psypix 08-14-2006 09:28 PM

very nice, thanks :)

Kaezul 08-15-2006 01:57 AM

That's great. I always wondered why vB didn't have one by default.
Also, nice forum theme.

C_P 08-15-2006 04:43 PM

Nice addition. I installed but have a couple suggestions/requests.
1. Only Administrators group is underlined. Shouldn't all groups?
2. Anyway to make the group links clickable to take them to those groups.

Dark_D 08-15-2006 07:55 PM

Quote:

Originally Posted by C_P
Nice addition. I installed but have a couple suggestions/requests.
1. Only Administrators group is underlined. Shouldn't all groups?
2. Anyway to make the group links clickable to take them to those groups.

1. By default the groups are not underlined. You can underline groups (in the admincp) to get a black (or use any color) underline rather then the default color under the username. Of course if you underline the group then you want to reflect that in the legend. I have that in there to show you that it's possible and I use it for my forum.

2. I'm not sure off the top of my head how to call just one usergroup and display it that way. You can add a link by rapping the group legend code with:
Code:

<a href="http://www.site.com"> </a>
If I come across something for each group, I'll post it here.

Snake 08-30-2006 03:12 PM

Thanks for the hack! I'll install it right away... :)

iran.gs 08-31-2006 03:48 PM

<i>how do u change the color of members this only makes a chart who is what can someone tell me how to make vip admins etc color listing works </i>

Dark_D 08-31-2006 11:09 PM

Quote:

Originally Posted by iran.gs
how do u change the color of members this only makes a chart who is what can someone tell me how to make vip admins etc color listing works

Real quick what you need to do in each usergroup Manager is put HTML code here:
Quote:

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.)
Puting code there will make the username a different color and then you can make the legend the same color.

If you need example code, look in the vBulletin Manual.

or a simple one would be:
Code:

Left Box:
<span style="color : red">

Right Box:
</span>

Hope that helps.

iran.gs 09-03-2006 10:31 PM

Thanks so much

iran.gs 09-10-2006 07:21 PM

i just remember something why it was not working for me cuz i was using hex color codes and than i learn this only works if u use normaly text coloring like red yellow etc codes will not work i wonder why its a simple html it should have worked !! i though i bring this up in case someone runs in to same problem.. Use text rather than color code


All times are GMT. The time now is 11:57 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.01866 seconds
  • Memory Usage 1,743KB
  • 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
  • (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