![]() |
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.
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 |
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"> |
nice work ...
|
Yes, this is indeed a great mod. Glad to see it here at vb.org as well. :) Good job Ryan.
|
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". ;) |
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 |
Quote:
|
Nice work man! :)
|
First one to install on my forums! (Note: I'm the one in the 2nd screen.) :) Great mod man.
http://www.postingworld.net/ |
Thanks guys, glad you like it :)
|
looks great thanks. gonna install it.
|
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:
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 |
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. |
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 :) |
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 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 |
Thanks for the fix :)
|
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.
|
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. |
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 |
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 |
legend noimages made everything get stretched weird, but the one with images worked nice even tho im not using an image.
you can see it in action here http://www.gamerzneeds.net/forums Plus I did an extra thing to it so when they click on it, it will take them to the forum leaders page. |
The reason it "stretched weird" is because your skin has images in that box...I should clarify the instructions at the top to specify that the noimages code will not work if your What's Going On box already has images.
|
Quote:
Do you need the code for the WHOSONLINE part? What code do you need? |
Quote:
EDIT* yes it was... problem solved. |
Right the standard/default vB skin has images in the What's Going On boxes - your skin does not. That's why legend_images will not work...you need to use legend_noimages, which I'm going to assume you've already done by your edit :p
|
ummm no actually I used the legend_noimages fisrt time, thats why I had the stretched forum look, but then I used legend_images and it worked perfectly, you must be mixing the two around. lol
Anyway, it works great, thank you! |
help me !!
how i can use color for usergroup like this website : http://www.rpgfreeze.com/forums/index.php? |
<a href="https://vborg.vbsupport.ru/showthread.php?t=108910" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=108910</a>
|
thanks dear
|
Sure, although being called "dear" is a bit awkward :confused:
|
Quote:
[high]* Kacela Clicks Install![/high] |
How about.....Stag? :classic:
|
Thank you installed and everything is working :)
|
Cheers :)
|
Quote:
My forum: http://forums.babynameaddicts.com/forums/ My code: Code:
<!-- Usergroup Legend by GTAce --> |
Change:
HTML Code:
$stylevar[imgdir_button]/whos_online.gif HTML Code:
$stylevar[imgdir_misc]/whos_online.gif |
Super-duper! Thanks so much!
|
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 :( |
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?
|
Quote:
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? |
All times are GMT. The time now is 07:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|