Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Gravatar plugin XHTML compatible

cdavidcdavid New
edited September 2010 in Vanilla 2.0 - 2.8
I couldn't find the Gravatar plugin listed in the Addons section of the website, so I'll just post this here.

The plugin is not XHTML compliant.

Patch:
@@ -74,8 +74,8 @@ if ($User->Photo == '' && property_exists($Object, $Email)) { $User->Photo = 'http://www.gravatar.com/avatar.php?' .'gravatar_id='.md5(strtolower($Object->$Email)) - .'&default='.urlencode(Asset(Gdn::Config('Plugins.Gravatar.DefaultAvatar', 'plugins/Gravatar/default.gif'), TRUE)) - .'&size='.Gdn::Config('Garden.Thumbnail.Width', 40); + .'&default='.urlencode(Asset(Gdn::Config('Plugins.Gravatar.DefaultAvatar', 'plugins/Gravatar/default.gif'), TRUE)) + .'&size='.Gdn::Config('Garden.Thumbnail.Width', 40); } return $User; }
(transform & into &)
Tagged:
Sign In or Register to comment.