BuddyDev

Search

[Resolved] Exclude or hide activities of user who are subscribers

  • Participant
    Level: Guru
    Posts: 886
    Tosin on #48778

    Hello Brajesh,

    Please is it possible to hide or exclude activities of users with the subscriber role from the site wide activity directory.

    Thanks

  • Participant
    Level: Guru
    Posts: 886
    Tosin on #48784

    By default new users are subscribers but their role changes to contributor on first login, so I want to hide all activities of subscribers who have never logged in.

    Inactive users are subscribers
    Active users are contributors

  • Keymaster
    (BuddyDev Team)
    Posts: 24308
    Brajesh Singh on #48785

    Hi Tosin,
    Thank you for the question.
    it is doable but there is no scalable way to achieve it.

    you can filter on ‘bp_activity_get_where_conditions’ to exclude users you want to avoid. The problem is your user list will keep growing with all the registrations.

    Regards
    Brajesh

  • Participant
    Level: Guru
    Posts: 886
    Tosin on #48795

    Thanks for the feedback

    So if this is not scalable, then its better I stick to your advise as am planning or a large community platform

You must be logged in to reply to this topic.

This topic is: resolved