[RC] Social Media Buttons with privacy

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by tas2580 » Sun Dec 28, 2014 5:05 am

At the top is inside the topic tools because I have no bether template event found, but I have requested a better one. You can put the buttons by hand to a better position at top, see some posts before this. The number of shares counts up after the cache time is over.

User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by KhurramMunawar » Sun Dec 28, 2014 5:11 am

tas2580 wrote:At the top is inside the topic tools because I have no bether template event found, but I have requested a better one. You can put the buttons by hand to a better position at top, see some posts before this. The number of shares counts up after the cache time is over.
i ll wait for the update version then . Thanks for the great extension.
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Sshadow » Tue Dec 30, 2014 10:30 pm

My site started loading very very slowly(over a minute) the other day. After a ton of digging I finally thought to check the cache folder. I couldn't even get it to load in Filezilla. I SSH'ed in and did a list on the directory and found thousands of the .json files your using to cache the data. I cleaned them out and it fixed my loading times. I have since reduced the cache time to 1 hour to see if this helps. Also purging the cache from the ACP had no effect on the files.

User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by KhurramMunawar » Wed Dec 31, 2014 1:26 am

Sshadow wrote:My site started loading very very slowly(over a minute) the other day. After a ton of digging I finally thought to check the cache folder. I couldn't even get it to load in Filezilla. I SSH'ed in and did a list on the directory and found thousands of the .json files your using to cache the data. I cleaned them out and it fixed my loading times. I have since reduced the cache time to 1 hour to see if this helps. Also purging the cache from the ACP had no effect on the files.
what this comment has to do with this extension.
Do u mean, that after installing this extension your board was running slow. ??
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website

User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by KhurramMunawar » Wed Dec 31, 2014 1:44 am

is there any possibility to hide the sharing numbers and to only display the image of social network. ?
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by tas2580 » Wed Dec 31, 2014 1:54 am

@Sshadow
The extension can slow down your site when there is no cache, but over a minute its too mutch, on all servers I use this I have not more then 2 seconds, with the curl_multi I have about 0.6 seconds. You shuld check your server connection.

The thing with the cache is not realy good solved at now. I think I will move the cache into an own folder, so you can delete it easier.

@KhurramMunawar
Not at now, but its a good idea, I think I will add an option for this in the next version.

User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by KhurramMunawar » Wed Dec 31, 2014 7:08 am

The thing with the cache is not realy good solved at now. I think I will move the cache into an own folder, so you can delete it easier.

If possible, try to add the option in acp settings to clear the cache.
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by tas2580 » Thu Jan 01, 2015 3:17 am

Jah cool Idea, I think its no problem, but at now I'am a little drunken because of new year's eve but tomorrow when I'am sober I will make next update.

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Sshadow » Thu Jan 01, 2015 4:10 am

tas2580 wrote:Jah cool Idea, I think its no problem, but at now I'am a little drunken because of new year's eve but tomorrow when I'am sober I will make next update.
That should work :) Thanks and enjoy your new year.

User avatar
John connor
Registered User
Posts: 2293
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by John connor » Thu Jan 01, 2015 6:25 am

Can't wait for the update. Thanks for this and Happy New Year!

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by tas2580 » Fri Jan 02, 2015 2:58 am

OK, new version is ready.
I have moved the cache into the extension folder. You have to make it writeable, if its not writeable you will get a warning in ACP and caching will not work. Also I have added a Button to delete all files from cache.
The other wish of KhurramMunawar was to add an option to hide the number of shares, thats also done so you can only display the buttons without making querys to the social media platforms.

I have played a little bit with the position of the buttons in the top. I hope its OK now.

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Sshadow » Fri Jan 02, 2015 3:42 am

Did you happen to update the download on your site? I grabbed it but saw no changes. I went ahead and grabbed the files from Github and they worked however the cache folder was not created automatically.

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by tas2580 » Fri Jan 02, 2015 4:06 am

The download on my page is updated now.
Github ignores empty folder, so I have added an empty index.html into the cache folder, now you have the cache folder into the download from Github.

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Sshadow » Fri Jan 02, 2015 4:30 am

The top positioning is much better. The first button was overlapped slightly by the search box for the topic. It is probably my style so I just added 2   to viewtopic_buttons_top_after.html to nudge them over a bit as I wasn't so sure about the CSS.

User avatar
John connor
Registered User
Posts: 2293
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by John connor » Fri Jan 02, 2015 8:45 am

tas2580 wrote:OK, new version is ready.
I have moved the cache into the extension folder. You have to make it writeable, if its not writeable you will get a warning in ACP and caching will not work. Also I have added a Button to delete all files from cache.
The other wish of KhurramMunawar was to add an option to hide the number of shares, thats also done so you can only display the buttons without making querys to the social media platforms.

I have played a little bit with the position of the buttons in the top. I hope its OK now.
How do you make the cache folder writable? I don't understand.

Post Reply

Return to “Extensions in Development”