Support » Plugin: WP-FB-AutoConnect » [Plugin: WP-FB-AutoConnect] Simplemodal login conflict

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author justin_k


    You can try to alter jfb_output_facebook_btn() to just output the tag directly, rather than using javascript:document.write().

    Also, please see FAQ36.

    Were you able to get this sorted? I’d like to be able to add the facebook button onto a modal. Could you please elaborate a bit more Justin?

    I did try to output the tags directly but that doesn’t do anything and the button doesn’t show up. Any help is greatly appreciated. Thanks!

    I got it to work by modifying jfb_output_facebook_btn() as Justin mentioned above:

    <span class=”fbLoginButton”>
    <?php echo ‘<fb:login-button scope=”‘. $scope . ‘” v=”2″ size=”small” onlogin=”‘. $jfb_js_callbackfunc . ‘()”>’. apply_filters(“wpfb_button_text”, “Login with Facebook”) . ‘</fb:login-button>’; ?>

    This should output the facebook button on any modal (lightbox/simplemodal etc)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-FB-AutoConnect] Simplemodal login conflict’ is closed to new replies.