Tagged: Group Activities Notifier
Hello Brajesh,
The plugin “Group Activities Notifier” works like a charm on my localhost but not on my server.
There is no notification…I put an error_log on the notify_members() function :
[21-Feb-2024 08:27:28 UTC] params: Array
(
[id] =>
[action] =>
[content] => test message group
[component] => groups
[type] => activity_update
[primary_link] =>
[user_id] => 2
[item_id] => 54
[secondary_item_id] =>
[recorded_time] => 2024-02-21 08:27:28
[hide_sitewide] => 1
[is_spam] =>
[error_type] => bool
)
[21-Feb-2024 08:27:28 UTC] activity_id:The activity_id is empty, i can figure out why… i’v missed something ?
Thanx for your help
Hi Occhi,
Please share your BuddyPress/BuddyBoss version.I had a look and I see that we are using pre BP 4.0 code where activity_id was not available, so that output is normal.
It is probably this line
$activity_id = bp_activity_get_activity_id( $params );
or
if ( apply_filters( 'bp_local_group_notifier_skip_notification', false, $activity ) ) { return;// do not notify. }
is failing.
I thought about it and remembered that you had requested for limiting whose activity will trigger notification.
https://buddydev.com/support/forums/topic/group-activities-notifier-when-admin-moderator/#post-51422Is there any chance that you posted as a non group admin/mod.
Regards
BrajeshHi Occhi,
Thank you.
In that case, probably this functionbp_activity_get_activity_id()
is failing. There is an easy solution though. Please allow me to find some time and push the release.
I will post back by Monday or before with the update.
Thank you
BrajeshHi Occhi,
Thank you for your patience.Please upgrade to 1.0.7 and let me know if that works for you or not?
Regards
Brajesh
The topic ‘ [Resolved] Group Activities Notifier on my server’ is closed to new replies.