[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!
Ideas Centre
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
Jammy Johnny
Registered User
Posts: 149
Joined: Sun Feb 17, 2008 11:08 am
Location: Scotland
Name: John
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Jammy Johnny »

what name is the folder in EXT that this should be added please
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 »

@Tuqe, @Anonymous_et_EE
Thanks for your translations, I will add it with the next update.

@SüKûT
I have looked at the code of phpBBSEO, but I couldn't find a goot way in it so I have asked the author of the SEO extension, but no answer at now...

@Jammy Johnny
The name of the folder is tas2580/socialbuttons. You can see that at every extension in the composer.json in first line after "name":
User avatar
Jammy Johnny
Registered User
Posts: 149
Joined: Sun Feb 17, 2008 11:08 am
Location: Scotland
Name: John
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Jammy Johnny »

Thanks tas2580 Works a treat now ;)
SüKûT
Registered User
Posts: 48
Joined: Fri Mar 15, 2013 11:50 am
Location: Türkiye
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by SüKûT »

tas2580 wrote:@SüKûT
I have looked at the code of phpBBSEO, but I couldn't find a goot way in it so I have asked the author of the SEO extension, but no answer at now...
okey, thanks :)
User avatar
Sshadow
Registered User
Posts: 300
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Sshadow »

Looks and works great!
SüKûT
Registered User
Posts: 48
Joined: Fri Mar 15, 2013 11:50 am
Location: Türkiye
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by SüKûT »

SüKûT wrote:
tas2580 wrote:@SüKûT
I have looked at the code of phpBBSEO, but I couldn't find a goot way in it so I have asked the author of the SEO extension, but no answer at now...
okey, thanks :)
I problem solved.
e.g: open viewtopic_body_footer_before.html
Find:

Code: Select all

<a href="#" onclick="return open_socialmedia('https://www.facebook.com/sharer/sharer.php?u={U_TOPIC}');" title="{L_SHARE_FACEBOOK}" class="socialmedia1">&nbsp;</a><span class="social_count">{SHARES_FACEBOOK}</span>
Change:

Code: Select all

<a href="#" onclick="return open_socialmedia('https://www.facebook.com/sharer/sharer.php?u={U_CANONICAL}');" title="{L_SHARE_FACEBOOK}" class="socialmedia1">&nbsp;</a><span class="social_count">{SHARES_FACEBOOK}</span>
Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England

Re: [BETA] Social Media Buttons with privacy

Post by Cable Player »

tas2580 wrote:@Cable Player
Screenshots:
ACP Module
Frontend

@Tuqe
I have found that problem, thanks for reporting, I have fixed it, download the new version and it will work.

Thanks :)
MacBookPro
Registered User
Posts: 46
Joined: Thu Nov 13, 2014 11:22 pm
Name: Stu

Re: [BETA] Social Media Buttons with privacy

Post by MacBookPro »

Great extension, just what I've been looking for.

Can you build in something to deal with the restriction on characters for Tweets? I tried to tweet a forum post but couldn't work out why only the window opened without any content. Then I realised it's the character limitation of Twitter.

Perhaps give the option to edit the text and tweet the link which then drive traffic back to the forum post.

Also in my installation I'm not seeing the number of Tweets of Facebook posts increasing with each post made.

Keep up the good work.
Regards

Stu..
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 »

I have made some updates of the extension. Now you can choose between diverent styles for the buttons, also I have added a version check and now I use the canonical URL of the thread, thanks to SüKûT for this suggestion.

@MacBookPro:
I will check this in the next days when I have survived christmas with family and so on.
User avatar
Sshadow
Registered User
Posts: 300
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Sshadow »

In your update did you happen to change where the top icons display? They no longer show on my forum.
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 »

Oh ups, I have the top icons moved for testing into topic tools and uploaded this by mistake. But if you whant to have them in top look at this. Maybe you have to use the code from the new template file.

I hope phpBB will get an better template event to put the icons in top.
MacBookPro
Registered User
Posts: 46
Joined: Thu Nov 13, 2014 11:22 pm
Name: Stu

Re: [BETA] Social Media Buttons with privacy

Post by MacBookPro »

The number of tweet counts appears to be incrementing now. :D

Look forward to seeing if you have anything in the next update - Thanks.
Regards

Stu..
SüKûT
Registered User
Posts: 48
Joined: Fri Mar 15, 2013 11:50 am
Location: Türkiye
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by SüKûT »

very very nice updating and buttons :).
but doesn't give an accurate shared links.
e.g.:
Site link: http://mysite.com/viewtopic.php?f=5&t=46
Share page view link : https://www.facebook.com/sharer/sharer. ... p?f=5&t=46
On Facebook link : http://mysite.com/

Page can not be displayed error..
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 »

Next update.
Now the querys to the social media platforms will be made by curl_multi that is much faster. On Facebook I read out the share button now and don't use the API anymore, so you can make more than 50(?) queries a day.

I have added a spanish translation (thanks to my brother and his wife)

@SüKûT
Can you please put the URLs into the code tag? In your post the URL is cutted and I cant see whats the problem with it.
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 »

just installed the extension button shows in the bottom bot not in the top , though i have changed the selection to " At the top " from acp. Also there is no increment in icon number when sharing on any site.

i am using 3.1.2 and google adsense .

have a look to my forum . link is in the signature.
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website
Post Reply

Return to “Extensions in Development”