Some Member Avatars Do Not Show On Comments

Sometimes a member will post a comment to another member's post but their avatar doesn't show up. Please see https://blog.christiangays.com/the-first-time-i-heard-about-an-actual-gay-person/

Notice that the avatar is the generic monster avatar when it should be the image of the member.

Support access is granted. Thank you.

    James Morris

    Hello Mary,

    I hope you are well today.

    I checked your settings and the source of the comment in question. Everything seems to be in order.

    Your Discussion settings are set to default to the Monster Avatar if the user has not uploaded their own or does not have a Gravatar associated with their email. Screenshot: https://goo.gl/LryNCi

    Then, I checked your BuddyPress settings and it is set to allow Avatar uploads. See screenshot: https://goo.gl/km14Dk

    Next, I checked the source code of the comment in question. There was no user id or profile URL. I searched your users and found a similarly named user, but it wasn't the same. I then checked the comments moderation panel and the email address associated with the user showing the Monster avatar is not the same as the user with the similar name who is a registered user.

    So, given the example provided, I believe this is a non-registered user who commented who does not have a Gravatar associated with their email address, thus they are assigned a generated Monster avatar.

    I hope this clarifies a bit.

    Best regards,

    James Morris

    Mary

    Thanks James. I guess I should have given more information.

    The person making the comment is "Tom". I have the same scenario with "Bruce" (and others). I assumed as you did, that they posted the comment as a guest when they weren't logged in, and they each entered a different email address. This is what Tom did, but Bruce only has one email address. I changed Tom's email address to match his User address, but their avatars are still not showing up.

    You can check Bruce's avatar at https://christiangays.com/wp-admin/edit-comments.php since I have since removed the comments on the home page.

    Both Bruce and Tom have been with me for the past 15 years or so. They have ALWAYS had their own unique avatar.

    Luís

    Hi Mary ,

    Hope you're doing well today!

    Firstly, thanks for your patience here.

    I made some tests in my site as well as in your site too and I think this is related to BuddyPress and it's avatar.

    Firstly, as my teammate James mentioned, I think the users "Tom" and "Bruce" added the comment as "logged-out" users, and they have their own avatar (as you mentioned) in your site, not in Gravatar:

    https://en.gravatar.com/

    So, if you have a "gravatar" (Globally Recognized Avatar) and if you use your email address (the same used in the gravatar account) your "gravatar" will be automatically added, even you are commenting as a logged out user.

    The same thing not happens with the BuddyPress avatars. If you add a comment as logged out user, even using the same email used to create the account in the site, it will not add the avatar.

    If you want to test this, please try:

    1) If the email address used in your site account is not associated to Gravatar, try add a comment in your site as a logged out (guest) and add that email;

    2) Go to the "Comments" section and check which avatar was added. It should be the generic image, in this case the Monster avatar.

    3) Login with your account and add a comment.

    The Avatar image added to the BuddyPress profile, only works if the user is logged in, it not automatically sync based on the email address, like "gravatar".

    I hope this information has been helpful.

    Cheers, Luís