Jump to content

Avatar issue


Vanrau

Recommended Posts

I upgraded from 3.4.9 to 4.1.19.2 and when I'm looking at avatars in the ACP, most of the users avatar images are broken. Some users have their avatars that uploaded to the site. I'm not exactly sure if these users had gravatars before the upgrade but it seems like every single person I see with a broken avatar image is set to gravatar.

I did a database backup before I upgraded. Where can I check if a user had a gravatar before the upgrade?

Link to comment
Share on other sites

Here is an example when looking at the source of the acp members page for someone with a broken avatar image.

http://mydomain.com/index.php?app=core&module=system&controller=redirect&url=https://secure.gravatar.com/avatar/da3d7f470848669bc56aa9ff3a630461?d=http://www.mydomain.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png&key=c02df6d788f3d6486c92955c95d1929f4c00b23201b829a3b123b297038a4405&resource=1

 

Link to comment
Share on other sites

I'm thinking many of these users never actually had a gravatar for an avatar. Something in the upgrade went in and set them as using a gravatar and their email addresses of course aren't on record for having a gravatar so I get a broken avatar image on the admin panel. I can just change them back to having no avatar one by one and that will fix it but there are hundreds of users like this.

Is there a quicker way I can just select all the users and change them all to not use a avatar? I couldn't find where it stores the avatar info in the database or I would have just run a query.

Link to comment
Share on other sites

That doesn’t sound right. Gravatar isn’t a per-user choice or setting. If there is no image uploaded, the system contacts the Gravatar server to check if there is an image for the email address and if not, it falls back to the theme default image. And that would be the first check for broken images: to see what the check returns and whether the default image exists. But since you didn’t post the actual URL, we can’t do that. If you can’t provide more details, just open a support ticket and let IPS staff check it out on your site. Otherwise it’s just guesswork here. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...