WordPress plugin intelligence profile

Wavatars

Wavatars will generate and assign icons to the visitors leaving comments at your site. It can optionally show Gravatars as well.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 2.3
Current version1.1.3
WordPress coverageTested up to WordPress 2.3
Minimum stackWP 2.0.2 · PHP —
Directory statusactive
Last directory update25 Mar 200818y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Wavatars version 1.1.3 as active, updated 18y ago and tested up to WordPress 2.3.

Overview

About this plugin

Wavatars is a plugin that will generate and assign icons to the visitors leaving comments at your site. The icons are based on email,

so a given visitor will get the same icon each time they comment. It livens up comment threads and gives people memorable “faces” to

aid in following conversations. It’s also fun.

Features:

  • Wavatars can generate 956,384 different shapes in 57,600 different color combinations for a total of 55,087,718,400 (55 billion)

unique Wavatars. Yeah, you should have plenty. You’ll run out of human beings (or hard drive space) long before you run out of

Wavatars.

  • The icons are generated on-the-fly. You can adjust the desired size of the icons.
  • For easy deployment, icons will automatically precede the commenter’s name. You can set HTML to come directly before and after the

icon (to put it inside of a <DIV> tag, for example) or you can control the placement of the icons manually if you don’t mind adding

a single line of PHP to your theme.

  • Wavatars are based entirely on email and are thus very portable. The same email will result in the same Wavatar, even on different

sites, so users will have the same icon on all Wavatar-enabled sites. (Assuming, or course, that there are other Wavatar-enabled

sites. )

  • This plugin also supports Gravatars. If you like, it can show the Gravatar for a given user

(if available) and fall back on their Wavatar only if they don’t have a Gravatar set up. This means users can choose to set up a unique

icon for themselves, and if they don’t, they will be assigned a unique Wavatar. This is a great system that lets people personalize if

they want, yet still provide a decent icon for the lazy or apathetic.

Revision History

Version 1.1.3

  • Fixed bad encoding which would prevent wavatars from appearing if the rating was NOT blank. If the admin does not specify a rating, the rating field is omitted.
  • Fixed a typo on the admin panel.
  • The wavatar url is now URL encoded.
  • The image tag no longer uses the pointless “border tag, and it is now properly closed.
  • Removed extra (pointless, harmless) repeated calls to strtolower ().

Thanks to Gavin Lambert for many of these changes.

Version 1.1.2

  • Made several small changes to comply with the changes at gravatars.com. Appended.jpg to the $md5 hash, switched to using the new (shorter) field names.
  • Fixed bug where the plugin was inserting wavatars in places it shouldn’t, such as RSS comment feeds and in sidebar wigits. The auto-placement will now ONLY place

icons when viewing a single post or a page.

  • When placing icons manually within their theme, users should use wavatar_show($comment->comment_author_email) as opposed to

wavatar_show($comment_author_email), as the eariler versions directed. The latter will work in some situations but fail in others, and so the former is more correct.

The readme and the admin panel have been updated to reflect this.

  • The admin panel will now list how many wavatars are in the cache.

Version 1.1.0

  • Fixed bug where setting AVATAR_SIZE to an odd number would cause PHP to pass floating-point values to imagefill (), which is not a good idea.
  • Fixed bug where gravatars were always requested at 60×60, instead of the size defined in the admin panel.
  • Added the function wavatar_get (email, size), which will return the url of the requested avatar instead of displaying it. This can be useful if you want to use the

image in other ways, such as making it the background of an HTML element. You could also use this if you need to display the image in a rectangular area instead of a square.

  • Added option for controlling the rating of gravatars. (G, PG, R, X)
  • Added options for how to handle users who leave the email field blank. You can choose to give them a wavatar anyway, to give them a blank image, or show no image at all.
  • The link back to the wavatars homepage in the footer is now actually a link and not just text.

Version 1.0.1

  • Initial release.

Advanced Tricks

Using wavatar_show ()

If you place Wavatars by calling wavatar_show () manually, note that you can also specify an optional “size” argument to override the

default. For example:

wavatar_show($comment->comment_author_email, '160');

This would cause the Wavatar to be 160×160 pixels, even if the default was set to some other value. You could do this to make admin icons

larger, for example.

Using wavatar_get ()

If wavatar_show () STILL doesn’t give you enough control, you can call:

wavatar_get(email, size);

And it will return the URL to the created image without writing anything to the page.

Random Wavatar Field

Put this code in your theme:

for ($i = 0; $i < 100; $i++) wavatar_show ($i);

It will generate a field of 100 random wavatars, which is amusing. This is how I generated the wavatar screenshot. It’s also a great way to quickly

test you source images if you’re editing the composite parts to make new wavatar types.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • avatars
  • comments
  • gravtars
  • icons
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 2.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 2.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to2.3
Minimum requirementsWordPress 2.0.2 · PHP not listed
Update activity25 Mar 200818y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.