Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-01-24 08:26:16

iLL
Member
Location: Bangkok
Registered: 2012-01-24
Posts: 8

Facebook Like / Recommend

Hello,
I can find the plugin to add the google +1 and the twitter button, but is there a plugin to add the facebook like / recommend button as well?  I could not find this plugin.

There is a facebook integration but thats not really what I need, I just need a like / recommended button plugin same as twitter and +1. 

I can manually add the button, but I wanted to request it as a piwigo plugin.


Thanks
iLL

Offline

#2 2012-01-24 14:29:31

Billr
Piwigo Team, forum moderator
Registered: 2011-06-22
Posts: 144

Re: Facebook Like / Recommend

In the 'facebookplug' plugin, you can choose what to show.   Enable the "Like Button" and disable all the other options.

Offline

#3 2012-01-24 17:41:41

iLL
Member
Location: Bangkok
Registered: 2012-01-24
Posts: 8

Re: Facebook Like / Recommend

Hello,
I have gone ahead and installed this, but how do i move the position of the like button?  Id like them to appear next to the +1 and tweet buttons..

I also get a text "Share on facebook" and i am not sure if this is the same thing as the like button?
Its also not an image, its just in text..  so i have 2 links..   

Any direction on how to move this like button (located below the picture) next to my google button would be appreciated.
(see image below)
Thanks


Uploaded Images

Last edited by iLL (2012-01-24 17:49:09)

Offline

#4 2012-01-24 18:15:26

rub
Piwigo Team
Location: Lille
Registered: 2005-08-26
Posts: 5015
Website

Re: Facebook Like / Recommend

Could you give me a link of your gallery? (MP if ncessary)

Offline

#5 2012-01-24 19:01:50

iLL
Member
Location: Bangkok
Registered: 2012-01-24
Posts: 8

Re: Facebook Like / Recommend

Sure,
I am not sure how to send a message privately, but you can see the website url by viewing the image below.

Thanks

Last edited by iLL (2012-01-25 06:34:36)

Offline

#6 2012-01-24 22:49:01

rub
Piwigo Team
Location: Lille
Registered: 2005-08-26
Posts: 5015
Website

Re: Facebook Like / Recommend

Could you try on plugin\Facebook\include\constants.inc.php to replace:

Code:

define('FBP_PATH' , PHPWG_PLUGINS_PATH.basename(FBP_DIR));

by

Code:

define('FBP_PATH' , get_root_url().'plugins/'.basename(FBP_DIR));

Offline

#7 2012-01-25 09:53:33

iLL
Member
Location: Bangkok
Registered: 2012-01-24
Posts: 8

Re: Facebook Like / Recommend

Hello,
I have gone ahead and made those changes but I did not see it reflect a difference on the site.
Ill leave the changes in places in case you wanted to take a look.

Thanks

PS:  I would like to remove the "share on facebook"  textlink, but move the "Like" button (under photo), next to the +1  above the photo.   Hope this is not too complicated..  Thanks

Offline

#8 2012-02-12 12:28:26

rub
Piwigo Team
Location: Lille
Registered: 2005-08-26
Posts: 5015
Website

Re: Facebook Like / Recommend

Could you try a other solution, on plugin\Facebook\include\constants.inc.php to replace:

Code:

define('FBP_PATH' , PHPWG_PLUGINS_PATH.basename(FBP_DIR));

by

Code:

define('FBP_PATH' , get_gallery_home_url().'plugins/'.basename(FBP_DIR));

Offline

#9 2012-04-13 16:50:40

redstarx
Member
Registered: 2012-04-13
Posts: 3

Re: Facebook Like / Recommend

Hello,

I'm Trying to move (reposition) the FB button (facebookplug extension) that appears on the far right side of the action buttons menu. I want it to show next to the twitter and G+ buttons but I don't know what changes to make to make this happen.

I tried what rub suggested but nothing changed, it's still on the same position.

I'd appreciate any additional information besides rub's, on how to reposition the FB button.

Thank you.

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013