Forum Integration: HELPING HINTS
***Updated June 3rd, 2009 and works with BB RC 1.0, BP 1.0, MU 2.7.1 *******
I notice that this forum thing is really not that easy for everyone to put in place and I had to do it several times myself to get it working properly. What worked on one server didn’t work as planned on another one. Strange, but I thought I would write this to see if it helps anyone out.
First off, this assumes that you are using SVN of bbPress of at LEAST 1.0 alpha 4 and nothing less. Do not try this on bbPress alpha 7 when it is released! No more than alpha 6. Buddypress beta or SVN as well. I also haven’t tested this without at least having bbPress using the WPMU user tables for integration. You also NEED to be running WPMU 2.7+ SVN or WPMU 2.7 Branch until the release of WPMU 2.7.1 as it doesn’t work on earlier versions of WPMU.
*** these are requirements for running the bp-forums integration, not buddypress in general! ***
bbPress Side (First):
1) you have bbpress installed and a new user created on the “bbPress” side which you granted “administrator” rights by the keymaster
2) you copy the “buddypress-enable.php” plugin out of the bp-forums folders and copy it into your /my-plugins/ folder (create if it doesn’t exist) so it is /my-plugins/buddypress-enable.php ****People ask about /bb-plugins/ versus /my-plugins/ and put it in /my-plugins/
3) Enable the plugin through your bbPress administration side for plugins
4) Edit “settings” to enable xmlrpc and pingbacks (both)
5) edit your bb-config.php and just before the closing php call at the bottom of the page put:
$bb->bb_xmlrpc_allow_user_switching = true;
buddypress Side (Second):
6) Go into your main blog dashboard as the “site-admin” and go to the “bbPress Forums” page. Put in the URL of your forum like http://yoursite.com/forums/ and make sure you have the ending slash on that one.
7) Put in the user that you created in step 1 with the bbPress “administration” rights and their password. I never changed the password, just used the random one it sent me, but it is up to you. I usually save it a couple of times to ensure it was entered due to a refreshing bug at time of writing this.
Go to one of your groups (new or existing) and go to the group admin page. Make sure “discussion” is turned off. If it was already off that is fine, but if it was enabled already, turn it off
9) Turn the group “discussion” back on and then physically go to your forums URL and see if it created the forum on the bbPress side without trying to create a new topic on the buddypress side.
If you have the new forum now, then you should skip to step 10. If not, go through steps 1-9 again and make sure you got all the steps perfectly.
10) If you have made it this far, it will work, but I like to create the first post in the new forum on the bbPress side and then see if it shows up in the buddypress group forum. Old habit, but for odd circumstance, it seems to work best for me. If it works, try creating a new topic on the group you have working.
***Don’t forget that you have to do step 8 for every group that was created before you enabled the forum integration! Very important***
1) The refreshing bug in step 7 killed it for me a couple of times and I made sure I saved it at least 2 times.
2) Forgetting the line in bb-config.php killed it for me a couple of times as well.
3) In one install I had to change the bbPress “user” with administration rights password and on the bbPress side and then completing step 7 again.
4) I also found that through “previous testing” I had some bp_groupmeta entries that were screwing things up with duplicates for the same forum in the database. Shouldn’t happen to anyone else, but that screwed some things up for me as well.
In terms of having buddypress and bbPress working together, I am sure it works with buddypress on one server and bbPress on another since it works through the xmlrpc module which makes it very powerful.
Let me know if I am out to lunch as well or you have anything else to add!
- The topic ‘Forum Integration: HELPING HINTS’ is closed to new replies.