[Resolved] Avatar Source: Gravatar / Identicon

    • January 24, 2018 at 2:39 am #691
      L
      lafr
      Participant

      When options under: “scp/settings.php?t=users” is set to Avatar Source: Gravatar / Idention it’s not displaying the identicon just the “grey man”

    • January 24, 2018 at 3:08 am #692
      L
      lafr
      Participant

      Problem is this:
      src=”//www.gravatar.com/avatar/bd5ba0f14becd1bf0cfc950c6a7f13ae?s=80&d=//osticketawesome.com/avatar.png”

      i think it sould look like this:
      src=”www.gravatar.com/avatar/bd5ba0f14becd1bf0cfc950c6a7f13ae?s=80&d=identicon”

    • January 24, 2018 at 3:14 am #693
      L
      lafr
      Participant

      Quick fix:
      File: class.avatar.php
      Edit line 244

      $url .= “?s=$size&d=identicon“;

    • January 24, 2018 at 5:47 pm #697
      kkrumm
      Participant

      @lafr Thats what it supposed look like. Did you read this post? https://osticketawesome.com/forums/topic/avatars/

      • This reply was modified 6 years, 3 months ago by kkrumm.
    • January 24, 2018 at 9:25 pm #700
      stevland
      Keymaster

      Hi @lafr,

      I originally added my “grey man” to replace an (in my opinion) unattractive kangaroo avatar that was used by osTicket core for a user with no avatar assigned.

      Is this guy on your staff?!

      I failed to realize that this broke the new Gravatar options, so thank you for bringing this to my attention and also for taking the time to offer a solution.

      I will have to review why I did this in the first place and I will possibly take your advice and revert back to how osTicket core handles this in a future osTicket Awesome update.

You must be logged in to reply to this topic.