1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Beta Avatar Identicon by Iversia 1.2.2

Replaces XenForo's default avatars with Gravatar's Identicons or RoboHash

  1. Iversia

    Iversia Well-Known Member

    Iversia submitted a new resource:

    [Iversia] Identicon - Replaces XenForo's default avatars with Gravatar's Identicons

    Read more about this resource...
     
  2. Iversia

    Iversia Well-Known Member

    Adam Howard likes this.
  3. silence

    silence Well-Known Member

  4. Iversia

    Iversia Well-Known Member

    Could be. That's actually the original code that Gravatar (WordPress/Automattic) used to generate their Identicons. They just turned it into a service instead of a self-contained package. :)

    That said, I'm not sure how bad performance issues with this current setup are. It might actually be alright. More testing is certainly needed though. I haven't had the time to do any proper benchmarking. Gravatar has also improved as a service over the years too, so there might not be any performance issues at all. Hard to say.

    Edit: Performance issues are actually looking to be fairly minimal. While it's extra HTTP requests, Gravatar really has gotten better. They've been serving over 100,000 requests per second, with most requests loading in under 100 milliseconds. Pretty impressive.
     
    Last edited: Oct 26, 2013
    Breixo, Adam Howard and silence like this.
  5. Iversia

    Iversia Well-Known Member

  6. Iversia

    Iversia Well-Known Member

    Adam Howard likes this.
  7. Adam Howard

    Adam Howard Well-Known Member

    @Iversia I'm loving this little add-on. It got so dull seeing people join and sticking to that default. Adding this also has given my members a little bit of humour in what some people ended up (a little bit of an ironic feeling for others).

    Keep up the good work :)
     
  8. Adam Howard

    Adam Howard Well-Known Member

  9. Iversia

    Iversia Well-Known Member

    Adam Howard likes this.
  10. motowebmaster

    motowebmaster Active Member

    Is there a way to cache the retro avatars?
     
  11. motowebmaster

    motowebmaster Active Member

    I think I've found a way to force them through my CDN, going to see how that works for a while (y)
     
    Iversia likes this.
  12. motowebmaster

    motowebmaster Active Member

    What I've learned is that utilizing Gravatar for anything can be a potential issue for some sites.

    In my case, some users were experiencing delays in page load. It appeared to affect only certain users, likely due their proximity to Gravatar's servers. I use this plugin with the Retro avatars selected. Users like it, and it results in a clean presentation of posts.

    My solution to resolving the occasional page-load delays involves modification of Iversia's plugin, and some creative work with my CDN. This solved the performance issues of those that were affected, but it isn't secure.

    Would it be possible for a future version your plugin to copy the avatar image from Gravatar down to the local Xenforo data directory? I think that would be much better than a call to Gravatar everytime.

    The size of these images, and resulting traffic from my CDN, has been amazingly small. Copying the gravatar images down to my server wouldn't take significant space.
     
    Breixo likes this.
  13. Iversia

    Iversia Well-Known Member

    I'll look into it, @motowebmaster. It shouldn't be too difficult. For most sites, loading directly from Gravatar should be sufficient. However I can totally understand wanting this from a security perspective. :)
     
    motowebmaster likes this.
  14. sitwi

    sitwi Active Member

    What a great way to liven up the appearance of my forum - thanks!

    Small problem - I'm using Waindigo's "Last post avatar" and the two add-ons don't appear to talk to each other. It gives the same icon for every "last poster", regardless of who they are.

    Do you have any ideas if this might be a quick fix, please?

    Thank you!
     
    Kevin likes this.
  15. StarArmy

    StarArmy Active Member

    I have a request @Iversia : Could we get support for adding Robohash options?
     
    Iversia likes this.
  16. Iversia

    Iversia Well-Known Member

    Breixo and Kevin like this.
  17. StarArmy

    StarArmy Active Member

    You're awesome!! Thank you so much!
     
  18. StarArmy

    StarArmy Active Member

    Update: Hey, it's not working. It appears that the cause is the icons have a www in the URL and the images only load without the www, otherwise they get an HTTPS certificate error.
     
    Iversia likes this.
  19. Iversia

    Iversia Well-Known Member

    I'll update it to force the HTTPS option. I don't currently have a board that is set up with SSL, so that slipped right by me.
     
  20. Iversia

    Iversia Well-Known Member

    StarArmy likes this.

Share This Page