Integration of established WP and BBPress installations
-
We have a 3+ year old WP install (2.7.1, 100s of posts) and a bbPress install (0.8.3, 1000s of users). Currently the integration is only skin deep. Separate databases, no user integration. We are thinking of taking the plunge and deepening the integration. I think I have read all the relevant threads here (some of them more than once), but given that some of the advice has dated and that the “reverse integration” option isn’t covered in a lot of depth, I need to ask a few questions.
First, I saw chrishajer ask why one would integrate. In our case there are two reasons:
1. So that forum member identity carries over to commentor identity on the blog
2. Because we want to do some customization of the profile information and there are a lot of WP plugins that can get us started on this
Second, the approach I have in mind:
1. Upgrade BBPress to 1.0 (for simplicity sake let’s pretend it is out of Alpha)
2. Export the “bb_user” and “bb_usermeta” tables from the BBPress database (using phpMyAdmin)
3. Import these tables into the WP database and rename them to “wp_users” and “wp_usermeta”
4. Recreate the WP users I lost in the process (only a few of these)
5. Point BBPress to the WP database for the user tables in the BBPress admin settings page
6. Take care of all the cookie settings stuff (won’t focus on this one for now)
My questions for now:
1. Does this sound reasonable, or am I missing something important?
2. I know my steps oversimplify the process – where is it going to get tricky?
3. Is there some benefit to integrating the databases completely, or is the user-only integration ok?
4. How do I handle the fact that “wp_users” has an extra index on “user_nicename”?
5. Will this complicate future upgrades of WP and BBPress?
Thanks in advance for any advice.
- You must be logged in to reply to this topic.