Log in

View Full Version : Forum Home Enhancements - Usergroup Legend


Charlie98902
11-15-2009, 10:00 PM
This will add a usergroup legend on VB4.

All code is editable too.

01/03/2010 - Added the .txt file.
6/23/2010 - Thanks to Boofo (https://vborg.vbsupport.ru/showpost.php?p=2058504&postcount=22) There is a product also now instead of template edits. However to get the colors like you want you will want to use a editor like notepad ++ or similar to change the colors and group names.

Changed the name to not make the other author mad.

3/17/2011 - Made a few tweaks. Works on 4.1.2 now.

Please feel free to do other languages as well.

106180

109033

exPersian.com
11-16-2009, 10:05 AM
Thanks

abdobasha2004
11-16-2009, 11:18 AM
looks nice thanks
up till now I have reviewed many template mods for vb4
but cant see the exact change in vb coding in templates

rtyagis
11-16-2009, 01:31 PM
Thanks!

Neo_obs
11-16-2009, 08:12 PM
You can just search for
<!-- end logged-in users -->
and put the code above it

Also I noticed some issues in the code like the font changing I would review the code before putting it on your site. And you will have to change the colors as well. Here is mine for the test forum.

<div><hr />
<font size="1">Legend: |
<b><font color="#FF6600">Administrator</font></b> |
<b><font color="#FF9933">Moderator</font></b> |
<b><font color="#00FF00">Beta Tester</font></b> |
<b><font color="#66FFFF">Premium User</font></b> |
<b>Registered User</b> |
<b><font color="#AAAAAA">Limited Access</font></b> |</font>
</div>

johnrizz
11-17-2009, 10:17 PM
Is there a file you need to upload with this?

Charlie98902
11-17-2009, 10:25 PM
No it is just template edit.

SİMAR
11-19-2009, 10:48 AM
Thanks! nice

Dr.osamA
11-22-2009, 04:07 AM
thnxxxx man
________
FISTING TEEN (http://www.++++tube.com/categories/578/teen/videos/1)

odln018
12-07-2009, 12:33 PM
Is there a way to reduce the font size for the "YOU ARE CURRENTLY LOGGED IN AS?

Charlie98902
12-07-2009, 01:07 PM
Is there a way to reduce the font size for the "YOU ARE CURRENTLY LOGGED IN AS?

This has nothing to do with the legend mod here. Please post your help question(s) in the proper section of the forum.

odln018
12-08-2009, 12:59 AM
Ah.

Charlie98902
12-14-2009, 04:20 PM
If there is a great CSS coder out there feel free to convert this to CSS rather than a template edit. I will gladly put it in the first post giving proper credit as well.

badawidollah
12-15-2009, 01:37 AM
not work for me
i am using RC2

Charlie98902
12-15-2009, 02:01 AM
not work for me
i am using RC2

Yes it works fine you just need to put it back in as it shows in my site. During the upgrade to RC2 the template was overwritten.

badawidollah
01-24-2010, 08:31 AM
Yes it works fine you just need to put it back in as it shows in my site. During the upgrade to RC2 the template was overwritten.

no usergroup active colour changed in Currently Active Users

Charlie98902
01-24-2010, 01:04 PM
This does work it is just a template edit so as long as it is in the place mentioned it works as it is on my end.

Charlie98902
06-23-2010, 09:18 PM
Works on 4.0.4 too.

Boofo
06-23-2010, 09:57 PM
Or you could use a plugin and add it to this hook:

{vb:raw template_hook.forumhome_wgo_pos2}

Charlie98902
06-23-2010, 10:10 PM
So add the coding as a plugin then use the hook location as you pointed out then it'll auto add this? I didn't see that hook location to do this.

Boofo
06-23-2010, 10:56 PM
So add the coding as a plugin then use the hook location as you pointed out then it'll auto add this? I didn't see that hook location to do this.

Ok, I messed with it and got it to do this with a product. Try this and let me know what you think.

Also, it has a couple of templates cached for vb 4 that weren't cached in the final version. Don't worry about those. They are nothing. And don't pay attention to the file name. I just added this to it.

Charlie98902
06-23-2010, 11:18 PM
Works for me Go ahead and release it if you want as you made the plugin/product from the template edit. The only thing I have to do is edit it for my colors. Or I can release it and give you credit either way don't bother me.

Boofo
06-23-2010, 11:22 PM
Go ahead, it's your to do with as you wish. It took me all of 5 minutes to do. So I am kind of tired now. ;)

Charlie98902
06-23-2010, 11:46 PM
After you do the groups and colors to your liking this won't mess up even on an update of vbulletin now unlike it does with a template edit. Credit given to Boofo as well for his help.

Boofo
06-23-2010, 11:53 PM
You might want to look at the download you posted. That is not what I sent you. That is someone else's release.

Charlie98902
06-24-2010, 12:09 AM
I edited the title and description & usergroups that's all.

Arunkumar
06-26-2010, 12:12 PM
Downloaded and installed. Looks good. Thank you.

steve1966
02-21-2011, 06:34 PM
thank you

venom2124
02-21-2011, 06:53 PM
Has anyone tried this with 4.1.2 to see if it will work.

Boofo
02-21-2011, 07:04 PM
This one works fine with 4.1.2.

COL NIL SATIS
02-21-2011, 08:29 PM
will try this now,thanks guys

venom2124
02-22-2011, 02:24 AM
Okay so what do I need to do to install this. I see the different products and stuff tried installing and don't see anything with 4.1.2.

So any help would be great.

Boofo
02-22-2011, 02:32 AM
Download Usergroup_Colorbar_Legend.xml and install it.

archet1337
02-22-2011, 02:34 AM
Okay so what do I need to do to install this. I see the different products and stuff tried installing and don't see anything with 4.1.2.

So any help would be great.

I just installed it on my 4.1.2 board manually editing the templates. Worked great :)

Did not install the products.

venom2124
02-22-2011, 02:58 AM
Yeah that's what I ended up just doing.

Had to edit the user groups anyways to make them match what I had going on.

qubed
02-22-2011, 01:58 PM
Works wonderfully for me on vb4.1.2 as well.

leclownos
02-22-2011, 02:15 PM
Merci pour cette correction

ozzy47
10-13-2013, 01:11 PM
Here is my version of the mod, it has a few more options.

[OzzModz] Usergroup Color Legend (https://vborg.vbsupport.ru/showthread.php?t=303341)