![]() |
Show an Avatar on Who's Online Above the Username
This one is a quickie PLUGIN that I threw together. Hope you like it.
Update - I changed the template to show the avatar over the username instead of replacing the username. |
I think it's great but I would still have the username there, too, for those that don't associate the avatar with a username. ;)
|
Just slap it under the avatar picture in the template. That's what I ended up doing for the same reason :D
|
great from a great Coder ........ Installed
|
thank you dear i requested this hack, i appriciate you doing it for me.
|
The added username is a good improvement. Some people like to change their avatars alot.
Nice hack. |
I was going to start working on something like this for my board, thanks for saving me some time! :D
|
could you please help me out amykhar? i also installed your column on the right side of the forum plugin.
now i want to show a quick who's online table in there that shows only the avatars, and next to it their username, or maybe even just a link to where they currently are. could you show me how do do that? |
Cool Idea Amy, I may use this.
|
How would I add the usernames back along with the avatars?
|
Instead of doing a replace in the template, you would paste the code above.
|
I get this error when I post right above it
The following error occurred when attempting to evaluate this template: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in \includes\adminfunctions_template.php(3519) : eval()'d code on line 11 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
Quote:
I also get this error. |
use this replace block instead:
Code:
<if condition="$show[loggedinuser]"> |
Works great. Thanks
|
looks great :) but will create load on the server :(
|
Nice easy hack and I love it, your awesome!
|
This is cool. What about having an option to display the profile pic instead of an avatar?
Jim |
What if 2 or more users have the same avatar ???
|
If you've put the name under it, that won't be a problem.
|
I'd kiss you, I've been trying to figure this one out myself Amy!!!
|
Does it resize the avatars? This could get kinda messy
|
works great, installed :)
[high]* The Chief clicks install[/high] |
Do someone mind tweaking this so that i shows the last person who signed on in a block for VBad? Something that would show the person's avatar and their name under it. Then another link under that which would point to all those online at that moment.
|
Quote:
U can set what size limit u want avatars to be in admincp |
Quote:
|
I tried this and it doesn't show. What could I be doing wrong? I like the concept of the avatars.
I uploaded the plugin and added the code but I don't see any results. Do the avatars show up on the forum home page near the bottom of the page? I am using 3.5.2, could this be the problem |
amy would there be a way to display the avatars say 4 colums a row?
|
Very nice addition thank you! *Clicks Install*
|
Nice :)
|
I changed the template directions to put the avatar over the username instead of replacing the username.
|
Nice update, but that was the first thing I did. Amy, any thoughts about 5 colums of users?
|
It's not something I'm going to tackle because I don't need it. Sorry.
|
And you're right....
The thing about those hacks is that I never know how to begin. So if a coder lik Amykhar posts a hack, I'm normaly able to costumize it to my needs. At least I try to. Cause everybody just wants it a little bit different. A hacker can never make something to everybody's liking. But they always did the difficult job of figuring out where to put something. And that is why I love this forum so much :) |
After looking at the php files and it would be a seprate process from this hack.
|
This is working great for me! Thanks amykhar!
I notice though, that users without an avatar show up as a "broken image" icon. Anyway to make them appear as blank space, or a generic "no avatar" GIF or something? Cuz currently it looks ugly (or worse... broken.) |
is there anyone to do this in the forum home page's What's Going On? Instead of showing who's online via username, it'd show the avatar. Is this possible?
|
Quote:
I resolved this, by the way, by uploading a suitable "no avatar" image to my style's images/misc folder, called "noavatar.gif" |
is there anyway of showing this directly on the forumhome's who's online part? i'm actually trying to display it in a module on vbadvanced, but haven't been able too nor do i know anybody working on it.
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=110058 |
All times are GMT. The time now is 04:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|