PDA

View Full Version : who's online logos


Cromags21
01-30-2012, 01:49 PM
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/scaled.php?server=515&filename=leaguelogos.png&res=medium

kh99
01-30-2012, 02:26 PM
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
01-30-2012, 09:13 PM
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 1327961952 at 1327961952 ---------------

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
01-30-2012, 09:21 PM
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
01-30-2012, 09:25 PM
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
01-31-2012, 05:18 PM
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 1328034039 at 1328034039 ---------------

I will try the [ vb: if tags ]

Cromags21
02-02-2012, 03:25 PM
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-02-2012, 03:28 PM
If your user info is on the left side like in the picture, then you would want to edit postbit_legacy.

Cromags21
02-02-2012, 07:20 PM
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.