Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[contribution] Social Bookmarks - Del.icio.us, Digg, Etc


sgostelow

Recommended Posts

see post number 33

 

Oops - thought I did but had the wrong one. I'll try this one.

Can you tell me how to put the Twitter "follow me on twitter" info box on my site, please?

Thanks very much.

Link to comment
Share on other sites

  • Replies 79
  • Created
  • Last Reply

Top Posters In This Topic

Oops - thought I did but had the wrong one. I'll try this one.

Can you tell me how to put the Twitter "follow me on twitter" info box on my site, please?

Thanks very much.

I think there is a contrib for it. Would not bother with it myself.

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...

Good contrib; easy. I have added some bookmarks to suit the dutch market better, such as Hyves and LinkedIn (see my website on http://www.puntoitaliano.nl/it-in-de-media-t-2.html)

 

A question: in the Linkedin link (and maybe also in others) I would like to include the article text, such as

 

<span style="padding-right:<?php echo SB_PADDING; ?>"><a rel="nofollow" onclick="target='_blank'" href="http://www.linkedin.com/shareArticle?mini=true&url=<?echo tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $article_info['articles_id']);?>&title=<?php echo $article_info['articles_name']; ?>&summary=<?php print stripslashes($article_info['articles_description']); ?>&source=Punto Italiano | The Art of Italian Shirting"><?php  echo  tep_image(DIR_WS_IMAGES . '/bookmark_icons/linkedin-icon.png','' . $article_info['articles_name'] . ' - ' . TITLE_LINKEDIN);?></a></span>

 

The piece of code <?php print stripslashes($article_info['articles_description']); ?> behind &summary is doing exactly what I want. Untill the article text includes a <a href="xample.php">example</a>. Then it thinks that the sent URL has come to an end, though it hasn't.

 

Trick is that it has to consider everything which is put there by the echo function, as text or parameter. There must be a way to do this, but I haven't figured it out yet. I have tried putting it between "<?php .... ?>", {<?php .... ?>} etc, but nothing worked. Anyone?

Link to comment
Share on other sites

Good contrib; easy. I have added some bookmarks to suit the dutch market better, such as Hyves and LinkedIn (see my website on http://www.puntoitaliano.nl/it-in-de-media-t-2.html)

 

A question: in the Linkedin link (and maybe also in others) I would like to include the article text, such as

 

<span style="padding-right:<?php echo SB_PADDING; ?>"><a rel="nofollow" onclick="target='_blank'" href="http://www.linkedin.com/shareArticle?mini=true&url=<?echo tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $article_info['articles_id']);?>&title=<?php echo $article_info['articles_name']; ?>&summary=<?php print stripslashes($article_info['articles_description']); ?>&source=Punto Italiano | The Art of Italian Shirting"><?php  echo  tep_image(DIR_WS_IMAGES . '/bookmark_icons/linkedin-icon.png','' . $article_info['articles_name'] . ' - ' . TITLE_LINKEDIN);?></a></span>

 

The piece of code <?php print stripslashes($article_info['articles_description']); ?> behind &summary is doing exactly what I want. Untill the article text includes a <a href="xample.php">example</a>. Then it thinks that the sent URL has come to an end, though it hasn't.

 

Trick is that it has to consider everything which is put there by the echo function, as text or parameter. There must be a way to do this, but I haven't figured it out yet. I have tried putting it between "<?php .... ?>", {<?php .... ?>} etc, but nothing worked. Anyone?

 

OK, managed it a bit further. Think I must use a htmldecode function. When I apply it (<?php echo htmldecode($article_info['articles_description']); ?>), it gives me the CALL TO AN UNDEFINED FUNCTION error. That could be right, since I haven't defined it in functions/general.php. Does anyone have the code for this?

Link to comment
Share on other sites

  • 1 month later...

Hi Guys, great contribution.....

 

I have 1 problem with it...not sure if this happens to everybody or just me....

 

Here is an example:

 

When:

mysite.com/index.php works good!

 

When:

mysite.com/electronics-c-46_3.html not working!

 

It dose not seem to work in any of my category pages :blink:

 

 

Anybody have an idea?

 

Thanks,

Ronnie

Link to comment
Share on other sites

Hi Guys, great contribution.....

 

I have 1 problem with it...not sure if this happens to everybody or just me....

 

Here is an example:

 

When:

mysite.com/index.php works good!

 

When:

mysite.com/electronics-c-46_3.html not working!

 

It dose not seem to work in any of my category pages :blink:

 

 

Anybody have an idea?

 

Thanks,

Ronnie

 

 

 

Found the issue!

 

I had a ajax TIP module installed in product listing that was causing conflict with code...

 

Thanks,

Ronnie

Link to comment
Share on other sites

  • 2 weeks later...

I just installed the contribution and love it....great idea! One problem, the facebook link does not carry over the product image. It takes all the other images but not the product, so whats the point then. Anyone else have that problem? The rest looks great. Please let me know if you know a fix .. test it at www.ShedsForLessDirect.com

 

Thanks!

-Travis

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

I still haven't figured out why the product picture isn't transferring to Facebook. Anyone else know a fix? Thanks!

 

I have the same issue, in my case it takes and old logo and I don't know where it gets it from.

 

Cheers

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

I am a newbie in this so this may be a dumb question. Everything seems to be working fine except the icons are appearing above the product name on every page. I checked and added the code in the correct section (underneath This product was added to our catalog on XXX).

 

Any ideas?

 

Thanks in advance.

Link to comment
Share on other sites

  • 3 weeks later...

I still haven't figured out why the product picture isn't transferring to Facebook. Anyone else know a fix? Thanks!

 

Any update on this yet? this sounds like a great contrib but i don't really want to install it if facebook product images aren't supported.

Link to comment
Share on other sites

  • 2 months later...

Hi,

 

I am a newbie in this so this may be a dumb question. Everything seems to be working fine except the icons are appearing above the product name on every page. I checked and added the code in the correct section (underneath This product was added to our catalog on XXX).

 

Any ideas?

 

Thanks in advance.

 

I'm having the same problem with the icons appearing above the product & product name (just below the header)....I installed on a vanilla site so I can't figure out why the icons are in the wrong place...I'm using the same contribution on another one of my sites and it's perfect.....any ideas anyone?????

Link to comment
Share on other sites

  • 2 weeks later...

This is an awesome contribution and it installed smoothly but like others here i seem to have the same 2 issues.

1. Facebook is not importing the graphic.

2. The icons are at the very top of the screen just under the header.

Any assistance in resolving these issues would be greatly apprecaited.

Thank you again

Edited by DOOL
Link to comment
Share on other sites

  • 3 months later...

I have the same problem plus 1 more lol

 

V2.1 has No image No Product Name on facebook.

 

 

Im not good with php and still learning myself alone the way building the site lol

 

Can anyone help? I can have an item posted onto facebook, but there is no image, and no product name to show on facebook.

 

Also can someone create file that places those lil bookmarks on the front page as well? Some people may just want to share the store in general rather than paticular product.

 

Thanks

Link to comment
Share on other sites

  • 4 months later...

good contrib, but it seems to need a update. some of the links \ buttons are dead

also when i post to facebook it loads a image 1 of XX. can this be made to load the actual image first.

also the description title is ok but the info is. META_TAG_DESCRIPTION

 

needs twitter added and maybe the LIKE function for facebook "likes this"

 

thanks

Link to comment
Share on other sites

  • 4 weeks later...

Facebook Quickfix for pictures.

Not the nicest fix but it work for me.

 

At line 140

 

<noscript>

<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>

 

(Add the fix here)

 

</noscript>

 

Add before </noscript>

//Facebook Quickfix

<?php echo '<img src="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '">'; ?>

Link to comment
Share on other sites

hi, nice contrib.

 

BUT: isn't it a problem that also the oscid is submitted to the bookmark services?

 

greetz

 

That's exactly what I thought.

I've tried a few of these type of things in a test environment, and they all seem to do the same.

 

I have always understood that the oscid was golden, and any links shouldn't be shared with this in it, as it links to a certain customer at a certain time. Because of this, when I added an "Email this page" link, I went to some trouble to strip the oscid from the link that was included in the emails.

 

Has anyone that's using this contribution experienced any issues that they know of?

 

Or can anyone let us know if for some reason in this case the fact the oscid is there isn't a problem?

Link to comment
Share on other sites

In which file will fix this?

 

Facebook Quickfix for pictures.

Not the nicest fix but it work for me.

 

At line 140

 

<noscript>

<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>

 

(Add the fix here)

 

</noscript>

 

Add before </noscript>

//Facebook Quickfix

<?php echo '<img src="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '">'; ?>

Link to comment
Share on other sites

  • 1 year later...

I'm VERY new at this... and I'm not aware of the protocal so please excuse if I have not posted this in the most appropriate forum.

 

I've completely redone the contribution for more uptodate social networks. All credit goes to original Author...

 

I've removed Del.icio.us, Digg, Etc... And added Pinterest and Google +1.

 

Includes Facebook Like Button (in XFBML), Share a Link Tweet Button, Pinterest button & Google +1 button (I have this commented out...)

 

Here is is http://addons.oscommerce.com/info/5261

Link to comment
Share on other sites

  • 1 month later...

Thank you for the plugin.

 

Observations: Social Bookmarks v2_1

 

Installed: http://is.gd/d98Ogu

 

I do not see Pinterest and Google +1

 

icons are too small

 

icons are placed ABOVE the title, which makes them not a part of the publication, I would recommend to have an option of placing them below "Current Reviews:", after the logical end of the publication (product)

 

Thank you!

 

Click the image below to see it

 

 

post-254285-0-33611300-1336754559_thumb.png

Edited by oscommerce21
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...