Log in

View Full Version : User Color Legend


bigcurt
07-12-2005, 10:00 PM
Well, I go by and see ALOT of forums that have the HTML markup in there usergroup settings but noone can really tell what they mean cause it doesnt show it anywhere. So I was looking through the templates and was just trying different places to put a Color Legend. There are a BUNCH of ways to do this modification, if you want to get fancy with it, you please do so and post your results :). Hope you have fun.

I also tried to follow the forum home modification rules to the "T" so all the instructions, ect are in the zip file to the left :) file. This modification is nothing, it is just html in the template, nothing big whatsoever.

This modofication should support all 3.0.X versions. I have not tested on the new betas, the only version I have tested on is 3.0.3.

Here is a LIVE DEMO of the hack down at the bottom by the Who is online box.

---------------LIVE DEMO------------
www.keyhunt.com/forum (http://www.keyhunt.com/forum)
---------------/---------------------

If anyone at all needs a screenshot just tell me, I will be happy to post one.

Thanks for your time and make sure if you change it, post your results for others =).

~Big Curt~

* bigcurt installs =) lol

moley
07-13-2005, 06:39 AM
thanks looks cool.

Asterik
07-13-2005, 04:49 PM
Hey great job :D

bigcurt
07-13-2005, 07:23 PM
Heh, thanks alot guys. Just a little html :P

boo.3
07-14-2005, 01:42 AM
nice job i've always looked for a easyer way to do this :D

thanks!

bigcurt
07-14-2005, 01:51 AM
I am soooo happy people like it :-D.

mkdevo
07-14-2005, 11:11 AM
can't seem to load the site, so if you can post a screen shot, that'd be great.. thanks.

bigcurt
07-14-2005, 04:08 PM
The site is loading fine for me but I have updated the post with a screenshot uptop, just check it out up there..for some reason the screen shot is blurry..but thats not how it looks..its just a bad screenshot :P sorry. You might want to try my site again...that I know of, it hasnt been down www.keyhunt.com/forum

Thanks for the concern :)

bigdog829
07-14-2005, 07:27 PM
bigdog829 clicks install

* bigdog829 installs =) lol

Srry about that !

Works great ,Thanks

bigcurt
07-14-2005, 08:21 PM
haha, thanks for interested bud. Take care

cheech4487
07-14-2005, 11:57 PM
I cannot seem to get the usergroups members to show up in the color of the usergroup. Any suggestions?

bigcurt
07-15-2005, 01:55 AM
well to make the members a specific html color that has nothing to do with my hack that is a admincp setting in usergroup settings..click on the usegroup and around the name of it, it should say something like HTML markup...in that space you put the html hex code of what colro you want for that usergroup..if ya need more help just ask bud ;).

Dead End Society
07-15-2005, 07:24 AM
Installed, I love it.

bigcurt
07-15-2005, 12:18 PM
Nice, 11 installs and counting :-D lol

boo.3
07-15-2005, 04:32 PM
/me clicks install ! i've wanted a easyer way to do this! thanks

bigcurt
07-15-2005, 05:04 PM
once again, thanks for install :). Have fun!

cheech4487
07-15-2005, 05:35 PM
Done! Thanx bigcurt!

bigcurt
07-15-2005, 06:42 PM
Np man, have fun!

bigcurt
07-17-2005, 07:14 AM
K, answered your PM man, tell me if you need anymore help

cmiller1014
07-23-2005, 03:09 AM
It seems like there should be an easier way to automatically generate this key since all the data is stored in the admin cp. I am constantly changing / adding user groups and cant possibly keep up with adding the html myself :(

akanevsky
07-23-2005, 11:24 AM
* Dark Visor installs =) lol
What the hell?

EDIT:
Let's see:
/you blablabla

EDIT:
Doesn't work. The question above remains...

bigcurt
07-24-2005, 05:42 AM
yes, I am sure there is a way but that would be php more than likely and I am not quite ready for that :( sorry. I will develop it soon though, sorry for the late responce.

Dark Riku
07-25-2005, 07:01 PM
cool, i was just about to have and do this myself... but nice job

bigcurt
07-25-2005, 10:48 PM
Thanks Riku

Dark Riku
07-26-2005, 05:28 AM
hey, if you want, ive got a nice idea for this, look at what i did to it on my site, if you want to make it like that, ill give you the code, its pretty simple...

www.gfxwiz.net/forums/

bigcurt
07-30-2005, 12:06 PM
Yep, post the code here so other users can look at it..if you want I will also add your version into my modification above, and I will add you as coauthor. Just whatever ya wanna do ;). Good job.


~Curt

Wrestling-Freek
08-02-2005, 03:04 AM
Why does it say Wrestling-Freek installs?

SlipNslide281
08-09-2005, 06:10 PM
Maybe there should be a button that says downloaded but to dumb to install. I would click that button all day. :nervous:

Gunshot
08-10-2005, 12:46 AM
I just added these at the bottom of the Stats table

in forumhome

find:

u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div> <br align="center">

add after:

(<font color="#hex color"><b>Administrator</b></font>)

then add as many as you like

Sleepyk
08-14-2005, 12:50 AM
* Sleepyk installs =) lol I DONT GET IT!

Sleepyk
08-14-2005, 01:52 AM
if i put in Open Template in Admin CP: FORUMHOME


-----------------Locate--------------

<div>$activeusers</div>

----------------Place ABOVE----------


<i>Legend:</i><font color="HTML MARKUP CODE OF USERGROUP HERE">[<b>USERGROUP</b>]</font>
Continue until all your colored usergroups are listed.......


As an option that I like, after listing all your usergroups and color codes, place a
<br>
<br>

After the code, that way it gives space between the currently active users :).

EXAMPLE:

CODE HERE...blah blah
<br>
<br> it will just have text everywhere, whats the actual code?

Sleepyk
08-14-2005, 07:57 PM
ok so should it be

Open Template in Admin CP: FORUMHOME


-----------------Locate--------------

<div>$activeusers</div>

----------------Place ABOVE----------


<i>Legend:</i><font color="ff0000">[<b>Admins
</b>]</font>
<font color="ffffff">[<b>Super Mods
</b>]</font>
<font color="333333">[<b>Mods
</b>]</font>
<font color="ff0660">[<b>members
</b>]</font>
<font color="ffff00">[<b>Noob
</b>]</font>
<br>
<br>


----------Finished-------------------------

????

bigcurt
08-14-2005, 09:49 PM
Yea, I mean you can choose any color you want..just using the color codes..it doesnt matter.

~Curt

Sleepyk
08-14-2005, 10:03 PM
yeah that was jus default stuff

ok hoping u still on
how i have color go everywhere else like users past 24 hrs, b-day, last 10 posts, etc?

bigcurt
08-15-2005, 01:12 AM
Just move it around in that template FORUMHOME..and look for that, ect..its just simple HTML, hard to mess up just as long as you MAKE SURE TO BACKUP YOUR TEMPLATE :).


~Curt

Sleepyk
08-15-2005, 01:41 AM
i mean to make them actually color

bigcurt
08-15-2005, 02:55 PM
I am still not quite getting what you are trying to ask me bud...

Anyway I updated the instructions thanks to princeton for the VALID XHTML code.

~Curt

Sleepyk
08-15-2005, 10:07 PM
The 40 members who visited the forum the last 24 hours are :

$incere, .:Lock Down:., Ace Buchanan, Babble-On, Bizzy Barnes, bree211bree, C-Drone, CanIBus, DJ Jin Shin, Dolla Biggs, DONZELLI, Fatal Flowz, Flip, G.O.D., Headache., Jay, jefferson, Kannibal Freak, Kash, killa chris, KillaG, krim, Kung∙Flow, Loud Mouth, Main Event, OMFG Its Vibe!!, Rascal, RASPY, Sharma, Sleepy K, SuthernStylez, test, Tha God Of Rap, Typhris, Urbanrot, Viz, Xcluusive, young_C, Yung Soulja, ~MG~


i wanna make that colored at thebattledome.com right now it only colors online users

gonon
08-17-2005, 10:12 PM
thanks bigcurt great little hack i have installed it without hitch thanks again

bigcurt
08-18-2005, 02:27 AM
Thanks again and hey..click install please :)



~Curt

gonon
08-23-2005, 02:05 AM
yeah sorry man click install lol thanks again

mr. visual
08-28-2005, 07:43 AM
simple, perfect, thanks!

/me clicks install

bigcurt
08-31-2005, 08:32 PM
Heh, thanks guys :) Happy to help


~Curt

ThugTheLeet
09-06-2005, 06:29 AM
Thanks for thism will install.

Dark Riku
09-12-2005, 12:37 AM
Sorry for posting this a little later, i was waiting for a PM, then i just forgot about it. Heres my code, for the legend to be in a collapseable table style.

Find:
------------------------
$todayloggedinusers
------------------------
Below Add:
------------------------
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('forumhome_legend')"><img id="collapseimg_forumhome_legend" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_legend].gif" alt="" border="0" /></a>Legend
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_legend" style="$vbcollapse[collapseobj_forumhome_legend]">

<tr>

<td class="alt2"><img src="$stylevar[imgdir_misc]/user_today.gif" alt=" Legend" border="0" /></td>

<td class="alt1" colspan="0"><div class="smallfont">
<i>Legend:</i><font color="COLOR">[<b>Administrator</b>]</font>, <font color="Orange">[<b>Moderators</b>]</font>, <font color="COLOR">[<b>Super Mods</b>]</font>
</div></td>
</tr>
</tbody>

**Note: Replace COLOR with the color that you want the name to be in.

To add more ranks, add
, <font color="COLOR">[<b>GROUP NAME</b>]</font>
after the others.

And Upload this image, you dont have to use it, but make sure you have a image to replace it with with same name if you dont want to use it.

http://www.gfxwiz.net/forums/wizards/misc/user_today.gif
http://www.gfxwiz.net/forums/wizards/misc/user_today.gif



Live Preview: http://www.forums.theoryconcept.net

evan.townsend
09-16-2005, 08:04 PM
Installed :).

Tony G
09-17-2005, 12:26 AM
I'd swear I saw this mod for vB3 already, but I can't seem to find it. So, thanks for sharing. :)

italks
09-19-2005, 07:54 AM
One thing i cant understand is i have included the colour legend on forumhome page.

But will it change colours in users online i dont think so.

How to do that.Since i applied on my forums i gave red colour to administrator i.e. Myself but in user online it shows in deafualt colour for everyone.

bigcurt
09-24-2005, 12:57 AM
I'd swear I saw this mod for vB3 already, but I can't seem to find it. So, thanks for sharing. :)


Nope :), your probably talking about amy's hack for vB 3.5.


~Curt

puertoblack2003
09-25-2005, 08:00 PM
just curious next to the lengend colors how can you add the members icon i've seen it on another site tried searching but no luck

example:http://img278.imageshack.us/img278/4622/green1qw.gif (http://imageshack.us)

PJSkiboy
09-28-2005, 03:00 AM
anyone know why firefox wouldn't display the text color changes?

Rickie3
09-28-2005, 06:20 AM
clicks install,thankyou,all colours showing fine for me on firefox.

PJSkiboy
09-28-2005, 08:05 AM
clicks install,thankyou,all colours showing fine for me on firefox.

I use both I.E. and Firefox and it works in IE no problems, but not Firefox. And I'm having Firefox users on my site saying some can view it and others can not.

I thought maybe it was a setting in Firefox somewhere, but I've yet to discover it if it is. I'll keep trying some different things, but if anyone encountered this and knows something, please pass along some information if possible.

Thanks.

Rickie3
09-28-2005, 09:31 AM
version of firefox?? if you follow link in my signature using firefox you will see the colours are showing fine in my forum

PJSkiboy
09-29-2005, 01:39 AM
version of firefox?? if you follow link in my signature using firefox you will see the colours are showing fine in my forum

yeah, i actually opened your site in firefox and it did work fine in yours. i don't know what setting i could have that's keeping others from seeing it on my site.

open up http://www.xboxliveleagues.com/forums/index.php in firefox and see if you see the user legend colored along with the hyperlink user names color coded. it works perfectly in IE, but no go in firefox for me and several members.... i'm lost.

you're also using version 3.0.9 of vbulletin whereas i'm using 3.0.7 , although, i don't know that it's a vb version issue.

Dark Riku
09-30-2005, 12:20 AM
it looks fine to me in firefox... clear your cookies maybe.

To nievesidenshop
I no that they have this on phpNUKE. you might be able to do this from the usergroup editor. And you would have to add it in the legend code again if you did figure it out.

To italks
You have to edit the html markup in adminCP in the usergroup editor page. you type in the same thing that you typed in on the legend almost, you type in [*font color=red] without the * in the first block and [*/font] in the other block. That is how you make the usergroup a different color. If that was what you were looking for.

bigcurt
09-30-2005, 12:36 AM
Yes, it should work fine in ALL web browsers :).



~Curt

PJSkiboy
09-30-2005, 03:08 PM
with firefox, you must can't specify the actual hex code for the colors you must enter the colors as such: <font color="red"> </font>

I changed over from the hex code to just the quoted names and it worked like a charm.

bmroyer
10-01-2005, 01:18 PM
I can't view color in firefox nor IE. I can't get it to display on my portal, but I thought for sure I could in forums. All it shows is the legend colors.
Here is my code in forumhome
<em>Legend:</em><strong style="color:blue">[Administrator]</strong>
<strong style="color:cyan">[Moderator]</strong>
<strong style="color:yellow">[Super Moderator]</strong>
<strong style="color:black">[Member]</strong>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
You can check the site out by:
http://www.unknownwriters.net
http://www.unknownwriters.net/forums

PJSkiboy
10-01-2005, 02:02 PM
I can't view color in firefox nor IE. I can't get it to display on my portal, but I thought for sure I could in forums. All it shows is the legend colors.
Here is my code in forumhome
<em>Legend:</em><strong style="color:blue">[Administrator]</strong>
<strong style="color:cyan">[Moderator]</strong>
<strong style="color:yellow">[Super Moderator]</strong>
<strong style="color:black">[Member]</strong>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
You can check the site out by:
http://www.unknownwriters.net
http://www.unknownwriters.net/forums

The code you have in the Forumhome template is simply for the legend. To change the colors of the usernames logged in on your site, you'll have to go into usergroup settings from within the admin cp.

Go into usergroups. Then go into usergroup manager. Then do an edit usergroup for each usergroup.

Choose Username HTML Markup.

Insert something like <font color="black"> in the first box, then close it off with </font> in the second box. (Obviously replace "black" with whatever color you want for that usergroup, etc...)

That should do the trick for you.

bmroyer
10-01-2005, 02:05 PM
it worked, thanks!

bigcurt
10-01-2005, 08:49 PM
Yes, this is just a legend of the HTML markup you have, just like he said, sorry you didnt understand.

~Curt

oldfan
10-19-2005, 04:44 AM
thanks works great

/me clicks install

prows
11-14-2005, 05:40 AM
I was wandering how do you arrange how the grups are displayed? because its all mixed up in the legend at the moment.

49er
11-14-2005, 09:05 PM
Sorry for posting this a little later, i was waiting for a PM, then i just forgot about it. Heres my code, for the legend to be in a collapseable table style.

Find:
------------------------
$todayloggedinusers
------------------------
Below Add:
------------------------
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('forumhome_legend')"><img id="collapseimg_forumhome_legend" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_legend].gif" alt="" border="0" /></a>Legend
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_legend" style="$vbcollapse[collapseobj_forumhome_legend]">

<tr>

<td class="alt2"><img src="$stylevar[imgdir_misc]/user_today.gif" alt=" Legend" border="0" /></td>

<td class="alt1" colspan="0"><div class="smallfont">
<i>Legend:</i><font color="COLOR">[<b>Administrator</b>]</font>, <font color="Orange">[<b>Moderators</b>]</font>, <font color="COLOR">[<b>Super Mods</b>]</font>
</div></td>
</tr>
</tbody>

**Note: Replace COLOR with the color that you want the name to be in.

To add more ranks, add
, <font color="COLOR">[<b>GROUP NAME</b>]</font>
after the others.

And Upload this image, you dont have to use it, but make sure you have a image to replace it with with same name if you dont want to use it.

http://www.gfxwiz.net/forums/wizards/misc/user_today.gif
http://www.gfxwiz.net/forums/wizards/misc/user_today.gif



Live Preview: http://www.forums.theoryconcept.net
sorry for been such a noob but where do i actually find $todayloggedinusers so as to enter the code?

thx :ermm:

sohail
11-19-2005, 10:01 AM
hi, i m new and i can get only admin colr not any Mod r other group i have 3.5.1 may any help plz

Tony G
11-19-2005, 11:37 PM
What do you mean, can't get any mod colour?

sohail
11-20-2005, 06:48 AM
What do you mean, can't get any mod colour?
i can get color change to ADMIN Group but not to MODERATOR AND SUPER MODERATOR Group have any idea?????

Rickie3
11-20-2005, 10:18 AM
go to usergroup in admin cp select usergroup you want and in Username HTML Markup put this in the first box ,,,<font color="blue"><b> and in the box after that place </font>,please note blue is only an idea you can put any color you want

sohail
11-20-2005, 11:00 AM
Hi, i add this html but only my Admin group get color MOD group and SMOD is not get any color i change to many color and try with hex code also but no any responce thats why i ask here for expert thankx :disappointed:

BackSideSA
11-28-2005, 12:40 AM
will this work or transfer over to vb3.5

amykhar
11-28-2005, 01:10 AM
I have one for 3.5 that is a dynamic plugin.

Dead End Society
12-17-2005, 02:43 PM
^ I like this one better.....will it work on 3.5 anyone?

tekram
12-27-2005, 09:13 AM
Yepp nice idea, installes and works fine

G-Unot
01-08-2006, 05:11 AM
Nice I installed :)

It looks pretty cool.

cOuNtErFiET
02-03-2006, 07:01 AM
ok what is the line to get the legend that Dark Riku created above the Active Uers so this is the first collapsable block instead of the Active Users anyone know right off hand? i really like this as its own legend vn good work

AKapadia
02-17-2006, 03:02 AM
is this hack work on 3.5.3 ? or anyhting for that let me know thanx

demojames
02-17-2006, 07:33 AM
Nice! Works perfect on 3.0.12! :up:

Thanks!

bigcurt
03-10-2006, 05:11 PM
I am sorry if I missed support while I have been gone, I know this is an old hack but if anyone still needs help they may PM me or reply on this thread and I will be more than glad to help

~curt

Mano
03-13-2006, 02:46 PM
Thx I just installed it, looks great! :banana:

Scootro
03-13-2006, 07:47 PM
Cool hack. Thanks.

putergirl
06-02-2006, 04:07 PM
I have a question for you.. I have several index.php's.. which one do I edit? The one in the main folder doesn't have that text, and I don't want to put it somewhere it isn't supposed to be. help? thanks. :)

Zelos
08-01-2006, 04:10 AM
I just installed this in 3.6 and it works just fine. Simple to install and handy to have :)

j1mmy
08-01-2006, 09:16 PM
I have a question for you.. I have several index.php's.. which one do I edit? The one in the main folder doesn't have that text, and I don't want to put it somewhere it isn't supposed to be. help? thanks. :)

You you are supposed to edit it through the admincp. Find the FORUMHOME template and you can use the 'find' feature to find the code you need to locate to edit the template.

To find the template, you click,

Admincp>Style manager>Edit templates>forum display templates> FORUMHOME.

thats the template you need.

j1mmy
08-01-2006, 09:17 PM
Great plug-in, but how can i edit this to work on secondary usergroups?

buidoi
01-20-2007, 06:48 PM
y can't i find the code on my post lengend skin

FRANKTHETANK 2
02-19-2007, 06:46 AM
I love it good stuff bro.

bullboykennels
02-23-2007, 07:49 AM
Yes this does work perfectly in VB 3.6.4

Great work on it by the way.

bigcurt
03-11-2007, 08:34 PM
Thanks guys. Sorry I haven't been here to check up on things lately..been crazy busy.

bigcurt
06-12-2007, 05:09 PM
To update everyone - this does work with 3.6 and all versions below.

xxxclubk1dxxx
10-20-2007, 08:18 AM
v3.6.8 is supported by this add on?

bigcurt
11-05-2007, 11:24 PM
Yep - sure is. Make sure to click install as well if you use it :).

shoaib
04-01-2008, 04:41 AM
can you please guide me the steps,

as i want admin to be colored as red,
how can i do so?

shoaib
04-01-2008, 04:50 AM
can you please guide me,
i have installed it,
and done it
but how can i put the users in that,
as i am inserting an image,
that is my admin he is not in red color,
how can i do so?
please guide me,
i'll be thank full

oldfan
06-13-2008, 11:26 PM
installed again, works with 3.6.7

Warion
07-01-2008, 12:29 PM
Does thiss work with vBulletin 3.7.2?

shotkey
08-19-2008, 02:49 AM
The colors work fine but when I enable this it adds a second set of legends (the ones with the [] brackets) on top of the ones that are supposed to be shown - see below. Disabled everything is normal - anybody have any ideas on whats wrong?

With hack enabled:
Most users ever online was x, Today at 11:04 PM.

[ 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 11:05 PM.
admin

Legend:
[ Administrators ] [ Super Moderators ] [ Moderators ] [ Registered Users ]