Jump to:

1036 Posts in 810 Topics by 315 members

Forum Module

SilverStripe Forums » Forum Module » Default Avatar = Broken Image

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2174 Views
  • socks
    Avatar
    Community Member
    190 Posts

    Default Avatar = Broken Image Link to this post

    Forum module - trunk 84981
    SS - 2.3.3

    - Viewing the list of posts for a topic, the default avatar shows a broken image.

    - Viewing the profile of another forum member, the default avatar shows properly.

    - Viewing your own profile, (when custom avatar hasn't been uploaded) the default avatar isn't shown (not a broken image, just doesn't display).

    I know the added Gravatar functionality says if you don't upload avatar then it will use the Gravatar, but it seems that should only work if a Gravatar exists.

    thanks

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Default Avatar = Broken Image Link to this post

    What is the broken image's path? Is it trying to use the gravatar url? If you disable looking for gravatars then does it display correctly?. You might like to open a ticket on open.silverstripe.com to track this issue.

  • socks
    Avatar
    Community Member
    190 Posts

    Re: Default Avatar = Broken Image Link to this post

    src="http://www.gravatar.com/avatar.php?gravatar_id=bb33af3559f108045fdb2ca8044f2680&default=
    forum%2Fimages%2Fforummember_holder.gif&size=80"

    After I disabled Gravatars in the Settings tab, the default avatars did display properly.

    I'll open a ticket later today or tomorrow. Already one there... http://open.silverstripe.com/ticket/4229

    Thanks willr for the help.

  • socks
    Avatar
    Community Member
    190 Posts

    Re: Default Avatar = Broken Image Link to this post

    I posted a possible fix at the link above.
    On the ticket, I meant to say line 250 on ForumRole.php.
    I don't claim to know what I'm doing, so someone should verify the solution works and is the best solution.

  • lluis
    Avatar
    Community Member
    3 Posts

    Re: Default Avatar = Broken Image Link to this post

    Thank's!

    I had the same problem and this works correctly!

    2174 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.