View Full Version : Forum Home Enhancements - Yet Another Usergroup Legend
Well, failing to think of a unique name for this kind of mod, this is called Yet Another Usergroup Legend. :D
I noticed in the threads for the other similar mods, someone wanted to show the legend above the users, and other below the users. Since none of the other mods did that, I decided to put this together.
Purpose of mod
Show a legend of your selected usergroups.
Options
Product enabled or disabled
Select position of the Legend
Show leading title or not
Ordering of usergroups
Show/Hide tags around usergroups
Users can enter the tags they want the usergroups to be enclosed with
Install/Configure
Import the xml from Manage Products in your AdminCP. (Allow Overwrite to upgrade)
Go to vBulletin Options and select Yet Another Usergroup Legend for settings.
Version History:
1.0.0 - June 09, 2008
- Initial release.
1.0.1 - June 10, 2008
- Added option for show/hide tags around usergroups.
- Users can enter the tag they want to use around usergroups.
thank you so much. :)
clicks install.
crkgb
06-09-2008, 03:11 AM
The best one so far ))
The360Place
06-09-2008, 03:20 AM
Installed. Thanks.
Lea Verou
06-09-2008, 03:51 AM
Suggestions that came to mind when I came across this thread:
-Ability to select which usergroups will be shown
-Each usergroup name being a link to the usergroup's table in Show Forum Leaders, if that usergroup is shown there (would require a template edit for the anchor)
-Ability to control the markup that surrounds each usergroup name (eg personally, I don't like []s )
- Tooltip with the usergroup's description on each usergroup name
Rickeo
06-09-2008, 10:16 AM
Defiantly the best so far has everything I wanted :)
Would be cool to be able to add tooltip descriptions :) of each usergroup and maybe when ever someone hovers over a username it says there title like Meber or Manager etc :) or the name of the group there in :)
I like *clicks install*
Cheers
Rick
KURTZ
06-09-2008, 10:34 AM
Suggestions that came to mind when I came across this thread:
-Ability to select which usergroups will be shown
-Each usergroup name being a link to the usergroup's table in Show Forum Leaders, if that usergroup is shown there (would require a template edit for the anchor)
-Ability to control the markup that surrounds each usergroup name (eg personally, I don't like []s )
- Tooltip with the usergroup's description on each usergroup name
i support this :)
anyway just another request arco :) i use PM's split (https://vborg.vbsupport.ru/showthread.php?t=178070) hack so after the installation of your product i've got a weird stat box ... is possibile put the legend under the PM's add-on?
TIA (check the pic attached)
Ideal Web Tech
06-09-2008, 10:43 AM
That is a tiny image...
KURTZ
06-09-2008, 11:02 AM
That is a tiny image...
http://img259.imageshack.us/img259/8413/01shotjun091332zp2.th.png (http://img259.imageshack.us/my.php?image=01shotjun091332zp2.png)
[img=http://img259.imageshack.us/img259/8413/01shotjun091332zp2.th.png] (http://img259.imageshack.us/my.php?image=01shotjun091332zp2.png)
anyway just another request arco :) i use PM's split (https://vborg.vbsupport.ru/showthread.php?t=178070) hack so after the installation of your product i've got a weird stat box ... is possibile put the legend under the PM's add-on?
For now, change the execution order for this plugin to 6. You also need to change something in the plugin for the other mod, it seems to be missing a <br />.
Find in "Most Ever Users, Members & Guests" plugin:
$activeusers = $activeusers."<br />".$maxmemberstext." ".$maxgueststext;Change to:
$activeusers = $activeusers."<br /><br />".$maxmemberstext." ".$maxgueststext;
I'll look into the other requests. I'm not particular amazing with coding, so can't promise anything. :)
desibw
06-09-2008, 03:17 PM
Can i make it go till the end?
https://vborg.vbsupport.ru/external/2008/06/52.jpg
Can i make it go till the end?
https://vborg.vbsupport.ru/external/2008/06/52.jpg
That's odd. I don't have that issue here. It could be something in your style, or another mod that's causing this. Does it look ok using the standard vB style?
desibw
06-09-2008, 05:02 PM
Deafult Skin is Same
Darkstarproject
06-09-2008, 06:51 PM
Must have missed this, but how do you change the colors of the groups?
Nice- thanks ...works fine !
macc
steve1966
06-09-2008, 07:00 PM
Thanks
Mesohu
06-09-2008, 07:34 PM
Must have missed this, but how do you change the colors of the groups?
ACP - Usergroups - Usergroup Manager - You select your group & GO and finally you will need to play with Username HTML markup , for help click on the question mark [?] . You will find some examples...
Great hack , but these I don't like these [] , can you add an option in the settings of this hack to change this with On/OF or can you tell me how I can change this from the plugin.
And can you add aother option :
Order option for admins , mods , glob. mods ...
B'coz I have a group called webmaster(s) , it will show at the end & I want to show it the first .
Thanks.
Darkstarproject
06-09-2008, 07:50 PM
Thanks, found it right after I posted it, and made my changes!
Still installed though.
Great hack , but these I don't like these [] , can you add an option in the settings of this hack to change this with On/OF or can you tell me how I can change this from the plugin.
I'm looking into making the tags an option to be chosen by the user. If you want to change that yourself in the plugin, look for this code and change what I marked with bold and blue.
$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '['.$vbulletin->usergroupcache["$userbul"]['title'] .']  ' . $vbulletin->usergroupcache["$userbul"]['closetag'];
And can you add aother option :Order option for admins , mods , glob. mods ...
B'coz I have a group called webmaster(s) , it will show at the end & I want to show it the first . The usergroups will be shown in the order you select in the options for this mod, so if you want a usergroup shown first, just put its ID at the beginning.
sdavis2702
06-10-2008, 05:07 AM
Thanks dude
srkrocks
06-25-2008, 08:43 PM
Thanks so much,
installed
RHWiRED
07-01-2008, 03:21 AM
Is it possible to center the legend?
Cheers,
PostMaster
07-14-2008, 02:31 AM
The firefox browser doesn't show the color, it's just plan.
Is there any extra code to be put in anywhere to make it possible for users using firefox to see the color of this mod, IE is showing it just fine.
?
PostMaster
07-15-2008, 01:10 AM
Anyone? there has to be a extra code to help aid with firfox and other browsers that might not see this color legend, andbody?
It should show the colors just fine in Firefox. I use Firefox 3 and it works fine. Was also fine in Firefox 2. All I can think of is that it could be one of your add-ons causing it. Try to disable them all, and then enable one by one until the problem occurs.
PostMaster
07-15-2008, 02:05 AM
It should show the colors just fine in Firefox. I use Firefox 3 and it works fine. Was also fine in Firefox 2. All I can think of is that it could be one of your add-ons causing it. Try to disable them all, and then enable one by one until the problem occurs.
Hmmm, very interesting, very much thanks for the reply, I will see to it and rule out an addon like you said. If I figure it out I'll post back in case someone else with the problem comes to light and knows what mod it may be:up:.
BTW I do have a costume design just wondering if that would make a difference.
PM sent! You were missing a # in the color coding. IE is not so picky about that, but Firefox is.
iRO Wiki
07-15-2008, 08:58 PM
This is exactly what we needed, as the old 3.6.x legend we used quit working with 3.7.2, thanks a bunch! :D
dedexes
07-16-2008, 07:05 PM
thanks for mod.
KURTZ
08-04-2008, 10:46 AM
hi arco, i've a trouble with the UG.2 (registered users) it hasn't the correct color ... how i can fix it?
thx
CHECK HERE (http://www.fniv.it/board/index.php)
Sorry for late answer. Just tried to click your link Kurtz, but it's giving a database error.
Corndog235
08-12-2008, 02:56 AM
Thanks for the mod arco, installing now :)
Kurtz, it seems like you haven't edited the username HTML markup for that usergroup.
shotkey
08-21-2008, 06:29 PM
Colors work fine - but when I enable this hack it adds a second legend bar (shown below). When I disable it the legend and users are shown correctly. Anyone have any ideas on what's causing this?
With hack enabled:
Most users ever online was X, Today at 12:01 PM.
Legend:
[ Administrators ] [ Super Moderators ] [ Moderators ] [ Registered Users ]
[Administrators] [Super Moderators] [Moderators] [Registered Users]
admin
Legend:
[ Administrators ] [ Super Moderators ] [ Moderators ] [ Registered Users ]
With hack disabled
Most users ever online was x, Today at 12:03 AM.
admin
Legend:
[ Administrators ] [ Super Moderators ] [ Moderators ] [ Registered Users ]
Well, if you disable it, then no legend should be visible at all. So either it's somehow installed twice, or another similar mod is installed.
shotkey
08-22-2008, 08:12 PM
arco,
You were correct - another similar mod was causing the conflict. I disabled it and am keeping yours installed. Thanks for the fast reply.
KURTZ
08-23-2008, 02:15 PM
Kurtz, it seems like you haven't edited the username HTML markup for that usergroup.
Arco, no i haven't changed the html for the UG 2 ... but with my default skin the font color is yellow and into your legend is white ...
CHECK (http://www.fniv.it/board/index.php) yourself ... :)
ps. i've this issue also onto the default vB skin ... :S
esidyo
08-24-2008, 09:34 AM
Installed, Thanks
Daisyboo
08-24-2008, 02:46 PM
Nice mod - installed :)
Daisyboo
08-24-2008, 05:51 PM
Is it possible to make the group names appear in bold?
Arco, no i haven't changed the html for the UG 2 ... but with my default skin the font color is yellow and into your legend is white ...
CHECK (http://www.fniv.it/board/index.php) yourself ... :)
ps. i've this issue also onto the default vB skin ... :S
When I look at the html code on your site, the markup code for registered users are missing.
<span style="color: DeepSkyBlue;"><b>[Administrators] </b></span><font color="#33cc00"><b>[Super Moderators] </b></font><font color="#c062ff"><b>[Moderators] </b></font>[Registered Users] I suggest using something like this for the markup:
Opening HTML tag
<span style="font-weight: bold;color: blue;">
Closing HTML tag
</span>
Is it possible to make the group names appear in bold?
Yes, see my suggestion in the above post. :)
Daisyboo
08-24-2008, 09:47 PM
Thanks Arco, I managed to do that but it made the usernames bold too. I wanted just the legend to be bold if possible, to make it stand out a bit more?
No worries if not :)
Ah, I see. You can do it in the Legend options. Just add <b> before the start tag, and </b> after the ending tag.
Daisyboo
08-25-2008, 07:57 AM
Ahh brill thank you!
KURTZ
08-25-2008, 10:43 AM
When I look at the html code on your site, the markup code for registered users are missing.
<span style="color: DeepSkyBlue;"><b>[Administrators] </b></span><font color="#33cc00"><b>[Super Moderators] </b></font><font color="#c062ff"><b>[Moderators] </b></font>[Registered Users] I suggest using something like this for the markup:
Opening HTML tag
<span style="font-weight: bold;color: blue;">
Closing HTML tag
</span>
yes Arco, but i don't want set a html for the regs. ... i wanna that they have the default color ... so why your list haven't that color?
yes Arco, but i don't want set a html for the regs. ... i wanna that they have the default color ... so why your list haven't that color?
Hmm, default color of what? Not sure if I understand what you mean... As I can see everything is as it should be. If you you don't use a HTML markup code for a usergroup, it defaults to the standard text style of the skin.
KURTZ
08-25-2008, 01:02 PM
no Arco, i've the yellow as default color ... but in your list the color is white ... and the same trouble is onto the default vB skin (blue/black) ... check my board and switch the skin ... ;)
TrumpetMaster
08-26-2008, 12:33 AM
Hi, I can't get this to work for me. Every user group shows in black. Only Admin and Mod should
http://www.ingunowners.com
Thanks
no Arco, i've the yellow as default color ... but in your list the color is white ... and the same trouble is onto the default vB skin (blue/black) ... check my board and switch the skin ... ;)
Yeah, I think I understand what you mean now. Unfortunately, as far as I can see, what you're after can't be done with the way the mod works. It pulls the markup code from the group, and if there's no markup code it defaults to the standard skin text color. So the best you can do, is set a color for that group which looks ok in all skins.
Hi, I can't get this to work for me. Every user group shows in black. Only Admin and Mod should
http://www.ingunowners.com
Thanks
It looks like you have a <span> enclosing the entire legend. Did you add a double <span> for one of the groups markup code?
KURTZ
08-27-2008, 06:23 AM
Yeah, I think I understand what you mean now. Unfortunately, as far as I can see, what you're after can't be done with the way the mod works. It pulls the markup code from the group, and if there's no markup code it defaults to the standard skin text color. So the best you can do, is set a color for that group which looks ok in all skins.
i know Arco, but this is a glitch ... :) however thx ;)
hqlman
01-05-2009, 09:52 PM
Hi, im a newbie at this, but i have installed this mod, but for somereason i cannot get my custom usergroups to appear on the legend, i know i have to edit the style somewhere to acheive this, but i dont know the coding needed or the style template to edit,
Pls help
my site: www.brutalsquad.org/forums/
stardotstar
05-12-2009, 06:08 AM
Great Mod, two things; I found that when my usergroup titles listed as a single line became too wide it would expand the whole forum width invoking horizontal scroll bar - instead of wrapping the text. Would it be possible to have the username titles auto wrap and centre? Well I know its possible - would you please be able to help me with it?
Secondly I find that one of my groups always displays black - in my case it was the registered member group - in the legend, but the usernames of that group were correct in the list --- so I ended up setting the username markup for that group to plain black as a dirty fix - unsure why this would be happening - I will set the state back to that if you are able to help me by looking otherwise thanks for a great mod!
Will
Sorry, but I don't have the time anymore to provide support for this mod. :(
Senti.Jatt
05-16-2009, 08:32 AM
Hi, im a newbie at this, but i have installed this mod, but for somereason i cannot get my custom usergroups to appear on the legend, i know i have to edit the style somewhere to acheive this, but i dont know the coding needed or the style template to edit,
Pls help
my site: www.brutalsquad.org/forums/just go to vbulletin options and there u will see yet another usergroup legend add custom usergroups in their
goshalim
07-16-2009, 02:11 PM
Hi
I have install this https://vborg.vbsupport.ru/showthread.php?t=181956
As you can see from yourr screen shot its only four categories view the admins , super Mod , the Mod and the register users.
I have anothe 2 the banned and special
How can i make them appear in the legend also.
Is that clear
Mike1018
12-29-2009, 06:48 PM
Excellent, but yet very simple to use and does the job very well. Excellent job.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.