vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Yet Another Usergroup Legend (https://vborg.vbsupport.ru/showthread.php?t=181956)

arco 06-08-2008 10:00 PM

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.

RvG2 06-09-2008 02:57 AM

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

Quote:

Originally Posted by Michelle (Post 1544680)
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 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

Quote:

Originally Posted by Ideal Web Tech (Post 1544896)
That is a tiny image...

http://img259.imageshack.us/img259/8...1332zp2.th.png

[img=http://img259.imageshack.us/img259/8413/01shotjun091332zp2.th.png]

arco 06-09-2008 02:29 PM

Quote:

Originally Posted by KURTZ (Post 1544890)
anyway just another request arco :) i use PM's split 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:
Code:

$activeusers = $activeusers."<br />".$maxmemberstext." ".$maxgueststext;
Change to:

Code:

$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

arco 06-09-2008 04:06 PM

Quote:

Originally Posted by desibw (Post 1545086)

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?

macc 06-09-2008 06:54 PM

Nice- thanks ...works fine !

macc

steve1966 06-09-2008 07:00 PM

Thanks

Mesohu 06-09-2008 07:34 PM

Quote:

Originally Posted by Darkstarproject (Post 1545262)
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.

arco 06-09-2008 09:18 PM

Quote:

Originally Posted by Mesohu (Post 1545296)
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'] .']&nbsp&nbsp' . $vbulletin->usergroupcache["$userbul"]['closetag'];

Quote:

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.

arco 06-10-2008 02:38 AM

Quick update. :)

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?

arco 07-15-2008 01:27 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.

PostMaster 07-15-2008 02:05 AM

Quote:

Originally Posted by arco (Post 1575560)
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.

arco 07-15-2008 02:03 PM

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

arco 08-12-2008 02:53 AM

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 :)

arco 08-12-2008 09:04 PM

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 ]

arco 08-21-2008 09:10 PM

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

Quote:

Originally Posted by arco (Post 1597286)
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 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 :)


All times are GMT. The time now is 05:49 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.02122 seconds
  • Memory Usage 1,818KB
  • 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
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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