I have the next trouble:
Immediate emails are sended normally, as well as any other Buddypress emails.
But digest mails are gathered in queque and thats all.
I tried to enable bpges logging but there are no log file created.
]]>We are using BuddyPress Group Email Subscription plugin from last 2 Years. Everything working fine with Group Emails but after WordPress release 6.5.4 | June 5, 2024 Group Emails are stopped. There is no change in website plugins or themes.
All the environment is the same & all the plugins & themes are up to date.
]]>I’ve just installed this plugin and love the fact that there is a Group Welcome Email facility. Sadly, in the subject line, I’m seeing ges.subject
and in the email, after the initial Buddypress greeting, I’m only getting “usermessage
” instead of the carefully drafted welcome information I anticipated…
Any ideas, please?
Many thanks,
Mark
Hi,
I think there is a bug in the last version of plugin. When i load the url with this parameter /?sum=1
i has a critical error. Here the trace of my log : 2024/09/02 11:43:26 [error] 780#780: *603687 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ValueError: Unknown format specifier "S" in /var/aegir/platforms/wordpress-dev/sites/crm-dev.oudinot.symbiodev.xyz/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php:206
in the line 206 i have a problem with sprint_f function. I resolved in my website with this correction
// Might be nice here to link to anchor tags in the message.
if ( 'dig' === $type ) {
// translators: number of items.
$summary .= apply_filters( 'ass_digest_summary', "<li class=\"digest-group-summary\" {$ass_email_css['summary']}><a href='{$group_permalink}'>$group_name</a> " . sprintf( __( '(%1$s items)', 'buddypress-group-email-subscription' ), count( $activity_ids ) ) . "</li>\n", $ass_email_css['summary'], $group_slug, $group_name, $activity_ids );
}
Hi
For the sending emails i can see the plugin sends the email in a batch of 20 – 25 mails
How can increase this size of the batch please ?
In my test, i test this code but it doesn’t works (file class-bpges-queued-item-query.php) :
$count = 1000;
$user_ids = $wpdb->get_col( $wpdb->prepare( “SELECT DISTINCT user_id FROM {$table_name} WHERE type = %s AND date_recorded < %s AND user_id NOT IN ({$processed_user_ids}) LIMIT %d“, $type, $timestamp, $count ) );
Thanks
]]>Hi, thanks for this usefull plugin that allow my community to stay informed by email notification.
It worked fine until some weeks without any specific smtp configuration. I had to configure smtp gor GMail wusing a plugin. I am able to receive test mail in HTML format but the notification are sent in plain test format without carrier return.
Do you have a way to resolve this situation ?
Those notification are critical to stay in contact with the community. Thanks in advance for your support.
Nicola.
]]>Hi,
i have a problem with your plugin. All digest email doesn’t works and i have some difficulties to find the solution.
for debug, i want to send an email for one user. is it possible to sent for one user ?
for example i have this code :
$timestamp = '2024-07-01 07:00:00';
$activity_id = 14808;
$group_id = 136;
$user_id = 712; // contact_id 15718
$is_preview = false;
$type = 'dig'; // 'sum' or 'dig'
function group_activities_id($user_id,$type,$timestamp) {
$query = new BPGES_Queued_Item_Query( array(
'user_id' => $user_id,
'type' => $type,
'before' => $timestamp,
) );
$items = $query->get_results();
// Sort by group.
$sorted_by_group = array();
foreach ( $items as $item ) {
if ( ! isset( $sorted_by_group[ $item->group_id ] ) ) {
$sorted_by_group[ $item->group_id ] = array();
}
$sorted_by_group[ $item->group_id ][] = $item->activity_id;
}
// Ensure numerical sort.
foreach ( $sorted_by_group as $group_id => &$group_activity_ids ) {
sort( $group_activity_ids );
}
return $group_activity_ids;
}
function bpges_generate_notification($activity_id, $group_id, $user_id)
{
// Fetch group subscription.
$sub = new BPGES_Subscription_Query(array(
'user_id' => $user_id,
'group_id' => $group_id,
'per_page' => 1
));
$sub = $sub->get_results();
$sub = end($sub);
...
}
function bpges_generate_digest($user_id, $type, $is_preview,$timestamp)
{
$group_activity_ids = group_activities_id($user_id,$type,$timestamp);
...
}
Thanks
]]>Hi,
i use your plugin for a customer and i can see today your plugin is shutdown
your plugin is very useful for my customer and i want to some information for this full review :). what is your project for this plugin please ?
for example, for my customer, i create a custom code for send a notification email with a custom template. maybe there will be this functionality in the future plugin ?
Thanks
]]>We are using BuddyPress Group Email Subscription plugin from last 2 Years. Everything working fine with Group Emails but after WordPress release 6.5.4 | June 5, 2024 Group Emails are stopped. There is no change in website plugins or themes.
All the environment is the same & all the plugins & themes are up to date.
]]>Hi ??
Thank you for this GREAT plugin!
To further improve user experience, we would like to send shorter messages and hide the link addresses from users.
How could we do this?
Thanks again ??
]]>Instead of the whole content, I want to show only an excerpt in the notification emails.
So users have to click on the link to the group, in order to read the whole content in the site online.
Any help appreciated.
Hello. I can activate BuddyPress Group Email Subscription fine in my dev environment but when I try in my staging and live environments, the admin page reloads with the message, “Plugin could not be activated because it triggered a fatal error”.
Error message:
require(): Failed opening required ‘/code/wp-content/plugins/buddypress-group-email-subscription/vendor/autoload.php’ (include_path=’.:/usr/share/pear:/usr/share/php’)
in include_once called at /code/wp-admin/includes/plugin.php (2389)
in plugin_sandbox_scrape called at /code/wp-admin/includes/plugin.php (675)
in activate_plugin called at /code/wp-admin/plugins.php (60)
My host locks down certain directories in the staging and live environments that are writeable in the dev environment. Here’s what the host’s docs say: “For WordPress sites,?/wp-content/uploads
?is the default location for files. All other locations are considered part of your codebase, and under version control…Extensions that create files within the codebase (e.g.,wp-content/plugins/plugin-name/some-other-directory
, or?/sites/all/modules/module-name/some-other-directory
) incorrectly assume write access that is not granted on the Live and Test environments…The best solution is to communicate with the maintainer of the module, plugin, or custom code/configuration and request that hard-coded, nonstandard paths be fixed. Alternatively, you can create a symbolic link (symlink) as a workaround to avoid failures on Test and Live.”
Is the symlink my best option here? What file(s) are the plugin trying to write to or create, and where? Thanks for any guidance you can provide.
]]>Hi,
There seems to be a missing element, potentially the users name who made the update, in the weekly summary email.
An example is, at the start of each new ‘message’, the first line reads : at 14:56, 1st May 2024 – it’s as if it should have a name or something before the message but it doesn’t show.
Is there a way to remove the : at, so it only shows the time and date the message was added? I’ve looked in the email template and it just shows the email tokens ges.digest-summary
usermessage
– I’m happy to add a custom function or edit the php file if required.
Hope you can help?
Thanks, David.
]]>Hi there,
I’m having an issue with email notifications (mostly daily/weekly emails) where the ‘View” links have no link (empty). I can see in domain.com/?sum=1 that the links are also missing there so they are not being stripped or modified when the email is received by subscribers.
See when inspecting domain.com/?sum=1 – https://www.abcul.coop/wp-content/uploads/2024/05/Screenshot-2024-05-01-at-09.43.11.png
The other type of links are fine (link to main site/group etc…), it’s only the ‘View’ ones that are not there.
]]>This is any specific reason why the vendor/ directory is being gitignored? This causes fatal issues on sys that relay on GIT actions.
If there’s not a reason for this behavior, I would recommend removing line 7 from the root .gitignore file.
]]>We have been using the BuddyPress Group Email SubscriptionSearch for some time now. I was notified today that emails are not getting sent out to users. The queued daily digest and weekly digest area is empty and the wp_bpges_queued_items database table only has items from 2023. To test I have been creating a group. Adding two members to the group where I can access both emails addresses. Then I create a discussion by each user and then reply to the opposite discussion with each user. The only email I get is “New discussion in Test” email which I do not think comes from this plugin.
Thank you for your help addressing this.
After enabling the logs this is what it contains:
[13-Mar-2024 20:15:25] Beginning digest batch of type dig for timestamp 2024-03-13 20:15:25.
[13-Mar-2024 20:15:25] Finished digest run of type dig for timestamp 2024-03-13 20:15:25. Digests were sent to a total of 0 users.
[13-Mar-2024 21:19:26] Beginning digest batch of type dig for timestamp 2024-03-13 21:19:26.
[13-Mar-2024 21:19:26] Finished digest run of type dig for timestamp 2024-03-13 21:19:26. Digests were sent to a total of 0 users.
[13-Mar-2024 22:09:36] Beginning digest batch of type sum for timestamp 2024-03-13 22:09:36.
[13-Mar-2024 22:09:36] Finished digest run of type sum for timestamp 2024-03-13 22:09:36. Digests were sent to a total of 0 users.
[13-Mar-2024 22:09:49] Beginning digest batch of type dig for timestamp 2024-03-13 22:09:49.
[13-Mar-2024 22:09:49] Finished digest run of type dig for timestamp 2024-03-13 22:09:49. Digests were sent to a total of 0 users.
[13-Mar-2024 22:58:16] Beginning digest batch of type dig for timestamp 2024-03-13 22:58:16.
[13-Mar-2024 22:58:16] Finished digest run of type dig for timestamp 2024-03-13 22:58:16. Digests were sent to a total of 0 users.
[13-Mar-2024 22:58:27] Beginning digest batch of type sum for timestamp 2024-03-13 22:58:26.
[13-Mar-2024 22:58:27] Finished digest run of type sum for timestamp 2024-03-13 22:58:26. Digests were sent to a total of 0 users.
Hi,
I have around 600 members in my groups, and when a new topic is posted, around 600 emails are sent a the same time. It cause problems with my smtp server.
Is there a method to split the number of email sent a the same time (ie : 50 emails/minute) ?
thanks for your help,
Laurent
Group Notification an Group Welcome Mail seems only to be accessable to Group Admins. How can we chenge this, so Group Moderators can use this Feature too?
]]>I have a client reporting their group members are still getting individual email updates on groups where they have selected “No Email” as an option. They then have to instruct the members to go to the Buddyboss Notification Settings and disable the following in the Social Groups section:
– New post in a group you’re subscribed to
– New discussion in a group you’re subscribed to
How do we have the No Email option truly stop Buddyboss group emails?
Hello,
I’ve installed the plugin that works well, except the notifications are sent in the spams box of the subscribers. Do you know how I could fix that ?
Thank you for your help.
Nicolas
]]>This is a really great plugin. I have just one minor issue. It’s not sending any emails
The Subscription Options were set to All Email. I posted an activity update in the group. The other group members did not receive any email. There are no entries in the email log on the server.
I tested with WordPress 6.4.2 and BuddyPress 11.4.0, the default WordPress theme and no other plugins were enabled. Email works as WordPress can send emails.
I started to debug a little. As far as I can see your ass_send_email function never executes.
]]>Hi. I have just installed v4.2.0 of BGES. We have observed that when we go to the Group “Welcome Email” management page, saving those settings results in a 404 error.
The settings are saved ok, but the request is redirected to an incorrect url.
e.g. when changing settings in our Staff group on this URL :
https://www.mysite.com/groups/staff/admin/notifications/
The changes are saved, but then a redirect attempts to send the browser to :
https://www.mysite.com/groups/admin/notifications/
The same happens if I try to send a group wide message from the same page. This happens for all groups.
Config:
WP 6.3.2
PHP 8.0
BGES 4.2.0
Buddyboss Platform: v2.4.60
Any help much appreciated. -C
]]>Is there a possibility that a general weekly summary of all groups and forums is made?
(I would also like to know if compatibility with Buddy Boss has been resolved)
Thank you ??
What does your plugin do that the email-based notifications provided in BuddyBoss do?
Perhaps your plugin works in conjunction with BuddyBoss, controlling “when” emails are sent?
-Thanks
]]>Is it possible to change the email subscription for all users to “No email” ?
I had the “all emails” as default for all groups, and want to turn that off now. But i then need to change this settings for all existing members of all groups.
Dear support,
I have a bi-lingual website (Dutch and English) with Buddypress / WPML. I have six groups setup for each language. All seems to work well.
Of course it would be great if subscribers get notified if something happens in the groups. That’s why I installed Group e-mail subscription. The thing is: no emails are send, and when I check the queue, it’s empty as well. Even when I test-post something.
Hope you can help me figure this out.
Best regards,
Jaap
]]>Hi. I had a problem with BuddyBoss and GES and wanted to share a solution.
When uploading multiple files to the GG Group documents area, many notification emails are sent by GES, most of which are blank.
For example, if you select and upload 3 files in one update and add some text to the upload comment, a total of 7 notification emails are sent; 3 with blank content, 1 with upload comment and then another 3 with blank content!
BB have confirmed this is as designed!!
But it is possible to filter out the blank activities (emails) using the code below.
/**
* Prevent activity item queuing if the Activity_type is "activity_update" and the
* activity content is empty.
*
* @param bool $send Defaults to true. Return false to stop this item from being queued.
* @param string $type Activity type.
* @param BP_Activity_Activity $activity Activity item.
*/
function hws_ass_block_group_activity_types( $send, $activity_type, $activity_item)
{
if ("activity_update" == $activity_type && isset($activity_item) && empty($activity_item->content) ) {
$send = false;
}
return $send;
}
add_filter( 'ass_block_group_activity_types', 'hws_ass_block_group_activity_types', 10, 3 );
I hope this helps someone else as I went around in circles for quite a while before working this out. -C
]]>Hi,
I have had a few issues getting the daily digest to send out but i think it is finally working. When someone posts to a group everyone is still receiving the automatic email and then the daily digest later. Is there a way to stop the email that is sent straight after posting?
The other questions i had was regarding setting a default option. I would like to set the default option to daily digest instead of all emails.
Thanks,
Jarrod
]]>Hi. We are using BGES with Buddyboss Groups and LearnDash. We have Welcome Emails set up on our group so when a user is joined to a group, they should be sent the welcome email.
This was working but has stopped recently – hard to pinpoint when.
If a user is invited to the group and they accept, then the Welcome email is sent out as expected.
We have LD group / BB group sync enabled so when a user joins a course, they are automatically joined to both the BB and LD Group. But now, If the user is added to the group automatically when joining a course, they no longer receive the Welcome email.
I have enabled BGES debug (bpges-debug.log) and see no errors in the log file. I have checked the bpges_queued_items table and no items are queued. I see many ‘admin-ajax.php?action=wp_bpges_send_queue
‘ requests in the access log but not sure how to id the ones I should be looking for.
It is of course possible that it is a change in LD or BB that has caused the welcome emails not to be sent, but if there is anything within BGES that can help me id this it would be really appreciated. What hook is used to trigger the welcome emails?
Any pointers greatly appreciated. -C
]]>Hi! We have Membership site with BuddyBoss Platform and MemberPress and this plugin sends daily digest emails to group subscribers. Is there a action/filter hook on this plugin which could be used on our custom theme side to check if a users membership is active or not and only send the daily digest email when user has active membership.
I was bit looking the source code of plugin and maybe bp_ges_send_digest_to_user? But I don’t find any documentation on this.
]]>