PDA

View Full Version : Coloured Usergroup Legend


Alteran Ancient
04 Aug 2006, 13:58
This will add a nice little legend at the end of your Forum, above the Active Users Box.

This is more or less the same as the one I released for 3.5, but it's in here as well for sentimental reasons. You know, people looking for this for their 3.6 won't bother looking in 3.5 area.
Here is the Original 3.5 Version (http://www.vbulletin.org/forum/showthread.php?t=104785)

Here is a Live Demo of the end result, up-to-date.

http://www.keyhunt.com/forum
(Mine would be here, but I just updated to vB3.6 myself, so expect a while)

I am looking for suggestions on how to make it better, so send them in!

JoeWho
04 Aug 2006, 14:48
Cool :)

Thanks!

Disparage
04 Aug 2006, 18:04
+ Install. <3

Snake
05 Aug 2006, 17:40
Thanks for this! :)

Mudvayne
06 Aug 2006, 11:59
Well I use
<b>Legend:</b> <font color="#0000FF"><b>[ Administrator ]</b></font>
<font color="#000080"><b>[ Developer ]</b></font> <font color="#008000"><b>[
Moderator ]</b></font> <b>[ Registered User ]</b><br /><br />

Alteran Ancient
13 Aug 2006, 12:19
It's more or less quite a similar outcome, except I have one or two perks.

ghostsoft
13 Aug 2006, 19:25
Alteran Ancient thank u vry mych
if i have some idea i will give thm 4 u ;)

aveon
13 Aug 2006, 21:56
hello Alteran Ancient

thanx for the hack but i have a succestion for you i was loonkin for this on vbulletin.org .com but noone helped anyways i was wondering can you do it i saw this on smf site they have a legend like the one you made but thay costumize it very well their show the most recent membergroups online this legend can you use more spesific code to make this it would be great if you can help thanx again...

also this code will do if anyone can modify



if(!empty($group['color']) && $group['color'] != '')
echo '[<span style="color:' . $group['color'] . '">' . $group['name'] . '</span>] ';

iran.gs
14 Aug 2006, 18:41
lnstalled but now all i get is the colors of legends but how members id will change color ?

Ntfu2
17 Aug 2006, 01:02
lnstalled but now all i get is the colors of legends but how members id will change color ?


this modification doesnt change the members username colors.

You have to do that yourself.

hotwheels
27 Aug 2006, 20:14
lnstalled but now all i get is the colors of legends but how members id will change color ?

Hey iran.......go to your usergroup manager and open up say, admin. Now, where it say's Username HTML Markup
(Specify an opening and closing HTML tag with which to display the names of users in this group. This applies to names that appear on Logged-in Users, Who's Online, Users Browsing Forum, Users Browsing Thread, Posts, Member List etc.)

In the first box, add <font color="#FFOOOO"> (change the #FF0000 to your color choice), then in the second box on that line, add </font>.........

That should take care of it for ya...........

hotwheels

iran.gs
03 Sep 2006, 01:54
Thanks so much for ur instructions :x xoxo

dragonhart
03 Sep 2006, 13:54
Thank you very much........Dragonhart

hotwheels
04 Sep 2006, 12:11
Thanks so much for ur instructions :x xoxo
you are very welcome.

iran.gs
10 Sep 2006, 21:17
one last thing is there anyway one person in the general group can have own color meaning say l want to make u az my new member but a u dont belong to any group how would i just make u one individualy without adding a new group ???

Synda
15 Sep 2006, 02:48
Awesome job with this but i know alittle codeing and i saw a glitch with your code, <em>Legend:</em><strong style="color:Insert colour or ‘#000000’ CSS Number’>[Insert Usergroup Here with the square brackets]</strong>



in this part, "color:Insert colour or ‘#000000’ CSS Number’ you need to take out the ' and add " so it should be "color:Insert colour or #000000 CSS Number"

karrerax
28 Sep 2006, 08:23
Clisk install :rolleyes:

gamerzindo
30 Sep 2006, 11:42
thanks alot.. install already..

flint842
09 Nov 2006, 00:06
am i doing something wrong here

the legend shows on forums now as user group added but as my nick flint
what have i done wrong???

flint842
09 Nov 2006, 00:35
Hey iran.......go to your usergroup manager and open up say, admin. Now, where it say's

In the first box, add <font color="#FFOOOO"> (change the #FF0000 to your color choice), then in the second box on that line, add </font>.........

That should take care of it for ya...........

hotwheels


how do i make it so its bold???

Shazz
09 Nov 2006, 02:03
how do i make it so its bold???
<b> whatever you want here </b>

cajunboy2208
31 Jan 2007, 01:15
How do I make it's own section? Here is an example site:
www.extremefitness.com

Digitalus
06 Feb 2007, 16:13
How do I make it's own section? Here is an example site:
www.extremefitness.com

You could do something like this,

--------------------------------------------

In forumhome template, find:

----------------------------------------

<!-- end logged-in users -->

------------------------------------------------------

Add below:

-----------------------------------------------------

<!-- User Legend -->
<tbody> <tr> <td class="thead" colspan="2"> <a style="float: right;" href="#top" onclick="return toggle_collapse('forumhome_legend')"><img src=$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_legend].gif alt="" name="collapseimg_forumhome_legend" width="16" height="16" border="0" id="collapseimg_forumhome_legend"></a> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">User Legend </a></td>
</tr> </tbody> <tbody id="collapseobj_forumhome_legend" style=""> <tr> <td class="alt2"><a href="showgroups.php$session[sessionurl_q]" rel="nofollow"><img title="Legend" src="$stylevar[imgdir_misc]/whos_online.gif" alt="Legend" border="0"></a></td> <td class="alt1" width="100%">

#### Here your Usergroup code ####

</td> </tr> </tbody>
<!-- End User Legend -->

Goodluck..

JodiSal
23 Feb 2007, 18:37
I tried uploading this mod but it told me that there was an xml error -- a space on line 6?

gotvenm
23 Feb 2007, 19:17
I tried uploading this mod but it told me that there was an xml error -- a space on line 6?

dbl click it, its not a plugin to upload.

GruntHalo
08 Mar 2007, 19:58
Thanks for this man! Using it right now on my forum. :)

Lord Kirken Mor
31 Mar 2007, 01:42
where do I get the Member Legends mod like they use here: http://forums.gzevolution.net/ ?

yaoren
17 Jul 2007, 01:06
Thank you so much for this...works superbly!

JadedSouls
21 Jul 2007, 20:55
I installed a few days ago and forgot to click install!
Great addition!

3dfx
23 Jul 2007, 11:53
i have encpuntered one problem...when i add a user group without the <b> tag,it does not apear.

bigcurt
14 Sep 2007, 04:15
I just saw this..linked back to my site eh? haha. You could have at least messaged me and asked if it was OK to port it :P. Either way though, no big deal :). Glad to see it for 3.6.

Alteran Ancient
15 Sep 2007, 14:32
Well, I actually didn't see the one on your forum until well after making this mod. The one on your website was in very similar design, so I just gave you a little extra traffic! Hope you don't mind this subliminal advertising towards your site... for free.

memoriess
30 Dec 2007, 07:01
hi, i cant get this working, can anyone give a live sample of the codings like administrator , members etc? thx

Confined
01 Jan 2008, 03:02
very nice thanks!

PaulSonny
20 Jan 2008, 10:30
Is there anyway we can make the a particular usergroup navigate to a page with all the members in that usergroup?

Thanks, Paul.

lgnd
04 Mar 2008, 06:48
Thank You! Installed with some modification! :)

bill75
15 May 2008, 20:29
Thank you

militarytuners
24 May 2008, 03:42
Thanks

oz_girl
17 Aug 2008, 02:46
Very cool, reserved :D