This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Proper Custom Avatars

Description

WordPress does not have an option to remove calls to gravatar.com, nor to set default site avatars or add custom user avatars outside gravatar.com
Many people claims that calls to gravatar.com slow down the sites and some are just bored of the silly default mystery man or the monsters.
You can disable Avatars completely but this plugin adds functionality to set your custom avatar and the site default one.

**PLEASE upgrade to this version as the previous one had very poor sanitation of the user input **

This plugin adds the following functionality:

  1. Show Avatars
  2. Remove calls to gravatar.com
  3. Use local default Avatar
  4. Add custom avatar for the blog users
  5. Display Custom avatar for blog users
  6. Display default avatar for unregistered commenter
  7. Display custom avatar for comment replies

Submit a Problem or Feature Request

If you have spotted a problem with the plugin or have an idea for a new feature, then please let us know in
Comments posting a comment in the web site.
Do not forget to include as much information as possible and check whether someone else has submitted the same issue before you post.

If you want to donate please feel free buy me a beer from the donation link on the plugin page on my site.

Installation

  1. Extract the download on your computer and upload the proper-avatars folder to wp-content/plugins/.
  2. Enable the plugin from the ‘Plugins’ page.

  3. Go to settings -> discussion; Scroll down to the option to set the site wide default avatar

  4. type or Paste the URL of the Avatar image you would like to use in the field

  5. Go to your user profile and add the url to your avatar (Every user can do that)

  6. type or Paste the URL of the Avatar image you would like to use in the field

FAQ

  1. Nothing yet

Contributors & Developers

“Proper Custom Avatars” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

Version 0.1
* Plugin created

Version 0.1.3
* Updated the path to the default image to make it compliant with WP 3.5.1

Version 0.1.4
* Added folder /img inside “/wp-contents/plugins/proper-avatars”
the plugin will look for “default.jpg” in there to show it.
This was done to fix a hardcoded call to my own site i forgot to remove while testing the custom funtionality

Version 1.0.0

SECURITY UPDATE !!!!

  • WOW, lots done, I don’t know where to start:

    1. Added SANITATION to the input to avoid code Injections!!! (very important)
    2. Added the hability to change the Custom Avatar from the backend, (Uses a row on wp_options table)
    3. Completely filtered out unneeded calls to gravatars.com from the get_avatar function in WP
    4. Solved a bug that scrambled the gravatars in 3.42 and 3.51 (just unset the default Avatars array)
    5. Added a link for support on the backend (please keep it and feel free to post a thanks it feeds my ego)
    6. Got rid of the original code for setting the default site wide avatar that was basically a copy paste
    7. Optimized the filter to get_avatar function to simplify the ifs loop (it is a headache)
    8. The way the code for the Deafult image is inserted in WP will allow to use the PG settings if you desire
    9. No more editing the plugin or dropping files to define the avatars
    10. Solved a bug where the custom Avatar for users was not showing in the backend
    11. Drank about 3 liters of coffee

That’s all for now. (oh yes, better instructions for installation and setup in this read me)

Version 1.0.1

  • Forgot to add the /img folder to svn (Linus Torwalds is right, SVN is a pain in the)