vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=277774

who's online logos
by Cromags21
30 Jan 2012 13:49

I am trying to figure out how i can add 2 things to my site.

1- is a logo next to each member name when they are online,I would like it to show up in the Who's online at the bottom of my forums.

2- I will have to post a picture of this next thing I seen this on another site which I thought was awesome. I run a gaming site and we have usergroup for each league and teams that members are on. But we have no way of telling what league members are in. This picture will show you what I mean.

here is the picture of what I am looking to do.
http://desmond.imageshack.us/Himg515...png&res=medium

kh99 30 Jan 2012 14:26

For the logo, is that allowing a user to choose from a set of logos, or do they have to be able to upload their own? If they choose from a set then you could create a custom profile field for them to choose, then use that to decide which image to display.

I'm not sure I understand the second one, but maybe the same kind of custom profile field thing?

ETA: ...or were you hoping for an existing mod? Someone else might know of one.

Cromags21 30 Jan 2012 21:13

No it's actually pre-set when you add the user to the usergroup the logo automatically shows up to let the user/users know he is in that league and that's the team he is on.

I already have the team logo mod set up on my forums. With that MOD anyone can set the team logo in their profile. Which we are trying to get away from users just using it when they are not in any league on our site.

--------------- Added 30 Jan 2012 at 21:19 ---------------

In the 2nd one, The side images are the leagues the members is in...example This member plays in 2 leagues, Fifa and NHL.

kh99 30 Jan 2012 21:21

OK, if I understand what you're saying then that sounds even easier - you just need some code that checks which usergroups a user is a member of and displays some images. You could do that in a template with vb:if tags, but it's probably easier in a plugin.

Max Taxable 30 Jan 2012 21:25

Keep in mind each image is going to be a request, and if you have a hundred or so users online, might cause some slow loading.

Cromags21 31 Jan 2012 17:18

Thank you, I have been looking through the templates,Just not sure which template to edit.

I looked in who's online template,Just have to figure out where to put the coding. I wish someone would make a mod for the usergroup images. If I do come up with something or figure it out. I'll post the information for other members to use.

--------------- Added 31 Jan 2012 at 17:20 ---------------

I will try the [ vb: if tags ]

Cromags21 02 Feb 2012 15:25

ok guys I find a mod that uses usergroup ranking for team images. Here is a picture of what it looks like.

Just 1 question, If I wanted to add the coding to members post like in the picture above, Do I edit the postbit template for this?

http://img190.imageshack.us/img190/5253/ehlteam.png

kh99 02 Feb 2012 15:28

If your user info is on the left side like in the picture, then you would want to edit postbit_legacy.

Cromags21 02 Feb 2012 19:20

Well we would like to have it on the right side of a post,The Left side is where I have it now.

Thanks I will look at the coding an see where I can change things around.


All times are GMT. The time now is 06:04.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.