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
  #12  
Old 02-18-2006, 05:11 PM
terry123's Avatar
terry123 terry123 is offline
 
Join Date: Aug 2002
Location: United Kingdom
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks great thanks. gonna install it.
Reply With Quote
  #13  
Old 02-18-2006, 06:08 PM
Chris583 Chris583 is offline
 
Join Date: Jan 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im gonna install this on my board, any chance it could be turned into a plugin so that it automatically grabs the group info for color, etc. plugin perhaps, there was one for earlier version of vB but not the newest 3.5.3 i dont think,

great work though, im trying to figure out how to set it up all right, in the instructions...
Quote:
<font color=#"6 character color code for Group 1 here">
<b>Group 1 name here</b></font> ? <font color=#"6 character color code for Group 1 here"><b>Group 2 name here</b></font> - Members
just wondering...the bold part of the above quote, should that be group 2? Or are you really supposed to imput group 1 color twice?? And than i assume for having more groups you just copy that copy and change the names/color

EDIT: I have it now setup at www.xbf2.com/forums
One more small question, is I am using the image version and how do you get the image workign to the left of the legend, the online.gif, which folder is that located in to upload one or so on...as it is not showing up.

Thanks alot, this mod rocks!
Chris
Reply With Quote
  #14  
Old 02-19-2006, 07:07 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Chris, you're right about the Group 1/Group 2 thing...I've updated the installation files with the correct numbers. As far as making this a plugin is concerned...I would love to do that, but frankly have never done it before. If somebody else would like to do this, feel free.

Regarding the online.gif image. Your style does not include this image, so you will need to use your own. Refer to this first post in this thread on how to do that. You could use this image if you would like - $stylevar[imgdir_button]/whos_online.gif

That is the same image that is used for the Currently Active User's box right above the legend.
Reply With Quote
  #15  
Old 02-24-2006, 10:37 AM
Vitz Vitz is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this mod. I'm I'll be using it.

However, I found a little bug you might want to fix up in an update.

In vB 3.5.4, the button to collapse the legend shows up. I noticed it doesn't do that in 3.5.3. Now when you click the collapse/expand button, instead of collapsing the User Legend, it collapses the Currently Active userlist and leaves the User Legend untouched. This will look pretty weird once I've put my Currrently Active User list on the top of the page.

Just pointing that out for you. You can see what I mean here: Elusive Works

Also, is there a possibility to make the legend inputs link to a list of the members currently in that usergroup? That would be a good addition in my opinion.


All in all, a great hack. Thanks
Reply With Quote
  #16  
Old 02-25-2006, 06:16 AM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good eye...I've updated the files to reflect that fix. If you'd rather not download them again, make the following change

Change:
HTML Code:
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> Legend 
		</td> 
	</tr> 
</tbody> 

<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
To:
HTML Code:
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_legend')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> Legend 
		</td> 
	</tr> 
</tbody> 

<tbody id="collapseobj_forumhome_legend" style="$vbcollapse[collapseobj_forumhome_activeusers]">
As far as actually linking the group names to a list of the members - it might can be done, but not something I want to look at right now at 3:15am
Reply With Quote
  #17  
Old 02-26-2006, 04:37 PM
Vitz Vitz is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the fix
Reply With Quote
  #18  
Old 02-27-2006, 02:36 AM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I've had a problem installing this... when I tried it, it made the whos online part stretch, and the first color wouldn't change.
Reply With Quote
  #19  
Old 02-27-2006, 05:49 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's because the bottom of your index is not laid out like most others...you have two separate columns in each of those "What's Going On" boxes...

Post the code of your what's going on box here...I'll take a look at it...Might can do something about it, but no promises.
Reply With Quote
  #20  
Old 02-27-2006, 11:27 PM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no I have a standard vB 3.5.4 installed, the bottom of the index looks odd because thats what your mod did to it after I installed it, I took it off until there is a fix. Thats what I'm asking, how can I fix it from doing that to bottom?

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

You don't have a "standard vB 3.5.4" installed ...otherwise that would be the default skin

Like I said, post your code, and I might can help you...otherwise, I can't do anything. This has been tested and works with vB 3.5.4
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 04:11 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.07944 seconds
  • Memory Usage 2,317KB
  • 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
  • (1)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