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

  • ebruni

    (@ebruni)


    Behaviour:

    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

    http://www.flickr.com/photos/ebruni/4986159816/

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

    http://www.flickr.com/photos/ebruni/4985559635/

    with this HTML Code

    http://www.flickr.com/photos/ebruni/4985569903/

    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);

    with

    $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)

    WordPress.org 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.

    ebruni

    (@ebruni)

    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.

    ebruni

    (@ebruni)

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

    http://www.croce-verde.it/prova/

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.