Re: Forum Integration: HELPING HINTS
I am using WMPU2.7 Buddypress RC1 and bbPress 1.0-Alpha-6
Hopefully someone can help me out here, it’s been 10 days, I’ve searched, this forum, the WPMU forum and the bbPress forum, and I feel like I’m going round in circles!
bbPress and WPMU/ Buddypress work fine as ‘stand alone’ applications, the challenge I am having is integrating bbPress into Buddypress.
I have gone through the whole of Trent’s great topic (https://buddypress.org/forums/topic.php?id=471) many times now, even removed bbPress and started all again.
What should on the face of it be a simple process, share users, share cookies, link via xmlrpc, seems incredibly complex, or else it’s the configuration of my hosting company that’s causing it!
I followed, Sam’s basic integration screencast (https://bbpress.org/forums/topic/basic-integration-screencast ), and all went smoothly, I can now logon and logoff from either WPMU or bbPress. I have also edited wp-config and bb-config as needed to use the same keys and to point to the same locations for the cookies.
However I can only access the admin/dashboard section in bbPress if I login in through bbPress, if I log in first via WPMU, the ‘admin’ link doesn’t work. I can access the dashboard of WPMU whichever way I log in.
In Sam’s screencast he talks about bbPress needing extra cookies and using bbpress-integration.1.0-alpha-4.1, I have tried with and without this plugin (which doesn’t appear to work when isntalled in mu-plugins/ ). I have also checked the cookies when logged in via bbPress and only see one extra cookie when actually in the dashboard / backoffice of bbPress.
Do I need this plugin?
Is this the way it should work, or should I be able to log in via WPMU and then go to bbPress and have access rights to the bbPress dashboard?
I have enabled xmlrpc and pingbacks in bbPress.
I have two key users “admin”, the main one created during wpmu install, which is also keymaster for bbPress and another with keymaster rights to bbPress and administration rights WPMU, it works the same for both.
Re Trent’s post, I have the plugin in my-plugins/buddypress-enable.php though there is some discussion as to wether it should be in my-plugins or bb-plugins – some guidance here please?
Also in step 6) where Trent says “Go into your main blog dashboard as the “site-admin” and go to the groups admin page.” I presume that with my configuration it should now read “Site Admin / bbPress forums”, If I click on the groups link, it gives me my list of already established groups to configure / edit. is my presumption correct?
I have configured the full path (with the “/”) and user details for bbPress in the “bbPress forums” option.
When I turn on Group Discussion, I don’t get a forum created in bbPress, nor can I post in ‘forum’ in the group in Buddypress, it comes up with “There was an error posting that topic.” not surprising really (no forum)
If I go to create a new group the box for “Enable discussion forum” is greyed out / missing replaced with a note that says” Attention Site Admin: Group forums require correct setup and configuration of a bbPress installation.”
Also from bbPress if I try to post I get “Warning: cannot yet handle MBCS in html_entity_decode()! in /home/sites/mydomain.com/public_html/forums/my-plugins/buddypress-enable.php on line 53 which I guess is because it’s not linked back. (I’m running MySQL/5.0.67 PHP/5.2.8 and PHP5/5.2.
Trent also suggested “check your bp_groups_groupmeta table” there was nothing in my data relating to forums.
I’ve tried it with and without the ” WordPress cookie integration speedup” and ” WordPress database integration speedup” in the bb-config.php file – it made no difference.
I’ve tried almost all I can think of,
@Burtadsit would your xmlrpc-test-rig be worth exploring? Do you have a download link for it?
“http://ourcommoninterest.org/downloads/xmlrpc-test-rig.zip” looks like it’s not there at the moment.
From here: http://umwblogs.org/wiki/index.php/Integrating_WPMu,_BuddyPress,_and_bbPress says:
You will need to install and activate the following plugins in your WPMu installation:
* bbPress Integration: “https://wordpress.org/extend/plugins/bbpress-integration/” This is essential, but keep in mind that this plugin is only useful if you are running bbPress version 1.0-alpha-4 or later.
* WPMU Enable bbPress Capabilities (0.1) “https://bbpress.org/plugins/topic/wpmu-enable-bbpress-capabilities/” : Enables bbPress member capabilities when a user is created within WPMU. This allows immediate login as a ‘member’ after a user is created in WPMU.
Do I actually need either of these with my confguration?
@johnjamesjacoby said “In theory, to create a post from within the Group forum, you should not need cookie integration, because the XMLRPC request happens very ajax-like behind the scenes and does not require for you as a specific user to be logged into both platforms.”
So any help would be much appreciated, Thanks.