Archives

Anticipation

  • No dates present

Avatar: The Last Icon

I’ve just tricked the comment section of this blog out with a whole bunch of extra goodness.

First up, if you provide a URL to a website that has a “favicon” (little icon typically shown next to the URL in the address bar and on any bookmarks) then that will be displayed to the left of your comment entry.

Next, if you’ve defined a Gravatar for the email address you’ve specified, then we’ll display your Gravatar on the right hand side of the comment. (Don’t worry, your email address itself is not posted across, nor is it publically visible anywhere, so it won’t net you any extra spam.)

Just so you don’t feel left out, if you haven’t (yet) defined a Gravatar then we use Shamus Young’s Wavatar plugin to automatically generate an avatar for you — again, based on your email address. The algorithm used is common to all Wavatar-enabled sites, so if you use the same email address on multiple sites you should end up with the same Wavatar. Again, this is done without sharing any information with anyone else, so your email address is safe.

Finally, I’ve enabled a comment-editing plugin, which will allow you 15 minutes to modify your comment after posting it (just in case something didn’t come out properly).

Of course it’s not like I’m getting hundreds of comments or anything. But hey, that’s no reason not to liven things up a bit.

3 comments to Avatar: The Last Icon

  • I just posted a comment to one of your older articles (about an hour ago) before reading this post, and my reaction was ‘nice comment system.’

    So, nice work :)

  • Didn’t require much work on my part — mostly just enabling a bunch of plugins other people wrote :) (Although I did need to tweak them a bit to fix quirks that annoyed me.)

    Though I noticed that you changed your email address between the two comments you made on the other post, which is why you ended up with a different Wavatar each time 😉

  • I’ve actually created a Gravatar class if you click the link in my name. Loosely coupled and works like a dream – it also has a cache with an expiration date for the avatar – to save on loading times. It can merely load the avatar in locally.

    Adam @ TalkPHP.com

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>