I hope you’ve started well into the new year. Unfortunately, my sending issue which I had a few years ago is back. Only a small number of emails are being sent out to my users. So far I used the following code:
add_filter(
'wp_bpges_send_queue_time_exceeded',
function( $exceeded ) {
static $counter;
if ( $counter > 40 ) { // or whatever
return true;
}
++$counter;
return $exceeded;
}
);
While the emails seems to be send in these small badges, it doesn’t affect the overall sending number. Then I tried to use the previous solution, as described here by introducing the limit as such:
if ( $this->time_exceeded() || $this->memory_exceeded() || $total_for_batch > 50 )
I also tried without any limit whatsoever, but no luck. Here’s my last log entry when it worked as it should:
[16-Jan-2025 17:02:23] Sent sum digests to 42 users as part of this batch. Launching another batch….
[16-Jan-2025 17:02:25] Beginning digest batch of type sum for timestamp 2025-01-16 17:00:15.
[16-Jan-2025 17:02:27] Sent sum digests to 42 users as part of this batch. Launching another batch….
[16-Jan-2025 17:02:29] Beginning digest batch of type sum for timestamp 2025-01-16 17:00:15.
[16-Jan-2025 17:02:31] Sent sum digests to 42 users as part of this batch. Launching another batch….
[16-Jan-2025 17:02:33] Beginning digest batch of type sum for timestamp 2025-01-16 17:00:15.
[16-Jan-2025 17:02:34] Finished digest run of type sum for timestamp 2025-01-16 17:00:15. Digests were sent to a total of 1364 users.
[16-Jan-2025 17:50:41] Beginning batch of immediate notifications for 14258.
Now it looks like this:
[06-Feb-2025 17:00:09] Beginning digest batch of type sum for timestamp 2025-02-06 17:00:08.
[06-Feb-2025 17:00:19] Beginning digest batch of type dig for timestamp 2025-02-06 17:00:18.
[06-Feb-2025 17:00:19] Finished digest run of type dig for timestamp 2025-02-06 17:00:18. Digests were sent to a total of 0 users.
[06-Feb-2025 17:00:30] Sent sum digests to 42 users as part of this batch. Launching another batch….
[06-Feb-2025 17:00:32] Beginning digest batch of type sum for timestamp 2025-02-06 17:00:08.
[06-Feb-2025 17:00:54] Sent sum digests to 42 users as part of this batch. Launching another batch….
[06-Feb-2025 17:00:55] Beginning digest batch of type sum for timestamp 2025-02-06 17:00:08.
This was without me changing anything from January in terms of custom code but it didn’t complete the process :/ The I tried without any restriction and then with the change in the code directly:
[07-Feb-2025 11:30:09] Beginning digest batch of type dig for timestamp 2025-02-07 11:30:07.
[07-Feb-2025 11:30:09] Finished digest run of type dig for timestamp 2025-02-07 11:30:07. Digests were sent to a total of 0 users.
[07-Feb-2025 11:30:10] Beginning digest batch of type sum for timestamp 2025-02-07 11:30:09.
[07-Feb-2025 12:16:07] Beginning digest batch of type dig for timestamp 2025-02-07 12:16:06.
[07-Feb-2025 12:16:07] Finished digest run of type dig for timestamp 2025-02-07 12:16:06. Digests were sent to a total of 0 users.
[07-Feb-2025 12:16:09] Beginning digest batch of type sum for timestamp 2025-02-07 12:16:07.
[07-Feb-2025 13:30:08] Beginning digest batch of type dig for timestamp 2025-02-07 13:30:07.
[07-Feb-2025 13:30:08] Finished digest run of type dig for timestamp 2025-02-07 13:30:07. Digests were sent to a total of 0 users.
[07-Feb-2025 13:30:10] Beginning digest batch of type sum for timestamp 2025-02-07 13:30:08.
[07-Feb-2025 14:20:08] Beginning digest batch of type dig for timestamp 2025-02-07 14:20:07.
[07-Feb-2025 14:20:08] Finished digest run of type dig for timestamp 2025-02-07 14:20:07. Digests were sent to a total of 0 users.
[07-Feb-2025 14:20:09] Beginning digest batch of type sum for timestamp 2025-02-07 14:20:08.
No luck whatsoever. I checked my server logs and neihter did I have any related php server errors, ajax calls being blocked nor did the server run into any 500 errors or such – I have 1536 MB of ram, so should be plenty.
Any idea what I could still do to fix the issue?
Thanks a lot in advance and have a nice weekend!
Kind regards, Philip
]]>I hope I find you well I have a question which might be a bit out of scope but maybe you have an idea.
I am using one buddypress group for all users on my page to which they are automatically added and send them weekly updates. Ideally, I would also like to include links to my blog posts into the digest.
I know I can just post the link to the blog in the group to make that happen, but I was wondering whether there is any way to automate this so that everytime I post a blog, either a post in my default buddypress group appears or BG GES somehow pulls the information on its own and puts it into the weekly digest.
Is any of that possible?
Thanks in advance and have a great day.
Kind regards, Philip
]]>I hope you’re doing fine. I was wondering whether the “view” link in the weekly digest could be modified to link to the group into which the post was made instead of to the user profile?
My user profiles are not configured to show the user wall first, thus users clicking on the “view” link end up on the user profile instead of finding the actual entry to reply to. Would it be possible to redirect them instead to the group into which the status was posted?
Kind regards, Philip
]]>How do I go about making the Weekly Digest email list individual posts in a sequence by my categories? I want to list ALL posts, by category.
I am trying to make the weekly email more readable.
Thanks for a taking a look.
https://www.ads-software.com/plugins/subscribe2/
]]>Thanks!
https://www.ads-software.com/extend/plugins/subscribe2/
]]>I am using Twitter Tools v1.6. I am trying to figure out how to edit the plugin to add a default image to be displayed at the top of the weekly digest post so that the process is truly automatic (as it already takes care of posting it with specified category, tags, and correct author).
does anyone know how to edit the output (generated by the plugin) for the weekly digest code to do this?
here is an example of a digest in which i’ve manually added the image to the top of the post after it is auto-published – https://www.boilr.net/2009/04/11/boilr-tweets-weekly-digest-2009-04-11/
Also, as noted on the author’s plugin page, there is some wonky non-localized time issues…as such, I cannot figure out the difference in time between when I specify the weekly digest to post and when it actually does so that I can avoid having posts go up at the end of a day as opposed to early the next morning.
any and all help would be greatly appreciated – thanks!
]]>