Forum

Avatar Source: Grav...
 
Notifications
Clear all

Avatar Source: Gravatar / Identicon

4 Posts
3 Users
0 Reactions
19 Views
Posts: 23
 lafr
Topic starter
(@lafr)
Member
Joined: 8 years ago

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"


3 Replies
Posts: 23
 lafr
Topic starter
(@lafr)
Member
Joined: 8 years ago

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"


Reply
Posts: 23
 lafr
Topic starter
(@lafr)
Member
Joined: 8 years ago

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

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


Reply
Posts: 28
(@kkrumm)
Member
Joined: 8 years ago

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


Reply
Posts: 1177
Admin
(@stevland)
Member
Joined: 2 months ago

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.


Reply
Share: