I’m currently using the Sociable WordPress plugin on this blog. It’s a really nice, easy to use plugin that allows people to bookmark blog posts to sites like Digg, Reddit, StumbleUpon, etc. You can see it in action at the end of this post.
I’ve spotted a bug in the current version of the plugin (version 2.0) which prevents people from bookmarking your posts to StumbleUpon. If anyone tries to bookmark a page to StumbleUpon they will be taken to an invalid URL. The problem is with the following piece of code in sociable.php
'StumbleUpon' => Array(‘,
'favicon' => 'stumbleupon.png',
'url' => 'http://www.stumbleupon.com/url/PERMALINK
To fix the problem, change the above code to this:
'StumbleUpon' => Array(
'favicon' => 'stumbleupon.png',
'url' => 'http://www.stumbleupon.com/submit/?url=PERMALINK&title=TITLE',
You may want to temporarily disable the plugin whilst you make this change.
- Leave a comment
- Subscribe
- FREE Newsletter
- del.icio.us
- Stumble it!
- Digg It

12 responses so far ↓
1 Shelley // Jun 28, 2007 at 3:39 am
Thanks for this fix, it worked! I am surprised the current download still has the StumbleUpon problem.
2 Dean // Jun 28, 2007 at 6:44 am
I did email the fix to the plugin author. I didn’t get a reply but hopefully it will make it into the next release.
Thanks for stopping by.
3 Shelley // Jun 28, 2007 at 4:15 pm
Well, that’s a good thing…but I noticed your AddThis bookmark and liked that better so I switched!
4 Drive Free Traffic to Your Site or Blog with Stumble Upon - Page 5 - Personal Development for Smart People Forums // Jul 22, 2007 at 6:39 am
[...] invalid url). Its a problem I have heard of before, you may want to test it and see if the info on this page applies. I still managed to stumble your article though another way Interfaceleader and [...]
5 Luciano Passuello // Aug 23, 2007 at 12:56 pm
Thanks, Dean – it worked like a charm.
One thing you might want to change in your fix is to encode the “&” to “&” – otherwise it will break XHTML validation.
http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2
6 Luciano Passuello // Aug 23, 2007 at 1:02 pm
Oops, looks like the browser encoded the second & when showing the comment – making my comment meaningless. For the second &, I mean “& amp ;” (without the spaces).
7 Dean // Aug 23, 2007 at 4:40 pm
Thanks for the XHTML tip. That is an area easy to forget about when coding.
8 Lola // Sep 2, 2007 at 3:43 pm
Hi thanx for the fix but I’m still having problems. I entered the suggested text
but received the following error message:
Parse error: parse error, unexpected T_STRING, expecting ‘)’ in F:\Domains\lolafayemi.com\wwwroot\wp-content\plugins\sociable\sociable.php on line 311
What am I doing wrong?
9 Dean // Sep 2, 2007 at 6:09 pm
Lola – I’ll email you separately so we can try and fix the error you see.
10 jameswillisisthebest // Sep 8, 2007 at 8:46 pm
This is my first post
just saying HI
11 Joost de Valk // Feb 4, 2008 at 11:43 am
Development on Sociable seemed to have stopped, so I have taken it upon me and given it a new home: WordPress Sociable 2.5.
In the new version, StumbleUpon is fixed and I’ve added numerous other social bookmarking sites, and stuff like Twitter and Facebook.
If you have any requests or fixes, feel very free to email me!
12 Dean // Feb 4, 2008 at 12:36 pm
Glad to see you’ve taken on board future development. Thanks.
Leave a Comment