I am well stumped, I really am 
I have read as much as I can find on issues with integration but still no love.
The setup:
Server IIS.
Latest WP.
Latest BB.
ALL secret codes match.
Config files have the suggested added lines of code.
Priv mappings are all set correctly.
So far though, I can get only one account to auto login into wp from bb, and that’s only if I log in through BB only, ie. if I login through WP, it does not carry over to BB but does from BB to WP. This user incidentally has an account setup both in BB and WP.
Any other BB account can not log into WP, regardless of being logged into BB first.
Any ideas out there? I’m loving both new versions, but I have close to 2000 users that I would like to allow contribution privs to WP with their existing BB accounts – it seems WP does not see any of the BB users.
Cheers!
Will, if you don’t remember what your table prefix is for WordPress, you can look it up in /wp-config.php. Most likely, you didn’t change it and it’s: wp_.
Youhou I think I found a more simple solution than merging bbpress and wordpress language file:
– Download your bbpress language file (for me fr_FR) then rename it using another name than the language file you use for wordpress (in my case my wordpress language file is fr_FR and I renamed it in ru_RU) then put it inside your /wp-content/languages folder.
– duplicate wp-blog-header.php and rename the copy as wp-blog-header-bb.php
– duplicate wp-config.php and rename the copy wp-config-bb.php
– open wp-blog-header-bb.php and replace the two occurences of wp-config.php by wp-config-bb.php
-open wp-config-bb.php and replace the line define (‘WPLANG’, ‘yourlanguage’);
by define (‘WPLANG’, ‘newnameofyourbbpresslanguagefile’); (in my case I replaced define (‘WPLANG’, ‘fr_FR’); by define (‘WPLANG’, ‘ru_RU’)
-In your bb-config.php replace wp-blog-header.php by wp-blog-header-bb.php
You’re done now each time bbpress loads wordpress will load your bbpress language file instead of the wordpress one.
I hope my explainations were clear.
A++
I’m pretty sure it was wp_user, although it may have been wp-user – I can’t remember exactly.
Chris you’re right. In BBpress I can use all the WP functions (ex. sidebar) but I can’t use any BBpress function (ex. Simple Online list code) in WordPress.
<?php login_form(); ?> <—BBpress code in wordpress will not work.
Thanks sambauers but I want the opposite/reverse. I want BBPress to load in full when people are in wordpress.
My theory is if this work I can put BBPress code in the WPsidebar .
require_once(‘path/to/wp-blog-header.php’); <– to put in BB-config
require_once(‘path/to/????????????.php’); <– to put in WP-config
Sorry Sam 
Sam, I read that page you linked, but I didn’t see instructions on loading bbPress functions inside WordPress which is what gerikg seems to be looking for (maybe call it reverse integration.) I see the instructions for accessing WordPress functions inside bbPress.
Do I just need to read it again?
Copy the same values from your wp-config.php file in the root directory and try again.
I’m a really new website owner. I don’t know a lot about manipulating html code. I’ve read the step by step instructions for installing bbpress but It’s not enough …I need indepth instructions.
This much I have done. Downloaded bbPress to my PC. Unzipped the file.
I have WordPress already on my web host account.
Where do I put bbpress? I would like to have them integrated.
Do I put it under /wp-admin/?
If you want varying HTML depending on what the forum id is, you should probably just use a conditional if/inside of one template file like so:
<?php if ($forum_id == 1) {
echo 'html1';
} elseif ($forum_id == 2) {
echo 'html2';
?>
Any other approach will probably lead to madness.
You can create a file called info.php and put this into it:
<?php
phpinfo();
?>
Then access that at http://www.example.com/bbpress/info.php and see if the getmypid function is disabled (just search that page for getmypid.) If it is, I imagine you can just remove that bit from class-phpass.php line 43.
$this->random_state = microtime() . getmypid();
In this instance, getmypid() just returns the pid of the process that called it and that is concatenated with microtime to provide a random number. You can use something else there and be fine, I think. Or, ask your host to enable it if it’s disabled.
It looks like your WordPress htaccess file is screwed up, as this link to a WordPress post doesn’t work:
* http://www.charitableorthodoxy.com/2008/05/13/hello-world/
Did you create an htaccess file for your WordPress install? Also, did you create one for your bbPress? If so, please paste in the contents of each htaccess file. If not, try creating one.
Yeah, assuming the themes have consistent HTML, in the header, put something like this:
<link rel="stylesheet" href="<?php if ($forum_id == 1) bb_stylesheet_uri(); elseif ($forum_id == 2) echo '/my-templates/kakumei-blue/style.css'; ?>" type="text/css" />
I didn’t test this, but I think that code should work.
Use PoEdit:
msgmerge --no-fuzzy-matching -o ru_RU.po wp_ru_RU.po bb_ru_RU.po
Well the logo (page_header_bblogo.png) appears a bit darker then the background color of the header. You clearly see a grey square now. When overwriting the blue logo with the original green one, the same problem appears (thought perhaps the background color was made too dark).
Swithcing the theme back to the normal kakumei, the logo displays correct. Overwriting this with the blue logo gives no problems either.
So there is a bug in the blue kakumei theme, plz fix
I discovered for it to work that the secret keys cannot have spaces in them (as you could in version 2.5 of wordpress and 0.9.0.1 of bbpress). I generated a new secret key as one long string, and voila… users can pass through both programs without having to re-login.
$bb->wp_table_prefix = 'wp__'; // your wordpress db prefix is
$bb->wp_home = 'http://yourwebsite.com/';
$bb->wp_siteurl = 'http://yourwebsite.com/';
replace yourwebsite.com with the blog url.
if your blog url is for example
http://www.google.com then don’t forget to add the WWW to it, but if it doesn’t has WWW, the don’t use it.
Oh forgot. In the header I put just
<li class="page_item"><a href="/forum/">Forum</a></li>
after the page tag. It’s either going to be in front of all your pages or behind.
How I did it… Please back up everything before starting.
You need to find a theme close to your WP to make it easier.
1. BBPress side,I renamed the style.css to styleold.css
2. Copied over the WPress style.css over to BBpress
3. Open both files at the same time. You want to copy over some of the codes from styleold.css to style.css. You might need to play with it. Do not copy “body”.
4. Open both header.php. On the BBpress header copy over from WP header everything after <body> tag. Replacing whatever is there.
5. Open both footer.php. This one is a little tricky.
You can just copy over the whole thing and make sure you have <?php do_action(‘bb_foot’, ”); ?> in the file. You will lose the designers info though OR You need to see on WP side if there is any closing tags. bring that over and delete any closing tags on the BBPress side.
6. Sidebars: depending where the <?php get_sidebar(); ?> tag. For example my <?php get_sidebar(); ?> tag is IN the footer.php Others the <?php get_sidebar(); ?> is in the other php files right before the get_footer tag or after get header tag.
that’s it.
make sure in your bb-config.php
there is
$bb->WP_BB = true;
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
else
if (file_exists(‘../../wp-blog-header.php’))
require_once(‘../../wp-blog-header.php’);
after <?php tag.
Goodluck.
Can you post the lines you added to your wp-config.php and bb-config.php files?
The line defining the secret key in bb-config.php should look something like this:
define('BB_SECRET_KEY', 'My Secret Key');
and in wp-config.php
define('SECRET_KEY', 'My Secret Key');
Don’t forget the BB_ in fron of SECRET_KEY in the bb-config.php file.
bbPress turns < p > tags back into double line breaks and < code > back into backticks ( ` ).
You will need to somehow override this or force reconversion in TinyMCE or FCKeditor
By the way, I made this hack cleaner by implementing it as a filter inside a plugin.
function my_get_user_profile_link_filter( $link , $user_id = 0 ) {
//check for rewrite
$rewrite = bb_get_option( 'mod_rewrite' );
if ( $rewrite ) {
//what kind of rewrite there is? slug use "forum_slug" column, else the column is "forum_id"
$column = ($rewrite === 'slugs')?('forum_slug')
'forum_id');
$link = str_replace('forums/profile/', 'people/', $link);
}
return $link; // Very important line!
}
This was based on code suggested in another thread:
https://bbpress.org/forums/topic/nicer-slug-url-rewrite-plugin-done
@ _ck_
I’m not sure it works either…
You’re welcome. It’s included with 2.5.1, it’s just an optional entry, so I don’t think it would be in your default config file. But I think it is shown in the sample config file.
https://codex.wordpress.org/Editing_wp-config.php#Secret_Key_IMPORTANT
The secret key is not mentioned period in the wp-config.php file, but is in the bb-config.php file. The WordPress secret is in the http://www.masterdata.com/forum//wp-admin/options.php file (yep, the double forward slash is accurate – cut & paste) and does match exactly (I used Excel to do the match).
If it is supposed to be in the wp-config.php file, please show me how the entire finished code should look (obviously my variables will differ but the structure will be the same). We might let the developer folks in on this too.
Awaiting your reply…. Thank you!