Latest post
How to Enable USB Support in Virtualbox
This is a quick post based on a comment left by Kristof78 on my install virtualbox post a few weeks ago. For Sun Virtualbox users, the tip works, so I thought I’d repost with a few small tweaks here.
I’m going to follow this post up with some screens and check that it works with the innotek version very soon.
Here’s the comment:
“By default USB support was disabled in virtualbox, so you’ll probably want to enable it. Otherwise you’ll get an error when you go into the “Settings” of your virtual machine. To correct this, you’ll need to edit the mountdevsubfs.sh file
Open terminal and run:
sudo gedit /etc/init.d/mountdevsubfs.sh
Inside, you’ll see a block of code that looks like this:
#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount –rbind /dev/bus/usb /proc/bus/usb
Change it to look like this (uncomment out the region by deleting the “#’s”):
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb
Save the changes and exit.Now log out, and then log back in again for the changes to take place.”
With any luck, this should enable USB support in your Virtualbox installation and you’ll be good to go ![]()
posted 29 August 2008 @ 16:29 by richardbaxterseo » One Comment
Featured
How to create page templates in Wordpress for better Social Media targeting
What do you do when your blog covers more than one topic (let’s say, Recruitment SEO and guides on how to install Ubuntu), while your audiences all hang around on different social media sites? Seeing a Sphinn logo in the top left of your content isn’t exactly appropriate when you’re targeting Digg, right? To solve that problem, you could use multiple page templates to help improve your Diggs or Sphinns.
As part of a series of articles on advanced Wordpress SEO, I’m going to show you how to create multiple page templates that feature different social media buttons in your top left hand corner. Take a look at these two different page types to get an idea of what I’m upto.
We’re going to create a new page template specifically to display the Sphinnit button, and repeat the process to create a page template for the Digg this button.
How to create a new page template in Wordpress
We’re going to copy your page.php file, rename it, and use a little bit of PHP to tell wordpress there’s an extra page template available, which will display in the “Page Template” drop down in the page editor. Here’s what it looks like:

1) FTP to your Wordpress host and navigate as follows:
public_html>wp-content>themes>your-theme
2) Copy page.php and stick it on your desktop.
3) Open the file in notepad or dreamweaver for editing.
There’s a clever little bit of php you need to insert at the very top of the file, which can be used to name the template you’re creating. Without a name, Wordpress assumes that the new file you’ve created is a default template which is not great for your pages or Wordpress!
In this example, I’ve given my page template the rather imaginative title of “SEO-Content-page”. The code looks like this:
<?php
/*
Template Name: SEO-Content-page
*/
?>
Insert it before the <?php get_header(); ?> tag.
4) Let’s finish the SEO content page. Remember the Sphinnit button? the code you need to insert into your new SEO-page.php file is as follows:
<?php show_sphinnit(); ?>
Place this code directly before the_content tag, so it looks like this:
<?php show_sphinnit(); ?><?php the_content(); ?>
When you’ve inserted your code, save the page.php file with a new filename, say, SEO-page.php and copy it back into your theme directory via FTP. don’t forget that your Sphinnit logo will display wherever you have set it to via the plugin settings in your wp-admin.
You now have two versions of a page template. One for SEO content and the original, untouched page.
If it’s useful, I’ve uploaded the code for my SEO-page.php which you can download here. Note I’ve created a table which has stumbleupon, reddit, mixx and digg this buttons.
When you’re ready to create a new page specifically for Digg, repeat the steps above. When you’re ready to insert your code, including the top left alignment, the Digg this button code looks like this:
<div style="float: left; margin-right: 10px; margin-bottom: 2px;">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
Here’s the full page code for my Digg page. Hope you find it useful! ![]()
12 August 2008 » read » 7 Comments
Featured
No posts for a week, I’m on holiday!
I’m really looking forward to my first holiday all year - 25 of us are taking 3 canal boats around the canal network in Birmingham for a week! Here’s what (i hope) it’ll look like:
So no posting for a little while (1 week) - but when I get back I’ve got some great ideas about a few things I’ve wanted to blog about for a while ![]()












