Re: BP admin bar on bbpress front page
@johnjamesjacoby I know what you mean. If you really want to hack it, here are the directions:
1. Comment out this, in bp-core/bp-core-adminbar.php, line 14:
do_action( ‘bp-adminbar-logo’ );
2. Add this on the following line:
bp_adminbar_logo();
3. Comment out this, in bp-core/bp-core-adminbar.php, line 19:
do_action( ‘bp-adminbar-menus’ );
4. Add underneath it:
bp_adminbar_login_menu();
bp_adminbar_account_menu();
bp_adminbar_blogs_menu();
bp_adminbar_notifications_menu();
bp_adminbar_authors_menu();
bp_adminbar_random_menu();
5. Add the following scripts to your template’s header.php file:
mu-plugins/bp-core/js/jquery/jquery.livequery.pack.js?ver=2.7
mu-plugins/bp-core/js/general.js?ver=2.7
mu-plugins/bp-core/bp-core-ajax-handler.php
mu-plugins/bp-core/css/admin-bar.css?ver=2.7
6. Finally, add the following to your template’s footer.php:
include(‘../../../wp-content/mu-plugins/bp-core/bp-core-adminbar.php’);
bp_core_admin_bar();
7. If you’re not already, include wp-blog-header.php into bb-config.php:
require_once(‘../wp-blog-header.php’);
Note: I do not recommend this solution as upgrades, patches, etc. will break this functionality.
With that in mind, I’ll be releasing a much sexier solution in the form of a plugin soon as stated above.
Hope this helps,
Terry