Julienh / Sharrre

Make your sharing widget! Sharrre is a jQuery plugin that allows you to create nice widgets sharing for Facebook, Twitter, Google Plus (with PHP script) and more.
sharrre.com
MIT License
1.04k stars 413 forks source link

Counting shares without file sharrre.php #245

Open ghost opened 9 years ago

ghost commented 9 years ago

I have a little problem with Sharrre. I removed the link to the file sharrre.php , but I noticed that in my website counting shares is zero. Here is the code I have in the pages

$('.shareme').sharrre({ share : { twitter : true, facebook : true, googlePlus : true }, template : _template, enableHover : false, urlCurl: '', enableTracking : false, render : function(api, options) { $(api.element).on('click', '.twitter', function() { api.openPopup('twitter'); return false; }); $(api.element).on('click', '.facebook', function() { api.openPopup('facebook'); return false; }); $(api.element).on('click', '.googleplus', function() { api.openPopup('googlePlus'); return false; }); $(api.element).on('click', '.w-share', function() { $(this).children('.share-text').toggle(); $(this).children('.share-text').toggleClass('o-share'); return false; }); }});

Thanks for your support

nettlepatch commented 9 years ago

I have the same problem, any ideas?

sphism commented 8 years ago

I think you only need sharrre.php for google plus and stumbleupon, what happens if you set googlePlus: false?