Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

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
  #32  
Old 03-06-2006, 11:42 AM
Kacela's Avatar
Kacela Kacela is offline
 
Join Date: Mar 2005
Location: Connecticut, USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GTAce
Sure, although being called "dear" is a bit awkward
Would you prefer "antelope"?

[high]* Kacela Clicks Install![/high]
Reply With Quote
  #33  
Old 03-07-2006, 01:32 AM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about.....Stag? :classic:
Reply With Quote
  #34  
Old 03-07-2006, 12:40 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you installed and everything is working
Reply With Quote
  #35  
Old 03-07-2006, 08:58 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers
Reply With Quote
  #36  
Old 03-08-2006, 11:15 PM
BabyNameAddict BabyNameAddict is offline
 
Join Date: Feb 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitz
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
I am having the same problem. I can't get an image to show.

My forum: http://forums.babynameaddicts.com/forums/

My code:

Code:
<!-- Usergroup Legend by GTAce -->

<tbody> 
	<tr> 
		<td class="thead" colspan="2"> 
			<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]"> 
	<tr>  
		<td class="alt2">  
			<center> <img src="$stylevar[imgdir_button]/whos_online.gif" border="0" /> </center>   
		</td>  
			<td class="alt1" width="100%"> 
				<div class="smallfont">  
					<div> 
						<font color=#FF33FF><b>Admin</b></font> <font color=#892EE4><b>Member+</b></font>  <font color=#333399><b>Member</b></font>
					</div>  
				</div> 
			</td> 
		</tr> 
</tbody>

<!-- / Usergroup Legend by GTAce -->
Reply With Quote
  #37  
Old 03-09-2006, 05:58 AM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change:
HTML Code:
$stylevar[imgdir_button]/whos_online.gif
To:
HTML Code:
$stylevar[imgdir_misc]/whos_online.gif
Reply With Quote
  #38  
Old 03-09-2006, 01:09 PM
BabyNameAddict BabyNameAddict is offline
 
Join Date: Feb 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Super-duper! Thanks so much!
Reply With Quote
  #39  
Old 03-10-2006, 08:00 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And what about subgroups?

When someone is in a sub usergroup they dont get colors.

For instance, i have all people in the main group "registered users" with subgroups giving them perms for other fora.
So all people will only get colors according to their main group...so all colors stay the same
Reply With Quote
  #40  
Old 03-10-2006, 01:55 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The purpose of this is just to explain why usernames are a certain color...If you have members in additional groups that do not change their username color, how are they distinguished anyways?
Reply With Quote
  #41  
Old 03-25-2006, 12:11 AM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ev!L ErN!E
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.
Group,

Im having this same issue and it has nothing to do with extra lines and images. Why is it shifting stuff to the right side and how do i fix this?

Doug

Update... Group I never did figure out how to fix this issue using the "no images" version, but I tried the "images" version like Ev!L ErN!E did and everyting works with no issues. But I dont want to have an image on the side of the legend, how can I get this to work without shifting the text to the right and still not have to have an image or icon to the left of the legend?
Reply With Quote
Reply

Thread Tools

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 09:59 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.04842 seconds
  • Memory Usage 2,304KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_html
  • (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
  • (4)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