WordPress.org

Support

Support » Plugins and Hacks » WP-FB-AutoConnect » [Plugin: WP-FB-AutoConnect] Missing Java-Script

[Plugin: WP-FB-AutoConnect] Missing Java-Script

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-FB-AutoConnect] Missing Java-Script’ is closed to new replies.
Skip to toolbar