=== Add Local Avatar === Contributors: peterwsterling Donate link: http://www.sterling-adventures.co.uk/blog/2008/03/01/avatars-plugin/ Author URI: http://www.sterling-adventures.co.uk/ Plugin URI: http://www.sterling-adventures.co.uk/blog/2008/03/01/avatars-plugin/ Tags: avatar, gravatar, images, user, pictures, photos, global, local Requires at least: 2.5 Tested up to: 3.0 Stable tag: trunk This plugin adds the ability to have local avatars in WordPress 2.5+ == Description == Adds local (private) avatars for your users. Maybe your users don't want a global avatar, aren't IT savvy enough to set a Gravatar up, simply want a private avatar for your blog, or any other reason too... The plug-in now delivers the much requested feature of allowing users to upload their own local avatar. And, the latest new feature allows your users to use their Twitter avatar. The order of precedence is; Local, Twitter, then Global. In other words; if you define a Local avatar for a user, that will be used, if there is no Local avatar defined and a Twitter ID is given for a user, the plugin will try to use that avatar. Lastly, where no Local avatar is defined and no Twitter ID is given (or Twitter doesn't return a match), a unique Global avatar (Gravatar) will be generated. The local avatar feature list: You may also be interested in the sister Comments with Avatars plugin. Plus there is now a new sidebar widget extension to the plug-in that provides a feature allowing users to manage their avatar from the sidebar without having to use WordPress' profile administration page. It provides the same capability as the profile page. This new feature provides yet more support for users who may not, for example, be savvy enough to use the WordPress administration interface. Get the extension here. Donations are welcome and help keep development going. == Installation == * Just put the plug-in into your plug-in directory and activate it. * Use the form, Users » Avatars, to define any local avatars for your users. Specify the URI for an avatar image, something like http://your.domain/avatars/image.jpg, where avatars is a directory containing your local images. * Also, you may set a default size (in pixels) for avatars and define a default image (e.g. http://your.domain/avatars/default.jpg) to use when no local or global avatar is available. * Plus, you can also take advantage of the Gravatar.com feature to use Wavatar, Monster ID or Identicon. * Use: <?php $avtr = get_avatar(id [, size [, default-image-url]]); echo $avtr; ?> * More example code to include in your template files is documented on the Users » Avatars page. == Change Log == Changes and feature additions for the Local Avatar plugin: == Screenshots == 1. An example of the main avatars page. Manage users global and local avatars etc. 2. The avatars options configuration section of the main avatars page. 3. From the WordPress profile page, the new section allows users to upload their own local avatar. == Thanks == A lot of hard work has gone in to this plug-in, much of it at the request of people who use it, and I hope it is useful to you too! Please consider these things... Enjoy! == Internationalisation == Avatars provides support for language translations. Ensure WPLANG is set in your wp-config file. To help with the available translations create a .po translation and compile a .mo file. If you would like this to be included in the general distribution please send these files back via the feedback link. I can't accept any credit for these languages files, nor can I guarantee they are correct. Available translations, from the English default, are: