WordPress.org

Ready to get started?Download WordPress

Forums

WP-FB-AutoConnect
Missing Java-Script (3 posts)

  1. daurora
    Member
    Posted 3 years ago #

    I have purchased the Premium code to set the Facebook Login button below the comment form. The button appears there; however, no action occurs when the button is clicked. Upon reviewing the java-script on the page it would appear that it is incomplete:

    ******************************
    Java-script shown on the page:
    ******************************

    <div id="facebook-btn-wrap"><!-- WP-FB AutoConnect Premium v1.6.6 -->
    <span id="fbLoginButton">
    <script type="text/javascript">//<!--
    document.write('<fb:login-button v="2" size="small" onlogin="jfb_js_login_callback();">Login with Facebook</fb:login-button>'); //--></script>
    </span>
    <!--Premium Add-On #164, version 12-->

    <div id="login_spinner" style="display:none; margin-top:7px; text-align:center;" ><img src="http://www.treeswoodsforests.com/wp-content/plugins/wp-fb-autoconnect/spinner/spinner_white.gif" alt="Please Wait..." /></div></div>

    ***************************
    This is what it should be:
    ***************************

    <!-- WP-FB AutoConnect Premium v1.6.6 -->
    <span id="fbLoginButton">

    <script type="text/javascript">//<!--
    document.write('<fb:login-button v="2" size="small" onlogin="jfb_js_login_callback();">Login with Facebook</fb:login-button>'); //--></script>
    </span>
    <!--Premium Add-On #164, version 12-->
    <div id="login_spinner" style="display:none; margin-top:7px; text-align:center;" ><img src="http://www.treeswoodsforests.com/wp-content/plugins/wp-fb-autoconnect/spinner/spinner_white.gif" alt="Please Wait..." /></div><form id="wp-fb-ac-fm" name="jfb_js_login_callback_form" method="post" action="http://www.treeswoodsforests.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php" >
    <input type="hidden" name="redirectTo" value="/?p=3395&lang=zh-cn" />
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="c8e706f333" /><input type="hidden" name="_wp_http_referer" value="/?p=3395&lang=zh-cn" />
    </form><script type="text/javascript">//<!--
    function jfb_js_login_callback()
    {

    jQuery('#fbLoginButton').hide();
    jQuery('#login_spinner').show();
    document.jfb_js_login_callback_form.submit();
    }
    //--></script>

    Are you able to determine why the extra code is not provided?

    Thank you,

    daurora

    http://wordpress.org/extend/plugins/wp-fb-autoconnect/

  2. justin_k
    Member
    Plugin Author

    Posted 3 years ago #

  3. chickwithbob
    Member
    Posted 3 years ago #

    Hi daurora,

    Did you ever get your answer to this?
    I have the same problem and I find trying to search the support area on the above site link is impossible!!

    I would be very grateful for any pointers...

    Many thanks,
    Natacha

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic