Skip to:
Content
Pages
Categories
Search
Top
Bottom

Multisite – don’t want bp members from one site to show on another


  • gsindall
    Participant

    @gsindall

    Hi,

    I have a multisite install with one main domain and 3 sub domains. I have buddypress activated locally on each site rather than network-wide. I’m using the recently active members widget on one of my pages of one sub domain, but I want it to show only users from that same sub domain and not users from across the whole network. Is this possible?

    Both wordpress and buddypress are running on the latest version.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @shanebp

    afaik – It is not possible, at least not easily.
    Members are not stored per site – regardless of whether BP is activated per site or globally.
    And neither are BuddyPress activity items. “Recently Active” is handled via activity items.

    WP multisite uses the usermeta database table to track which users have access to which sites.
    You could write a custom widget that checks BP last_activity items and then filters it by the usermeta data.


    gsindall
    Participant

    @gsindall

    Thanks for confirming Shane! Is there a way to display recently active members of a group? I was thinking as a workaround(ish) I could put all of the users of my sub-site in a group?


    shanebp
    Moderator

    @shanebp

    I don’t think groups are specific to subsites.
    Even if they were, you’d still have to write a custom widget, in which case it would be simpler to use the approach I mentioned above.


    gsindall
    Participant

    @gsindall

    Looks like a custom widget is definitely the way to go then! Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar