Facebook Connect in the Admin Bar when logged out. wp-fb-autoconnect.
-
This question is related to the plugin wp-fb-autoconnect. I wanted to post the question in the group but I didnt know how and if its possible so I post it here. Sorry and thanks everybody!
Inside the file bp-core-adminbar.php weve got this function about login.
__________________________________________________________________
function bp_adminbar_login_menu() { global $bp; if ( is_user_logged_in() ) return false; echo '<li class="bp-login no-arrow"><a>root_domain . '/wp-login.php?redirect_to=' . urlencode( $bp->root_domain ) . '">' . __( 'Log In', 'buddypress' ) . '</a></li>'; // Show "Sign Up" link if user registrations are allowed if ( bp_get_signup_allowed() ) { echo '<li class="bp-signup no-arrow"><a href="' . bp_get_signup_page(false) . '">' . __( 'Sign Up', 'buddypress' ) . '</a></li>'; } }
__________________________________________________________________
what I did was writing between the php wrappers jfb_output_facebook_btn(); after the first echo and delete the other stuff but doesnt seem to work. Does anybody know how could I do it?
Thanks!
Ferran.
- The topic ‘Facebook Connect in the Admin Bar when logged out. wp-fb-autoconnect.’ is closed to new replies.