Tag Archives: PHP

Installing Get Satisfaction’s Help Center

Just found out about Get Satisfaction’s brand new Help Center and tried to install it? No doubt you’ll run into a few bugs along the way. However, follow this guide and you should be fine.

Install Smarty into an include directory

This is most easily done by extracting the lib/ directory from the Smarty package into a [...]

WordPress Automatic Upgrade Tip

As a tip to everyone who uses WordPress 2.5 and needs to input their FTP details every time, you can force WordPress to remember them by adding this to your wp-config.php:
define(’FTP_HOST’, ‘ftp://example.com/’);
define(’FTP_USER’, ‘example_user’);
define(’FTP_PASS’, ‘example_pass’);
//Set to true if your host uses SSL connections
define(’FTP_SSL’, false);
This can be reduced to just your password, if your database already remembers [...]

37signals on PHP

I just love how 37signals’ Getting Real book appears to be run by PHP. Straight from the headers: X-Powered-By: PHP/5.2.4 – Still, good that they’re fairly up to date

WordPress patching

My code is now in WordPress trunk and bbPress trunk. Sweet.

create_function()

create_function() — How to create anonymous/one-use functions. I didn’t think PHP had such a way until I looked up preg_replace_callback(). Thanks WordPress!

FeedParser Test Suite – Now with OPML!

As a developer of an aggregator, I test against different types of exploits that users may experience. Up until now, I’ve been adding singular feeds by themselves. However, it’s always irritated me that there was never an OPML file to import them all at once.
Et viola. I wrote myself a simple PHP program to convert [...]

cheeaunblog: PenangBloggers.com launched

Note to self: Take a look at this site’s notes about aggregator design for future Lilina styles. Question for the author (if they read this): what exactly did you have to hack internally?

Upgrading MediaWiki 1.4.8 to 1.11.0

The WordPress Codex site’s MediaWiki installation is currently on 1.4.8. I was listening to some discussion on the wp-hackers list, so I thought I’d present my guide to upgrading. I must warn you first though, I personally use DokuWiki when I need a wiki, as it’s simpler. Without further adieu…

Extract everything in mediawiki-1.11.0/ into your [...]

Damn that YaBB!

I have recently been using a 404 notifier plugin, however the links to mark a comment as spam don’t work. So, I resorted to doing it the PHP and Apache way.
All the spam was coming from bots trying to access a YaBB script. This was located (or so they thought) at /cgi-bin/yabb2/YaBB.pl
I decided that I’d [...]

Firefox Add-ons Site

Anyone out in these here tubes that knows what the Firefox Add-ons Site is powered by?
If not, anyone know a contact email for someone at Mozilla that might have knowledge on this?
And I wonder if anyone over there has noticed that the developers login, link from the bottom of the page still has the old [...]