[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!
Scam Warning
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)
TheStigP11GT
Registered User
Posts: 22
Joined: Sat Jan 03, 2015 1:04 am

Re: [BETA] Social Media Buttons with privacy

Post by TheStigP11GT » Thu Jan 15, 2015 11:09 am

One of the issues I have, is when I share to facebook (not checked others), the page just shows log in information, aka "In order to log in you must be registered, Registration takes...." and so on. Although it takes you directly to the page, it does mean the description isn't nice looking for members. Its helpful for sharing data on my clubs facebook page.

It would be good if it could quote the topic title and direct link rather than the login information.

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 15, 2015 7:51 pm

May it be that the topic you have shared is not readable for guests?

But good idea, I can set the OG meta tags. I think I will make this later .

@SüKûT:
Use the canonical tag is not the best way because so you can share the right URL but you still query the wrong URL to get the number of shares. I will see how to resolve this problem.
Thanks for your translation :D

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 » Thu Jan 15, 2015 8:34 pm

tas2580 wrote:@SüKûT:
Use the canonical tag is not the best way because so you can share the right URL but you still query the wrong URL to get the number of shares. I will see how to resolve this problem.
Thanks for your translation :D
Yes :) still query the wrong URL to get the number of shares. And i don't know resolve this problem.

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 15, 2015 11:24 pm

So next update.

I have added OG Meta Tags so the problem with the login message should be solved. But I am not sure that is a good idea because the text from the first post in private forums can be read by everyone. I think I will make some changes here in the future. Be care full by using the OG description.

@SüKûT
The good news for you is that I think I have fixed the problem with your URL. The bad news for you is that I need a new translation.

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 » Fri Jan 16, 2015 2:25 pm

@tas2580
not a problem :) Turkish language file update is ready:

Code: Select all

<?php
/**
*
* @package phpBB Extension - tas2580 Social Media Buttons
* @copyright (c) 2014 tas2580 (https://tas2580.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

if (!defined('IN_PHPBB'))
{
    exit;
}

if (empty($lang) || !is_array($lang))
{
    $lang = array();
}

$lang = array_merge($lang, array(
    'SOCIAL_BUTTONS'			=> 'Sosyal Medya'da Paylaş',
	'SHARE_FACEBOOK'			=> 'Facebook'ta Paylaş',
	'SHARE_TWITTER'				=> 'Twitter'da Paylaş',
	'SHARE_GOOGLEPLUS'			=> 'Google+'da Paylaş',
	'SHARE_LINKEDIN'			=> 'Linkedin'de Paylaş',
	'ACP_SETTINGS'				=> 'Ayarlar',
	'ACP_POSITION'				=> 'Pozisyon',
	'ACP_POSITION_EXPLAIN'		=> 'Butonların yerini belirleyiniz.',
	'ACP_SUBMIT'				=> 'Güncelleme değişiklikleri',
	'ACP_POSITION_ALL'			=> 'Hem üstte hem altta',
	'ACP_POSITION_TOP'			=> 'Üstte',
	'ACP_POSITION_BOTTOM'		=> 'Altta',
	'ACP_CACHETIME'				=> 'Önbellek aralığı',
	'ACP_CACHETIME_EXPLAIN'		=> 'Önbellek temizliği hangi zaman aralığında olsun?',
	'ACP_MULTIPLICATOR_SECONDS'	=> 'Saniye',
	'ACP_MULTIPLICATOR_MINUTES'	=> 'Dakika',
	'ACP_MULTIPLICATOR_HOURS'	=> 'Saat',
	'ACP_SET_PLATFORMS'			=> 'Aktif Et',
	'ACP_FACEBOOK'				=> 'Facebook',
	'ACP_TWITTER'				=> 'Twitter',
	'ACP_GOOGLE'				=> 'Google Plus',
	'ACP_LINKEDIN'				=> 'Linkedin',
	'ACP_SAVED'					=> 'Sosyal medya buton ayarları güncellendi.',
	'ACP_STYLE'					=> 'Alternatif Buton',
	'ACP_STYLE_EXPLAIN'			=> 'Alternatif butonlardan birini seçebilirsiniz',
	'CACHE_PATH_NOT_WRITEABLE'	=> 'Önbellek yolu "%s" yazılabilir değil!',
	'ACP_CACHE_PURGE_SUCCESS'	=> 'Önbellekteki tüm dosyalar silindi.',
	'ACP_SHOWSHARES'			=> 'Paylaşım sayısını görüntüle',
	'ACP_SHOWSHARES_EXPLAIN'	=> 'Buttonların sağında kaç kişi tarafından paylaşıldığı görüntülenir.',
	'ACP_PURGE_CACHE'			=> 'Önbellek temizliği',
	'ACP_PURGE_CACHE_EXPLAIN'	=> 'Önbellekteki tüm dosyaları sil',
	'RUN_NOW'					=> 'Şimdi Çalıştır',
	'ACP_OG_TAGS'				=> 'OG Meta-Etiketleri',
	'ACP_ENABLE_OG_TAGS'		=> 'OG Meta-Etiketlerini Etkinleştir',
	'ACP_OG_EXPLAIN'			=> 'Aktif ederseniz <em>Open Graph</em> Meta-Etiketleri Sosyal Medya platformlarında paylaşımlarınız hakkında bilgiler verir',
	'ACP_OG_IMAGE'				=> 'Resim',
	'ACP_OG_IMAGE_EXPLAIN'		=> 'Paylaşımlarda kullanmak istediğiniz resmin adresini giriniz.',
	'ACP_ENABLE_OG_TITLE'		=> 'Başlık',
	'ACP_OG_TITLE_EXPLAIN'		=> 'Eğer aktifse konu başlığı olarak kullanılır og:başlık',
	'ACP_ENABLE_OG_DESC'		=> 'Tanım',
	'ACP_OG_DESC_EXPLAIN'		=> 'Eğer aktifse konunun ilk yazısı kullanılır og:tanım.<br /><span style="color:#f00;">Dikkat! Bunu aktif ettiğinizde forum özel forum olsa bile tanım yazısı herkes tarafından görüntülenecektir.</span> Bu platformlarda açıklama metni girilmesini engeller.',
));
and many thanks to the new update :)

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 » Sat Jan 17, 2015 2:16 am

And the next one...

Now you can set in which forums the buttons should be displayed. Also you can set in which forums the OG description should be displayed and its trim of after 300 characters because the social media platforms do not use more. Then you can set that you use a SEO URL extension so that the problems with this URLs are gone.

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 » Sat Jan 17, 2015 10:16 am

big changes have been made to the extension. going to install it now. i think this extension should be RC now .
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 » Sat Jan 17, 2015 11:33 am

working perfectly.
Great work TAS. cheeers

just a little suggestion.
Buttons sould be displayed on index page and forum pages as well . so a user can share the main website and the specific forum link to the social media as well.
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 » Sun Jan 18, 2015 2:02 am

Hi KhurramMunawar,

Buttons on the index page is no problem, I will at this at the next version. At the forums pages is the problem that there is no template event to at them at a good place.

The extension becomes RC when I have solved the problem with the buttons at the top. For this I have created a pull request to add a new event and I hope it will be included with the next phpBB 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 » Sun Jan 18, 2015 9:35 am

Hi KhurramMunawar,

Buttons on the index page is no problem, I will at this at the next version. At the forums pages is the problem that there is no template event to at them at a good place.

The extension becomes RC when I have solved the problem with the buttons at the top. For this I have created a pull request to add a new event and I hope it will be included with the next phpBB version.
i just noticed that on the responsive layout ( mobile devices) , social media buttons comes on the right side and covers half of the page.

have a look at this issue as well.
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website

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 » Sun Jan 18, 2015 1:19 pm

version 0.5.0 the wrong URL to get the number of shares :?

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

Re: [BETA] Social Media Buttons with privacy

Post by TheStigP11GT » Wed Jan 21, 2015 12:54 pm

tas2580 wrote:So next update.

I have added OG Meta Tags so the problem with the login message should be solved. But I am not sure that is a good idea because the text from the first post in private forums can be read by everyone. I think I will make some changes here in the future. Be care full by using the OG description.
I am not to worried about the content being shared, just would look a little better.

I have updated to the latest version, but I still have the problem with showing the log in information. I parged both caches and the same issue.

edit:- Twitter seems to do a better job, but both FB and Google has the same issue.

wiroj
Registered User
Posts: 97
Joined: Mon Jul 07, 2003 6:31 pm

Re: [BETA] Social Media Buttons with privacy

Post by wiroj » Thu Jan 22, 2015 3:35 am

What is this option and how to put information (absolute or relative path)

Image

User avatar
GoBieN
Registered User
Posts: 538
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [BETA] Social Media Buttons with privacy

Post by GoBieN » Thu Jan 22, 2015 7:07 pm

It's the thumbnail image facebook will show when you share a link to your forum. I have put in an absolute URL to a logo image. Works well!


@tas2580
I had to adjust the margin-left in the HTML template event for the TOP position. The first logo was partly behind the settings icon for the search box. Maybe because the REPLY button or search button is wider in Dutch than English. I changed it to 400px instead of I think it was 375px or something.

But other than that, working excellent!

wiroj
Registered User
Posts: 97
Joined: Mon Jul 07, 2003 6:31 pm

Re: [BETA] Social Media Buttons with privacy

Post by wiroj » Fri Jan 23, 2015 1:21 am

GoBieN wrote:It's the thumbnail image facebook will show when you share a link to your forum. I have put in an absolute URL to a logo image. Works well!
Thanks for your answer

Post Reply

Return to “Extensions in Development”