[Resolved] BuddyPress incorrectly redirects to BBPress forum within group
I suspect this is one of those problems a BuddyPress database ninja could solve very easily, so here goes…
I added BBPress forums to my existing BuddyPress set-up a while ago. Previously I had forums within my groups, and I wanted to retain that structure. After installing BBPress I configured each of my groups to have the appropriate forum.
This has worked as desired for all of them with one exception. I accidentally associated one group with the wrong forum. Although I later corrected it, the group is not working as the others do:
- If I post a thread in the group, it appears in the wrong forum.
- If I click on a thread within the forum, it sends me to the same wrong forum
- If I inspect the forum via the admin, the permalink still refers to the wrong forum (and is not editable)
I’ve spent a few hours trying to track what’s happening in the database but I can’t find anything wrong.
What I have found is that if I locate my forums in wp-posts, the links to all of them appear in the following format:
When I try to access that link for one of the group forums which are working correctly it redirects as follows:
But when I do the same for the faulty forum, it redirects to the wrong place as follows:
It seems to me that BuddyPress is not recognising that this one group should redirect to a different forum and I don’t know how to change that. I have tried using the ‘Repair BuddyPress Group Forum relationships’ under Tools > Forums, to no avail.
Disabling plugins other than BBPress and BuddyPress has no effect. Disabling BuddyPress ‘fixes’ the problem, in that the forum behaves correctly again, but obviously this is not the solution I’m looking for!
If anyone can help me crack this I’d be very grateful. I’m happy to make the change direct in the database if necessary (I’m running this as a test site in an offline environment at the moment). I’m using WP 3.9.1, BBP 2.5.4 and BP 2.0.1.
You must be logged in to reply to this topic.