vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Usergroup Color Legend on Index 1.03 (https://vborg.vbsupport.ru/showthread.php?t=107326)

GTAce 02-05-2006 10:00 PM

Usergroup Color Legend on Index 1.03
 
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

GTAce 02-06-2006 08:10 PM

Also, the working demo shows an alternate image used to the left of the Legend. I chose to use a circle instead of a rectangle for my Legend image. You may do the same by editing the text below following img src="

HTML Code:

                <td class="alt2"> 
                        <center> <img src="$stylevar[imgdir_button]/online.gif" border="0" /> </center> 
                </td>


hiiped 02-06-2006 09:56 PM

nice work ...

markblair 02-06-2006 11:28 PM

Yes, this is indeed a great mod. Glad to see it here at vb.org as well. :) Good job Ryan.

projectego 02-07-2006 03:41 AM

Nice work GTAce, but I find amykhar's Usergroup Legend for ForumHome page hack to be a little more organised as it doesn't require you to manually input the HTML hex color value.

Not trying to rain on your parade by the way, just making sure you're aware of some of the "competition". ;)

GTAce 02-07-2006 04:23 AM

I'm completely aware...I have actually installed and used her hack before ;)

At the time it was buggy...I think I was having groups displaying twice, I dont remember exactly...and I'm not sure that her hack is completely bug-free now. It could be, as it's been a while since I installed it.

Competition? I'm not trying to compete with anybody here :p

Whether 1 person installs or 100 people install, it doesn't really matter to me :p

projectego 02-07-2006 10:34 AM

Quote:

Originally Posted by GTAce
At the time it was buggy...I think I was having groups displaying twice, I dont remember exactly...and I'm not sure that her hack is completely bug-free now. It could be, as it's been a while since I installed it.

Strange, I never had that problem with groups displaying twice before, oh well, no matter. And as I said before - please don't think I was attempting to rain on your parade, I'm always grateful when a new modification is released even if it's not the first of it's kind. No misunderstanding I hope. ;)

Snake 02-07-2006 01:35 PM

Nice work man! :)

Lineman28645 02-09-2006 04:43 PM

First one to install on my forums! (Note: I'm the one in the 2nd screen.) :) Great mod man.

http://www.postingworld.net/

GTAce 02-12-2006 01:01 AM

Thanks guys, glad you like it :)


All times are GMT. The time now is 07:58 AM.

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.01114 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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