Author Archive

This site is dead

January 13, 2011

I don’t post to it any more, but I shall, at some point in future, consider resurrecting it.

Posted in Opinions No Comments »

Buddypress: Preventing private message spam

March 16, 2010

A guide to preventing private message spam within BuddyPress

Posted in Coding Tips and Tutorials No Comments »

MySQL Slow Query Log with WAMP

March 2, 2010

Although in hindsight this is DEAD easy, I’ve just had a bit of a hard time finding out how to do it, so I thought I’d make a quick post which will hopefully get indexed by Google and save some other folk the hard time I had. Thoughtful, eh.
So, to enable the slow query log [...]

Posted in Coding Tips and Tutorials No Comments »

Bad Code

October 8, 2009

Further to my last post about the quality of code in certain well known PHP projects, I just stumbled across this fantastically pointless finger spew.

function the_title($before = ”, $after = ”, $echo = true) {
$title = get_the_title();
if ( strlen($title) == 0 )
return;
$title = $before . $title . $after;
if ( $echo )
echo $title;
else
return $title;
}
How entirely pointless [...]

Posted in Bad Code, Opinions 2 Comments »

Wordpress is shit

September 30, 2009

This post goes beyond my opinion of Wordpress though, I want it to highlight a more fundimental problem with PHP development. People just don’t seem to be very good at it, and it’s giving PHP a bad name.

Tags: , ,
Posted in Coding Tips and Tutorials, Opinions 8 Comments »

Zend framework on 1and1 hosting.

February 20, 2009

How to get Zend Framework running on 1and1 hosting.

Tags: ,
Posted in Coding Tips and Tutorials 4 Comments »

TinyMCE not loading in Zend Framework

February 20, 2009

I was having a bit of a problem with TinyMCE not loading in Zend Framework (ZF). It turns out the .htaccess file was not configured correctly. It was redirecting .js to the index bootstrap and causing the page to fail to load.
The solution was the htaccess file as so…

Options -MultiViews
RewriteEngine On
RewriteBase /website
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} [...]

Tags: , ,
Posted in Coding Tips and Tutorials No Comments »

Super blogging – My Corribee

February 16, 2009

I awoke in the morning to find I was no longer 7th, but 1st. I was shocked. I had THE fastest growing blog on all of wordpress…

Tags: ,
Posted in Opinions, Search & PPC No Comments »

Nathan whitworth.co.uk site rebuild

February 16, 2009

I decided to rebuild my home page with Zend Framework since it was originally done as little more than static pages.

Tags: , ,
Posted in Opinions No Comments »

Card Smart

January 16, 2009

I’m just giving some link love here since a friend of mine has just launched a new project.
Cardsmart.co.uk is a credit card comparison service and it went live about 3 minutes ago at the time of writing. It’s quite exciting to see the birth of a brand new company, it’s quite a refreshing change given [...]

Tags: , , ,
Posted in Opinions No Comments »