ADD to Facebook Button for Phoca Gallery?

Phoca Gallery - image gallery extension
mrlew
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 31 Jul 2010, 11:12

Re: ADD to Facebook Button for Phoca Gallery?

Post by mrlew »

What about the FaceBook and Twitter icons on the Cooliris 3D Wall
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD to Facebook Button for Phoca Gallery?

Post by Jan »

Hi, please let me know some more information about this button (where to place, what should be displayed, where to redirect, etc. etc.) so this can be added to feature request list.

For know you can set own custom link, so this can be used for link you need. (e.g. for Facebook link, you can change the icon in assets/images folder, so then it can fit your needs)

Jan
If you find Phoca extensions useful, please support the project
ctecha
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Aug 2010, 15:52

Re: ADD to Facebook Button for Phoca Gallery?

Post by ctecha »

If possible could you please make the facebook plugin work so that I can put it inside the lightboxes as well? I would like to use it to "facebook like" galleries and stuff. Ideally I would be able to place the button inside jak slideshow so when people are scrolling through images in the lightbox they can choose to share the entire gallery to facebook. I've been trying to do this myself but I'm not a programmer. I appreciate your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD to Facebook Button for Phoca Gallery?

Post by Jan »

Added into feature request list.

Jan
If you find Phoca extensions useful, please support the project
domfitty
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Sep 2010, 09:44

Re: ADD to Facebook Button for Phoca Gallery?

Post by domfitty »

Editing template files I made a small integration:

http://www.webcilento.com/category/2-fo ... onati.html

Anyone know how to add a 'tab' near to 'Giudizio' and 'Commenti'?

It will be nice to have a tab called for example Facebook (and fb logo) with like button, comment stream and share button.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD to Facebook Button for Phoca Gallery?

Post by Jan »

Please let me know the guide how to implement the facebook comments (facebook plugin) to the site.

I will implement this into the next release.

I think the place can be in folder "Comments" so in the parameters there will be 3 options:

- standard comments (allready exist)
- external comments (jcomments - allready exists)
- facebook comments


Thank you, Jan
If you find Phoca extensions useful, please support the project
domfitty
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Sep 2010, 09:44

Re: ADD to Facebook Button for Phoca Gallery?

Post by domfitty »

I have a layout problem with IE8

http://www.webcilento.com/category/7-fo ... aroli.html

I tried to remove my customization but I don't resolved....tabs not showing correctly

Here the customization instruction

To have facebook comments you have to setup an application (here http://www.facebook.com/developers) and obtain app-id.

Then you have to add

Code: Select all

xmlns:fb="http://www.facebook.com/2008/fbml"
to <html>tag

Something like

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml" [b]xmlns:fb="http://www.facebook.com/2008/fbml"[/b] xml:lang="en" lang="en">
Add this code right after the <body> tag:

Code: Select all

    <div id="fb-root"></div>
    <script>
      window.fbAsyncInit = function() {
        FB.init({
          appId  : '[b]YOUR APP ID[/b]', [color=#FF0000]<<----- this the app id obtained from http://www.facebook.com/developers[/color]
          status : true, // check login status
          cookie : true, // enable cookies to allow the server to access the session
          xfbml  : true  // parse XFBML
        });
      };

      (function() {
        var e = document.createElement('script');
        e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
      }());
    </script>
Add this code in the template

Code: Select all

<fb:comments></fb:comments>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD to Facebook Button for Phoca Gallery?

Post by Jan »

Hi, thank you for the guide, what you mean with design problems, I am viewing it with IE8 and see no problems there?
If you find Phoca extensions useful, please support the project
domfitty
Phoca Member
Phoca Member
Posts: 10
Joined: 21 Sep 2010, 09:44

Re: ADD to Facebook Button for Phoca Gallery?

Post by domfitty »

Image

Uploaded with ImageShack.us

This is what I see :?

:idea: :idea: :idea:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD to Facebook Button for Phoca Gallery?

Post by Jan »

Hmmm, I see it correct, which browser you are using?
If you find Phoca extensions useful, please support the project
Post Reply