WP-Cache + password-protected pages = problems


I have discovered that, despite recommendations, it is not advised to use the Wordpress plugin WP-Cache if you use password-protected pages as it stops them working correctly. If you turn on WP-Cache and view a password protected page that you have not previously viewed it will cache a copy of the login page and never let any visitors access the content; if you view a page that you have previously viewed before enabling the cache it will cache the full page, letting everyone who views your site see the page. This is not a good way to work, so I recommend simply not enabling this plugin.

Gallery2Export tip - upgrade PHP!


At home I use the wonderful Gallery2Export plugin for Apple's iPhoto photo catalog program into a Gallery2-based online album. It has generally worked great, but yesterday when I was trying to upload Halloween pictures it stopped working. Some fiddling later, including going through the hassle of trying another plugin (iPhoto2Gallery, which also failed), I finally upgraded the website from PHP 4.4 to PHP 5.1, and... it magically started working! Hurray! I've no idea if that was the actual problem or if it was just sheer luck, but its working again and now I can get back to the fun of sharing pics with my family :-)

Wordpress Widgets - Enhanced Search Box


After installing Wordpress 2.0 and discovering the wonderful Widgets plugin I added a few widgets to this site. While the widgets are great and give a really wonderful level of configuration over the site, I was quite disappointed to discover that the default search box looked pretty, well, aweful:

The old search box

So I did what every self-respecting geek does, I fixed it :-) I present to you, WPWidgets_EnhancedSearchBox v0.1:

The new search box

You can download a small zip file I made of both the new widgets.php file and a diff file off the SVN source code (in case you're into that kinda thing), along with a quick readme.txt file explaing how to install it, which you can download at will:

Project managment software for the rest of us


A really awesome find this evening. I've always been on the lookout for good project management tool. I've wanted something that was web-based (so that I could access it from anywhere), open-source (so that I had full control over the code if needed), easy to use, and able to cope with both my personal projects along with any consulting work I pick up along the way. There are some definitely great programs available, for example 37Signals' Backpack, BSAG's Tracks, etc, but most of them suffer in one way or another, particularly Backpack which is a hosted application so you can't control its inner workings. In the end I found a program called activeCollab which is very heavily based on Backpack but is open source, so you host and manage it yourself. The current version works well for what I need and the update coming in a few weeks adds many improvements, mainly being able to add comments to anything and a rewritten file system to simplify uploading and managing attachments. Worth trying out.


Subscribe to PHP