Great News: I’ve been meaning to add a general WordPress forum to this site for a while, but none of the options seemed to work well for what I wanted to do.

All I needed was a simple discussion forum, integrated into WordPress – I really didn’t want to mess around with phpBB or the likes. bbPress is in a constant state of beta and gives me a headache every time I want to make it work, SimplePress is ugly and basically all of the above are overcomplicated.

Enter Tal.ki – an embeddable forum solution that promises to give me a forum with only one line of code, or alternatively as a WordPress Plugin! It’s not live on this site – let’s test it out!

[read full article…]

{ 1 comment }

I was working on a secure site with sensitive video material that we needed strict members access to. Even though many plugins can make sure your direct permalinks can only be seen by logged in members, direct links to files in your wp-content directory are still accessible to others. They can even be hotlinked from other sites.

One way around this is to move the wp-content directory outside the web visible portion of your directory on the server, but even so WordPress can always link to such files. A better way is to tell your server not to give access to certain files (say ending with mp4 or mp3) and only allow such access from your own domain.

We can use Apache Mod Rewrite for this – it’s a complex language that you can utilise in your .htaccess file within the wp-content folder.

Let me show you how to keep prying eyes out of your content.

[read full article…]

{ 0 comments }

The path to PHP is

/usr/bin/php

This is good to know if you need to setup a cron job which triggers a PHP file. Calling it from a web browser directly is not a problem, but if you have to call it from the command line or as a scheduled task you need to call it with

/usr/bin/php yourfile.php

You can also use wget or cURL but that’s often not reliable.

If your PHP file gives you an output (usually to the browser screen), your server will send you an email. If you;d rather this didn’t happen, direct it to nowhere like so:

/usr/bin/php yourfile.php > /dev/null 2>&1

{ 0 comments }

Dr. Web is a Russian anti-virus utility that comes bundles with Plesk. It’s good and it tries to keep the bad guys out.

To keep up with all the mutations out there it tries to update itself frequently but usually doesn’t succeed because the Dr. Web server is busy or down or somehow now working as it should be. Sadly this means that every time something goes wrong I get an email once every hour… imagine what this means when you have 11 servers to look after: an overflowing inbox.

Here’s the solution: tweak a system file and divert those emails to nowhere:

Show me how!

{ 0 comments }

Say hello to WP Hosting

After well over a year I am very pleased to share with you our latest business venture: WP Hosting – the easiest way to get a self-hosted WordPress site. WP Hosting has been in the making for quite some time, and what better way to make its launch coincide with the release of WordPress 3.3. [...]

Read the full article →

How to install OSSEC HIDS

I’ve recently added two more servers to my ever growing network at WP Hosting. To prevent an attack by those scumbags from Hacker Land, I’ve been relying on the amazing OSSEC Host Intrusion Detection System. Even though the OSSEC website is great, I always forget the simple steps that are involved in getting it up [...]

Read the full article →

How to setup Plesk on new server

The other day I got myself a brand new server – so barebones that I had to do everything myself, including picking a Linux distribution. Sadly the one I wanted (CentOS 6) did not come bundled with Plesk so I had to install it manually. I thought I’d better take some notes so I can [...]

Read the full article →

What exactly is a Blog?

I’ve written this in response to a question on The 30 Day Challenge, in which I will be answering web related question throughout October. The question was “what exactly is a blog” in particular as a possible starting point to write a book – I hope you find this useful Blogging is an awful term [...]

Read the full article →

Which blogging platform should I go with?

There are so many content management systems (or blogging platforms) on the market, many of them offer a free service. Some of them that spring to mind are these: Blogger (by Google) WordPress Live Spaces (by Microsoft, now defunct) Movable Type Type Pad Joomla Drupal The choice is endless and the list could go on [...]

Read the full article →

How to rename your iOS App in Xcode 4 (and remove the Gloss Effect from your Logo)

Slightly off topic – but just so that I don’t forget: Find the -info.plist file (in the Supporting Files folder). Say your app is called MyApp, then you’re looking for a file called MyApp-info.plist Say hello to a meaningless list of code In here, find the Bundle Display Name Change it from the default ${PRODUCT_NAME} to [...]

Read the full article →

Snapshot Backup 2.0.1 Update: Let’s try this again, folks…

I’ve just released Snapshot Backup 2.0.1 – the exact same version as 2.0, however this time it includes all the files it actually needs… Let me explain what happened earlier: So there I was, having tested the latest version of Snapshot Backup 2.0 for several weeks, all is well at my end, and I decided [...]

Read the full article →

Disk Space Pie Chart – Version 0.4

I’ve committed a new version of Disk Space Pie Chart today. This maintenance release fixes a display bug in the Dashbaord Widget in WordPress 3.2. Thanks to Dan from IFSA Butler for bringing this to my attention. While I was at it I’ve also fixed some of the internal workings of this plugin: Fixed dashboard [...]

Read the full article →

Snapshot Backup 2.0 RC1 – Ready for Testing

I’ve been slaving away at the keyboard again. It’s been too long, and you’ve all been patiently waiting for your favourtive backup plugin to do something while you sleep. Say hello to Snapshot Backup 2.0 which can now create backups while you sleep. Here’s a list of new features: Automation: create backups every hour, every [...]

Read the full article →

How to make Get The Image only use embedded images

If you’re a Theme Developer you probably heard of Justin Tadlocks incredible plugin already – for those of you who don’t, let me introduce Get The Image to you. It’s THE way to extract images from your posts and insert them any way you like in your custom made theme. It does this by checking [...]

Read the full article →