I turned them on.
I found the problem though, some time in the middle of last night I had some hair brained idea to reverse integrate bbpress back into WordPress so I could display forums in my sidebars and what not… well I’m running µ and I didn’t want everybody who hosts with us to have to load bbpress and not even get to use it, so I was being ‘crafty’. Somehow I managed not to break WP, but I busted bbPress.
Woke up this morning and forgot all about it.
How does using $wpdb & $bbdb differs from using $results=mysql_query($query);?
yes, it is when you have a massively complicated array of wordpress plugins to integrate, and 2000 users. last time i installed and integrated it took 9 hours out of my weekend. i would rather avoid this until i have 9 hours to spare.
Okay, I looked at his settings and config files. I got fresh keys both to match. He had the deep integration line and cookie lines all fine. The problem was in the bb-admin setting for WordPress intergration the URL had the www. , once that was taken out it worked fine.
Cool; phpMyAdmin I can do. 
So, I could probably upload that file into the same database as the WordPress install, right, since the prefixes are different? That would help integration immensely, if I’m not mistaken… and then configure bbPress to use WordPress’ user tables (which has been described before in many places)?
What happens then w/ the old bbPress users? Not that I actually care, much, if we’re using WordPress’ user tables… I guess I just don’t know what happens for the posts made by defunct users. Any advice there?
(and thanks again, everybody… this is supremely helpful.)
@gerikg – how do we import bbPress database info into an existing database? (I’m no database pro; I can find my way around phpmyadmin, though.) I’m totally familiar with the WordPress side of things, but not so much w/ bbPress.
@johnhiler – yeah, that might be okay… at this point, I think the client would be thrilled if I can pull off the phpBB › bbPress conversion and have a single login between WordPress and bbPress. If the existing forum info ends up being “archived”, so to speak – not associated with their current usernames – I think they’d be okay with that.
Is it critical that a user have their old phpbb posts tied to their new WordPress/bbPress identity? Is it ok if their old posts are tied to their old username?
How much overlap between your userbase is there… how many of the 115 WordPress users also have phpBB accounts?
All of them (except maybe one admin account). There won’t be anyone in WordPress who isn’t in bbPress.
The only ones with separate accounts might be the three admins, and they’d need to be the same across WP & bbP.
How much overlap between your userbase is there… how many of the 115 WordPress users also have phpBB accounts?
Also – if “Mister X” has two accounts (one on each system)… is it critical that the comments in WordPress and in bbPress be merged into the same account? Or would you be ok with having them be separate accounts…
There are ~115 in WordPress, and even though there are ~400 in the old phpBB forum we’re about to bring over, we really only care about the current 115 (the ones in WP).
The latest WordPress is definitely the most secure, b/c Automattic has not released security patches for earlier versions. But bbPress 1.0 is not clearly more secure than 0.9 – in fact, because bbPress 1.0 uses BackPress, it’s possibly less secure. Plus 0.9 has been stable for a long time, while 1.0 is new and still has a fair number of bugs.
Integration is easiest when you share a user table. It’s possible to integrate bbPress with other software (WordPress, or even something else) without sharing a user table but it’s not easy and there are no publicly released plugins which allow it.
How many users do you have on your WordPress install?
The latest versions of wordpress and bbpress are the most secure and bbpress is designed to integrate with wp. The only possible advantage to keeping an older version of bbpress is the amount of plugins that have not been updated to ensure compatability (in other words, if you want a lot of plugins, stick with 0.9 until the ones you can’t live without are brought up to speed. My recommendation – upgrade now that you don’t have too many plugins to worry about).
If you’re going to upgrade bbpress, do it first.
Install wordpress and integrate with bbpress. Basic (shallow) integration eliminates the need for users to log in to each seperately.
Hi, I’m a total novice at this. Trying to set up a closed member only forum for a group. Will bbpress work for this? We currently have blog set up for group (irecee.wordpress.com) and want to add link in to access member forum from it. As we have no server for this site, I have uploaded bbpress to my org website (www.moldovavision.org) and hope to link from there. I have uploaded ok into new dir called ‘talk’. What now? I can’t access the weblink to activate it – tried http://moldovavision.org/index.php/talk which is returning an error code:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Confused. Can anyone help?
Thanks a mill
Here’s the situation: I’m moving a membership site from an old static HTML site w/ a phpBB forum over to a WordPress install and a bbPress forum. The WordPress site is set up, users added, membership issues handled w/ the WishList Member plugin, and my phpBB › bbPress conversion questions have been answered; my questions are about integrating that newly converted bbPress w/ the WordPress.
- Is it possible to use WP 2.8.4 and bbPress 1.0.2, or should I stick with bbPress 0.9?
- Is there any way to integrate the two that would allow for a continuous login?
- And perhaps the biggest question is: how do I upload/merge the converted bbPress database with the existing WP database?
- And once that’s done, how to deal with the disparity of users in WP with the old bbPress?
One idea I have is to create a new bbPress install that’s integrated with WP, and then once the conversion of the old forum is complete, to try to import that data into the existing install. Would that make sense?
Or, is it possible to just have the two databases separate, but use plugins (assuming I’m sticking with 0.9) to create the continuous login? Is that even possible? How would that share user data?
So, what would you do if you were in my shoes? Thanks for all your help.
I’m a little confused by your post. When you say “activate the WP integration,” do you mean completed all the steps during your initial install to integrate bbpress with wordpress, or do you mean you activated the WP/bbPress integration plugin?
Were you able to access the dashboard before?
in wordpress’ admin screens, many author names are displayed in brackets or are entirely blank.
in the user profile area of the wordpress admin interface, these users appear to have a display name – but when checking phpmyadmin, i realise they actually have a blank display_name field in the wp_users table.
if i save their profile in wordpress (without touching anything), the display name is set again in the database and all is fine. if i then save their profile in bbpress, their display name disappears again.
this suggests that saving profiles via the bbpress profile page blanks out the display_name field.
could anyone suggest how i might go about tracking down the problem?
Unless I’m very mistaken, the bbPress.org website is just built around a WordPress / bbPress integration, so you could do something like that. There’s also bbPages which I’ve not used.
Hello all,
First, thanks for the beautifull Word and bb Press. But do you need more rewards?
Second, I’ve intall bbPress yesterday, and, after I’ve activate the WP integration, things seems to be fine.
This morning, I wanted to go deeper in the bbPress configuration. So I logged in with my WordPress admin account (by the way, login and password were the same I used yesterday for the bbPress install and first config). And, ugh, I can not access the bbPress config page. I suppose that’s due to the fact I forget to set the roles correspondances between bbPress and WordPress on the integration page. So it seems that my WordPress admin is not bbPress admin.
Can anyone help me with this mess?
Best regards.
1) https://api.wordpress.org/secret-key/1.1/salt
2) There won’t be. You have to add it directly to the wp-config.php file, in the following format:
define('SECURE_AUTH_SALT', 'replacewithyourstring');
1. Haven’t looked into that yet, but it should definitely be nofollowed no matter how the link is formatted so this might be worth looking into/filing a trac for.
2. You run the risk of people spamming through their profile if they figure that out, but if you’re willing to take the risk, it’s not too difficult. Open up your templates profile.php, and add the following at the top of the page;
<?php $GLOBALS['bb_nofollow_off'] = TRUE; ?>
…then open bb-includes/backpress/functions.formatting.php and go to line 950 at the bottom of function _make_url_clickable_cb() and replace;
return $matches[1] . "<a href="$url" rel="nofollow">$url</a>";
with;
return (isset($GLOBALS['bb_nofollow_off'])) ? $matches[1] . "<a href="$url">$url</a>" : $matches[1] . "<a href="$url" rel="nofollow">$url</a>";
Note that if you have deep integration, you’ll have to change the above line in your WordPress version of the same function, not the bbPress one.
No, but I wouldn’t recommend using more recent builds of bbPress… since a lot of plugins aren’t supported in 1.0 yet. Unless of course, you don’t plan on using many plugins… then ymmv.
You can get user integration (complete with cookie support) between just about any two versions of bbPress and WordPress. Start a new thread with your questions around that, and we can all chip in and advise!
Just out of curiousity, why are you sending headers from your bb-config? bbPress/Wordpress will handle this all on their own.
You also shouldn’t call the blog-header, it causes other problems you can read about around the forums. You should be calling wp-load.php and the following should be more than adequate for your bb-config;
define('WP_BB', TRUE);
if (! defined('DB_NAME'))
require_once(dirname(__FILE__) . '/w/wp-load.php');
$bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is
$bb->wp_home = 'http://domain.tld';
$bb->wp_siteurl = 'http://domain.tld';
I don’t think this will solve your next page problem, as it looks like they’re being sent wrong from bbPress for whatever reason, but it will avoid a plethora of other problems before they become apparent.
Use this link: https://api.wordpress.org/secret-key/1.1/salt It has 8 keys.
NOTE: do NOT use any “www.” anywhere when entering information.
1. Open wp-config line replace your new keys with the one from that link. (lines 55-61)
2. Copy the same keys to bb-config just add BB_ after define(' in each key so it will be define('BB_AUTH_KEY', ' (lines 41-44)
3. Install & activate BBpress Intergration plugin https://wordpress.org/extend/plugins/bbpress-integration/
4. Get the information from the plugin and put it in line 20 in wp-config and line 13 in bb-config. (if you’re using WPMU take out the HASH line when you put it in bb-config)
5. Log into your BBpress admin section and navigate to SETTINGS -> WORDPRESS INTEGRATION enter all the information it ask for, save.
6. Clear you cache and you should be ready to go.
Did you select integration during the installation? I’m assuming so – you should have the following values set in WordPress which you will use during this process to have added to your bb-config.php and the bbpress database;
AUTH_KEY
SECURE_AUTH_KEY
LOGGED_IN_KEY
NONCE_KEY
AUTH_SALT
LOGGED_IN_SALT
SECURE_AUTH_SALT
The four that go in your bb-config.php (should be handled by the installation):
BB_AUTH_KEY
BB_SECURE_AUTH_KEY
BB_LOGGED_IN_KEY
BB_NONCE_KEY
The three that should be (matched) in your database (the bb_meta table) are:
bb_auth_salt
bb_secure_auth_salt
bb_logged_in_salt
…the rest of the integration allegedly needs no attention with the latest WP/WPMU and bbPress, but I have the bbPress Integration plugin installed on mine anyways, and at the very least it doesn’t hurt. It also gives you some additional cookie information to add to your wp-config.php
oh heaoull…. i tried integration…… and thats where it went – at “tried”
did not turn out good
do you have any examples of how that looks like? bb press with wordpress sidebar?
also, is it possible to remove the tags bar? and possibly replace it with something else?