Archive for the ‘fun’ Category

New Design & Forum for Sheldon Lendrum January 17th, 2010 by Sheldon Lendrum

For the last ‘ages’ I have been meaning to update my wordpress theme and add a forum.
I get a bunch of emails and comments on various posts about script help, which I am happy to help, but now I would like keep all questions in the forums so that they can help others.
Read my posts, [...]

Use PHP to find your mobile browser January 11th, 2010 by Sheldon Lendrum

I needed a quick way to include different files based on the if the visitor to a site is on a mobile device or a regular browser/computer.
Every browser has a user agent depending on the operating system, browser and system.
below are some common use agents, they can be found by echoing the server variable HTTP_USER_AGENT

< [...]

Javascript URI Address Segment Selection December 15th, 2009 by Sheldon Lendrum

I use the great CodeIgniter, PHP Framework a lot, Most site’s now days I create use it. One of the many good things is that way it handles pages request’s and PHP $_SERVER['REQUEST_URI'] to find which page we are on.
Here is how it works;

http://www.sheldon.lendrum.co.nz/posts/my-segment/my-page/15/2009/12

Now the way we do things, is break the site up, based [...]

Use PHP and the GD Library to make CSS Sprites October 8th, 2009 by Sheldon Lendrum

I came across some neat free Icons a couple of day’s ago. I found 178 free icons by WooThemes.
They suited my needs for some navigation icons I was after, so after a quick download, I have them all. Great.
Now, when I code, I’m all about speed of page loads with our reducing quality of [...]

Basic REGEX for cleaning and prepping data October 8th, 2009 by Sheldon Lendrum

Over the last year or so, I have used a PHP Framework Code Igniter, Amongst many of its good features is its built in Form Validation Library.
Every now and then I either write a a small site out of Code Ignite, or help others to write or develop sections of their site, I constantly get [...]

CodeIgniter & SPAW Editor Tabs August 10th, 2009 by Sheldon Lendrum

A few months ago, I updated a great SPAW editor plug-in for CodeIgniter to use the most recent version of SPAW at the time, that included Safari Browser fixes and some CSS tweeks.
Well over the weekend I look at getting multiple tabs working.
It was pretty easy, with a couple of modifications to the SPAW wrapper [...]

http://www.facebook.com/sheldonlendrum June 25th, 2009 by Sheldon Lendrum

I guess this is weeks old, but it shows how often I visit Facebook lately.
http://www.facebook.com/sheldonlendrum

Sheldon the Comic Character June 3rd, 2009 by Sheldon Lendrum

So I am now a Comic Character, Shawn has made the team comic characters, There is Ryan, Deanna, Kate and Me – Sheldon
Check out Shawns Big Green Comic !