Forum Replies Created
-
In reply to: navigation bar in BuddyPress in BBPress
Thank you! That works.
In reply to: navigation bar in BuddyPress in BBPressnevermind…forgot to put in the
require_once(‘../wp-blog-header.php’);
this seems to work fine, but I’ve noticed another problem…when you go to the admin page to administer the forum, I get a failure again, like this:
Warning: require_once(../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/alumnide/public_html/forum/bb-config.php on line 5
Fatal error: require_once() [function.require]: Failed opening required ‘../wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/alumnide/public_html/forum/bb-config.php on line 5
has anybody else gotten past this error?
In reply to: navigation bar in BuddyPress in BBPressthanks..just did that and get
Fatal error: Call to undefined function wp_head() in /home/alumnide/public_html/forum/bb-templates/kakumei/header.php on line 33
am I still missing some code?
In reply to: navigation bar in BuddyPress in BBPressOk..thanks…well, this is what I did, but it doesn’t work. I followed the advice given in the link above:
1. Created a function called functions.php inside my template folder (bb-templates/kakumei/functions.php) and put in it the code:
function recreate_bb_admin_bar() {
echo ‘<div id=”wp-admin-bar”><ul class=”main-nav”>’;
bp_adminbar_logo();
bp_adminbar_login_menu();
bp_adminbar_account_menu();
bp_adminbar_blogs_menu();
bp_adminbar_notifications_menu();
bp_adminbar_authors_menu();
bp_adminbar_random_menu();
echo ‘</div>’;
}
add_action( ‘wp_footer’, ‘recreate_bb_admin_bar’, 8 );
add_action( ‘admin_footer’, ‘recreate_bb_admin_bar’ );
add_action( ‘wp_head’, ‘bp_core_admin_bar_css’, 1 );
2. Added to my bb-config.php file, this line
require_once(‘../wp-blog-header.php’);
Am I still missing something? Thanks
In reply to: navigation bar in BuddyPress in BBPressHmm..it looks like they say to use the functions.php file (for the theme) to add the code, but I don’t see such a functions file…am I missing something obvious?
In reply to: navigation bar in BuddyPress in BBPressThanks all, I’ll give this a try.
Best wishes,
Allen