Tagged: notifications group activities
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,
JanetteHi 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
BrajeshHi 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
BrajeshHi 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:57bp_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_notified14421 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.
JanetteHi 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.
Hi Janette,
My email is brajesh@buddydev.comPlease link me to the site too in the message.
Thank you
Brajesh
The topic ‘ [Resolved] BuddyPress Group Activities Notifier has inconsistant notifications’ is closed to new replies.