Περιγραφή
This is a very simple and lightweight plugin that anonymizes default avatars and prevents the user’s gravatar being automatically obtained from gravatar.com based on their registered email. This would be useful for sites where users require an extra layer of privacy, or if you just want to prevent potentially silly or embarrasing avatar accidents.
If you’re using Identicons or any other generated default avatar, the user should keep a consistent avatar unless they change their registered email.
You can also disable Gravatar completely and choose a default image to display.
This plugin is also compatible with other avatar customization plugins such as Avatar Manager, BuddyPress or Add New Default Avatar, since this plugin specifically prevents the gravatar of a specific user email being used and reverts to the default or user-defined avatar.
Important 3.0 Update – BuddyPress users should visit the Settings > Discussion page on your dashboard and choose one of the Disable Gravatar options to restore previous behavior.
If you have any issues or suggestions, please visit our support forums.
If you find this plugin useful and would like to say thanks, please leave us a 5 star review!
Στιγμιότυπα
Εγκατάσταση
-
Upload this plugin to the
/wp-content/plugins/
directory and unzip it, or simply upload the zip file within your wordpress installation. -
Activate the plugin through the ‘Plugins’ menu in WordPress
-
Gravatars should now automatically be automatically anonymized.
-
Visit Settings > Discussion in the dashboard to disable Gravatar avatars completely and choose your own default image.
Alternatively, download the plugin and copy disable-user-gravatar.php to your Must Use Plugins folder, it’ll activate automatically.
Κριτικές
Συνεισφέροντες & Προγραμματιστές
“Disable User Gravatar” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Disable User Gravatar” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
3.1
- fixed BuddyPress compatability issue
3.0
- added options to disable gravatar connection completely and use default image instead
- fixed avatar display issues when BuddyPress is enabled
- added further BuddyPress support to use default image or use BP’s gravatar disabling option
- Notice : BuddyPress users should visit the Settings > Discussion page on your dashboard and choose one of the Disable Gravatar options to restore previous behavior.
2.2
- added filter for BuddyPress fallback on Gravatar (kudos to @baptx)
2.1
- changed object structure to static and updated to be PHP 7 compatible
- fixed bp_core_fetch_avatar showing original avatar when only requesting the URL
- fixed avatars for post author not taken into account in certain situations
- changed member.%USER%@mydomain.com to member.%USER%@somerandomdomain.com for added randomness
- added filter to remove ‘You can change your profile picture on Gravatar’ on profile page