Sep 3, 2009 by Matt | Posted in Coding
GetGravatar is a jQuery plugin that is a perfect touch for blog comment forms. It monitors an email address form input, and makes an AJAX request to load a Gravatar. (See a demo.) This would enable you to show a user’s Gravatar next to the comment form immediately after they input their email.
Get Gravatar is meant to be used with a text input. As the text changes in the input, it pings the Gravatar service to fetch the user’s avatar. Due to Gravatar’s restrictions, Gravatars must be retrieved with an MD5 hash of the user’s email. Since Javascript doesn’t have a built-in way to fetch an MD5 hash, this plugin has a PHP counterpart.
Obviously there are more creative uses for this, but either way it’s a nifty script.
Sep 2
Have you ever wanted to add a drop shadow around an element, but didn’t want to mess around with extra background images just to pull off such a simple effect? Why not use a cutting edge CSS3 effect, which won’t work in Internet Explorer…
Sep 1
What do you think of the blogroll in my sidebar? It takes up very little space, sweeping all of the links out of sight until they’re called for. When you hover over it, they snap down. This trick is done entirely with CSS, and…
Aug 31
Do you use OpenDNS? I have for awhile, since my ISP’s DNS servers can be kind of flaky sometimes. The one thing I don’t like about the service is how it hijacks mistyped domains and I’m Feeling Lucky searches that Firefox would usually redirect…
Aug 28
You may have heard of LESS. It’s a Ruby Gem that allows you to write CSS files with variables, nested rules, operations, and “mixins,” which are akin to custom functions in a programming language. The LESS files are compiled into pure CSS before going…
Aug 27
TechSmith has finally released a Mac screencasting application. Camtasia for Mac is not a port of the popular Camtasia Studio software, but an entirely new application that has many of the same features, but has its fair share of differences. From the feature set,…
Aug 26
If you use Thaya Kareeson’s BuySellAds WordPress plugin, turn off the caching feature! To do so, set the JavaScript cache time setting to zero. This is because Buy Sell Ads network is now also tracking the number of times the ads themselves get requested…
Aug 25
Net.Tuts+ has a good tutorial on the Kohana PHP framework. Following it through should get you used to the MVC structure, help you configure everything, and give you a good overall feel for the framework. Coupled with the official Kohana docs, you should be…
Aug 23
In the past 30 days, this blog pulled in about 37,000 pageviews. While that’s not an astronomical figure, it’s more than the 30 days before. This blog is slowly, but steadily, growing. To my dismay, my ad impressions are lower than ever. Only fifteen…