Social Bookmarks Plugin for WordPress
Social Bookmarks is a WordPress plugin that adds a list of XHTML compliant graphic links at the end of your posts that allow your visitors to easily submit them in a number of different social bookmarking sites. It features an AJAX front-end interface.
You can see the plugin in action at the end of the article (just before the comments section). Furthermore, the plugin adds a page in the WordPress admin section that lets you customize it. See the Customization section below for details.
The following 50 sites are supported:
|
|
|
AJAX Interface
Version 4 introduces a new front-end interface based on AJAX. It allows you to hide the links displaying only a “Bookmark Page” label which when clicked makes the links visible. This action is performed without reloading the page since it uses AJAX.
A “Hide Sites” label is also present to allow your readers hide the displayed links. You can set from the Dashboard Option page whether the links will be visible or not when a page loads. Note that the default AJAX functionality is configured so that the presentation of the version versions is retained.
This feature can be extremely useful to WordPress blogs where a big list of social bookmarking sites is displayed through the plugin. In this case, the links can be set to be hidden when the page loads, so that it does not feel too “heavy” on the reader’s eyes.
Language Packs
Language packs is another new feature of version 4. The plugin out of the box offers support for 50 international English (since English is an international language) social bookmarking sites. You can now download additional language packs from the download section that add language specific sites (German, French, etc). The following language packs are now available:
- Chinese
- French
- German
- Hungarian
The following language packs will be added in the next coming days: Indian, Irish, Italian, Japanese, Polish and Spanish.
Note that a template pack is also available for download in case that you want to develop and release your custom language pack.
I am actively looking for volunteers to develop and maintain language packs. if you are interested, drop an email through the contact form.
Download
The plugin is provided as a compressed zip file. You can use any program that can uncompress zip files (like IZArc or StuffIt) to extract the plugin.
Latest version: 4.0.65
Subscribe for Updates
If you want to receive an email when a new version of the plug-in is released then type your name and email below and press the Join button.
Submit a Problem or Feature Request
If you have downloaded the plugin and either you spotted a problem with it or have an idea for a new feature, then please use this bug tracking system to report it rather than a comment in this page.
Don’t forget to include as much information as possible and check whether someone else has submitted the same issue before you press the submit button.
Release Notes
When a new version of the plugin is made available, the release notes are updated.
Updating
If you are updating from a previous version then it is advisable to remove the installation of your previous version before you install the new one (your setting will be retained):
- De-activate the plugin from the Plugins menu of your WordPress admin section.
- Delete the plugin directory from wp-contents/plugins.
- Extract the plugin on your computer and upload the social_bookmarks directory to wp-contents/plugins.
- Finally, activate the ‘Social Bookmarks’ plugin from the Plugins menu.
Installation
- Upload the social_bookmarks directory to your wp-content/plugins/ directory so that you have a new directory ’social_bookmarks’ within your plugins directory.
- Finally, activate the plugin from your Plugins page on your WordPress administration page.
Customization
The plugin features an Options page in the WordPress admin section. You can select which sites are displayed, whether the links will open in a new window or in the current page. Also, you can change the heading that appears above the links which can be really useful to non-english sites.
If you have pages in your site then you can select a sub-set of them (or even all of them) where the links won’t appear. You can also specify to display the links in up to five lines. The AJAX interface can also be customized. It can be disabled, change the initial state and also alter the speed of the AJAX collapsible interface.
You can set the plugin to be visible in the blog listing (index.php) and/or in the single post page. The plugin uses a stylesheet (social_bookmarks.css) which you can modify to integrate it further with your theme.
Credits
Special thanks goes to Guzzo The Contrarian for helping out with the plugin testing.
Rate This Page
[ratings]
BlinkBits
BlinkList
Bloglines
Blogmemes
BUMPzee
Blogmarks
Blue Dot
Co.mments
Connotea
De.lirio.us
Del.icio.us
Diigo
digg
DotNetKicks
DZone
Facebook
Fark
Feed Me Links
Fleck
FriendSite
FURL
Google Bookmarks
Kaboodle
LinkaGoGo
Ma.gnolia
Maple
Mister Wong
Netscape
Netvouz
Newsvine
PlugIM
PopCurrent
RawSugar
reddit
Rojo
Shoutwire
Simpy
Sk*rt
Slashdot
SphereIt
Stumble Upon
Squidoo
Spurl
Taggly
Tailrank
Technorati
ThisNext
Webride
Wists
Yahoo My Web


































No My-Tuts? :)
Jay | July 3, 2006No My-Tuts?
My Tuts is dedicated to tutorials. I could add it
apostolos | July 4, 2006My Tuts is dedicated to tutorials. I could add it if you want but it cannot be applied to all the blog entries.
It can't be applied to all blog entries no, but
Jay | July 4, 2006It can’t be applied to all blog entries no, but we have an approval process that filters those entries out
Also - blog entries make up for a large amount of tutorials
I have added My-Tuts to the Social Bookmarks Bar.
apostolos | July 4, 2006I have added My-Tuts to the Social Bookmarks Bar.
Nice plugin...I already use Sociable, which adds a whole lot
David Bradley Science Writer | July 11, 2006Nice plugin…I already use Sociable, which adds a whole lot of others, but it looks a bit messy so I may give this one a try simply cos it’s neater.
This is just what ive been looking for however I
Dustin | July 13, 2006This is just what ive been looking for however I have a problem. Its installed and everything and I add the code to the sidebar but it doesnt show up on the page. Im not sure what im doing wrong.
Hi Dustin, I had a look on your site. Did you
apostolos | July 13, 2006Hi Dustin,
I had a look on your site. Did you add the code in the http://www.mooncube.org/wp-content/themes/blogtxt-12/sidebar.php file? After which heading did you enter the call to the get_social_bar(); ?
I love the look of your plug-in. I was wondering,
Shannon | July 15, 2006I love the look of your plug-in. I was wondering, can it be added to individual posts, or just the sidebar? I’ve been trying to make it work on my posts all day; and then it occured to me that might not be it’s intended usage.
Hi Shannon, the plugin is designed to work when a single
apostolos | July 16, 2006Hi Shannon,
the plugin is designed to work when a single Post page is being displayed as it makes use of is_page() wordpress function.
Hi Dountsis, i have included the code into the sidebar.php and
Jörg Hoewner | July 19, 2006Hi Dountsis,
i have included the code into the sidebar.php and the links do appear - but without the icons: I have uploaded them as they were, in the same directory as the PHP-File. What did I wrong?
Checkout
this example.
Best regards and Thanks very much!
Joerg
Hi Joerg, The plugin assumes that Wordpress is installed on the
apostolos | July 19, 2006Hi Joerg,
The plugin assumes that Wordpress is installed on the root of your web site and in your case is not. Therefore, you need to edit the social_bar.php in the plugin directory.
In the line number 11 that reads:
function sb_item($site_name, $settings, $plugin_dir = '/wp-content/plugins/social_bar/', $render = true)
you need to change the string ‘/wp-content/plugins/social_bar/’
to read ‘/wordpress/wp-content/plugins/social_bar/’
Regards,
Apostolos
It works! Thanks so much. Best regards Jörg
Jörg Hoewner | July 19, 2006It works! Thanks so much.
Best regards
Jörg
Nicer and neater than the Sociable plugin! Good work!
Yvonne | July 25, 2006Nicer and neater than the Sociable plugin! Good work!
hi there, I am experiencing a big problem with your plugin.
Francesco | July 31, 2006hi there,
I am experiencing a big problem with your plugin. It does not work and I cannot desinstall it or inactivate it because otherwise it crashes my blog!
Fatal error: Call to undefined function: get_social_bar() in /home/hotelbl/public_html/wp-content/themes/blogtxt-12/home.php on line 63
Could you please help me?
Thank you
Hi Francesco, if you want to uninstall the plugin then you
apostolos | July 31, 2006Hi Francesco,
if you want to uninstall the plugin then you need first to remove the line 63 (based on the error message that you quoted) on your wp-content/themes/blogtxt-12/home.php which should be the call to get_social_bar(). Save your changes and refresh your blog to make sure that everything is working fine. Then you can de-activate it through WordPress.
The plugin is tailored to work when placed in the sidebar.php and not home.php. The bar will appear when you are viewing a single post.
Hope that helps,
Apostolis
I would like to have this bar come up under
Monica | August 3, 2006I would like to have this bar come up under every one of my posts (after the area that shows the category and comments, but before the division for the next post). I tried putting “” in the index.php file but it doesnt show up. Any idea why? Your advice would be much appreciated, thank you.
Hi Monica, you need to open the social_bar.php in your plugins
apostolos | August 3, 2006Hi Monica,
you need to open the social_bar.php in your plugins directory. After the line 82 (before the line with the return; ) create a new line and paste the following code:
else
{
print('
‘);
print(’Submit Post to:
‘);
print(’‘);
foreach($social_places as $site_name => $settings)
{
sb_item($site_name, $settings);
print(” ”);
}
print(’‘);
print(’
‘);
}
The next step is to open the index.php of your plugin and place the following line in the position where you want the plugin to be displayed.
< ?php get_social_bar(); ?>
As always, let me know if that works ok for you
Hello! I tried the above solution (comment #17) to
Lindsey | August 7, 2006Hello! I tried the above solution (comment #17) to get this code to display under each post in my blog, but it messed things up and is now displaying:
Parse error: parse error, unexpected T_ELSE in /home/doodlebug/domains/mysuspensionofdisbelief.com/public_html/
wp-content/plugins/social_bar/social_bar.php on line 82
What should I do to get this working? Thanks in advance!
Urgh. For some reason this is not showing up and
Jennie | August 9, 2006Urgh. For some reason this is not showing up and I -am- using the right php code, it is enabled, and I even reuploaded the files just in case. I tried it in both my sidebar and footer.
Thanks for the plugin; here are a few suggestions: You can
Matthew | August 11, 2006Thanks for the plugin; here are a few suggestions:
You can define the plug-in directory automatically with
$plugin_dir = get_option('siteurl').'/wp-content/plugins/social_bar/';Those having trouble with copying the additional code for single entries may have run into the same quote-mangling I did; perhaps you could add the code to the plugin with an option to activate it.
Lindsey : Can you send your social_bar.php to see
apostolos | August 12, 2006Lindsey : Can you send your social_bar.php to see what the problem is? Use the contact form in the About section to email me and I reply so that you can send me the file. I tried your admin email address but I got “Undelivered Mail Returned to Sender”.
Jennie: I am sorry if my code caused you any furstration. Which version of WP do you use?
Matthew: Thanks for the suggestion. Could you give me more info about the quote-mangling that you mentioned?
I thought it might help to share my set of
Matt Williams | August 14, 2006I thought it might help to share my set of edited icons for this plugin. I have changed them so that they always have a 1 pixel white space between each one, rather than a variable space. This means they fit into a 152 pixel total width.
You can download them here:
http://www.watchthis.co.uk/social_bar.zip
Thanks Matt for the graphics. Just to note the IE6
Apostolos | August 14, 2006Thanks Matt for the graphics. Just to note the IE6 does not support transparent PNGs. So if your site has white background you will be ok but otherwise the transparent portion of the image will be displayed as white.
Thanks for pointing that out. I kind of selfishly
Matt Williams | August 14, 2006Thanks for pointing that out. I kind of selfishly made them with a white non-transparent background because that matches the colour of the background on my website. I guess if someone wants them to appear on a non-white background they’ve got some recolouring to do. I have to admit that the ones that appear on my website are actually GIF’s because I didn’t want to have to think through any browser compatibility issues.
Hi there, just having a little trouble with the plugin.
Jim | August 14, 2006Hi there, just having a little trouble with the plugin. I’ve uploaded and activated the plugin, updated the social_bar.php file to point to ‘/news/wp-content/plugins/social_bar/’) and added
Bookmark Page
to the top of my sidebar file. My site is located at http://www.websiteforu.com/news/
Any Idea why the links and pictures arent showing up?
Thanks in advance!!!
Lindsey (about the add-on code for putting the bar in
Jb | August 14, 2006Lindsey (about the add-on code for putting the bar in the posts):
There is a problem in the code, with the ‘ and the ” which need to be rewritten.
I’ve made the required changes, pick it up here:
http://grandespoches.net/blog/socialadd.txt
I have the same problem like post 25 (Jim). Any
Yick | August 20, 2006I have the same problem like post 25 (Jim). Any idea why?
Yick
Hi, I added three more provider which are YahooMyWeb, Co.mments
Hasin | August 20, 2006Hi, I added three more provider which are YahooMyWeb, Co.mments and Newsvine to the plugin. See the code below.
‘YahooMyWeb’ => array(’img’ => ‘yahoomyweb.png’,
‘url’ => ‘http://myweb2.search.yahoo.com/myresults/bookmarklet?u={link}&title={title}’,
‘url_target’ => ‘_self’),
‘Co.mments’ => array(’img’ => ‘co.mments.gif’,
‘url’ => ‘http://co.mments.com/track?url={link}&title={title}’,
‘url_target’ => ‘_self’),
‘NewsVine’ => array(’img’ => ‘newsvine.png’,
‘url’ => ‘http://www.newsvine.com/_tools/seed&save?u={link}&title={title}’,
‘url_target’ => ‘_self’)
Hello there, this is a great plug in however I
Ely | August 21, 2006Hello there, this is a great plug in however I can’t get it to work, I have activated the plug in and also edited social_bar.php as suggested in post #11 to meet the plugins directory path on my site, I have also added to my sidebar.php everything is there saved correctly however the plug in is not showing up in my sidebar on my side, I added to the end of sidebar.php after
Any ideas on what might be wrong? thanks a lot in advance.
-Ely
I forgot that you cannot post code here, so my
Ely | August 21, 2006I forgot that you cannot post code here, so my post above seems nonsense I wish I could edit it lol.
I have updated the plugin based on all your feedback.
Apostolos | August 23, 2006I have updated the plugin based on all your feedback.
Let me know of any problems
Thank you for providing this awesome plugin! It's just what
utilidude | August 23, 2006Thank you for providing this awesome plugin! It’s just what I was looking for. Great work.
Hi. First off, great plugin! I've got it up on
Aliza | August 24, 2006Hi.
First off, great plugin! I’ve got it up on one site (uncorporatecommunications.com…just moved from wordpress.com and still need to move over posts) and plan to use it for many more.
I can’t get the icons to show, though, and I tried the advice you gave Jorg, and still no icons. Any help would be much appreciated!
can not get icons. I followed post 11 but it
Troy | August 24, 2006can not get icons. I followed post 11 but it did not help. I do not have a WP folder. WP is basically my home page on th eabove domain. My directory is like www/infozeus/wp-content/plugins…
Please help
Troy and Aliza, no need to follow the tip on
Apostolos | August 24, 2006Troy and Aliza, no need to follow the tip on post 11 as the new version should take care that. Which is the full directory where the plugin is located?
Troy and Aliza, I think that the problem is that
Apostolos | August 24, 2006Troy and Aliza, I think that the problem is that your Social Bar plugin directory is called social_bar_2.
Disable the plugin, change the directory name to social_bar and re-activate the plugin.
I have corrected the download so that everyone else should be ok now.
Sorry about this
Thanks so much for this plugin!! I have been trying
Khalid Muhammad | August 24, 2006Thanks so much for this plugin!! I have been trying to figure out how to add these links to my blog and its had me banging my head against the wall when it comes to where to place the code. Your plugin makes it so much easier!!
Great plugin and exactly what I was looking for. Thanks
Mike | August 28, 2006Great plugin and exactly what I was looking for. Thanks for writing!
Only problem I’ve got is that there is a rather ugly border around the images which isn’t on the PNG files so I’m guessing it’s either my theme or something I need to change in the social_bar.php file.
Can you advise?
Cheers,
Mike
Hi Mike, try the following: open social_bar.php in a text editor and
Apostolos | August 28, 2006Hi Mike,
try the following:
open social_bar.php in a text editor and change line 54 from
$target_img = "
to
$target_img = "
I have simply added the
style="border:0px;"to the img so that no border should be displayed.Apostolos
Great stuff - fixed. Thanks for the lightning quick response
Mike | August 28, 2006Great stuff - fixed. Thanks for the lightning quick response too!
Cool plugin, but I'm having a problem. It's displaying at
Ryan Shwayder | August 29, 2006Cool plugin, but I’m having a problem. It’s displaying at the bottom of every one of my posts even on the main page, not just when viewing a single post. Is there any way to prevent that from happening?
Alternatively, can this be used just on the sidebar and not in each post?
Can you take a quick look and let me know
RecruiterGuy | August 30, 2006Can you take a quick look and let me know why the first image is higher than the others?
Great little plugin, btw. I’m anxious to get it working as I’d like. Thx!
Ryan: Open social_bar.php and go to line 131. The
Apostolos | August 30, 2006Ryan: Open social_bar.php and go to line 131. The code should read:
// return($content);
return($content.$html);
Change it to:
return($content);
// return($content.$html);
That should display the bar only when a post is viewed as a single post.
by the way, I really love your template (and your site)
Apostolos
RecruiterGuy : I noticed that you have amended the html
Apostolos | August 30, 2006RecruiterGuy : I noticed that you have amended the html for the social bar. If you revert back to the original code you still have the same problem?
Yes. I made some very simple edits to the
RecruiterGuy | August 30, 2006Yes. I made some very simple edits to the border, etc. But the misalignment was always there.
Very strange.
Any ideas?
RecruiterGuy: A couple of things that you could try: A) comment
Apostolos | August 31, 2006RecruiterGuy: A couple of things that you could try:
A) comment the line 118. This should remove the white space between the images.
B) comment out lines 113 and 121.
C) comment out lines 112 and 122.
Do not try all the suggestions at the same time. Try one at a time and let me know if the mis-alignment has been corrected.
The first suggestion did the trick. Commenting out [$html .= " ";]
RecruiterGuy | August 31, 2006The first suggestion did the trick.
Commenting out [$html .= " ";] did the trick.
Thanks again, Apostolos. I appreciate the fantastic plugin.
Hi again, Haveing a slight problem again, lol... If you look
Jim | September 1, 2006Hi again,
Haveing a slight problem again, lol… If you look at my site http://www.websiteforu.com/news/ you can see that the plugin is working, just adding text links instead of adding the icons. Also on the sidebar, nothing shows up under the bookmarks header. I’m totally lost here, lol. Hope I’m not being a pain because I really appreciate the work you do offering this code to people for free! I’d just love to get it working correctly.
If anyone has any clue or has encountered this same problem and can help I’d really appreciate it!
Thanks in advance
Hi Jim, for some reason the plugin is trying to load
Apostolos | September 2, 2006Hi Jim,
for some reason the plugin is trying to load the images from http://websiteforu.com/news/news/wp-content/plugins/social_bar/. There is an extra /news there which I am trying to figure out how it ended up there.
The icons are not displayed on the status bar by default. You need to follow the instructions specified under the Usage of this page.
Apostolos
Hi Apostolos, I think I've figured out the problem. I looked
Jim | September 2, 2006Hi Apostolos,
I think I’ve figured out the problem. I looked at the social bar plugin, and there was a reference to news/wp-content/plugins/social_bar instead of just the regular wp-content folder. I think I changed this to point to news on the first version, and maybe when I uploaded and overwrote the new files for the new version it either didn’t overwrite it, or some other error happened? I don’t know but removing that extra news worked.
Thank you very much for this plugin its really a great tool for all of the bloggers out there!
Have a great day and happy labor day to those in the US.
The graphics are lining up vertically on my blog's home
Dave | September 4, 2006The graphics are lining up vertically on my blog’s home page, but they look fine on the individual posts.
Hi Apostolos, Thanks for the great plugin that you've generously provided.
Andrew Terry | September 5, 2006Hi Apostolos,
Thanks for the great plugin that you’ve generously provided. On my blog, though, the images have a few spaces between them. I’ve taken out the line
$html .= " ";from social_bar.php, but still no joy. Is it something to do with the way my theme justifies the content?Cheers
Andrew
Love this plug-in; I always thought other social bookmarking plugins
Laurel Krahn | September 6, 2006Love this plug-in; I always thought other social bookmarking plugins were too ugly too use– this one looks nice.
Has anyone created buttons/icons for NewsVine and MyYahoo yet? I noticed the code posted by someone in comments, but I’d love to track down a NewsVine button (I could make one, but I bet someone already has).
Thanks!
Hello there! Great plugin!!! But I was wondering how can I delete
Rene | September 9, 2006Hello there!
Great plugin!!!
But I was wondering how can I delete bookmark links and icons from the list? I would just like to have digg, furl, reddit and technocrati.
Plus I would like to have all for icons next to the “Bookmark to:” text and not below. Can I change this?
Thanks for your help,
Yours,
Rene
Hi, How to The plugin just appear in side bar
eternal | September 12, 2006Hi,
How to The plugin just appear in side bar not in wordpress posts?
thanks
Hi guys, I have been away for a week and I
Apostolos | September 12, 2006Hi guys,
I have been away for a week and I can see that I you have questions or issues that need to be addressed:
@ Dave & Andrew: This is a template issue. I assume that your templates have a style assigned to img. I would not recommend modifying the template stylesheet as this may cause problems to the rest of your site. If you could post or email me (using the contact form on the about page) the relevant sections of the stylesheet, I will try and sort it out for you guys
@ Laurel: I could add these sites to the plugin (including the graphics). Let me know if you are still interested.
@Rene: You need to modify the plugin in order to do those changes. These are simple changes. Let me know if you still want them
@eternal: Open social_bar.php with your text editor and at the end of the file there is a line that reads:
add_filter('the_content', 'social_bar');You need to comment the line as shown below:
// add_filter('the_content', 'social_bar');By doing that the plugin won’t be displayed on the posts.
The next step is to edit the sidebar.php file of your theme and add the following line where you want the Social Bookmarks Bar to be displayed:
< ?php get_social_bar(); ?>
Apostolos
Hey Good plugin (I live in Lewes) however when i
jonathan spencer | September 12, 2006Hey Good plugin (I live in Lewes) however when i hover over an icon I would like it to say yahoo or comments or whatever the link is instead it gives the full url like so:
http://www.tagtooga.com/tapp/db.exe?c=jsEntryForm&b=ie&
url=http://www.jonathanspencer.net/xoops/modules/wordpress/2006/09/10-best-plugins-for-wordpress/
is there anyway to change this and make it clearer with a short url?
Hi Jonathan, good to see a neighbour (I live in Hove)
Apostolos | September 13, 2006Hi Jonathan,
good to see a neighbour (I live in Hove) on the site. I am a bit confused with your suggestion as the plugin displays the post title on the tooltip. Have a look on the screenshot below from your site:
http://www.dountsis.com/files/jonathan.gif
I have tested the plugin in IE6, IE7, Firefox and Safari. What browser are you using?
Apostolos
Thanks, Apostolos! I would be interested in a version
Laurel Krahn | September 14, 2006Thanks, Apostolos! I would be interested in a version with those additional icons (NewsVine in particular).
HI Laurel, I have send you an email with the updated
Apostolos | September 15, 2006HI Laurel,
I have send you an email with the updated code and the icons
Let me know of any problems
Hi Apostolos.. Thank you for this great plugin. You've created a
Mike | September 17, 2006Hi Apostolos..
Thank you for this great plugin. You’ve created a product that everyone loves. I’ve already noticed that other blogs like mine have installed your plugin after seeing it on my blog.
Could you email the updated code and icons that you sent Laurel? They are exactly the two extra bookmarks that I wish were added.
Thanks a bunch!
I put the code as the first thing on comments.php in
Oleg | September 17, 2006I put the code
as the first thing on comments.php in my K2 template.
I get the error:
Fatal error: Call to undefined function: get_social_bar() in /home/favfav/public_html/wmtoolbox/blog/wp-content/themes/3ColumnK2/comments.php on line 2
Any reason?
Code didnt show up...
Oleg | September 17, 2006Code didnt show up…
Hi Oleg, could you email me the code? I do not
Apostolos | September 17, 2006Hi Oleg,
could you email me the code? I do not understand why your are calling the function get_social_bar() from the comments.php….
You simply need to activate the plugin. No modification of any template files is required.
Apostolos
Hi Apostolos: Thanks again for the updates, you were very considerate
Mike | September 21, 2006Hi Apostolos:
Thanks again for the updates, you were very considerate in emailing them to me.
If I may, I’d like to provide some constructive criticism. Please bear with me if I’m wrong, I’m not the most computer-literate person about these things.
1. Seems like the download is “double” archived. I have to extract it twice to get to the main folder.
2. I noticed that the Del.icio.us bookmark has a “target = _blank” command and opens in a new window, while the other bookmarks do not. Can all of the bookmarks contain this command?
3. While I like the “target=_blank” command, it makes the plugin non-compliant with XHTML requirements. Is there a way to configure the plugin to be XHTML compliant?
Okay.. that’s it. Hope this helps you out. Thanks again!
Mike
I noticed that this plugin breaks the xhtml validation because
Rubén Laguna | September 23, 2006I noticed that this plugin breaks the xhtml validation because the urls it produces the “&” ampersand are not html escaped -> “&”.
For example the line
'url' => 'http://del.icio.us/post?url={link}&title={title}',should read
'url' => 'http://del.icio.us/post?url={link}&title={title}',I can email you the changes social_bar.php with all the “&”s properly escaped if you like.
@ Mike & Rubén, I am in the process of updating
Apostolos | September 23, 2006@ Mike & Rubén,
I am in the process of updating the plugin to make it XHTML compliant. I have corrected the target=”_blank” that Mike reported just before your post. If you use the plugin that is installed on my site you will see that now the Digg and Del.icio.us open in a new window in a XHTML compliant method which is javascript
Rubén, if you can send your changes that would allow me to release the update faster as I am currently working on another plugin that I want to release.
Apostolos
Hi, I like this plug-in a lot and I have
Cleopatra's Corpse | September 23, 2006Hi, I like this plug-in a lot and I have installed it in my own blog, the only thing I’d like to ask as a n00b to wordpress and to php in general is:
How can I edit the plug-in so that it appears lower down in comparison to the entry text in order for it to stay centered? What I mean is my blog entry may have an image on the left which in some cases interferes with the location of the centered text and the images of the plug in, so if it was moved further down it would avoid this anomaly. Also if possible, can you tell me where I can apply some .css styles in order to make it blend in correctly?
Thanks
That's exactly what I was looking for, and it's really
Stephane | September 24, 2006That’s exactly what I was looking for, and it’s really good looking… thanks to have shared it !
Stéphane
it's ok, I've done it and it works perfectly :)
Cleopatra's Corpse | September 24, 2006it’s ok, I’ve done it and it works perfectly
Hi Apostolos: I'll bet that your sick of hearing from me.
Mike | September 25, 2006Hi Apostolos:
I’ll bet that your sick of hearing from me.
However, just think how my feedback can help better your product.
Well, I found something else about your plugin that you may want to consider revising. I love having the Social Bar in the “posts” footer, but it also shows up where I “don’t” want it, like the “About, Archive, Disclaimer, and Contact” pages. Can your plugin be adjusted to only show-up on the “post” and “comments” pages only? Those would be the ones where readers would most likely use the Social Bar options.
Okay.. I promise not to find any other faults.
Hey, BTW, I really like your site design, its easy to navigate and pleasing to the eyes. Take care!
Mike
Hi Mike, I have taken your comments onboard and the next
Apostolos | September 25, 2006Hi Mike,
I have taken your comments onboard and the next release (version 3) will include these requests.
Please keep on finding faults so that I can keep on fixing them.
There may be a reason for the version jumping of the next release
Apostolos
As I said in the previous comment, I am planning
Apostolos | September 26, 2006As I said in the previous comment, I am planning a major revision of the plugin and I have my personal list of features but I would really welcome your requests.
I have created a new post so that I can gather all the requests together. Even if a feature has already been requested please post it again so that I can see how many people want it.
So fire away here!
i add google bookmark to your script ;) please test and
metin gündüz | September 30, 2006i add google bookmark to your script
)
please test and check. i try on firefox 1.5 and ie6. thanks guys.
(i try to paste code, but its to long
page : http://www.gunduz.info/wp/?p=44
renamed php file : http://www.gunduz.info/wp/wp-content/uploads/2006/09/social_barphp.txt
google image : http://www.gunduz.info/wp/wp-content/plugins/social_bar/google.jpg
http://www.gunduz.info/wp/?p=44 i add google bookmarks to your script ;) please visit
metin gündüz | September 30, 2006http://www.gunduz.info/wp/?p=44
i add google bookmarks to your script
please visit and check chances 
i test it only on firefox1.5 and ie6
$social_places = array(
‘Google’ => array(’img’ => ‘google.jpg’,
‘url’ => ‘javascript:(function(){var a=window, b=document, c=encodeURIComponent, d=a.open(\’http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=\’+c(b.location)+\’&title=\’+c(b.title),\’bkmk_popup\’,\’left=\’+((a.screenX||a.screenLeft)+10)+\’,top=\’+((a.screenY||a.screenTop)+10)+\’,height=420px,width=550px,resizable=1,alwaysRaised=1\’);a.setTimeout(function(){d.focus()},300)})();’,
‘url_target’ => ‘_self’),
Hi, I want to align the social bar to the left
Darren | October 2, 2006Hi,
I want to align the social bar to the left hand side of the page.
I’m crapola at code, so how do I do this - as standard it is centre.
Thanks
Version 3 is now available. I have updated this page
Apostolos | October 6, 2006Version 3 is now available. I have updated this page to reflect the new version.
Great plugin! I just installed it, tested it, and now
Erod | October 6, 2006Great plugin! I just installed it, tested it, and now it’s running 100%.
Thanks!
hey nice job! I know you recently released v3.0,
Mr Papa | October 6, 2006hey nice job! I know you recently released v3.0, but here’s a feature request for the next version. Might not be of interest to all, but how about an option to collect statistics on the actual use of the button? Maybe keep track of clicks and from which post?
Just an idea…
Mr Papa
I just added on socialable last night and it seems
Rob | October 6, 2006I just added on socialable last night and it seems ok,i wonder if i could plug this one in?
or should i delete that and install this one,it looks like it has some better links on it like google etc..
@ Rob: My suggestion is to have one disabled while
Apostolos | October 6, 2006@ Rob: My suggestion is to have one disabled while the other one is enabled.
Hi, nice plugin. I want to have the sociable icons underneath
Darren | October 7, 2006Hi, nice plugin.
I want to have the sociable icons underneath the author, category, and comments on my blog, and not after the post. When I click on the printer friendly view, the socialable images appear, and I don’t want them to.
I am looking into it Darren. One question: Which plugin
Apostolos | October 7, 2006I am looking into it Darren. One question: Which plugin are you using for the printer friendly view?
very nice plugin ! :) But we can i adjust it
OFFI | October 7, 2006very nice plugin !
But we can i adjust it that this plugin not show it on the index.php ?
greetz from germany
Is your index page a post or a page? If
Apostolos | October 7, 2006Is your index page a post or a page? If it is a page then you can exclude it from the admin section (Options > Social Bookmarks)
Apostolos
its the standard index post page like this: . Uhr
OFFI | October 7, 2006its the standard index post page like this:
.
Uhr
">” title=”Permanent Link to ” rel=”bookmark”>
This social bookmark is one of the coolest plugins for
ProTibet | October 8, 2006This social bookmark is one of the coolest plugins for WordPress. Thanks Apostolis for making it available freely on your website. I might also try the Easy Peasy Image Gallery later.
Regards,
ProTibet
@OFFI: I would be happy to tweak the plugin so
Apostolos | October 9, 2006@OFFI: I would be happy to tweak the plugin so that it won’t appear in your index.php page. Let me know if you are still interested
Apostolos
Apostolos - I'm interested in having you tweak the plugin
Derek | October 10, 2006Apostolos - I’m interested in having you tweak the plugin so it won’t appear in the posts on my index.php page… or having you tell me how to do it. I tried to use the code you posted in your reply to Ryan on 30 Aug, but I think maybe your code in the php file has changed a bit in the new releases since then.
Great-looking plugin… and great-looking blog, too, BTW.
Derek
Social Bookmarks v3 is awesome! Downloaded, installed and got
Murray Nickel | October 12, 2006Social Bookmarks v3 is awesome! Downloaded, installed and got running with ease - thanks Apostolos for your work.
I’d like to see the option for turning off on the index page as well (as mentioned by others).
Thanks for the plugin works great and looks much nicer than
Rob | October 12, 2006Thanks for the plugin
works great and looks much nicer than my other one!
Keep up the good work:>)
All the comments dated before the 6th October 2006 refer
Apostolos | October 13, 2006All the comments dated before the 6th October 2006 refer to earlier versions of the plugin and they are not applicable to version 3.
I am working on a tweak that would allow you to exclude the social bookmarks from the home page
Apostolos
Great plugin! I've been looking for such a powerful social bookmark
Avinash | October 15, 2006Great plugin!
I’ve been looking for such a powerful social bookmark plugin for months.
I installed it and everything is working fine.
Thanks a lot for the great work!
Kind regards,
Avinash
Hi, im a chilean blogger, im not a programmer, just
sergio | October 16, 2006Hi, im a chilean blogger, im not a programmer, just a graphic designer, i have a new blog tool called favoriting, i edit the code and insert this item, you can see in my blog, and i need to put more items but the syntaxis of the code makes me sick.
this items had to be added, please!!!
favoriting, onlywire,tailrank,furl
help!! (^^)
Apostolos, you listen my praying? :)
sergio | October 17, 2006Apostolos, you listen my praying?
I am listening Sergio... Favoriting does not support English :-( I
Apostolos | October 17, 2006I am listening Sergio… Favoriting does not support English
I can add tailrank and Furl is already included (3rd icon).
Apostolos
Please Apostolos there are many people who speak spanish only
iluidion | October 17, 2006Please Apostolos there are many people who speak spanish only and internet and web2.0 have to break the walls between users at the whole world.
You should think about spanish webs because they can download your plugin and put it into their webs (in spanish of course).
Many people speaking spanish need to save their favorite urls and that were wrote in english, however it are important for them.
Sorry but my english is wrong.
Bye and thanks for understanding me.
Iluidion
It's a great plugin! Though is there anyway I can
Leonard | October 17, 2006It’s a great plugin! Though is there anyway I can arrange which sociable bookmarks appear first and secondly, how do i make them appear transparent and blend in with the site. Currently, there are borders around it and the background is grey.
Thanks.
@ iluidion: If the demand is there I would be
Apostolos | October 18, 2006@ iluidion: If the demand is there I would be more than happy to create versions of the plugin tailored to languages other than English.
@Leonard: I was sure that someone would raise this matter sooner or later. The short answer is: Yes. Let me explain the how:
The plugin stores the bookmarks in a XML file within the plugin directory. Shifting the
… around allow you to change the order in which the bookmarks are displayed.The graphics are supplied as PNG files. Simply change the files maintaining the filename and extension.
Hope that this makes sense.
Apostolos
:-(
iluidion | October 18, 2006@ iluidion: Is there any other site expect Favoriting that
Apostolos | October 18, 2006@ iluidion: Is there any other site expect Favoriting that a Spanish version should have?
Hi, I love your plugin but I want to place
suzie | October 18, 2006Hi, I love your plugin but I want to place the social bookmarking sites to appear in a different part of the page. The social bookmarking sites are fixed to be in the bottom. I want to use but it is not woking. I probably need to tweak something on social_boookmarks.php. How do I make the work?
I meant I want to use get_social_bar(); but I don't
suzie | October 18, 2006I meant I want to use get_social_bar(); but I don’t know how to get to work.
Hi Suzie, the get_social_bar() is deprecated in version 3. Where do
Apostolos | October 19, 2006Hi Suzie,
the get_social_bar() is deprecated in version 3. Where do you want to display the plugin?
I just want the option to display it anywhere on
suzie | October 19, 2006I just want the option to display it anywhere on the page. Be it below a certain paragraph or the sidebar. Rigbt now it’s fixed and I don’t have the flexibility to move it. What do I need to do? Thanks in advanced.
Currently, the plugin is appended to the contents of your
Apostolos | October 21, 2006Currently, the plugin is appended to the contents of your post or excerpt. If you could be a bit more specific then I could modify the source to meet your needs.
Hi Aposotolos.. Hope you'e doing great! Thinking about adding more bookmark links
Mike Guzzo | October 23, 2006Hi Aposotolos..
Hope you’e doing great!
Thinking about adding more bookmark links in the Social Bookmarks?
Here are a few for your consideration: Fark, Pluck, and TailRank.
L8R!
Mike
Apostolos, the plugin is breaking XHTML validation on my site: 1.
Derek | October 23, 2006Apostolos,
the plugin is breaking XHTML validation on my site:
Line 78:
*sigh*... I have no idea what I'm doing wrong with
Derek | October 23, 2006*sigh*… I have no idea what I’m doing wrong with the tags… OK, last try: I’ve replaced “” with “[" and "]” in this code snippet:
[!-- Social Bookmarks BEGIN --][div class="social_bookmark"][em]Bookmark this post to:[/em][br /][a href="http://del.icio.us/post?url=http://cheekandbluster.com/index.php/2006/10/21/bullseye/&title=Bullseye"class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Add 'Bullseye' to Del.icio.us" onclick="javascript:urchinTracker ('/outbound/del.icio.us');"][img src="http://cheekandbluster.com/wordpress/wp-content/plugins/social_bookmarks/delicious.png" title="Add 'Bullseye' to Del.icio.us" alt="Add 'Bullseye' to Del.icio.us" /][/a]
Edited by Apostolos: You need to enter the code as
Hi Derek, I have edited the HTML so that it can
Apostolos | October 23, 2006Hi Derek,
I have edited the HTML so that it can be displayed on the site (I need to fix this at some point).
The plugin code definitely produces valid XHTML 1.1. I noticed that the doctype of your site is 1.0 Strict but I really do not know if that is causing the problem. We need to locate whether all the links are failing or if it is only Delicious.
Apostolos
Apostolos, It does indeed give the same error for all the
Derek | October 23, 2006Apostolos,
It does indeed give the same error for all the links, not just Del.icio.us.
thanks,
Derek
Nice plugin. I modified the code to suit my site,
Roman Edirisinghe | October 24, 2006Nice plugin. I modified the code to suit my site, which is based on K2. I have a suggestion, which will allow for greater control of the CSS for the images.
Add
class="social_img"to lines 189 and 333 of social_bookmarks.phpHi! Great plug-in! I got two small issues on my
ArveK | October 26, 2006Hi! Great plug-in!
I got two small issues on my blog:
- How do i keep the bookmarks from showing on the frontpage and just on the individual post-pages?
- Is there any other way to get the icons to blend with the background than to do a photoshop job on each of them (and if photoshop is the solution how do i change the format to gif instead of png in the plugin code)?
Hello Arvek, You can include this code to only show in
Marcus Maciel | October 28, 2006Hello Arvek,
You can include this code to only show in individual-pages
in your function render_plugin() at social_bookmarks.php
change the line
return $html;
to
if (is_single()) return $html;
This will prevent to content showing in the frontpage
[]’s
Apostolos, Thanks for a great plug-in. I am using version 3
Jason | October 28, 2006Apostolos,
Thanks for a great plug-in. I am using version 3 and was wondering what I needed to do in order to remove the borders that appear around the png images (as I do not have a white background on my blog)
Thanks in advance,
Jason
Hi Apostolos, thanks a lot, really a great plugin. I do
Robert | October 29, 2006Hi Apostolos,
thanks a lot, really a great plugin. I do use it on our new page, however I would prefer (that question was asked before) NOT to have it directly after the post, but rather after the block of permalink, trackback etc. options that I programmed…
My php knwledge is still limited, so while I could easily implement it if you would tell me how to do it, i cannot find out which function I have to call - please let me know…
Thanks a lot!!
Best regards,
Robert
apostolos - i just discovered your plugin and it's really
Jim in LA | October 30, 2006apostolos - i just discovered your plugin and it’s really awesome.
HOWEVER, i am unable to deselect various options and have the plugin retain those deselections. when i click save, they all re-activate so i have every option showing up all the time.
am i doing something wrong? i am using a mac with firefox (v2.0).
thanks in advance for any comment!
@Jason: The borders are created by the stylesheet of your
Apostolos | October 31, 2006@Jason: The borders are created by the stylesheet of your theme. You need to edit the social_bookmarks.css in the wp-contents/plugins/social_bookmarks and border-style:none !important; in .social_bookmark and in .social_img.
@Robert: The next revision of the plugin will allow you to configure where you want the plugin to be displayed.
@Jim in LA: Which version of WordPress are you running? No one has reported similar problem. I am using a Mac with firefox and I cannot replicate the problem. Have you tried disabling and enabling it again?
apostolos - i'm running 2.0.5 - just a regular .zip
Jim in LA | November 1, 2006apostolos - i’m running 2.0.5 - just a regular .zip download from the .org site. i will try reinstalling - but yeah, it’s odd. i click save and it restores all the checks back to the ones i unchecked!
figures it’s just me . . . . haha. i’ll report back after a reinstall.
apostolos - same problem. completely deleted the social_bookmarks folder, uploaded
Jim in LA | November 4, 2006apostolos - same problem. completely deleted the social_bookmarks folder, uploaded a fresh copy from the zip archive, activated, same problem - uncheck ones i don’t want, then click save - they all come back rechecked and ALL the options show on my site.
what am i doing wrong? every other plugin is working fine. is there a conflict between this plugin and something else?
hi! this is a great plugin but i am also
aeki | November 5, 2006hi! this is a great plugin but i am also having the same issues jim is experiencing.
i am running wordpress 2.0.5. i have already reinstalled the plugin 3x.
any information in resolving this issue is greatly appreciated.
thanks!
Love the plugin, but can you add bloglines? Thanks!
junction | November 11, 2006Love the plugin, but can you add bloglines? Thanks!
Hi, Apostolos, i have problems with your plugin on my website.
Andrius | November 12, 2006Hi, Apostolos,
i have problems with your plugin on my website. Somewhy icons are displayed in one column and it brokes we website design, maybe you can help me on fixing this?
Thanks!
Hello Apostolos, I don't want the icons on the index page
Cem LOUIS | November 13, 2006Hello Apostolos,
I don’t want the icons on the index page so I changed the code as follows:
line 421:
if(substr($content, 0, 12) == 'Apostolos')
{
return($content);
}
else
{
if (is_single()) {
return($content.$html);
}
}
But this time index page post contents disappeared? How can I call them back? (Everything is cool on single pages).
Please let me know,
Thanks…
Hi Cem, you are missing an else statement in your if(is_single())
Apostolos | November 14, 2006Hi Cem,
you are missing an else statement in your if(is_single()) to cover the same where the visitor is not accessing the single page. You need to return $content in this case.
I am updating the plugin at the moment to cover the case where some of you want to be able to exclude the plugin from the index.php and also address the issue of changing the title.
Cheers,
Apostolos
Is there a way to just display text and no
mark | November 17, 2006Is there a way to just display text and no images?
Something like: Digg | Furl | Del.icio.us | ect.
As stated in comments 62 and 64 I want to
FuuK | November 20, 2006As stated in comments 62 and 64 I want to call the social bookmarks from my comments.php template page because it doesn’t look nice under the post … Can you help me ?
@ Mark: Comment out line 367 and add the following
Apostolos | November 21, 2006@ Mark: Comment out line 367 and add the following line:
$target_img = $settings['name'];@ Fuuk: the comments 62 and 64 refer to a previous version of the plugin. Since version 3.0, the function get_social_bar() is not supported. If you cannot do without it then I could send you come an altered version of the plugin
Apostolos
I would appreciate thanks man :) you know my mail
FuuK | November 21, 2006I would appreciate thanks man
you know my mail 
Great plugin. Is there any way to specify where on
Jeff | November 23, 2006Great plugin. Is there any way to specify where on the page the plugin is displayed. On my site, I have an “add to delicious” link at the bottom of my posts, which has a line of code in my Loop file. I want to then have your plugin below that, but i can only seem to get it above it. Any thoughts?
Jeff
Hi, I commented out line 367 and add the following
chris | November 25, 2006Hi, I commented out line 367 and add the following line:
$target_img = $settings[’name’];
But the text is showing up as a white