Ian Purton

Ian Purton’s Notes

My Experience Buying a $10,000 Website on Sitepoint (Part 1)

I recently purchased Status2k on a sitepoint auction. It’s the first time I’ve ever bought a site and it’s definately a learning experience. After my winning bid was excepted the sale proceeded very rapidly (a lot quicker than I was expecting) over msn chat.

Continue Reading »

Graffiti on the Regents Canal

Urban Commuting

To get to work a cycle along the Regents Canal. There’s a lot of graffit most of it pretty unsightly, but I like some of the new Banksy inspired art that’s appearing. I’ve collected a few examples and put them into a regents canal flickr set.

Integrating Gravatars into PunBB forums

PunBB already has it’s own Avatar system however I wanted to use the Gravatar site which is a central place to store avatar images.

Continue Reading »

Minimal Gray Wordpress Theme

Based on my SEO Wordpress Sandbox Theme I’ve created a minimal gray theme.

Continue Reading »

How to make really sexy buttons with CSS

I’ve been using the How to make sexy buttons with CSS technique for easily adding good looking buttons to a web application and found I could Jazz them up a little by using the free icons from FamFamFam Silk.

Continue Reading »

How to Create Javascript Catfish Sliding Promotions

An effective way to advertise or promote a product is the Catfish pop-up, so
called because it lies on the bottom of the browser. Less annoying than fullblown pop-ups and to me much better than adverising embedded within content. I’ve mocked up two example pages a transparency example and an example form.

Continue Reading »

Helper to Display Rails Flash Messages

A simple code snippet for displaying your flash[:warning] = “Warning Message” messages in rails.

Continue Reading »

Recompile suexec to work with Apache Virtual Domains on Fedora

Q. Having problems getting suexec and Apache to work together with your virtual domains ?

A. You need to re-compile suexec to work from a different document root.

Suexec and the Document Root

Basically, suexec is hard coded to work from /var/www/html/ if your virtual domain is using sub directories under another path then you’ll get this problem. I like to host each of my domains on a separate user account under /home.

Continue Reading »

SEO WordPress Sandbox Theme

The SEO Wordpress Sandbox Theme is a bare naked WordPress theme ready for styling via CSS. The theme has been search engine optimised and the markup enhanced to help with search engine rankings.

Screenshot

I’ve used the Yahoo CSS grids framework which, to quote Yahoo, gives you.

The foundational YUI Grids CSS file offers three preset page widths, seven core templates, and the ability to nest subdivided regions of one to four columns. All told, the file offers almost 200 preset layouts and an unlimited number of custom permutations that work across all A-grade browsers, all for less than 2.5kb of minimized file weight.

Continue Reading »

WordPress Recent Posts Plugin

This PHP code will give your WordPress blog a recent posts list as I have on my sidebar to the right.

It’s not actually a plugin, you need to cut and paste this code into the sidebar.php of your theme.

Continue Reading »

Subtraction Wordpress Theme by Ian Purton