User Icons Testing
-
These look awesome! I did something like that for BuddyPress (remove the need for Gravatar) by drawing GitHub-style "identicons" (see here) for users without a profile photo. My project used the GD PHP library so it won't be useful here but it's great to see you're going to be removing (many) calls to the (external) Gravatar service.
-
Many users were concerned over privacy implications of sites using Gravatar (such as letting Gravatar know what sites they were on based on image load).
We could solve this by saving the images locally, but we may as well remove it altogether.
-
Wait... wait, green?
-
@xen So, somehow the other images are getting pushed down by
1px
, which is causing the whole card to have1px
more height.The thing is, I have no idea WTF is causing that. Fucking CSS.
-
Yup,
.user-icon
is the offending class andline-height
is the offending property. -
Interesting! Is this on master already?
-
Another bug is the sidebar on mobile login.
Seems like no default is set for a guest user. -
Simple fix.
Remove the
left: 22px
from
#menu .chat-list li a .user-icon+i, .header .chat-list li a .user-icon+i
...I think thats it.
-
I must say, its nice to see that NodeBB won't depend so much on outside resources by default.
-
@julian said:
You may have noticed I now have a user icon instead of an avatar... we're testing something new because we're looking to remove gravatar from core
New users will still show their old avatars (gravatars or not), so hopefully this isn't a breaking change. Please report any oddities here (such as user icons missing).
Will you keep gravatar as a plugin?