![]() |
Colored Group Legend using Phrases
Well, i wanted to add a usergroup legend in the forumhome page to let everyone know who is in charge. Cause they are always asking me, who are you? :hurt:
So, i tried some of the mods available, but i remembered my site uses more than english language. And i wanted to show my tags in more than one language. I based my idea in the Dark User Legend by Dark D. All i did was to add my the idea i had, very simple and neat. I mean, if you don't need more than one language, use the one by Dark D, you need no more. Ok, let's start. FIRST: Lets add some color tags to our usergroups. Enter Usergroups > Usergroup Manager. Now lets edit Administrators Group. Look down for Username HTML Markup. In the first cell add: Code:
<font color = "black"><u><b> in the second one -to wrap the name- add: Code:
</b></u></font> SECOND: Add a new phrase in Languages & Phrases > Phrase Manager > Then Click Add New Phrase in the bottom of that screen. Code:
Phrase Type: GLOBAL Code:
<span class="smallfont"><font color = black><u><b>Administradores</b></font></u> | <font color = red><b>Super Moderadores</b></font> | <font color = blue><b>Moderadores</b></font> | <font color = lightgray><b>Usuario Registrado</b></font></span> FOURTH: Now let's call the phrase in our forumhome template. Enter in Styles & Templates > Style Manager and open your template groups, search for FORUMHOME and open it. Search for: Code:
<div>$activeusers</div> Code:
<div>$vbphrase[group_legend]<br />$activeusers</div> That's it... hope it didn't take too much time! ;) Oh, and check the preview attached. :D Hope it's useful for some of you. |
V. Nice thanks alot mate.
|
nice, thankyou.
|
kool thnx
|
Just what i needed, thanks.
Justo lo que necesitaba, muchas gracias ;) |
great idea installed it already thnx
|
:) Glad it is useful!
|
thanks a lot ;)
|
helped alottttttttttttttt
|
awsome thank you!
|
is there anyway to add the legend out of the way or seperate box.. it kinda makes it crowded.. cheers,
|
You can place the
Code:
$vbphrase[group_legend] Creating a new row just for this would make the table look odd, but it can be done. Maybe something like this: Code:
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> |
Nevermind, found it out! Thanks alot!! INSTALLED!
|
ya really thanks alot i needed to find this one bad and thanks to you i got it :)
|
Works very well. Thanks.
|
:) Glad this is useful for you.
|
Works Very Well. Thank you for sharing.
|
Usergroup Color Bar Legend
This hack shows the user group tags under the name of the active users. This is an easy but usefull for you to determine the order of the groups. install Go to your admin cp, then: Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-ugcb.xml' from your computer then press 'Import' Usergroup Color Bar Setting Go to your admin cp, then: vBulletin Options -> Usergroup Color Bar -> Versions: v1.0 - Initial vB 3.7 version. v2.0 - Initial vB 3.8 version. Modifications Info Plugin : 1 Phrases : 5 Template : 0 Setting : 2 HTML Color Names http://i259.photobucket.com/albums/h...ownloadnc7.gif LINK |
All times are GMT. The time now is 04:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|