Forum Replies Created
-
Thanks for that Tracedef!
I forgot to upgrade the Buddypress Support plugin in bbPress as well! *bangs head on table*.
The thing that threw me off was the version number of the BuddyPress bbPress plugin; it was the same as in BP 1.0.1, so I thought I didn’t need to upgrade!
Sorry for not being clear!
What I mean by “deep integration” is calling WordPress into bbPress. You can do this by doing what Necati above you said. Then you can just follow the steps I have listed above.
Thanks for posting that for everyone! My instructions weren’t the clearest!
—
[EDIT]
I decided to post the full code again for clarity’s sake.
On line 2 in bb-config.php (located in your bbPress forum install), add this:
require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');Now, add this to your bbPress theme’s functions.php (if you do not have a functions.php file in your bbPress theme folder, create one!)
function recreate_bb_admin_bar() {
echo '<div id="wp-admin-bar">';
bp_adminbar_logo();
echo '<ul class="main-nav">';
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 '</ul></div>';
}
add_action('bb_foot', 'recreate_bb_admin_bar');
add_action('bb_admin_footer', 'recreate_bb_admin_bar');
add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );
add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );I also made one last change to the function because it wasn’t XHTML validating before! See if you can spot the change
Update:
Make sure when you disable WP_CACHE that you do two other things:
-delete the “cache” folder in /wp-content/ as well
-rename object-cache.php to object-cache.php.bak or something like that
I forgot to do these two things after the upgrade and just noticed that it was wreaking havoc on my BP group forums and bbPress. They wouldn’t sync up!
All seems to be well with the cosmos now! Although I havent’ re-enabled WP_CACHE yet.
But I did go through it and 1.0 RC3 was still laughing at me like the dog on Duck Hunt. Oh how I hated that dog.
That made my day! haha
I was really looking for changes made to bpskeletonmember theme, so I only made two changes to two files (if I remember correctly!)
Hey Kunal,
I didn’t run into any problems until upgrading BP from the WPMU admin area.
Everything else was running fine.
Although the only main BP plugin I’m using at the moment is Burt Adsit’s bpGroups plugin.
Hey Chris,
There’s at least several of us using 1.0 alpha 6 still.
And there’s a few on 1.0 RC3 (including these forums on buddypress.org).
Looking forward to your updated tutorial when you figure everything out

[EDIT]
Our good friends at UMW have updated their integration tutorial for BP 1.0.2, WPMU 2.7.1 and bbPress 1.0 RC3:
http://umwblogs.org/wiki/index.php/Integrating_WPMu%2C_BuddyPress%2C_and_bbPress
I haven’t tried it myself, but thought it might help some of you!
No, they would see the same screen on the registration page, but when the user hits “Next”, the second page will allow the user to customize their blog (name of blog, etc.).
Okay everyone!
Here’s an update to my code for the BP admin bar in bbPress.
Keep the existing recreate_bb_admin_bar() function, but for the last part (the add_action’s) use this:
add_action('bb_foot', 'recreate_bb_admin_bar');
add_action('bb_admin_footer', 'recreate_bb_admin_bar');
add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );
add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );This uses bbPress’ default header and footer hooks instead of WordPress’, so in theory, you could get rid of wp_head and wp_footer in your bbPress theme.
You’ll still need to keep the deep integration code in your bb-config.php though!
Also this code is updated so you can see the BP admin bar in the bbPress admin area. The code before did not work for that!
You could hide the “Create a Blog” section on the registration page, which would mean that blog creation will be checked by default.
Add the following to your CSS file:
#blog-or-username {display:none;}Were there a lot of changes to the member themes?
I’m planning on upgrading to BP 1.0.2 myself and I have a somewhat, customized member theme.
Hey Allen,
The CSS for the admin bar is located here:
/wp-content/plugins/buddypress/bp-core/css/admin-bar.css
Look for these lines:
#wp-admin-bar li * {
font: 12px normal "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Verdana, Arial, sans-serif !important;
font-weight: normal !important;
background-image: none !important;
}
#wp-admin-bar li a {
padding: 5px 25px 7px 15px !important;
font: 12px normal "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Verdana, Arial, sans-serif !important;
font-weight: normal !important;
}#wp-admin-bar ul li a {
display: block !important;
font-size: 12px !important;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Verdana, Arial, sans-serif !important;
text-decoration: none !important;
color: #fff !important;
}Yes! The switch_to_blog() function is so important!
That’s one of the first “eureka” moments I had when switching over from WordPress Standard to MU.
Ahh cool! I see you guys are using the BBCode LIte plugin now for bbPress
Kunal17, you could potentially use the PHP Code Widget Plugin by Otto to paste that PHP snippet by Milan in there.
Word of advice: Do not use Dreamweaver to edit PHP code!
Dreamweaver could have mangled the original BP template code.
“Activity” has been replaced by “Dashboard”, which is kind of like an extended version of the activity page.
As of BP 1.0.1, this isn’tincluded. Not sure about the latest trunk version of BP.
Andy said he was planning on writing a blog post talking about the “Dashboard” page, so I guess we’ll have to wait for it

—
You can always check your “Profile” page… which I’ve always found to be almost like the “Activity” page.
Oops… just looking over my code again!
The function should be:
function check_admin_bar() {
global $bp;
//remove core admin bar CSS at all times!
remove_action('wp_head', 'bp_core_admin_bar_css', 1);
//add custom CSS only if admin bar is true
if($doing_admin_bar) add_action('wp_head', 'my_admin_bar_css', 1);
}
add_action('plugins_loaded','check_admin_bar',99);Sunday morning bump!
Let me know if any of you need clarification with what I typed above.
Hey 21cdb,
This is actually getting beyond the scope of the original post!
I’m not sure what the $doing_admin_bar variable is; I’m assuming it’s a variable of BP’s that allows you to check if the admin bar is displayed or not.
If that is the case, you can try this:
function check_admin_bar() {
global $bp;
if($doing_admin_bar) add_action('wp_head', 'my_admin_bar_css', 1);
else remove_action('wp_head', 'bp_core_admin_bar_css', 1);
}
add_action('plugins_loaded','check_admin_bar',99);Try that out, not sure if it will work though!
—
Re: Admin bar logo. Simple way is to not use the apply_filter! Just directly link to your logo!
function my_adminlogo() {
echo '<a href="/"><img src="LINK TO LOGO" alt="YOUR LOGO" /></a>';
}
function my_adminbar_logo() {
//replace BP logo with your logo
remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo');
add_action( 'bp_adminbar_logo', 'my_adminlogo');
}
add_action( 'bp_adminbar_logo', 'my_adminbar_logo', 1);—
To do more modifications, I highly recommend reading the codex article, “Modifying the Admin Bar” that Jeff linked to:
https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/
It contains mostly everything you need to know!
It’s a CSS issue, suleiman.
You’ll need to either modify the bp core admin bar CSS or add a CSS rule to your bbPress theme’s CSS file
roseeveltrp, you’re correct!
You need WordPress MU.
BuddyPress only works with MU at this moment in time.
Some day down the road BuddyPress will support regular WordPress, but not now.
Here’s a good guide for transitioning from WordPress standard to MU:
http://welcome.totheinter.net/2008/10/04/how-to-migrate-from-wordpress-to-wordpress-mu/
It helped me!
Hmm… Reboot Now, that’s interesting because my functions.php file seems to work in my bbPress theme. I’m using the functions.php file to call on the BP admin bar and it works.
FYI, I’m using bbPress 1.0 alpha 6 and the default Kakumei theme.
Just tried your _get_avatar() function and it works!
Instead of mystery-man, I defaulted it to wavatar.
Thanks!
Ignore this post! (I had written something else in here previously… but just had a light bulb go off!… love it when that happens!)
Basically, I need to import a bunch of users from a different system that use their email address as their login.
I’m going to use WP Email Login as mentioned above.
But I need to assign a “default” WP username to these users, so what if they do not like that username?
For this, I’m going to try the WPVN Username Changer plugin and see if this works.
Will keep you guys posted.
Hey guys, I’m in the same boat as tommylbc, Jrtlm and bobman024.
—
John, are you currently using the latest version of Burt’s bpGroups v0.36?
I’m also using deep integration, so I am wondering what steps you are using to make BP avatars work in bbPress.