What versions of bbPress and WordPress did you integrate?
I’ve been tearing my hair out for about a week over this. I’ve gone through the WP/bbPress integration process, but if I use the WordPress login form to get into the site, I can’t access the bbPress Admin control panel. It just bounces me back to the forum’s front page. It DOES work if I use bbPress’ login, but I really don’t want to do that every time I want to administrate the site. In fact, I don’t want to use the bbPress login screen at all.
Thanks, but I’m looking for a solution. I saw something you posted on another topic about a tutorial, but all it did was log me out of my forum and not recognize any user. I’m just surprised the integration of users and themes is so difficult between bbPress and WP.
You can also use this tutorial and the template: http://www.adityanaik.com/integratepress-part-i/ It will call the header and footer from wordpress, but you will still need to tweak it a little and and the sidebar call if you want it.
Never display your cookie hash. That is a security risk.
They appear to be all the same. I did set up my bbPress database table prefix as wp_bb_. They are in the same database.
One thing I wonder about is this:
define( 'COOKIEHASH', 'd61ff63d6d2f09a423c2332af089b5c8' );
define( 'COOKIE_DOMAIN', '.hoosierhoopsreport.com' );
define( 'SITECOOKIEPATH', '/wpm/' );
define( 'ADMIN_COOKIE_PATH', '/wpm' );
define( 'COOKIEPATH', '/wpm/' );
The cookie_domain, it says (dot)hoosierhoopsreport.com. Should the (dot) be there?
I ended up having to support both, because I wanted users who sign in on a bbPress page to “stay” on the same page… and users who signed into a WordPress-powered page to also “stay” on the same page.
I used to only use the bbPress signin, which worked great… but then users who signed into WordPress pages got sent “back” to the frontpage of my blog, which annoyed my users.
Hope that helps!
What version did you install? Search is built in to all versions, but only visible by default in the 1.0 version.
Or, are you trying to search bbPress from WordPress?
Go over your wp-config and bb-config installs and make DAMN sure they’re talking to each other. Check the DB name and password. Go into your SQL db and make sure that bb_ and wp_ are in the same database. When you login, look at the cookies in your browser and see if anything jumps out about their similarities or differences. Triple check your KEYs and HASHes, and I’d even go so far as to reset them. Can’t hurt, can it?
OK…got past this part. : )
It’s back to the way it was before I started over. If I log into one, it still doesn’t log the other one in. The same applies when logging out. Log out of one, the other is still logged in.
Thoughts?
*note – I’m not trying to integrate bbPress into a WordPress page but rather a static page. I already have the login integration between bb and wp working.
I’ve been able to “embed” my WordPress posts into a static web page with the help of an online tutorial using PHP includes. Basically, on the page that you want to have WordPress embedded in, you paste:
<?php require(‘../../../blog/wp-blog-header.php’); ?>
into the very top of the page above the DTD, and then paste The Loop wherever you want your posts to appear.
What I’d like to do is the exact same thing except with bbPress. I’ve tried applying the same basic principle as described as above, but am pretty much stuck and can’t get anything except errors to appear.
Here’s what my code looks like at this point. I’ve used the header file from the kakumei templates folder as that’s the only header file I can find. At the very top above the DTD;
<?php require(‘../../../forums/bb-templates/kakumei/header.php’); ?>
Now I’ve searched high and low for anything talking about “The Loop” (or it’s equivalent) in bbPress but have found zip. The closest things I have seen have been inside the bbPress/index.php and forum.php files, which I pasted and tested each separately into the area that I wanted to have the forums appear, but with no positive results.
If anyone knows how to do this properly I will be grateful.
Thank you
Adam Lawton
*The page where I found the WordPress integration tutorial is:
http://moshublog.com/2005/07/05/integrate/
I’m zero luck getting through this part. I went through the WordPress integration section, completed the steps, and it logged me out. Now it doesn’t recognize my admin account or any account for that matter.
I can’t imagine how screwed up this is.
BTW…using WP 2.8.1 and bbPress 1.0.2.
I did try that the second time around. Now I’m on a third time and getting this error:
There was a problem connecting to the WordPress user database you specified. Please check the settings, then try again.
Before I tried the third install, I deleted all old files both from my local and my server locations. I wiped out my bbPress database tables. So it’s a clean install. I’m getting my cookie information from my wp-config file downloaded from my server. I have checked the settings, BTW.
Ugggghhh!! : )
Okay I’ve deleted everything in the cache/cookie and also all those salts in phpMyAdmin and NOW I can access both admin panels again.
BUT I can’t get the integration working at all. As soon as I try to use the same salt on both it breaks them, making my admin account on bbPress just a plain member and preventing me from accessing the wp-admin panel altogether (NOTE: I dont mean unauthorized, I mean actually unable to login, it just refreshes).
bbPress should integrate nicely into whatever template the blogger is using. It should be that simple. Am I missing something???
bbPress integration is user integration, not full fledged theme integration. Even if you use Deep Integration methods, there will be a need for manual jiggery.
As for the login issues, double check your cookies and hashes between your wp-config and bb-config files. Clean out all of YOUR cookies and your browser cache and check again. SOmetimes, it’s just that simple.
Cookies and caches.
Flush ’em all. Manually delete if you have to.
If you’re able to tweak a regular template to a wordpress theme than is the next step to bbpress not so far.
I embedded both applications into my own site:
http://www.finalwebsites.com/forums/
http://www.finalwebsites.nl/blog/
my advice start with the header and footer!
surround anything with one div container, open that container in the header and close it inside the footer
I have followed the instruction for database/user integration, and it doesn’t work as it should. It recognizes the users’ information, but it doesn’t recognize if they logged in to the other. So I can log into my WordPress but still be logged out in bbPress. The reverse is true too.
Simple Press managed to get it right, but the interface is a bit bloated. I’m using WordPress 2.8.2.
bbPress should integrate nicely into whatever template the blogger is using. It should be that simple. Am I missing something???
I like how clean bbPress is, but it can’t be that tough to integrate, as I assume it’s produced in part by the same group.
Okay I have managed to fix the problem by using phpmyadmin and removing the salt keys etc in bb_meta. but the integration is still not working any ideas?
EDIT: I can’t login to WordPress at all now. It just reloads the login page after i submit it. Any ideas?
Hi. I have just set up a new WP / bbP website at http://www.paperviewzine.com/ and http://forum.paperviewzine.com/
I have just done the Integration but its broke the login system, when I login to my BB site it NO LONGER classes me as an admin, so i cant edit anything anymore. And when i login into the WP site it just refreshes the login page and does not login to the Wp-admin.
This has happened after changing those keys and stuff. I have had a look in the phpMyAdmin bit to see if i can fix the issues, BUT i cant find a table called bb_options like WP has? Where are the wordpress integration options for bbPress kept? and also how do I fix the problem I am having thanks.
Do they do that for WordPress yet? Ponder…
I just deleted the whole database and the forum, and reinstalled it. This time I tried integrating it with WordPress. I was able to find all keys, exept secure_auth_salt in the WP-options.
However, I got this errormessage, after a “successfull install”:
Quote:
>>> WordPress cookie keys not set.
>>>>>> Your “bb-config.php” file was not writable.
>>>>>> You will need to manually re-define “BB_AUTH_KEY”, “BB_SECURE_AUTH_KEY” and “BB_LOGGED_IN_KEY” in your “bb-config.php” file.
The forum is looking like it always has, and logging in still does not work. Obviously there is something very problematic with Line 273 and 232 – in my BB-config file, my Class.wp-auth.php file, and my functions.bb-pluggable.php file.
Someone please help me, fast!!! I want this forum up and running. I thought this would be much simpler.
–
Okay strike that it’s working. Minutes later, the forum doesnt load at all. This is the message it gives now:
Warning: require_once(/home/michael/public_html/forum/bb-config.php) [function.require-once]: failed to open stream: Permission denied in /home/michael/public_html/forum/bb-load.php on line 160
Fatal error: require_once() [function.require]: Failed opening required ‘/home/michael/public_html/forum/bb-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/michael/public_html/forum/bb-load.php on line 160
I’m not using any language files no. I wish I could, but bbpress did not have Norwegian.
I’m not using any plugins at all for BBpress. And I did not integrate BBpress with WordPress. It’s a perfectly clean install.
What do I have to do? Should I de-install it and do something different? You can see the installation on http://www.michaeljackson.no/forum
Yeah, looks like an openID wrapper of some kind. I tried it on a few sites with my google ID and it was really slick.
Here’s the WP plug-in. Will let you know if it works with bbpress once I try it.
https://wordpress.org/extend/plugins/rpx/
And yes, good thinking about the log-in–would probably redirect people to always login through wp/rpx just to be sure.