greasemonkey Posted June 6, 2012 Share Posted June 6, 2012 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!!! Quote Link to comment Share on other sites More sharing options...
egutierrez Posted June 12, 2012 Share Posted June 12, 2012 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? Quote Link to comment Share on other sites More sharing options...
vespa2112 Posted July 2, 2012 Share Posted July 2, 2012 Image not showing in Facebook. Contrib not working anymore? Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted July 2, 2012 Share Posted July 2, 2012 I think i read somewhere that facebook has altered the required code. You will have to search for some other information. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
vourlismenos Posted March 5, 2014 Share Posted March 5, 2014 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? Quote Link to comment Share on other sites More sharing options...
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.