WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Simple Facebook Connect] button no longer appears

[Resolved] [Plugin: Simple Facebook Connect] button no longer appears

Viewing 8 replies - 1 through 8 (of 8 total)
  • Tried to disable all other plugins, also disabling my javascript in the header (simple show/hide), but still no button appearing. Is it possible to download ver 0.25 as it seemed to work?

    Thanks

    PS: Also tried beta files

    Plugin Author Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Go to the SFC Settings page. Turn on the Like button module. Save.

    Also, 0.25 will no longer work at all after October 1st, so downgrading isn’t a good option.

    Hi Otto. I did that too 😉 Also tried different modules, also changing the shortcode accordingly.

    Too bad about the 0.25.

    EDIT: I do have this code generated, but still no button:

    <fb:like href='http%3A%2F%2Frumlab.dk%2Farchitecture%2Flearning-lab' send='false' layout='standard' show_faces='true' width='400' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like>

    After investigating the mechanics of the facebook thing a little further 🙂 –
    I noticed, that I don’t have any Open Graph tags generated…

    And replacing sfc_base with latest beta, I get a Server Internal Error, loading the site.

    Sorry if I’m shooting left and right.

    On an extra note, I also tried it on another site I’m managing, also using wordpress 3.2.1, with the same result. I get HTML code generated but no button, and no meta tags.

    Thanks

    Plugin Author Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Does your theme not have the proper wp_head() and wp_footer() calls in it?

    Try the default theme. See if it works there.

    No I don’t have wp_head and wp_footer. They mess up my Nextgen gallery. I had an issue with some jquery on a different site, where instead of adding wp_head/footer, I added these three lines to my header:

    <script type='text/javascript' src='http://ncfg.dk/wp-includes/js/l10n.js?ver=20101110'></script>
    <script type='text/javascript' src='http://ncfg.dk/wp-includes/js/jquery/jquery.js?ver=1.6.1'></script>
    <script type='text/javascript' src='http://ncfg.dk/wp-includes/js/jquery/jquery.form.js?ver=2.73'></script>

    Which did the the trick there, but it doesn’t work here. Are wp_head and footer mandatory to make your plugin work?

    And yes, it does work with the default theme.

    EDIT: It works :). I just added this code to my footer instead of wp_footer:

    <div id="fb-root"></div>
    <script type="text/javascript">
      window.fbAsyncInit = function() {
        FB.init({appId: '196828327005607', status: true, cookie: true, xfbml: true });
          };
      (function() {
        var e = document.createElement('script'); e.async = true;
        e.src = document.location.protocol +
          '//connect.facebook.net/en_US/all.js';
        document.getElementById('fb-root').appendChild(e);
      }());
    </script>

    Thanks!

    M

    Plugin Author Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    wp_head and wp_footer are mandatory in all themes. Not having them is a terrible idea. If a plugin requires you to remove them, remove the plugin instead.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Simple Facebook Connect] button no longer appears’ is closed to new replies.