Download & Extend

Duplicate user avatar's for who's online block

Project:Avatar Blocks
Version:5.x-1.2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

hey there,

im currently using this module, and its awesome, love it.. however just one minor snag, some users avatars appear twice sometimes (or more). we've actually been able to figure out that this occurs when they have the site open in more then one tab.

i believe this may be common with drupal? not sure, but i did have to fix it for the regular who's online block -- perhaps a similar fix or preventative measure might be needed for the avatar whos online block? not sure, but i just wanted to point this out as it seems to be an issue that hasnt been posted yet.

any feedback would be great, thanks

Comments

#1

Same exact problem here. I love the block, too! Members do not like to see themselves multiplied, as it singles them out and they don't understand it.
I tried to apply the same fix as for the conventional who's online block out there, but it seems to already be a part of the code.
It must be something else that am not experienced with to know how to find.

Please help... I'd love to keep this block going!

Just a different tip... I was unable to configure these blocks as I only was directed to a white screen when I tried. After cloning the block, I was able to assign the block anywhere I wished. Works great.

#2

Status:active» postponed

By design... at least for now. If you're logged in twice, you'll see your avatar twice, just like the regular who's online block. I'll look into adding a feature to the next release that will provide an option of showing only one instance of an avatar for users who are logged in multiple times.

#3

Status:postponed» needs review

Try the attached patch

AttachmentSize
avatar_block_duplicate_users.patch 1.3 KB

#4

#3 Appears to be working fine on my site, thanks :)

#5

Awesome! thank you My Issue queue for reminding me about stuff like this ;) thanks Samuelet

nobody click here