Posted by : Tom Doyle in (Web Design, Web Development) 7th Feb, 2008

Page navigation on Blix WordPress Theme

A lot of new users of WordPress will end up downloading ready made themes for WordPress to make it look a little bit different from the rest. One theme in particular has been going around for some time and is quite popular for a lot of WordPress users. The theme is called Blix

Since the release of WordPress 2.1, unfortunately the top navigation stopped working with WordPress. This meant that when you created a page from within the WordPress control panel, it wouldn’t appear on the top navigation. This in some cases rendered the skin useless.

So for all of you that would like their latest WordPress install to work with the Blix theme, here’s what you need to do:

1. Go to /wp-content/themes/blix

2. Open BX_functions.php

3. Look for:

function BX_get_pages($with_content = '')"
{
   global $wpdb;
   $query = "SELECT ID, post_title, post_name FROM " . $wpdb->posts . " WHERE post_status='static' ORDER BY menu_order ASC";
   if ($with_content == "with_content") {
      $query = "SELECT ID, post_title,post_name, post_content FROM " . $wpdb->posts . " WHERE post_status='static' ORDER BY menu_order ASC";
   }
   return $wpdb->get_results($query);
}

4. Change WHERE post_status=’static’ to WHERE post_type=’page’ - There are two instances of this, so make sure you change it in both places.

And voila… Your lovely Blix themed blog now works with your navigation too!

Posted by : Tom Doyle in (Internet & Computers) 5th Feb, 2008

Another WordPress update… sigh…

As much as I love the interface and ease of use of WordPress, the constant updates are getting quite annoying.

Only 38 days on and we have a new “urgent security release”. According to the WordPress official website:

“WordPress 2.3.3 is an urgent security release. A flaw was found in our XML-RPC implementation such that a specially crafted request would allow any valid user to edit posts of any other user on that blog. ”

That’s quite frieghtening isn’t it? Or maybe not, someone that can actually write is more than welcome to hack into my posts and make them better ;)

Posted by : Tom Doyle in (Web Development) 1st Feb, 2008

Don’t say anything negative about LetsHost or… we’ll take your site down!

Immature, unprofessional, crazy, outrageous… whatever you want to call it, but this thread is absolutely astonishing http://www.boards.ie/vbulletin/showthread.php?t=2055228547

To give you a brief outline of what has happened, someone on Boards.ie asked for a recommendation on where to purchase a domain name. In the ensuing responses, one guy basically said that you should steer clear of LetsHost.ie if you want a respsonsive website. He simply stated that their servers were in the US and that they could be a little sluggish.

It turns out he gets a phone call a few minutes later from LetsHost.ie, suggesting that he removes or edits the comments he made. He rightly thought this was ridiculous and decided against making any ammendments to his comments. Low and behold, the guys in LetsHost took down his website that he had hosted with them.

I can’t believe a hosting company would be this callous, but there you go! Read all about it… http://www.boards.ie/vbulletin/showthread.php?t=2055228547