[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!
Anti-Spam Guide
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)
wiroj
Registered User
Posts: 97
Joined: Mon Jul 07, 2003 6:31 pm

Re: [BETA] Social Media Buttons with privacy

Post by wiroj »

phpBB 3.1.2 and SMB 0.5.0 have some display problem on mobile display when use top position (or top and bottom position)

See Pic below

Image
TheStigP11GT
Registered User
Posts: 22
Joined: Sat Jan 03, 2015 1:04 am

Re: [BETA] Social Media Buttons with privacy

Post by TheStigP11GT »

I have solved the issue with the content showing, the next problem is that the Share Count is not working so it does not count the amount of shares done.

Also When stuff is being shared, it seems to cache old OG data, I have purged both Caches but shares the old content, I assume this is due to FB cashing the data, but is there any way to refresh this data on button click
?
bttan
Registered User
Posts: 83
Joined: Mon Feb 16, 2015 4:37 pm

Re: [BETA] Social Media Buttons with privacy

Post by bttan »

hi sir,

there is a conflict with with similar topics extension. please check. thanks.
User avatar
GoBieN
Registered User
Posts: 546
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by GoBieN »

I have both extensions, did not notice a conflict. Can you give more detail?
bttan
Registered User
Posts: 83
Joined: Mon Feb 16, 2015 4:37 pm

Re: [BETA] Social Media Buttons with privacy

Post by bttan »

Hi Gobien, Thanks for the reply.

My forum was new and social media buttons were working perfectly, however I noticed that the buttons for twitter, google and linkin were not working when there were similar topics. Facebook was ok.

Clicking on twitter/google/linkin button would redirect the link to my topic url instead of twitter/google/linkin login url. So, it was like as if I was refreshing the url (F5).

When I said "conflict with similar topics" , it was purely my wild speculation and guessing based on my observation. Hope you can help me. Thank you.
bttan
Registered User
Posts: 83
Joined: Mon Feb 16, 2015 4:37 pm

Re: [BETA] Social Media Buttons with privacy

Post by bttan »

hi,

Sorry but i can confirm that the problem is not a conflict with similar topics extension as now i have a new topic with similar topics and there is no problem at all.

However the problem still persists. It is like clicking on the button of "top" that comes with phpbb3 at the bottom right corner.

Thank you.
melek3360
Registered User
Posts: 12
Joined: Fri May 30, 2014 2:57 pm

Re: [BETA] Social Media Buttons with privacy

Post by melek3360 »

It's working nicely on my forum. I had to place the button at the bottom. At the top, my board style (we_universal) was preventing it from displaying correctly.

The next question is whether you plan to add other sites.

In any case, well done, and I think this is very useful! :)

My one suggestion is that for the Facebook module, when you remove the paragraphs/line breaks, it should insert a space. Otherwise, the sentences run together.

See example here:

Image
-Mike
My site
Korkel
Registered User
Posts: 391
Joined: Mon Jun 02, 2014 7:09 am
Location: ~/home/Liz/Desktop
Name: Liz Aalderink
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Korkel »

A option to "activate" the button yourself would be nice for privacy.
"If you lose your left arm, your right arm will be left."
“The most important property of a program is whether it accomplishes the intention of its user.”
Image
Holger
Registered User
Posts: 1883
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [BETA] Social Media Buttons with privacy

Post by Holger »

PR for Swedish translation sent
leschek
Registered User
Posts: 839
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by leschek »

I would like to ask. The OG Meta Tags are used only on FB, aren't they?
User avatar
TimoMF
Registered User
Posts: 10
Joined: Fri Nov 07, 2014 12:47 pm

Re: [BETA] Social Media Buttons with privacy

Post by TimoMF »

On the German side to report some of the counter to 0 stops whether was probably divided several times. I was one of them.

My solution looks like this. Tested with Google Plus and Facebook

The $url is now included in the link with urlencode($url).
Example of Facebook

Code: Select all

            if(isset($this->config['socialbuttons_facebook']) && ($this->config['socialbuttons_facebook'] == 1))
            {
                $querys['facebook']    = 'https://www.facebook.com/plugins/like.php?&layout=box_count&href=' . urlencode($url);
            } 
and then I have added 'curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);'

Code: Select all

                foreach($querys as $platform => $query_url)
                {
                    $ch = curl_init();
                    curl_setopt($ch, CURLOPT_URL, $query_url);
                    curl_setopt($ch, CURLOPT_NOBODY, false);
                    curl_setopt($ch, CURLOPT_HEADER, false); 
                    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
                    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
                    curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0'); 
                    curl_multi_add_handle($mh, $ch);
                    $handle[$platform] = $ch;
                } 
Perhaps the developers can incorporate the yes in the next version.

Greeting Timo
User avatar
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by donsenilo »

hello

do you know, why in the facebook sometimes the picture appears from the picture options and sometimes a picture from the theme?

greetings from vienna
Last edited by donsenilo on Thu Mar 26, 2015 6:48 pm, edited 1 time in total.
User avatar
TimoMF
Registered User
Posts: 10
Joined: Fri Nov 07, 2014 12:47 pm

Re: [BETA] Social Media Buttons with privacy

Post by TimoMF »

This may be a Facebook itself.

Similar to the post of links, because you get even the choice of the image. What is unfortunately not the case here.
saiyedsabahat
Registered User
Posts: 5
Joined: Wed Jan 14, 2015 12:17 pm

Re: [BETA] Social Media Buttons with privacy

Post by saiyedsabahat »

Hi,

I would like to know how to add different images to different topics in the forum while posting it on Facebook, ( currently I am using my forum logo, which I would like to change to images pertaining to different topics).

Regards,
Saiyed Sabahat
User avatar
Beun12
Registered User
Posts: 21
Joined: Sat Feb 28, 2015 8:46 am
Location: Netherlands
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by Beun12 »

First of all, thanks for working on this great Ext.
Only problem is the counter, that doens't work.
Post Reply

Return to “Extensions in Development”