Jump to content
sgostelow

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

Recommended Posts

Thank you for the contrib. I'm very new to this and was wondering if you could help me figure out why the google plus one wont line up?

post-273692-0-36477500-1338409080_thumb.gif

Share this post


Link to post
Share on other sites
Thank you for the contrib. I'm very new to this and was wondering if you could help me figure out why the google plus one wont line up?

 

Try changing this

 

<div style="font-size:10px; font-family:Verdana, Arial, Helvetica, sans-serif;text-align:center;">	
<fb:like send="false" layout="button_count" show_faces="false"></fb:like>
<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<a <?php echo 'title="' . $product_info['products_name'] . ' - ' . '"'; ?> href="http://pinterest.com/pin/create/button/?url=<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL')?>&&media=<?php echo 'http://www.flourconfections.com/images/' . $product_info['products_image'] ?>"></a>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
<!-- Google +1 button -->
<!-- Google +1 button   <g:plusone size="medium" annotation="bubble" width="24" href="http://www.!!!!yoursite!!!.com<? echo $_SERVER['PHP_SELF']."?products_id=". $product_info['products_id'];?>"></g:plusone> -->
<!-- Google +1 button end -->
</div>

 

To

 

<table border="0" cellpadding="0" cellspacing="0" align="center">  
<tr>

	 <td>
<fb:like send="false" layout="button_count" show_faces="false"></fb:like>
	 </td>

	<td>
<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
	 </td>

	<td>
<a <?php echo 'title="' . $product_info['products_name'] . ' - ' . '"'; ?> href="http://pinterest.com/pin/create/button/?url=<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL')?>&&media=<?php echo 'http://www.flourconfections.com/images/' . $product_info['products_image'] ?>"></a>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
	 </td>

	<td>
<!-- Google +1 button -->
<g:plusone size="medium" annotation="bubble" width="24" href="http://www.!!!yoursite!!!.com<? echo $_SERVER['PHP_SELF']."?products_id=". $product_info['products_id'];?>"></g:plusone>
<!-- Google +1 button end -->
</td>

</tr>
</table>

 

Don't forget to change !!!yoursite!!!

Share this post


Link to post
Share on other sites

Hi, Im using Social Bookmarks v1.0 - del.icio.us, digg, etc from greasemonkey

 

The problem is that i don't get transmit the product image on the FB like.

 

Any fix to that?

Share this post


Link to post
Share on other sites

I think i read somewhere that facebook has altered the required code. You will have to search for some other information.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

I'm trying to update a few things on an old oscommerce site (2.2) and I've added this contribution.

I'm having problems with facebook share. It works mostly ok, but it doesn't take into account the site's language. It displays the shared information only in the language defined as default in the admin...

 

any ideas?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×