BuddyDev

Search

[Resolved] BuddyPress Group Activities Notifier has inconsistant notifications

  • Participant
    Level: Initiated
    Posts: 10
    Janette on #5483

    Hi Brajesh,

    I took the action out of the bp-custom.php there were no notifications and of course no emails. I removed and added BuddyPress Group Activities Notifier Plugin and there were no notifications in the bp_notification table after posting a new activity in a group. I also was able to get the ‘SMTP Mailing Queue’ plugin working.

    Thanks for your help,
    Janette

  • Participant
    Level: Initiated
    Posts: 10
    Janette on #5485

    Hi Brajesh,

    I should have noted that it works for small groups. The group I used as a test post that did not create a line in the bp_notifications table has 106 members.

    Hope that helps,
    Janette

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #5491

    Hi Janette,
    Thank you and my apologies for the delayed reply.

    We are trying to solve 2 problems here.

    1. sending local notification to all users

    2. Sending the email notification to all users

    I have some idea what might be going wrong(It is related to timeouts). I will be posting an update of the plugin in next couple of hours that will try to minimize the time. That should fix the first and then we can move to the second.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #5496

    Hi Janette,
    I have rewrote some parts of the plugin and it is a huge improvement on number of queries. Local Notification is guaranteed now.

    Please upgrade to 1.0.4 from here
    https://buddydev.com/plugins/bp-group-activities-notifier/

    and let me know if the local notifications are consistent or not. Also, Now the local notifications will work smoothly for even large number of users, say group with 2000+ members.

    As far as emails are concerned, The delivery will be affected by the number of users and the mailing plugins used but that should see improvement too.

    Please do let me know how it goes.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    Janette on #5497

    Hi Brajesh,
    Thanks for the update. I installed the v1.0.4. Here are my results of two posts.
    It looks like the first post with the same group as yesterday (item_id=12) with 106 users, did not get posted, but the small group with two people did, and I got the email.

    bp_activity table:

    id user_id component type item_id secondary_item_id date_recorded

    32809 1 groups activity_update 12 0 2016-09-09 15:06:39
    32810 36 groups activity_update 215 0 2016-09-09 15:39:57

    bp_notifications table:

    I have 0 lines with secondary_item_id = 32809

    I have 1 line with secondary_item_id = 32810
    eg
    id user_id item_id secondary_item_id component_name component_action date_notified

    14421 4237 215 32810 localgroupnotifier group_local_notification_32810 2016-09-09 15:39:57

    Is there any way I can give you more information that might be helpful?
    I am wondering if this problem is buddypress itself. Our users have been commenting about lack of notifications for awhile.

    Thanks for putting so much effort into this.
    Janette

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #5498

    Hi Janette,
    It is very strange as the new update ads bulk notifications in one query.

    Is it possible to provide me temporary admin access, I can debug there on the site. As of email, That is dependent on your server php timeout. Sending 100s of emails is going to timeout the script, that’s why we have recommend using the queuing mail senders.

  • Participant
    Level: Initiated
    Posts: 10
    Janette on #5499
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 10
    Janette on #5503
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #5504

    Hi Janette,
    My email is brajesh@buddydev.com

    Please link me to the site too in the message.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    Janette on #5505

    Hi Brajesh,

    When I think back to my initial example of 3 posts, it’s interesting to note that group_id(Item_id 151) has 295 members. Two of the three posts went out.

    It may not just be the size of the groups, but something else timing out.

    Thanks,
    Janette

The topic ‘ [Resolved] BuddyPress Group Activities Notifier has inconsistant notifications’ is closed to new replies.

This topic is: resolved