BuddyDev

Search

Filtering Sitewide Activity By Member Type

  • Participant
    Level: Initiated
    Posts: 15
    Luca on #25513

    Is it possible to set up a page/URL which displays all the sitewide activity for a certain member type?
    Thanks!

  • Participant
    Level: Initiated
    Posts: 15
    Luca on #25514

    (Previously forgot to check follow-up notifications box.)

  • Keymaster
    (BuddyDev Team)
    Posts: 22211
    Brajesh Singh on #25519

    Hi Luca,
    Thank you for the question.

    It is not doable out of the box or in simple ways.

    There is a workaround to filter activity based on user id from a specific member type. The method is not efficient and will become a bottleneck for even moderately active site.

    Here is how to achieve that
    Filter on activity query
    fetch all user ids belonging to the specific member type.
    Limit query to users belonging to these list.

    That seems the only way to achieve it.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved