BuddyDev

Search

post update notification

  • Participant
    Level: Enlightened
    Posts: 26
    Ahmed on #13582

    Hi,
    Is it possible to send a notification to all members when a member publishes on the activity stream?

    thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #13596

    Hi Ahmed,
    Thank you for asking.

    Yes, It is possible but it is a bad idea. It won’t scale and if you have large number of users, the script will time out.

    if you really want to do it, the right way to do it will be using message queues. Most probably, the decision should depend on your number of users.

    here is a link of example plugin(without queueing support) that we did for groups:-

    https://github.com/sbrajesh/bp-group-activities-notifier

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved