Forum Replies Created
Yes, with Ray’s help, I was able to resolve this. I had posted this problem in this (buddypress.org) and CBOX (commonsinabox.org) forums.
The details can be found in the http://commonsinabox.org/groups/help-support/forum/topic/problems-migrating-old-forums-to-bbpress-2-2/ thread in the CBOX forum. Look for my post dated February 6, 2013 at 5:18 pm and read on.
I did document my successful BP->bb forums migration process. And, I can send it to you as pdf if needed.
Hope this helps and good luck.
- topics and replies in that forum no longer show up in that group’s forum
- get ‘There was an error when creating topic.’ message when trying to create a topic in that group’s forum
- the group’s forum now shows up under site wide forum listing
The conflict seems to be stemming from the combination of bbPress and BuddyPress’s discusssion forum component. When an existing group’s forum setting is being re-enabled, it would seem bbPress is used to re-create that forum. This would explain why the group’s forum end up showing under the site forum listing ([bbp_forum_index]). However, when trying to post topic to that forum, BP’s doesn’t quite know where the forum is and therefore unable to process the request.
I would like to hear someone from the BuddyPress development team’s thoughts on this.
After you cleared the database and recreated groups and group forums, have you tried disabling and then enabling group discussion forum again to see if you still can create a topic for that group? I am asking this, because this is happening to my site. I cannot afford to clear the database and recreate groups because these groups already have topics and replies. I look forward to hear your results. Thanks.
Here is my post.
@Chouf1, although both bbPress and BP use the “forums” slugs by default, they are configurable. I used the documentation in codex to configure the slugs such that no conflicts exist between group and site forums. In my case, I chose to altered BP’s default from ‘forums’ to ‘group-forums’ and allow the site forums to continue to use ‘forums’ for base slug —– which is one of the recommendations in the codex documentation.
However, just to make sure I went ahead and changed the following:
- BP group forum’s slug changed from ‘group-forums’ to ‘forums’
- bbPress’s site forum base changed from ‘forums’ to ‘siteforums’
The result is EXACTLY the same as my original post which is by disabling then enabling an existing group forum for a group causes that group’s forum to become listed as site forum with 0 topics and 0 replies. While all other groups’ forum and topics remain as group forums.
@Chouf1, have you check my site?
@Chouf1, I did follow the document you referenced define group and site forum slug setting. Site forum continue to use the default slugs (Archive Slugs for Forum base is “Forums” (sorry for the typo in the earlier reply, and Single Slugs for Forum slug is “forum”).
To avoid slug conflict, I chose (as recommended in the same doc you referenced) to create a page title ‘Group Forums’ and with ‘group-forums’ slug. Then in Settings > BuddyPress, under Pages, BuddyPress’ Discussion Forum component directory is associated with the Group Forums page.
If you check my site’s (sfsuovc.org) group discussion forums (Community>Group Forums) and site forum (Site Forums), you can see both group and site forums being properly listed.
These settings have been in place and working before I upgraded BuddyPress from V1.6.1 to V1.6.3. My question is after upgrading BuddyPress, why by disabling then enabling an existing group forum for a group causes that group’s forum to become listed as site forum with 0 topics and replies?
@Chouf1, thanks for the quick reply. It is BP1.6.3, the stable released version. My site is and has been configured to use both bbPress and BP ever since BP1.5 and has not changed. There aren’t any pages with the ‘forums’ slug.
- slugs for bbPress are:
- Forum base: Forum
- Forum slug: forum
- BP Discussion Page slug is group-forums
Since I limited the testing to ’745…’ group, only this group’s forum was affected. All other group forums and their contents remain intact. This confirms there are no “slug” conflicts between bbPress and BP.
I did a little digging into the database tables and found:
- Records for all activities/actions related to the ’745-Instructional Web…’ group are still present in wp_bb_forums, wp_bb_post, wp_bb_topics, and wp_bp_activity tables.
- One record was generated in wp_posts with
- post_title=’745-Instructional Web….’
So, it would seemed when I unchecked ‘I want this group to have a forum’ via the group’s admin tab, saved it, I have effectively “unlinked” the group’s discussion forum and its content from the group. This group forum and its content are now ‘orphaned’.
Then when I re-checked ‘I want this group….’ for the ’745…’ group, a new group discussion forum was created using bbPress 2.2.3 rather than the BuddyPress’s customized bbPress V1.x. This new group forum (with 0 content) is then linked to group. This would explain the record found in wp_post table.
Is this the expected behaviour? I need to fix this before attempting to migrate existing BP group discussion forums to bbPress 2.2.3 as recommended by the BuddyPress team.
AGREE, this is very frustrating as most of us come here to search for help and only to find the Search function anything but helpful.
@modemlooper, thank you for the tip. I end up using Google’s search engine, but have completely forgotten to the site:buddypress.org search meta data.