Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin bar disappeared


  • PJ
    Participant

    @pjnu

    I tried out the buddypress sliding login panel, but wasn’t impressed because it doesn’t display notifications well. I uninstalled but I’m not able to get my admin bar to display for users. Any thoughts on what I might do?

    I noticed this in my functions.php but even if I omit this code it doesn’t appear for users.

    `
    function arit_remove_buddypress_admin_bar_install() {}
    function arit_remove_buddypress_admin_bar_init() {
    if ( function_exists(‘bp_core_admin_bar’) ) remove_action( ‘wp_footer’, ‘bp_core_admin_bar’, 8 );
    if ( function_exists(‘bp_core_admin_bar_css’) ) {
    remove_action( ‘wp_head’, ‘bp_core_admin_bar_css’, 1 ); }
    if ( function_exists(‘bp_core_add_admin_css’) ) remove_action( ‘admin_menu’, ‘bp_core_add_admin_css’ ); }
    function arit_remove_buddypress_admin_bar_uninstall() {}

    register_activation_hook( __FILE__, ‘arit_remove_buddypress_admin_bar_install’ );
    add_action( ‘init’, ‘arit_remove_buddypress_admin_bar_init’ );
    register_deactivation_hook( __FILE__, ‘arit_remove_buddypress_admin_bar_uninstall’ );
    `

Viewing 3 replies - 1 through 3 (of 3 total)

  • govpatel
    Participant

    @govpatel

    when you installed buddypress sliding login panel you had to put this code define( ‘BP_DISABLE_ADMIN_BAR’, true );
    in wp-config.php to hide the buddypress admin bar just take it out and deactivate buddypress sliding login panel.


    PJ
    Participant

    @pjnu

    Ah, wonderful. Thank you very much @govpatel


    Sixgunzx
    Participant

    @sixgunzx

    I am having a simular issue. I am using the Jooc theme, wordpress 3.0.1 and Buddypress 1.2.5.2, my admin bar is not showing on the front page. It does seem to be showing in the admin panel. I have deactivated, and deleted bp, and I checked the functions file for the theme as well, and it has the same code as posted above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin bar disappeared’ is closed to new replies.
Skip to toolbar