Well this is just totally WONDERFUL. It seems Twitter has removed the function that lets you search for profiles based on email addresses, so this plugin is useless at the moment. I’m trying to come up with some other way to do this. Stay tuned.

This is a simple plugin that, when a visitor leaves a comment, searches the local database then for a profile image associated with the email that the commenter entered. If none is found, the plugin falls through to standard WordPress gravatar behavior. If a avatar is found, the address is cached for later use.

Future versions will check the cache age against a time limit and refresh if necessary.

The plugin uses the ‘pluggable’ feature of the WordPress core: certain functions can be redefined and replaced. In this case, I’ve replaced the standard get_avatar() function with one that works a little differently.

Current version: 1.0 stable

Installation: download the .zip file to your computer. Unzip it, and upload the entire twavatar directory to your plugins folder. Activate the plugin from your plugins page. Done.

Please use the link below to download directly from WordPress:

Download or automatically install from the WordPress Plugin Repository