Hi there,
I see a single call out on page load that is insecure to https://i1.wp.com/disable_gravatar_buddypress
Is there a way to force this to be https (I’m comfortable doing a quick change to plugin code if you can show me what to change)
I’m also curious whether there’s a way to prevent this call as well.
The entire site is served over https, so this generates mixed content warnings in the browser
thx
]]>Hey,
The default avatar via buddypress doesn’t seem to use the link set in discussion settings for default avatar. Instead it reverts back to the buddypress avatar from the plugin.
I set the option ‘Default Avatar via Buddypress’
I temporarily worked around this by just copying over the buddypress plugin avatar in /wp-content/buddypress/bp-core/images
Would be great to have a fix though.
]]>Is it also possible to disable gravatar when using Jetpack as active plugin?
Because I activated this plugin, but facebook still shows me that it is using a gravatar image as og:image
( I also deleted my cache and used the facebook linkt tool)
Hi Marcus,
After setting the default avatar path, all user default avatars were removed.
This leaves us with comment sections without avatars.
Is there a way to solve this?
Thanks
]]>Hi
the plugin seems not to work, as you may see here:
https://www.catherine-leichsenring.de/test-blog/2018/08/05/hallo-welt/amp/
There still is a Connection to gravatar as you can see in the html view.
Any ideas?
Cheers
Hansj?rg
I just migrated php to 7.2 and reviewing all installed plugins. I do have problems with your plugin:
Deprecated: Function create_function() is deprecated in disable-user-gravatar/disable-user-gravatar.php on line 35
add_filter('user_profile_picture_description', create_function('$desc', 'return "";'));
This should be really easy to fix by using an anonymous function or a utility function of WordPress:
add_filter('user_profile_picture_description', '__return_empty_string' );
I have tested this by modifying the filter to always return “Hello World”. After this I verified the behaviour by looking under a profile picture and “Hello World” was printed.
Then I applied my Patch to use '__return_empty_string'
. After this there is no output there.
1. I’m not sure if __return_empty_string
is appropriate because of the parameters. But I don’t get an error complaining about missing parameters of __return_empty_string
.
2. According to the user_profile_picture_description hook there is a second parameter $profileuser
since WordPress 4.7.0. This one is missing in your current implementation by the way.
Target WordPress version: since this fix uses__return_empty_string
which was introduced in 3.7.0 the target version might increase. If this is not acceptable just use a anonymous function.
Please note: you use __return_true
which was introduced in 3.0.0. But the plugin min version is 2.7.0. Please increase to at least 3.0.0.
The plugin did not disable Gravatar third-party requests for BuddyPress, you have to use add_filter('bp_core_fetch_avatar_no_grav', '__return_true');
.
It would be nice if this plugin disables all gravatar connections at all. I don’t want my site to send data / requests to gravatar at all.
Could you implement such an option?
Thanks,
Daniel
Hello…
Unfortunately it seems this plugin does not work anymore.
Is there any chance for an update?
Hello !
$user = get_user_by_email($id_or_email);
… should be replaced by :
$user = get_user_by('email',$id_or_email);
… in disable-user-gravatar.php (line 49), due to get_user_by_email function deprecation since WordPress 3.3…
Thanks !
Yann Lossouarn
I’m don’t know the specifics of your formula, but from what I can tell your plug-in doesn’t actually prevent WP from phoning home to the gravatar mothership. Instead it just changes the letters so gravatar won’t be able to track specific individuals by their e-mail address. At first I thought it was a slick hack, but it still lets gravatar collect the IP addresses whenever any avatar is displayed as they visit a wordpress site. While better than nothing, it’s still capable of tracking people across the internet. Any thoughts?
https://www.ads-software.com/extend/plugins/disable-user-gravatar/
]]>Whilst we still prefer you use our forums to get support, it’s all in one place, now thanks to the email subscribe feature on these forums feel free to ask on here too if you must!
https://www.ads-software.com/extend/plugins/disable-user-gravatar/
]]>