sgostelow Posted June 29, 2007 Posted June 29, 2007 Social Bookmarks v1.0 - del.icio.us, digg, etc Date: 29th June 2007 Author: Shaun Gostelow Support Thread: This thread! If you find this contribution useful please DONATE WITH PAYPAL (see the INSTALL.html) to encourage future development. What is the Social Bookmarks OSCommerce contribution? This small contribution to OScommerce adds links at the bottom of product pages so that users on your site can bookmark the page with a social bookmarking service such as del.icio.us or digg. This is a great way to help with SEO efforts as your product pages should get lots of inbound links. If you have additional services (Google Bookmarks, etc) you would like to add to this contribution please feel free to add more, or donate to encourage further development. Have fun... Quote
sgostelow Posted June 29, 2007 Author Posted June 29, 2007 Contribution download link: http://www.oscommerce.com/community/contributions,5261 Quote
Jamez Posted June 30, 2007 Posted June 30, 2007 Contribution download link: http://www.oscommerce.com/community/contributions,5261 Thanks, it seems to work well, but I think you forgot 2 images that are coded in but not in the package. Anyone who cant work out how to add them etc shouldnt be using osc though. Quote
sgostelow Posted June 30, 2007 Author Posted June 30, 2007 Doh! Thanks for spotting that jamez. Glad to hear it worked for you. I've uploaded a new version (v1.1) with the del.icio.us and digg icon images. I've also added a missing space before the del.icio.us text. You can download this from: http://www.oscommerce.com/community/contributions,5261 Note: There is a duplicate of the contribution in the credit modules section. Please ignore this. I've let the mods know and asked for it to be removed. Cheers Shaun Quote
sgostelow Posted June 30, 2007 Author Posted June 30, 2007 Social Bookmarks v1.2 contribution for OSCommerce released. Changes: Added support for Google Bookmarks and Yahoo myWeb. Bookmark sites now launch as separate browser window/tab. Link to contribution: Social Bookmarks for OSCommerce v1.2 Quote
pkirbyau Posted July 1, 2007 Posted July 1, 2007 Great addition thanks. I use CRE LOADED so had to make a few quick changes: 1. /catalog/product_info.php is /catalog/templates/content/product_info.tpl.php 2. Had to remove leading / in front of images in social_bookmarks.php file ie <img src=\"images/yahoomyweb-small.png\" alt=\"Add to Yahoo myWeb\" title=\"Add to Yahoo myWeb\" border=\"0\"> Add to Yahoo myWeb</a> Incidentally, I notice that del.icio.us still opens window instead of new tab. Quote
Guest Posted July 9, 2007 Posted July 9, 2007 Made the tags such as title and alt show the product name to make it SEO friendly, and hopefully help keep pages out of supplemental results and make each ad more relevant even if it's just a slight increase. ;) Quote
mileage Posted July 18, 2007 Posted July 18, 2007 after installing version 1.3, an error came up. "social_bookmarks.php on line 18" after removing second <?php it worked. should be * @copyright Copyright 2007, Shaun Gostelow * @author Shaun Gostelow * @filesource */ echo " Quote
Guest Posted September 2, 2007 Posted September 2, 2007 Just installed this contribution. I changed it slightly by putting the icons in column_right. Everything works fine except the google bookmark link, the page loads to 92% and then jams, with a blank page. When I click refresh it loads perfectly. It’s strange it requires a refresh every time. Any ideas? code below is my google bookmark code: <a rel=\"nofollow\" target=\"_blank\" href=\"http://www.google.com/bookmarks/mark?op=edit&bkmk=" . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . "&title=" . $product_info['products_name'] . "\"> <img src=\"/images/google-bookmarks-small.gif\" alt=\"Google Bookmark " . $product_info['products_name'] . "\" </a> Also is it possible to add an internet explorer icon that adds to user's browser favourites? Thanks. :) Quote
Guest Posted September 2, 2007 Posted September 2, 2007 Just tested it with Firefox, works perfectly (no refresh needed). Tested with Internet Explorer 6, works perfectly (no refresh needed). The browser I use, Avant, doesn't work correctly (refresh is required to load google bookmark page). Not as big a problem I as first thought just strange. maybe I'll try updating Avant to latest version. Would still love to know how to code in a IE icon with add to favourites. David. Quote
Guest Posted October 10, 2007 Posted October 10, 2007 Just tested it with Firefox, works perfectly (no refresh needed). Tested with Internet Explorer 6, works perfectly (no refresh needed). The browser I use, Avant, doesn't work correctly (refresh is required to load google bookmark page). Not as big a problem I as first thought just strange. maybe I'll try updating Avant to latest version. Would still love to know how to code in a IE icon with add to favourites. David. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title></title> <script language="JavaScript1.2" type="text/javascript"> function CreateBookmarkLink() { title = "XXWebsite TitleXX"; url = "http://www.site.com/"; if (window.sidebar) { // Mozilla Firefox Bookmark window.sidebar.addPanel(title, url,""); window.location = 'http://www.site.com' } else if( window.external ) { // IE Favorite window.location = 'http://www.site.com'; window.external.AddFavorite( url, title); } else if(window.opera && window.print) { // Opera Hotlist window.location = 'http://www.site.com' return true; } } </script> </head> <body onLoad="CreateBookmarkLink();"> </body> </html> put that in a page say, addtofav.html and bring it up in any browser. dunno if thats what you were looking for, but thats one way i do it. works from emails or whatever... as long as the link points to the page on your site. Quote
Trentide Posted October 17, 2007 Posted October 17, 2007 This is a very cool contribution!!! I only have one small problem. Does anyone know how I can fix this? I've already uploaded the pix in the images folder. Thanks for your help! Jason Quote
Trentide Posted October 23, 2007 Posted October 23, 2007 Hi Everyone! Can anyone tell me where this file should go? Thumbs.db I just put it in the images folder. Is this why it's not working for me? Thanks for your help!! jason Quote
Roaddoctor Posted October 23, 2007 Posted October 23, 2007 thumbs.db is a remnant created by windows, no need to upload it... Quote -Dave
Trentide Posted October 23, 2007 Posted October 23, 2007 Thanks for that Roaddoctor! Any idea why my icons aren't showing up? Thanks, Jason Quote
Trentide Posted October 25, 2007 Posted October 25, 2007 I finally figured it out why I wasn't getting the images. I deleted the forward slash before "images" and had to change "catalog" to my actual url. Hope this helps a newbie like me! Jason Quote
warrenerjm Posted November 10, 2007 Posted November 10, 2007 I finally figured it out why I wasn't getting the images. I deleted the forward slash before "images" and had to change "catalog" to my actual url. Hope this helps a newbie like me! Jason Hi Jason I am still having a problem with this? :huh: I cannot see my images either. I have tried removing the / before images in the /includes/modules/social_bookmarks.php but it made no difference. The image is pointing to catalog but shouldn't, so where did you amend the "catalog" to your actual url please because I cannot find catalog in any of thefiles? Thanks Julie Quote
warrenerjm Posted November 10, 2007 Posted November 10, 2007 Hi Jason I am still having a problem with this? :huh: I cannot see my images either. I have tried removing the / before images in the /includes/modules/social_bookmarks.php but it made no difference. The image is pointing to catalog but shouldn't, so where did you amend the "catalog" to your actual url please because I cannot find catalog in any of thefiles? Thanks Julie Problem solved! The newest upload solved an error & introduced one as well!! That file has catalog which I must have uploaded, but the original which I must have looked at didn't. It didn't say it was adding catalog too...but just proves you have to check & then double check!! Quote
Victor Wise Posted December 12, 2007 Posted December 12, 2007 I respect this contribution quite a bit as I would be lying through my teeth if I were to tell you that Google doesn't factor in social networks in their rankings. And its intensifying. Quick question about this contribution; hopefully someone will indulge me here. If I just wanted to install social bookmarking features on one or 2 pages of a 30 page commerce site, and these are custom php pages (not product pages), is this contribution worthwhile for me too look at? Quote Best Regards, Victor Wise
passion84play Posted January 29, 2008 Posted January 29, 2008 Great contrib and really easy to install!! Not looked in detail at the code as I'm trying to do loads of other stuff as well but has anyone got this working with other social sites - facebook etc? Quote
finjay Posted February 4, 2008 Posted February 4, 2008 (edited) I use OSCMax and had to do the same thing. Has anyone added other sites like Reddit? What's the best way to do that? Great addition thanks. I use CRE LOADED so had to make a few quick changes: 1. /catalog/product_info.php is /catalog/templates/content/product_info.tpl.php 2. Had to remove leading / in front of images in social_bookmarks.php file ie <img src=\"images/yahoomyweb-small.png\" alt=\"Add to Yahoo myWeb\" title=\"Add to Yahoo myWeb\" border=\"0\"> Add to Yahoo myWeb</a> Incidentally, I notice that del.icio.us still opens window instead of new tab. Edited February 4, 2008 by finjay Quote
paulc010 Posted March 13, 2008 Posted March 13, 2008 Added a version 1.3a - Great contribution btw - was about to start writing one myself when I came across it! Added some more links, and modified the code to remove the need for all those escape characters. Contains: del.icio.us Digg Google Bookmark Yahoo myWeb Furl Squidoo StumbleUpon Additional images included. Paul Quote
jan64 Posted March 23, 2008 Posted March 23, 2008 Hi, great contribution, is it possible to add msn.nl and ekudos.nl to the list? Thanks. kind regards, Jan Quote Dreams can come true, if you help them a littlebit
d4funky1 Posted March 28, 2008 Posted March 28, 2008 Hi, Great Contrib - just what i've been looking for. Is there any chance you can either teach us how to add new sites to the social_bookmarks.php file or add these to it please: Facebook StumbleUpon Slashdot Netscape / Propeller Technorati Newsvine Blogmarks Blinklist Diigo Folkd Blinkbits Netvouz In this social marketing web2.0 or whatever they want to call it - the more the merrier. Many Thanks D4 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.