18 May

Remove BuddyPress AdminBar Plugin

This plugin removes the admin bar completely from the public and admin areas of the website. Can be used either as a normal or MU plugin.

Download

Requires At Least : 2.7
Test Up To : 2.8.4
Current Version : 1.2
Download latest version

Read the rest of this entry »

28 Apr

Google Friend Connect – The next “big thing”?

In a nutshell…

Google recently launched it’s version of social networking… by tying the sites you visit together via one universal, open platform.

The advantages of adding this feature to your site means that people can join your site by simply clicking one button and signing in using their Google or any OpenID account. This then allows the user’s friends on Google to see they joined your site, making a potential viral marketing oportunity. Not only that, Google Friend Connect supplies you with various gadgets that you can place around your site (e.g. the toolbar you see at the bottom of this blog). Read the rest of this entry »

23 Apr

Restoring your Qmail mailbox settings on PLESK

Screw up your email settings? :) it happens to the best of us.

PLESK has a handy little app that reverts your mailbox settings back to the settings in the PLESK database, and makes sure permissions, etc. are correct. Read the rest of this entry »

15 Apr

Twitter – tools to tweet with

It’s hard to argue with the awesomeness of the twitter phenomena. Their flexible API is a testament to how a great tool can used in so many ways.

The downside is that with such a widely adopted API there are about as many tools as there are tweet. Read the rest of this entry »

07 Apr

LibClamAV Warning: Cannot dlopen: file not found – unrar support unavailable

We encountered this error recently when upgrading our ClamAV to 0.95 and ran into a problem where we got the error :

LibClamAV Warning: Cannot dlopen: file not found – unrar support unavailable

The solution to this is quite simple:

Read the rest of this entry »

07 Apr

iPhone Emulation – Testing your sites without an iPhone

With apple’s iphone becoming an increasingly popular tool for browsing the internet, web designers and developers should really be testing their sites with the iPhone to ensure compatability. Most people won’t want to buy an iPhone exclusively for this purpose, so you’re only option is to emulate it on a PC! Read the rest of this entry »

31 Mar

Meta Tag Manager

This plugin will allow you to easily add and manage special meta tags to your whole site, such as Yahoo and Google verification tags.

Download

Requires At Least : 2.5
Test Up To : 3.3.1
Current Version : 1.2
Download latest version

Read the rest of this entry »

31 Mar

PHP __autoload() “not found” thowing exceptions

There is much debate about the __autoload function introduced in PHP5. I personally love it as all those requires, includes etc. made programs quite messy, and frankly annoy me if you create loads of pages that keep on requiring the same classes.

The one fault __autoload has though is that Exceptions cannot be thrown, and that to me would give potential for some great degradeablity.

Thankfully, there are a few ways of hacking the autoload function so that it does throw an Exception. The most common way is to create a class with the class name the autoload function is looking for using the eval() function, and then throw an exception once autoload is happy. Read the rest of this entry »

26 Mar

Linux Commands : Argument list too long

There may come a time where you try to run a command on many files in a folder and you’ll get this annoying message similar to this:

-bash: //bin/chown: Argument list too long

The reason for this annoyance is that Linux kernel has a limitation of bytes it can process through as arguments in exec() commands. Try:

[root@x folder]# egrep ARG_MAX /usr/include/linux/limits.h
#define ARG_MAX 131072 /* # bytes of args + environ for exec() */

And you’ll see what I mean. Read the rest of this entry »

20 Mar

Installing memcache for PHP 5 on Linux CentOS

This has been tested on CentOS but should work on most distros:

Memcache is a caching mechanism for PHP which speeds up access to data by storing it in the RAM. Memcache runs as a server in a similar fashion to a database, except that data is not persistent in the long term. The great thing about Memcache is you don’t need to recompile php. Here’s some instructions on how to install and set it up. Read the rest of this entry »