AllAvatars

This plugin is what is now powering comment avatars on this blog. It detects if you have the gravatars plugin, the avatars from URL plugin, or the favatars plugin installed and tries to use the avatar those plugins would normally give (in the listed priority order) — thus allowing more avatars to display than with any one of these plugins.

It also detects if there is photo data in the user's profile (such as data imported by my semi-released hCard Import plugin) and overrides any other plugins with that.

Put the following code inside the comment loop:

<?php show_allavatars(); ?>

For developers, the prototype is:

function show_allavatars($email=false, $url=false, $user_id=false, $echo=true)

You can register your own plugins with:

function register_avatar_function($name, $arg, $args=array()) {
//name = function name
//arg = url, email, or user_id
//args = array of arguments to pass

Download the plugin

There is an RSS Feed for comments on this post.
You can trackback from you own site.

1 Trackbacks

  1. Trackback at 2007-12-31 11:53 by Testing some new plugins at Goatless
    body

    [...] testing avatars, via a modified version of the AllAvatars plugin. (Modified to look for the "official" gravatars wordpress plugin, rather than [...]

Post a Comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Stephen Paul Weber