Announcement

#16 2011-01-02 03:16:00

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

Davids wrote:

Sounds brilliant. Look forward to next revision. Many thanks for your help.

Many thanks to help me to fix issue ;-)

Offline

 

#17 2011-01-02 03:17:01

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

A new version is available [Revision 1.0.8437]:

Functionnality:
---------------
Add share icon on picture and album page
Add Open Graph Meta (Like Plugin Facebook Integration)
Facebook_Integration plugin is inactivated when FacebookPlug is activating
Allow Facebook to access private index page

Technical:
----------
Fix language set/detect on Facebook connect
Update language IT
Use new variables for url
Rename footer.lang.php to common.lang.php
Remove use of target attribut to open a new window


Next version?:
--------------
Button to upload into Facebook album

Try ;-)

Offline

 

#18 2011-01-02 11:49:36

Davids
Member
Basingstoke, UK
2010-02-04
70

Re: [Plugin] FacebookPlug

Just to confirm that new version works fine for me now. :-)
However I do have a problem with Like Box. Although it works fine for your default setting of Piwigo url when I insert my own facebook url I get the message 'page requested not found'. I have checked the url which is correct ie www.facebook.com/my user name.........problem exists in all languages.

Offline

 

#19 2011-01-02 11:58:50

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

Davids wrote:

Just to confirm that new version works fine for me now. :-)
However I do have a problem with Like Box. Although it works fine for your default setting of Piwigo url when I insert my own facebook url I get the message 'page requested not found'. I have checked the url which is correct ie www.facebook.com/my user name.........problem exists in all languages.

Like box works only with a Facebook group or page url like http://www.facebook.com/Piwigo or http://www.facebook.com/House
Don't with current profile like http://www.facebook.com/ruben.arnaud

Offline

 

#20 2011-01-02 13:00:10

Davids
Member
Basingstoke, UK
2010-02-04
70

Re: [Plugin] FacebookPlug

OK thanks I hadn't realised.

Offline

 

#21 2011-01-07 00:22:16

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

A new version is available [Revision 1.0.8485]:

Functionnality:
---------------
Add upload button on image page
Update languages IT

Technical:
----------
New way to share link: use stream.share from the FB.ui() method of the Facebook JS SDK
Replace language by locale

Try ;-)

Offline

 

#22 2011-01-08 10:03:01

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

A new version is available [Revision 1.0.8513]:

Functionnality:
---------------
N/A

Technical:
----------
Rollback: Reuse old method to share link

Offline

 

#23 2011-01-11 23:34:38

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

A new version is available [Revision 1.0.8620]:

Functionnality:
---------------
Language: add DE thanks to sugar888
Work best with http://developers.facebook.com/tools/lint

Technical:
----------
Review meta fb:admins and fb:app_id

Tips:
-----
With LocalFiles Editor, add to local configuration this line in order identify admin of your site:

$page['fbp']['fb']['admins'] = 'nnnnnnnnnnnnnnn;

where nnnnnnnnnnnnnnn is your facebook user id
Try http://www.facebook.com/insights/

You can also add your facebook application id:
$page['fbp']['fb']['app_id'] = 'nnnnnnnnnnnnnnn';

Next version?:
--------------
Add fb:admins on config page

Try ;-)

Offline

 

#24 2011-01-13 09:34:32

mohammed
Translation Team
KSA
2009-07-25
42

Re: [Plugin] FacebookPlug

Extension is very special, I liked this
But I have a note of the language

I translated  common.lang   And added in the language folder

-------------------------------

if (!defined('PHPWG_ROOT_PATH'))
{
  die('Hacking attempt!');
}

// Arabic
$lang['Join Facebook Piwigo group'] = ' أنضم معنا في مجموعة Piwigo على الفيس بوك';
$lang['Via Facebook Piwigo application'] = 'تطبيق Piwigo على الفيس بوك';
$lang['Share on Facebook'] = 'شارك اصدقائك على الفيس بوك بهذا';
$lang['Upload photo on Facebook'] = 'حمل الصورة إلى حسابك في الفيس بوك';

?>


--------------------------


But will not change the language to Arabic   :(

Do I have to translate admin.config.lang   file to show the Arabic language??
Is there another solution??

Thank you once again,,,


Uploaded Images

Last edited by mohammed (2011-01-13 09:37:54)


To lose or to waste an opportunity will result in  grief and sorrow - http://photos.boayoob.com

Offline

 

#25 2011-01-13 10:07:00

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6753

Re: [Plugin] FacebookPlug

mohammed wrote:

Extension is very special, I liked this
But I have a note of the language

I translated  common.lang   And added in the language folder

-------------------------------

if (!defined('PHPWG_ROOT_PATH'))
{
  die('Hacking attempt!');
}

// Arabic
$lang['Join Facebook Piwigo group'] = ' أنضم معنا في مجموعة Piwigo على الفيس بوك';
$lang['Via Facebook Piwigo application'] = 'تطبيق Piwigo على الفيس بوك';
$lang['Share on Facebook'] = 'شارك اصدقائك على الفيس بوك بهذا';
$lang['Upload photo on Facebook'] = 'حمل الصورة إلى حسابك في الفيس بوك';

?>


--------------------------


But will not change the language to Arabic   :(

Do I have to translate admin.config.lang   file to show the Arabic language??
Is there another solution??

Thank you once again,,,

I add on SVN for the last release ;-)


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#26 2011-01-13 11:28:10

mvroosen
Member
Netherlands
2009-06-14
45

Re: [Plugin] FacebookPlug

Hi Rub,

On my site I'm using the Lightbox plugin to present my photo's.  Unfortunately my users cannot indicate they like my photo's for  Facebook. Only when I select 'slideshow' and stop this I'm able to use it.

Will there be an option in the (near) future to use it in the Lightbox plugin as well?

Many thanks in advance, like your plugin a lot!

Regards,
Marco

Offline

 

#27 2011-01-13 12:10:32

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6753

Re: [Plugin] FacebookPlug

ddtddt wrote:

mohammed wrote:

Extension is very special, I liked this
But I have a note of the language

I translated  common.lang   And added in the language folder

-------------------------------

if (!defined('PHPWG_ROOT_PATH'))
{
  die('Hacking attempt!');
}

// Arabic
$lang['Join Facebook Piwigo group'] = ' أنضم معنا في مجموعة Piwigo على الفيس بوك';
$lang['Via Facebook Piwigo application'] = 'تطبيق Piwigo على الفيس بوك';
$lang['Share on Facebook'] = 'شارك اصدقائك على الفيس بوك بهذا';
$lang['Upload photo on Facebook'] = 'حمل الصورة إلى حسابك في الفيس بوك';

?>


--------------------------


But will not change the language to Arabic   :(

Do I have to translate admin.config.lang   file to show the Arabic language??
Is there another solution??

Thank you once again,,,

I add on SVN for the last release ;-)

[Subversion] r8644


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#28 2011-01-13 12:24:27

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

mohammed wrote:

Extension is very special, I liked this
But I have a note of the language

I translated  common.lang   And added in the language folder

-------------------------------

if (!defined('PHPWG_ROOT_PATH'))
{
  die('Hacking attempt!');
}

// Arabic
$lang['Join Facebook Piwigo group'] = ' أنضم معنا في مجموعة Piwigo على الفيس بوك';
$lang['Via Facebook Piwigo application'] = 'تطبيق Piwigo على الفيس بوك';
$lang['Share on Facebook'] = 'شارك اصدقائك على الفيس بوك بهذا';
$lang['Upload photo on Facebook'] = 'حمل الصورة إلى حسابك في الفيس بوك';

?>


--------------------------


But will not change the language to Arabic   :(

Do I have to translate admin.config.lang   file to show the Arabic language??
Is there another solution??

Thank you once again,,,

common.lang  is used only for footer page (promote link) or page buttons.

For social plugin, it's facebook the translator not Piwigo.
I try to set the good correspondence between piwigo language en facebook.
If I don't have this, I put english.

For arabic:
Piwigo: ar_SA
Facebook: ???

Find me the code language for this url http://connect.facebook.net/en_US/all.js & and I can modify correspondence on my plugin.

http://connect.facebook.net/ar_AR/all.js is ok.

So, if I add ar_AR on header.inc.php, it's can ok.

Could you try to modify on my plugin file include/header.inc.php and replace:

Code:

  $valid_fb_locales = array ( 0 => 'ca_ES', 1 => 'cs_CZ', 2 => 'da_DK', 3 => 'de_DE', 4 => 'es_ES', 5 => 'fa_IR', 6 => 'fr_CA', 7 => 'fr_FR', 8 => 'he_IL', 9 => 'hr_HR', 10 => 'hu_HU', 11 => 'it_IT', 12 => 'ja_JP', 13 => 'ka_GE', 14 => 'lv_LV', 15 => 'mk_MK', 16 => 'nl_NL', 17 => 'pl_PL', 18 => 'pt_BR', 19 => 'pt_PT', 20 => 'ro_RO', 21 => 'ru_RU', 22 => 'sk_SK', 23 => 'sr_RS', 24 => 'sv_SE', 25 => 'tr_TR', 26 => 'vi_VN', 27 => 'zh_CN', );

by

Code:

  $valid_fb_locales = array ( 0 => 'ca_ES', 1 => 'cs_CZ', 2 => 'da_DK', 3 => 'de_DE', 4 => 'es_ES', 5 => 'fa_IR', 6 => 'fr_CA', 7 => 'fr_FR', 8 => 'he_IL', 9 => 'hr_HR', 10 => 'hu_HU', 11 => 'it_IT', 12 => 'ja_JP', 13 => 'ka_GE', 14 => 'lv_LV', 15 => 'mk_MK', 16 => 'nl_NL', 17 => 'pl_PL', 18 => 'pt_BR', 19 => 'pt_PT', 20 => 'ro_RO', 21 => 'ru_RU', 22 => 'sk_SK', 23 => 'sr_RS', 24 => 'sv_SE', 25 => 'tr_TR', 26 => 'vi_VN', 27 => 'zh_CN', 28 => 'ar_AR', );

ddtddt, why piwigo & facebook are differents? What'is the standard?

Offline

 

#29 2011-01-13 12:31:17

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

mvroosen wrote:

Hi Rub,

On my site I'm using the Lightbox plugin to present my photo's.  Unfortunately my users cannot indicate they like my photo's for  Facebook. Only when I select 'slideshow' and stop this I'm able to use it.

Will there be an option in the (near) future to use it in the Lightbox plugin as well?

Many thanks in advance, like your plugin a lot!

Regards,
Marco

Good idea. Added on my todo list.

Contact too developer of LightBox plugin.

If you activate the image title, it's possible to access to default page => access too facebook options.

Last edited by rub (2011-01-13 12:32:54)

Offline

 

#30 2011-01-13 23:58:59

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [Plugin] FacebookPlug

A new version is available [Revision 1.0.8653]:

Functionnality:
---------------
Language: add ar_SA thanks to mohammed

Technical:
----------
Fix language detection
Fix picture buttons without social plugin

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact