Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Yet Another Usergroup Legend Details »»
Yet Another Usergroup Legend
Version: 1.0.1, by arco arco is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 06-08-2008 Last Update: 06-09-2008 Installs: 175
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

Well, failing to think of a unique name for this kind of mod, this is called Yet Another Usergroup Legend.

I noticed in the threads for the other similar mods, someone wanted to show the legend above the users, and other below the users. Since none of the other mods did that, I decided to put this together.

Purpose of mod
Show a legend of your selected usergroups.

Options
Product enabled or disabled
Select position of the Legend
Show leading title or not
Ordering of usergroups
Show/Hide tags around usergroups
Users can enter the tags they want the usergroups to be enclosed with

Install/Configure
Import the xml from Manage Products in your AdminCP. (Allow Overwrite to upgrade)
Go to vBulletin Options and select Yet Another Usergroup Legend for settings.

Version History:
1.0.0 - June 09, 2008
- Initial release.
1.0.1
- June 10, 2008
- Added option for show/hide tags around usergroups.
- Users can enter the tag they want to use around usergroups.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-24-2008, 05:51 PM
Daisyboo Daisyboo is offline
 
Join Date: Jul 2008
Location: Somerset UK
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to make the group names appear in bold?
Reply With Quote
  #43  
Old 08-24-2008, 08:49 PM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
Arco, no i haven't changed the html for the UG 2 ... but with my default skin the font color is yellow and into your legend is white ...

CHECK yourself ...

ps. i've this issue also onto the default vB skin ... :S
When I look at the html code on your site, the markup code for registered users are missing.

HTML Code:
<span style="color: DeepSkyBlue;"><b>[Administrators]&nbsp;&nbsp;</b></span><font color="#33cc00"><b>[Super Moderators]&nbsp;&nbsp;</b></font><font color="#c062ff"><b>[Moderators]&nbsp;&nbsp;</b></font>[Registered Users]&nbsp;&nbsp;
I suggest using something like this for the markup:

Opening HTML tag
<span style="font-weight: bold;color: blue;">

Closing HTML tag
</span>
Reply With Quote
  #44  
Old 08-24-2008, 08:49 PM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daisyboo View Post
Is it possible to make the group names appear in bold?
Yes, see my suggestion in the above post.
Reply With Quote
  #45  
Old 08-24-2008, 09:47 PM
Daisyboo Daisyboo is offline
 
Join Date: Jul 2008
Location: Somerset UK
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Arco, I managed to do that but it made the usernames bold too. I wanted just the legend to be bold if possible, to make it stand out a bit more?
No worries if not
Reply With Quote
  #46  
Old 08-25-2008, 01:34 AM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, I see. You can do it in the Legend options. Just add <b> before the start tag, and </b> after the ending tag.
Reply With Quote
  #47  
Old 08-25-2008, 07:57 AM
Daisyboo Daisyboo is offline
 
Join Date: Jul 2008
Location: Somerset UK
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh brill thank you!
Reply With Quote
  #48  
Old 08-25-2008, 10:43 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by arco View Post
When I look at the html code on your site, the markup code for registered users are missing.

HTML Code:
<span style="color: DeepSkyBlue;"><b>[Administrators]&nbsp;&nbsp;</b></span><font color="#33cc00"><b>[Super Moderators]&nbsp;&nbsp;</b></font><font color="#c062ff"><b>[Moderators]&nbsp;&nbsp;</b></font>[Registered Users]&nbsp;&nbsp;
I suggest using something like this for the markup:

Opening HTML tag
<span style="font-weight: bold;color: blue;">

Closing HTML tag
</span>
yes Arco, but i don't want set a html for the regs. ... i wanna that they have the default color ... so why your list haven't that color?
Reply With Quote
  #49  
Old 08-25-2008, 12:46 PM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
yes Arco, but i don't want set a html for the regs. ... i wanna that they have the default color ... so why your list haven't that color?
Hmm, default color of what? Not sure if I understand what you mean... As I can see everything is as it should be. If you you don't use a HTML markup code for a usergroup, it defaults to the standard text style of the skin.
Reply With Quote
  #50  
Old 08-25-2008, 01:02 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no Arco, i've the yellow as default color ... but in your list the color is white ... and the same trouble is onto the default vB skin (blue/black) ... check my board and switch the skin ...
Reply With Quote
  #51  
Old 08-26-2008, 12:33 AM
TrumpetMaster's Avatar
TrumpetMaster TrumpetMaster is offline
 
Join Date: May 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I can't get this to work for me. Every user group shows in black. Only Admin and Mod should

http://www.ingunowners.com

Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04612 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete