• Resolved rxcknrxll

    (@rxcknrxll)


    I have a multisite with one site in particular that is showing the wrong gravatar for it’s user. A client of mine writes the blog while I handle the tech stuff, so we both have accounts on the website. When he comments on one of his own posts, his gravatar doesn’t up. Mine shows up instead.

    His gravatar works fine everywhere except the comment section. I’ve confirmed that his correct email address is associated with each of this comments, but my gravatar is still showing up in place of his.

    I’ve tried deleting my profile, but that doesn’t fix it. I’ve disabled all plugins, and I’ve reverted back to 2012 default theme. Nothing seems to fix it. For some reason, the site is pulling the gravatar for the network admin (me), not the gravatar associated with the person actually commenting.

    This isn’t happening on any other site in the network. It’s an isolated event as far as I’ve seen so far. Since I’ve ruled out the plugins and the theme, it’s gotta be WordPress files, correct? I’ve also recently optimized the db, so I’m honestly not sure what to check next. Any insight is much appreciated!

Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter rxcknrxll

    (@rxcknrxll)

    Here’s a link to a post where this can be seen:
    pagunview.com/2013/06/27/anti-theism-sign-up-here/

    Every comment by “Pagun” has my gravatar next to it, not Pagun’s. He’s using the right email address, and his gravatar works everywhere else on the website just fine. It just doesn’t work on the comment section.

    Thread Starter rxcknrxll

    (@rxcknrxll)

    I’ve had three developers look at it. I’ve also had the theme developer Studiopress look at it. So far no one has any idea.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Is this only happening on this site?

    I mean… if he leaves a comment anywhere else, does it happen?

    Thread Starter rxcknrxll

    (@rxcknrxll)

    I don’t know if his gravatar works on other domains. I assume it does. I just know that it works on this website too…just not in the comment section. It’s really got me tripped up.

    I found one post that has his correct gravatar on one comment and my gravatar on one of this other comments:
    http://pagunview.com/2013/01/01/the-times-just-might-be-a-changin-back/

    I checked both comments on that page, and he has the same email and name written on both of them. But for some reason a different gravatar shows up. What the heck could be causing this? I know it can’t be the theme files, because even when I switch themes, it keeps happening.

    Thread Starter rxcknrxll

    (@rxcknrxll)

    Thread Starter rxcknrxll

    (@rxcknrxll)

    That image shows two comments by the same author. The top one displays the correct gravatar, the bottom one displays my gravatar. Both have the same email address and same name, but they display different gravatars.

    I just noticed something new. The comments preceding 9/15/13 (just about when we migrated the website into multisite) all display the wrong gravatar. All comments made since then have all posted the correct gravatar.

    So it’s gotta be a db issue right? If so, what tables need repaired?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    The … ‘name’ is different.

    The top gravatar, the correct one, is pagun

    The bad one is Pagun.

    Thread Starter rxcknrxll

    (@rxcknrxll)

    The gravatar is just associated with the email address, isn’t it? In any case, what could be causing all the gravatars preceding a certain date to display the wrong image?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Yeah, but I’m trying to grab for oddities. Most people let auto-fill handle it, or if you’re logged IN, it should never ever change (or rather, if it changed, it would change for all posts). Example. At one point my display name here was Ipstenu. WHen I changed it to this, it changed for every post I ever made. WP is the same way.

    I know this. If you make a comment with one email, and then CHANGE the email in wp-admin, it doesn’t fix the gravatar… Caching somewhere in there.

    But the fact that the ‘right’ ID has lowercase name, and the ‘wrong’ does not makes me think something in there is to do with this.

    Thread Starter rxcknrxll

    (@rxcknrxll)

    I noticed that too. I’ve tried changing the name, and it doesn’t fix it.

    Thread Starter rxcknrxll

    (@rxcknrxll)

    Bottom line, every comment prior to Sept 15 shows the wrong gravatar. I’m starting to think more and more that it has to be a database issue. The wrong gravatar is being called for some reason. Is there a way to reboot this? A db search and replace or something like that?

    Thread Starter rxcknrxll

    (@rxcknrxll)

    I even just installed WP User Avatar plugin, which basically takes gravatar out of the mix and associated a picture you upload directly to the website with that user.

    I uploaded the avatar directly to the website, and it STILL doesn’t show his avatar next to his comments.

    Again…everything on or before Sept 15 shows the wrong avatar. Everything since then shows the correct avatar.

    This has to be a database issue, right? But when I look in the db tables, I see the same thing I see in the dashboard. The correct name and email are being used, but for some reason it’s referencing a different avatar.

    Does anyone have any idea what could be causing this?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Run a DB omptimize and repair.

    I don’t really know if it’s a DB issue. I’ve never seen it before.

    I don’t know if his gravatar works on other domains. I assume it does. I just know that it works on this website too…just not in the comment section. It’s really got me tripped up.

    Please DO test this on other domains.

    Also are you 100% sure he left those comments as the logged in user? I’m really serious about checking this, becuase if so, there is NO WAY WP would have pulled in a different capitalization. I think that’s going to be the key to solving this.

    Are you using a plugin with comments, like Jetpack comments or Disqus? Maybe his account there is what’s jacked…

    Thread Starter rxcknrxll

    (@rxcknrxll)

    I’ve optimized and repaired db. That didn’t change anything. I’ve confirmed that the gravatar works just fine on other domains.

    We’re not using any comment system like Disqus, etc. Just native WP comments.

    Thread Starter rxcknrxll

    (@rxcknrxll)

    I’ve noticed I can go in and simply repost the comments. Since I’m posting now, the right gravatar shows up. Very time consuming fix for this issue though.

    If I go to the admin section and change the email address of an existing comment, it continues displaying my gravatar. Then I change it back to the correct email address, and it just goes right on showing my gravatar no matter what.

    It seems the gravatar is assigned to the comment at some point, and after the gravatar is attached to a comment, it’s set in stone. Is there any way to “reboot” the gravatars? Can I cause the db to pull the gravatar again, hopefully pulling the correct image this time?

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘One site in multisite shows incorrect gravatar next to admin comments’ is closed to new replies.