PHP Sucks: So What?

There have been quite a few, “hate on PHP” articles being posted lately it seems as though the let’s hate on PHP train rolls around every couple of years and the hate articles come out to play. This recent article got a lot of attention, it was well thought out and well-intentioned somewhat but that [...]

A PHP Function To Get Vimeo Video Thumbnails Easily

Recently on a client WordPress website I needed a simple way to get Vimeo video thumbnails via video ID. I couldn’t find anything readily available or even a snippet, so I created a function that helps out and even has a return or echo option as well.

2012 Will Be The Year Page Refreshing Dies & Realtime Lives

2012 is going to be the year that page refreshing in a lot of websites well and truly dies. Page refreshing feels so benign and old, the next logical step and something that should have been more common place but hasn’t is realtime web interfaces. But we already have AJAX Dwayne, that’s hardly anything new, [...]

Redirect A WordPress User Straight After Logging In To Any Page

There seems to be a lot of outdated code out there from WordPress 2.x days on how to redirect a user to any page of your choosing after logging in, the below code will redirect a user to the homepage directly after logging in without taking them to the usual admin panel (in-case you have [...]

Developing The Ultimate Authentication Library For Codeigniter

Codeigniter’s lack of an authentication system is both a blessing and a curse. The blessing is that you don’t need to conform to a pre-written and and conventionalised auth library, the curse is that writing your own can cause severe headachaes and countless hours of developing something that comes standard in most other PHP frameworks.

Dove Forums – Codeigniter powered forums software

A while back I discovered forum software written on-top of Codeigniter called Dove Forums and to be honest originally it was bare and lacking in features. Fast forward to now and Dove Forums is a whole new and improve beast.

The Fuel Php Framework Has Officially Impressed Me

I am a Codeigniter lover and when FuelPHP was first announced and then shortly some code was released, I wasn’t overly impressed. In all honesty, I never gave the framework a chance. I didn’t test it, nor did I actually try and build anything with it. After trying it, I am officially impressed. I’m still [...]

WordPress Like Plugin System For Codeigniter PHP Framework

Ever wanted to have plugin functionality in your Codeigniter applications similar to what WordPress has? I’ve started developing a plugin system that lets you define hooks with or without arguments, to modify certain parts of your application without your users having to edit core files. Use is mostly: add_action(), remove_action() and do_action() – but I’ll [...]

It’s Time To Consider A Complete Rewrite of WordPress

Wordpress first came onto the scene in 2003, fast forward to 2011 and the code-base is so bloated and badly written it makes me rage just looking at the code base. The way WordPress is coded is a confusing mess, global variables used absolutely everywhere and you never know where they’re set or instantiated. Ambiguous [...]

How to stop WordPress wrapping images in P tags

Wordpress has a genius and at the same time annoying feature that automatically wraps inline elements in “P” tags for you. The nerd that wrote the function “wpautop” forgot to provide us an option to populate the array of defined block level elements in-case we wanted an image or perhaps even a span tag treated [...]