zikula-modules / DizkusModule

Official repository for Dizkus, a fully integrated forum solution for Zikula 1.4+
21 stars 7 forks source link

User Avatar broken if they don't have Gravatar #217

Closed damon18 closed 11 years ago

damon18 commented 11 years ago

If a user doesn't have a Gravatar associated with their email there is no default avatar displayed.

Looking at the html where there is a broken image, the code is trying to pull the default Gravatar logo but failing.

<img class="gravatar" src="http://www.gravatar.com/avatar.php?gravatar_id=a0c394e31c9740376635c8878cf5889e&amp;size=80&amp;default=http%3A%2F%2Flocalhost%2Fcore%2Fsrc%2Fimages%2Favatar%2Fgravatar.gif" title="newuser" alt="newuser" width="80" height="80">

In fixing this issue I would like to request that the site admin could set a default image for the avatar rather than automatically using the Gravatar default. Maybe that is handled by the Avatar module but currently it doesn't work in the latest core.

image

craigh commented 11 years ago

I'm not sure if this is a dizkus or core issue. I think the plugin is in the core?

craigh commented 11 years ago

the useravatar template plugin is a core plugin. please refile a ticket with the core.

craigh commented 11 years ago

for reference: http://stackoverflow.com/questions/2683803/gravatar-is-there-a-default-image

please open a ticket in the core ;-)