Avatars are not shown after upgrade to .18 and .20

Found a bug? Tell us!!
Post Reply
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Avatars are not shown after upgrade to .18 and .20

Post by Hokey »

Hi out there!

Since yesterday no Gravatars or Favatars are shown on my blog. All former versions of the new avatar plugin seemed to work (although I don't know if anyone of my commenters uses Pavatar or MySpace).

But since version 1.18 my Gravatar and the Favatars are not working. You can see my avatar-settings in the screenshot below. I'm using S9Y-1.2-beta2 and PHP 4.4.7.

Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Avatars are not shown after upgrade to .18 and .20

Post by garvinhicking »

Hi!

Indeed a bug. In this line:

Code: Select all

            $url = $serendipity['baseURL'] . $serendipity['indexFile'] 
                . $this->getPermaPluginPath() . '/fetchAvatar_' . $this->urlencode($eventData['url']) . '_' . md5($eventData['email']);
it should read

Code: Select all

            $url = $serendipity['baseURL'] . $serendipity['indexFile'] . '/?'
                . $this->getPermaPluginPath() . '/fetchAvatar_' . $this->urlencode($eventData['url']) . '_' . md5($eventData['email']);
instead (note the extra '/?').

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

This works! :)
Post Reply