Support » Plugin: Simple Facebook Connect » [Plugin: Simple Facebook Connect] Problem between SFC (like&share) and NextGen

  • ebruni



    SFC ver. 0.21
    NextGen Gallery ver 1.6.1

    “Like and Share” button manually.

    With “SFC like” and “SFC share” disabled the NextGen Album shows good

    but enabling “SFC Like Button” or “Share Button” the gallery is showed in page header

    with this HTML Code

    where you can see body and head code mixed.

    I don’t know where is the problem (probably in nextgen code) but I solved changing these line, in function sfc_share_meta in sfc-share.php and sfc-like.php,

    $content = apply_filters('the_content', $content);


    $content = sfc_share_button_automatic($content);

    I will be very happy if someone can solve finally this problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    Both the like and share buttons add meta data to the header. This is necessary.

    Your change will break them and prevent them from working at all. The buttons may show up, but the content will not be in the metadata and so they will not operate properly.



    Obviously I checked “like” and “share” buttons and all works well. I know that my changes aren’t good but, at least for me, they work.

    I understand that both sfc and nextgen require to add meta to the header but, of course, their interaction produce a broken behavior of the nextgen album visualization as you see in the snapshots.



    I forgot to say that you can test it in my work in progress website

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Problem between SFC (like&share) and NextGen’ is closed to new replies.