WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Simple Facebook Connect] Comments - don't see comments with facebook (7 posts)

  1. enseignement
    Member
    Posted 4 years ago #

    Hi,

    After enabling the plugin, I don't see a "connect with facebook", although the code is there :
    See in this post for example : http://www.enseignons.be/actualites/2010/02/24/cellule-jeux-risques-ecole/

    & Here's my app : http://www.facebook.com/apps/application.php?id=48696613945

    Could you help ?

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    Your theme is missing the call to wp_footer();. This is necessary for the plugin to output the proper initialization code.

    Add this just before the ending </body> in your theme:
    <?php wp_footer(); ?>

  3. enseignement
    Member
    Posted 4 years ago #

    Thanks.
    It's working, but two remarks :
    1. the text is in english, can we translate that ?
    "Hi !
    You are logged in with your Facebook account. Logout"
    2. When the pop-up for special permissions comes, it's empty, do you know why ??

  4. enseignement
    Member
    Posted 4 years ago #

    as well as using a french button for "connect with Facebook" ?

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    If you want FB Connect to render in other languages, you need to modify the plugins somewhat. The plugins are not built for internationalization yet.

    Most of the text in the plugin is just hard coded. Just change it as you like.

    The Facebook Connect buttons can be changed in languages by modifying the script calls. In the base plugin (sfc.php), you'll find this code:

    wp_enqueue_script( 'fb-featureloader', 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php', array(), '0.4', false);

    Change that to this:
    wp_enqueue_script( 'fb-featureloader', 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/fr_FR', array(), '0.4', false);

    Voila, French. The different locales you can use are here: http://wiki.developers.facebook.com/index.php/Facebook_Locales

    I can't help you with the contents of the popup. Facebook creates those, not the plugin.

  6. justinlittleadams
    Member
    Posted 4 years ago #

    Hows it going auto. I think I'm having the same problem the first user had. I did everything step by step, and installed the plugins and created the ap in facebook, but for some reason its not corresponding with my comments. I don't see the connect to facebook option but when reviewing the source code I see the script. I added <?php wp_footer(); ?> to the footer before the body and still no luck. The url on my server where it should show up is http://blaqbook.com/articles/gorillaz-plastic-beach/ and my application page on facebook is http://www.facebook.com/apps/application.php?id=339194734736 Any help would be greatly appreciated.

  7. justinlittleadams
    Member
    Posted 4 years ago #

    I figured out my problem. If you don't find your solution on this page, look at this page http://wordpress.org/extend/plugins/simple-facebook-connect/faq/. I was able to get all my stuff functioning here. I'll donate to otto on the 15th. You definitely deserve a few beers on me.

Topic Closed

This topic has been closed to new replies.

About this Topic