Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: The buddybar is showing on the forums page onfthis site; how do we do it?


jfcarter
Participant

@jfcarter

Okay, so here’s what I’ve done:

1. Added this code to the beginning of the bb-config.php file (I have WPMU installed at the root):

require_once( $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-blog-header.php’ );

2. Added this code to the bbPress footer (before the closing /html tag):

<?php wp_footer() ?>

3. Added this code to the bbPress header (before the /head tag):

<?php wp_head() ?>

4. Added this code to my bbPress header theme:

<div id=”search-login-bar”>

<?php bp_search_form() ?>

<?php bp_login_bar() ?>

<div class=”clear”></div>

</div>

The result: I am getting a white space above the bbPress header where the bar should be and the login bar is showing up in that space. But there is no CSS flowing (I changed the buddybar color) and I don’t see any of the buddybar menu items.

Hope this helps those who are newly joining the conversation.

Any further help would be appreciated. :)

Skip to toolbar