I’m sure most of you are aware of the social networking and the web 2 concept storming the internet at the moment. Luckily, there is an excellent plugin available which will allow you to select social networking websites from within a control panel, which will then be appended to your post content automatically for users to submit them to a social network.

One of these social networks is StumbleUpon and is implemented in the Sociable plugin, however there is a bug (probably caused by a URL change in the way StumbleUpon handle submissions) which causes a 404 error when you try to submit a post there. To fix it, in the sociable.php script find:

‘StumbleUpon’ => Array(
‘favicon’ => ’stumbleupon.png’,
‘url’ => ‘http://www.stumbleupon.com/url/PERMALINK’,
),

And replace with:

‘StumbleUpon’ => Array(
‘favicon’ => ’stumbleupon.png’,
‘url’ => ‘http://www.stumbleupon.com/submit?url=PERMALINK’,
),

Save and upload the file. You can alternatively do this in the plugin editor in Wordpress’ control panel.