It sounds like what you need is to overload the bb_get_location function. This is easy to do in bbpress. You need to make a set of functions like this:
is_home() {
if( 'home-page' == get_bb_location() )
return true;
else
return false;
}
get_home_location() {
if ( bb_find_filename($_SERVER['PHP_SELF']) == 'home.php' )
return 'home-page';
}
apply_filter( 'get_bb_location', 'get_home_location' );
That’s untested, but I think that should work. Basically what you want to do is add in your locational test when bb_location is called. Then you can just call is_home() and it’ll do what you want. Of course, if you don’t want any other part of the forum to care if it’s on the home or not, you can take out all that stuff at the end that integrates it with get_bb_location, and just do this:
is_home() {
if( 'home-page' == get_home_location() )
return true;
else
return false;
}
get_home_location() {
if ( bb_find_filename($_SERVER['PHP_SELF']) == 'home.php' )
return 'home-page';
}
Whichever you want to do. The second is easier, the first is more versatile.
I’ve got a new installation of bbPress which is integrated into a mammoth WordPress site and I’m quite pleased with the outcome. The only real roadblock I’ve hit cropped up while testing.
If a user doesn’t close an HTML tag in their post, the formatting is carried through to the rest of the site (yikes!). As you can imagine, things can get ugly real quick when this happens. And it will happen, without a doubt.
Anyone aware of a fix for this? Did some searching and browsing but didn’t find any mention of this.
Was wondering if someone wouldn’t mind making up a plugin for Forum Catagory (blocks)..? Like phpBB has..
Example:
General (forum cat block 1) >
–Latest news (forum under general cat)
–General Discussions (forum under general cat)
–Site Feedback (forum under general cat)
Website Design (forum cat block 2) >
–HTML Basics (forum under website design cat)
–PHP Coding (forum under website design cat)
–CSS (forum under website design cat)
Is anyone up for doing this maybe? I think it would be nice to have this option though, rather then having ALL the forums listed under ONE Section only..

spencerp
The new working version for integrated with WP and non-integrated sites will be updated in a couple of minutes! It should work for everyone now, but Ardentfrost could use a few more testers! If you are interested, just download it at:
http://faq.rayd.org/bbpress_private_message/
Thanks,
Trent
This mod adds AIM, MSN, Yahoo, Google Talk, Jabber, and Skype fields to your profiles. They are displayed when viewing the profile of a user.
It isn’t really a plugin, but… I didn’t know where else to put this.
Please let me know if you’re interested. I’ll post it soon.
Demo: http://www.palmansworld.com/bbpresstest/profile.php?id=1
Get it here: http://www.palmansworld.com/bbpresstest/topic.php?id=1&replies=1#post-1
I have thought about this a was thinking that it really doesn’t matter, but my preference would be to get the login integration with WP first if you are going to have it and this doesn’t apply to everyone because not everyone is going to sync logins with WP. The reason is that seems to be the hardest part and you have to have your key admin being the one you want and associated with the right user in WP.
Once you are ready to go, then test the import of phpBB becauase if it doesn’t go according to plan, you can just empty tables in bbPress and the hardcoding part for integration is still done.
Trent
I’ve got my bbpress install (just a simple thing to test with) integrated into my WordPress database. I’d like to be able to import selectively for testing but no screw everything up — is that possible? I note that the script calls for importing into a FRESH NEW bbpress install.
I haven’t tested this yet, but I just downloaded it now, and will be willing to try that “solution” there ardentfrost..
I’ll report back with any “problems”, or what not.. 
spencerp
I have tried it on the latest TRAC version as well as a normal 0.73 version and neither works. Unfortunetely, I never tried it on 0.72 so I don’t know if it ever would have worked. I will try on my other server and see what happens.
Trent
ehm … sorry guys, i didn’t test the new function because i’m running mysql 4.0… on my site. I fixed the $bbdb and added the following config-var:
$mysql41 = true;
If you have any problems simply set to false and it should work well.
Download here:
http://la-school.com/2006/downloads/onlinelist_1_3.zip
Try something like:
#front-page #discussions {
margin-left: 170px;
margin-right: -20px;
width: 420px;
}
#front-page #rightbar {
margin-left: 590px;
width: 150px;
margin-right: -20px;
}
I haven’t tested this, but it would be easier to just keep moving them to the right I think.
Trent
I am testing the new version. You should know that line 26 of the plugin has a syntax error that needs fixing. Change from:
$bbdd->query
to:
$bbdb->query
Trent
when I installed the plugin it had my user online when I was testing it. After 5 minutes it said no one was online. I was still logged in and started viewing posts. It remained with saying that I was not online.
If I then logout and login again, it still says no one is online. If I drop the table in the database and go back to the main page, it says I am online for 5 minutes and then goes back to saying no one again.
What am I doing wrong or is this an error?
Trent
Take the cookie domain and path information right out for now. It should work without it anyways and let’s do some more testing.
Trent
Simon,
I would change the cookie domain to be just awspress.com (without the period before it).
That should get the logout link on bbPress working better. I was not able to login as TrentAdams and come back to WP with an account created in bbPress, but when I created an account Trent with WP and then went back to bbPress, the user worked and so did the integration. It didn’t matter which program I logged in Trent with, it worked going back and forth.
That seems to me that the wordpress-integration plugin in bbPress is working and the bbpress-integration plugin in WP is not. I would uninstall that plugin and reinstall it after updating the cookie information in the config.php file for bbPress.
Let me know how you make out and I can test it some more.
Trent
After testing this! WOW! I just assumed it would have notification by email, but that can come later! This is really going to be a cool system! Looking forward to the release!
Trent
Not sure what you’re asking (the plugin has nothing to do with email addresses), but feel free to go to my forums and check it out. I need more testers anyway.
I just did what the previous code was dictating a different way, so right now everything I’ve worked on is working.
If you do come over and test it out, make a quick post in some thread (I suggest the one pertaining to this plugin) so that you don’t get deleted accidentally (we go through our memberlist daily to delete spam users)
I believe that bb_add_filter is the naming that is used in the latest version in TRAC (might wanna check that) as most files and functions are being named that way.
As for the function that you are close to creating, could I ask if it will only send links to the PM area to a member so that other members can harvest email addresses?
Trent
I have done a fresh install of the latest WP (2.0.5) and latest bbPress (0.73) earlier today and installed the WordPress plugin as described. I have also added the code described above to bbPress’s config.php.
Wordpress is installed on my root domain, and bbPress in a folder named /forums/
User registration integration is not working, is there something I have missed?
Thanks – pilks (AWSpress.com)
hanbit,
download the latest version of the Private Forums plugin from
http://www.adityanaik.com/projects/plugins/bb-private-forums/
please report any bugs here
http://www.adityanaik.com/forums/forum/4
thanks for you help..
Addendum:
just tried another user “test” — same thing, can’t get in.
it tests on use of front-page.php in either bb-templates or my-templates.
I donno, the current structure of the plugin makes adding guests a bit complicated, but i’ll give my best … im not the fastest guy.
Ajaxed is something even bigger for the future, sorry.
New Version: http://la-school.com/2006/downloads/onlinelist_1_3.zip
(Better online_update on mysql 4.1 and greater. Will work with old Versions anyway! )
is_front stands for front-page.php? And if so how does it know that i use index2.php and not index.php Think i am going to connect index2.php to test.php (thats the renamed original front-page.php)
Or does this do something completely else, kinda confused :S