Social Bookmarks sidebar widget for WordPress
Update: Latest version available here
This is the first relase of my Social Bookmarks sidebar widget for WordPress. It is inspired by Pascal Belloncle’s Bookmarkit plugin for Typo and based upon Kaf Under’s excellent example WordPress widget.
The widget allows you to select a number of social bookmark sites which are displayed in the sidebar. This allows your readers to bookmark your blog or article, depending on the context, directly to the social bookmarking sites you have enabled.
To install the widget, simply download the widget from below, and upload the contents of the archive to your wp-content/plugins/widgets folder and activate the “Bookmark Widget” under your plugin settings. You should then be able to drag and drop the widget to your sidebar and select which bookmarking sites you wish to display.
You can see the plugin in action in my own sidebar on this site and you can download either a .zip or a .tar.gz version.
Please let me know of any bugs or suggestions you have.







[…] [Download] [Plugin Page] […]
[…] Social Bookmarks sidebar widget for WordPress […]
[…] Social Bookmarks sidebar widget for WordPress […]
nice! You does a very useful PlugIn (i’ll setup it on my portuguese blog http://chaosboss.com/blog) don’t have any hack or hint to put it iside posts too?
Hi Jardel,
Have you looked at the Sociable Plugin for WordPress? That allows you to have the links at the end of the post body. I wanted mine in the Sidebar rather than the body, hence this widget
–
J
I have put the widget on two of my sites
On the one http://www.docphot.org (WP 2.0.2) it displays with graphics but on the other http://www.martinshakeshaft.com (WP 2.0.3) it lists the sites without graphics.
Any ideas?
Thanks - Martin
Hi Martin,
It looks like on docphot.org your path to the widget directory is: wp-content/plugins/widgets/ while on martinshakeshaft.com it’s: wp-content/plugins/Widgets/. I’ll update the plugin to automatically use the correct path to the Widgets directory.
–
J
Thanks Joey I have changed the directory to lower case and all works fine now - Thanks for the quick response!
when we install wordpress in subfolder,
images are not displaying,
so i edited plugin file image path to correct it,
i hope you can correct this problem in later release.
Try replacing the following line in bookmark-widget.php:
$imagepath = “/wp-content/plugins/widgets/bookmark”;
With this instead:
$imagepath = str_replace(str_replace(’\\’, ‘/’, ABSPATH), get_settings(’siteurl’).’/', str_replace(’\\’, ‘/’, dirname(__FILE__))) . ‘/bookmark’;
That should fix the problem. It will be fixed in the next release.
hi great work
tried everything no luck
when the new release coming out
cheers
[…] Download Social Bookmarks sidebar widget for WordPress […]
Hi,
Not sure after uploading to /blog/wp-content/plugins/ and activating what’s wrong, but its’ not showing up anywhere in the admin (to place in my sidebar).
BTW, I’m using Wordpress v. 2.0.5 and Semiologic Theme. Thanks.
Hi Kaity,
I’ve just tested the plugin with the Semiologic Theme and it works fine for me. You say you uploaded the widget to /blog/wp-content/plugins/ but it needs to be uploaded to /blog/wp-content/plugins/widgets/. Are you using version 0.1 or 0.2?
–
J
Ditto with problem with images not showing. Done everything by the book, only get links, have tried images in different folders.
Tried your workaround too, but simply got a page full of errors.
Looks a great little plugin, would love to have it displaying on my site like yours does.
Hi Richard,
Have you tried version 0.2 of the widget?
One other thing you should check is that the directory holding the images is readable by your webserver.
If you still have issues, leave a link to your site and I’ll see if I can see what’s going on.
–
J
Sorry, guys, not great…
Good, convinient, compatible… But not great.
Look at nice and tiny solution by Alexking ShareThis! plugin.
Hi Petrenko,
Alex King’s ShareThis! plugin is a completely different animal. It’s a full blown WordPress plugin while this is just a simple sidebar widget.
The whole idea of this widget was to be as simple as possible, just display the links and be done with it.
Alex’s plugin does look a lot better, I like the idea of the popup to display the links rather than listing them across the bottom of the post as the Sociable Plugin does and it’s an option I might look at adding in the future if I ever have the time!
–
J
Hey, was going through your code to learn how to make a widget for my plugins.
Just noticed one potential problem. You don’t initialize $text. Doesn’t PHP by default initialize it as blank?
Because if this is not the case, if
$options['del_icio_us'] == offthen it will jump to digg and will try to append the text to the existing value of $text.Hi Ajay,
I had fixed this in version 0.2 of the widget.
–
J
Hi Joey,
I like the concept of your widget. Easy to use.
Unfortunately the icons are not shown @ my website, even though the files are in place. I even FTP-changed the Bookmark Folder to 777, but no avail. Only the text links are shown.
It can be found here http://www.nomad4ever.com in the lower left sidebar. I use the Andreas-09 template for Wordpress.
Any idea on what could be wrong?
Thanks a lot,
Chris
Is there a way to display the widget only when a user clicks a post ?
Now it displays all the time, so when a user visits my site, and thinks “hey, this is a nice post” they’ll bookmark not the article, but my whole website.
Is there a way to ‘hack’ aroud this ?
Sorry, but i’m now using SHARE THIS
http://alexking.org/projects/wordpress
Hi tjeerdoo,
Yeah, Alex’s plugin sounds more like what your looking for. The widget simply uses the URL of the current page to generate the links. Therefore if you are on the front page, it will bookmark the main URL of your blog and if your on a post page it will bookmark the individual post itself.
The whole idea of the widget is to be as simple as possible, however this might be a feature I can add to a future version if I can manage to find some time!
–
J
[…] Social Bookmarks sidebar, […]
[…] blog@darxr » Social Bookmarks sidebar widget for WordPress […]
That sounds good but won’t work for wordpress.com and for wordpress.com blog post i’ve a solution.
A greasemonkey userscript that will add the required buttons to blog posts at wordpress.
http://targetlife.wordpress.com/2007/07/07/most-convinient-way-to-add-social-bookmarking-buttons-links-to-wordpress-com-blog-post
I personally think the romlet widget at http://romlet.com will replace AddThis and these other bookmarking widgets, which a lot of readers seem to ignore
Is “ROMLet” even available yet? It’s hard to say it’s going to replace anything when there’s no information available on it!
–
J
[…] blog@darxr » Social Bookmarks sidebar widget for WordPress (tags: widgets wordpress widget social plugins plugin delicious bookmarking) […]
Actually there are two different versions (both of which will be available upon beta release) already up on our site: http://weburbanist.com - there is also some info on romlet.com as well as an article describing its potential on Pronet Advertising
Hi Urbanist,
The two sidebar widgets I see on your site don’t seem to have anything to do with bookmarking at all, apart from listing your refers from social bookmarking sites! It just seems like a clone of WhoLinked and similar widgets/plugins to me.
The idea of my widget is simply to provide a simple bookmark link in the sidebar and nothing more, plus as the code is open, anyone can modify and add sites in their niche that are not already supported simple by adding two lines to the configuration file and uploading an icon.
–
J
Thanks this is a great addon.
Nice and working fine, although I prefer the one button approach, but still a good addon.
[…] Darxr.net: Social Bookmarks Sidebar Widget for WordPress […]
I like it, thank you very much. It fits perfectly for my purposes.
[…] Darxr.net: Social Bookmarks Sidebar Widget for WordPress […]
[…] Darxr.net: Social Bookmarks Sidebar Widget for WordPress - The widget allows you to select a number of social bookmark sites which are displayed in the sidebar. This allows your readers to bookmark your blog or article, depending on the context, directly to the social bookmarking sites you have enabled. To install the widget, simply download the widget from below, and upload the contents of the archive to your wp-content/plugins/widgets folder and activate the “Bookmark Widget” under your plugin settings. […]
Hello!
I think this try.