Post-upgrade from 1.2.19 -> 1.3.1, Gravatar default issues

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
darias.soa
Posts: 2
Joined: 14 May 2015, 19:58

Post-upgrade from 1.2.19 -> 1.3.1, Gravatar default issues

Post by darias.soa »

Has anyone updating from the 1.2.x release series over to the 1.3.x release series had issues with an inability to configure the $g_show_avatar = configuration option in config_inc.php?

After updating, using the same configuration:
$g_show_avatar = 'blank';
our default "this user doesn't have an avatar" avatar is the ugly as sin Gravatar identicon. We want it to show up as blank as before, but no matter what I attempt we're getting that identicon.

I have also tried setting a direct link to a transparent one pixel .png file to no effect.

I assume it's just not working for me and this isn't a more global problem, but does anyone have ideas on why this is an issue?

Thanks!
darias.soa
Posts: 2
Joined: 14 May 2015, 19:58

Re: Post-upgrade from 1.2.19 -> 1.3.1, Gravatar default issu

Post by darias.soa »

I suppose I can ~mostly~ answer this myself, instead of configuring it in the config_inc.php it appears that the only place to set the default avatar value is within the ./plugins/Gravatar/Gravatar.php file.

The desired configuration (blank avatar for users with no Gravatar) is when:

                        'default_avatar' => self::GRAVATAR_DEFAULT_IDENTICON
is changed to:
                        'default_avatar' => self::GRAVATAR_DEFAULT_BLANK

That's all. I'm finding all sorts of neat little things post migration from 1.2.x to 1.3.x.
Post Reply