Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Usergroup Color Legend on Index 1.03 Details »»
Usergroup Color Legend on Index 1.03
Version: 1.03, by GTAce GTAce is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-05-2006 Last Update: 03-29-2006 Installs: 110
Template Edits
 
No support by the author.

Usergroup Color Legend on Forum Index

This mod will add a legend to your forum index which will list the usergroups you choose in any order you specify. What I have done is taken this mod and rearranged things with a different look. Since I am not exactly one to package and release plugin's, this mod is more or less "hard-coded". I wasn't planning on releasing it but have had a few people suggest that I do so.

Live, working demo here.

There are three versions.
  • legend_images.txt - Those with images in the column of the What's Going On box who also want a Legend image.
  • legend_noimages1.txt - Those with images in the column of the What's Going On box but do not want a Legend image.
  • legend_noimages2.txt - Those without images in the column of the What's Going on box. If you do not have column images (2 columns), you must use this version.

I've attached an example of each in order of listing above. The light skin is an example of the version with images. The red skin is an example of a forum with images but no Legend image. The darker skin is an example of the version without images.

I would rather not commit myself to official support of this mod, but will of course provide help when able to. It is a very simple edit, but I make no promises or guarantees that it will work with your particular skin.

As always, dont forget to click Install if you choose to use this!

Thanks!

P.S.
This is the first time I have ever packaged and released a mod, so I'm sorry if something is not quite right :speechless:

Version History:
1.01
- Changed wording in installation
- Changed formatting of html code
1.02
- Fixed collapse issue - the collapse icon now collapses the legend, not active users

Show Your Support

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

Comments
  #42  
Old 03-27-2006, 11:28 AM
jeryp jeryp is offline
 
Join Date: Feb 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it installed and its working fine for me.

Some users say they cant see colours in Firefox any idea? I use IE and i can see them.

Cheers
Jery
Reply With Quote
  #43  
Old 03-27-2006, 05:43 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dcpaq2 and jeryp, can I see a link to your forums?
Reply With Quote
  #44  
Old 03-28-2006, 04:21 AM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It wouldnt work for me using the "No Images" version, but when I used the "With Images" version it worked just fine.

I was just hoping to be able to use the one with no image, but I guess that it just dont work with it. Oh well, I dont mind the one with an image actually it looks ok.

Thanks for an excellent hack GTAce.

I would have been using Amy kahr's because her's is a partial plugin and it does things automatically instead of manually entering in the information, but I like yours better because it doesn't pull the info from the user group titles causing duplicate names to appear if you have more than one of the same user group name.

https://vborg.vbsupport.ru/showthrea...r+group+legend

If we could get your hack to be a plugin and do everything automatically as well as have some control over which user groups you want to show through the admin cp, this would be one heck of an awesome hack.



Doug
Reply With Quote
  #45  
Old 03-28-2006, 10:39 AM
jeryp jeryp is offline
 
Join Date: Feb 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure

http://www.battlefield-command.com/forums/index.php?

and here is a screenshot sent to me by one of the firefox usres.

Reply With Quote
  #46  
Old 03-28-2006, 09:06 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doug: Unfortunately the code that I have will only work with the current set up of your What's Going On box. If you have images in that box, you must use the image version. If you don't have images in the box, you must use the noimages version. If the image is all that is bothering you (not the box), you could just remove the image code from it and have an empty box there... *shrugs*

I also understand your thoughts on the plugin aspect...I'd love to do that, but don't want to commit myself to anything. I didn't release this under the thought of it becoming anything but simple, more or less just a tip for everybody out there. If anybody would like, they are more than welcome to take it and make it plugin form


Jery: Not sure what to tell you, however I can say that this is not an issue with the Legend Code...as I cant see Usergroup colors anywhere throughout your forums. Whether on the index (Who's Online) or in the posts themselves.
Reply With Quote
  #47  
Old 03-29-2006, 06:05 AM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GTAce
If the image is all that is bothering you (not the box), you could just remove the image code from it and have an empty box there... *shrugs*
Actually Im quite happy with the looks of it with the image.

Quote:
Originally Posted by GTAce
I also understand your thoughts on the plugin aspect
If you should ever change your mind please do consider doing that.

Amy has a great hack, it's just that with it pulling the information from the user group titles and not letting me select what gets displayed, I just dont have alot of control over things. Those of you who have tried it probably know what im talking about.

Doug
Reply With Quote
  #48  
Old 03-30-2006, 03:48 AM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the good news, Doug, is that I have added a new version for you

If you'd like to have it set up like you originall wanted, look at the second screenshot...legend_noimages1.txt will do this for you.
Reply With Quote
  #49  
Old 03-30-2006, 07:16 AM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GTAce
Well, the good news, Doug, is that I have added a new version for you

If you'd like to have it set up like you originall wanted, look at the second screenshot...legend_noimages1.txt will do this for you.
GTAce I do appreciate your efforts but I think I like what I have now.

Unless you can take and combine your mod's features with amy's mods features, that is what I would use and that would be excellent!

There is nothing you need to do with her mod, its a plugin and you install it and add your color code right through the admin cp. But like I have been saying though is that you dont have enough control over things.

Example is this...

If I have paid subscriptions, and I have three subscription plans that are all named the same but different pricing and I want all these members to be recognized as the same thing (ie Supporting Member) obviously I only want "Supporting Member" to only show up once, not three times. This is the problem with her mod.

https://vborg.vbsupport.ru/showthrea...r+group+legend

Doug
Reply With Quote
  #50  
Old 05-25-2006, 12:19 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a typo in the file. Change;

Code:
color=#"
To;
Code:
color="#
:bunny:
Reply With Quote
  #51  
Old 01-06-2008, 11:53 AM
masterross's Avatar
masterross masterross is offline
 
Join Date: Nov 2005
Location: Bulgaria
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good mod.
but i see in your demo site that there is hyperlink that lead to usergroups members?
how u do that?

thx
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 02:40 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.04672 seconds
  • Memory Usage 2,311KB
  • 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_code
  • (3)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