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.

Home Page:sharrre.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Counting shares without file sharrre.php

opened this issue · comments

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

I have the same problem, any ideas?

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