Skip to:
Content

bbPress.org

Opened 11 years ago

Last modified 10 years ago

#2365 new idea

BuddyPress does not show topics from network.

Reported by: zachary-dubois's profile Zachary DuBois Owned by:
Milestone: Future Release Priority: low
Severity: minor Version: 2.3.2
Component: Extend - BuddyPress Keywords:
Cc:

Description

This is on a WordPress Multisite

When you go to a BuddyPress profile under forums, it does not show all the topics you have made on the sub sites of your WordPress network. Also, when you look at BuddyPress' activity page, it does not show any activity (Forum posts & Replies) on sub sites.
In fact, I have noticed most features (Favorites, Subscriptions, Topics, Replies, Activity, etc) on sub sites with bbPress will not display any activity on the main site with BuddyPress.

Change History (7)

#1 @johnjamesjacoby
11 years ago

  • Component changed from General to BuddyPress
  • Milestone changed from Awaiting Review to Future Release
  • Priority changed from normal to low
  • Severity changed from normal to minor
  • Type changed from defect to feature request

BuddyPress needs to be active on the site that bbPress is also active on, or it needs to be network activated. For now, you'll also need to rely on the activity streams component to aggregate forum activity across all forums in the network.

You're correct, however, that bbPress does *not* aggregate forum topics, replies, favorites, and subscriptions across all sites in the network for you. This is a limitation of the way posts are stored in each blog, the same way that there is no aggregate of blog posts and comments for each blog in the network.

For now, you'll want to make sure that BuddyPress is active on the sites you're hoping to aggregate the activity on, and the activity stream component is active.

Moving to Future Release, as it's a valid issue, but there's likely to be no core solution for at least the next few releases.

#2 @Zachary DuBois
11 years ago

Alrighty, Thanks!

#3 @Zachary DuBois
11 years ago

  • Cc zacharydubois@… added

#4 @sc0ttkclark
10 years ago

I've been using a setup with a separate sub-site that has all of the forum content, where the main site has BuddyPress network-activated.

There are a few caveats I'm working through:

  • BuddyPress must be network activated and setup on the main site
  • bbPress must be activated on the main site
  • Activity stream needs custom handling and running the bbPress activity function manually, so that it switches blog to/from the sub-site that has the Forums
  • Topics Started, Mentions, Favorites, Subscriptions all need before/after hooks hooked into, to do a switch to/from the sub-site that has the Forums, this was magically easy
  • Any pagination in Topics Started, Mentions, Favorites, Subscriptions needs some additional rewrite handling, but this may be a bug with the rewrites on the specific project it's for

I'd love to see BuddyPress add an additional field on the activity stream data to store the blog_id, so as to better support this and eventual inclusion of forums across more than just one sub-site, and let bbPress' filter handle the switch to/from that site in it's main activity filter.

As stated by @johnjamesjacoby, there's no built-in way, and certainly no efficient way, to pull in posts across multiple sites in the way that you'd need them to, to support multiple forums and their data showing in Topics Started, Mentions, Favorites, and Subscriptions, so that's highly unlikely to happen in bbPress core.

#5 @sc0ttkclark
10 years ago

Here's the code I have currently, the only thing I'm trying to resolve now is pagination, which may just be an issue with this project's custom rewrites, but I'm still debugging to find out.

https://gist.github.com/sc0ttkclark/e5de9d9f2f13964bcecc

#6 @Zachary DuBois
10 years ago

  • Cc zacharydubois@… removed

I am working on a new system with my multisite network. I have fixed up a lot of the problems in my multisite giving me random problems such as this. Though, it would be nice to see it work by default.

#7 @johnjamesjacoby
10 years ago

  • Type changed from feature request to idea
Note: See TracTickets for help on using tickets.