Hello,
I have a problem I don’t manage to understand.
I added an action to send notifications on approval of a reply or topic. With the original bbp_notify_forum_subscribers
and bbp_notify_topic_subscribers
there is no problem.
But with AsynCRONous bbPress Subscriptions the notifications are sent twice when approval is done from the admin interface (not when it’s done from front end…).
The code I added to send notifications when approved is :
function custom_bbp_approved_topic( $topic_id ){
$forum_id = bbp_get_topic_forum_id( $topic_id );
$author = bbp_get_topic_author_id( $topic_id );
do_action( 'bbp_new_topic', $topic_id, $forum_id, 0, $author );
}
function custom_bbp_approved_reply( $reply_id ){
$topic_id = bbp_get_reply_topic_id( $reply_id );
$forum_id = bbp_get_topic_forum_id( $topic_id );
$author = bbp_get_reply_author_id( $reply_id );
$reply_to = (int) get_post_meta( $reply_id, '_bbp_reply_to', true );
do_action( 'bbp_new_reply', $reply_id, $topic_id, $forum_id, 0, $author, true, $reply_to );
}
add_action('bbp_approved_reply', 'custom_bbp_approved_reply', 10, 1);
add_action('bbp_approved_topic', 'custom_bbp_approved_topic', 10, 1);
But I have the same result if I do :
add_action( "pending_to_publish", function( $post ) {
if($post->post_type == 'topic'){
$forum_id = bbp_get_topic_forum_id( $post->ID );
if(is_plugin_active('asyncronous-bbpress-subscriptions/asyncronous-bbpress-subscriptions.php')) {
abbps_notify_forum_subscribers( $post->ID, $forum_id );
} else {
bbp_notify_forum_subscribers( $post->ID, $forum_id );
}
} elseif($post->post_type == 'reply') {
$topic_id = bbp_get_reply_topic_id( $post->ID );
$forum_id = bbp_get_topic_forum_id( $topic_id );
if(is_plugin_active('asyncronous-bbpress-subscriptions/asyncronous-bbpress-subscriptions.php')) {
abbps_notify_topic_subscribers( $post->ID, $topic_id, $forum_id );
} else {
bbp_notify_topic_subscribers( $post->ID, $topic_id, $forum_id );
}
}
return;
} );
It seems there is something in abbps_notify_forum_subscribers
and abbps_notify_topic_subscribers
or the way to call it that provoke that, but I don’t undertsand. Can you help ?
Thank you,
]]>AsynCRONous bbPress Subscriptions sends notifications for replies to posts, ok. But can it be configured to notify me when a user opens a new post?
]]>Forum notifications stopped being sent sometime after November 29th. When I disable the plugin the notifications get sent. I’ve got an e-mail log plugin so I see all e-mails that are sent and after November 29th the forum subscriptions doesn’t even show up in the e-mail log.
]]>Hi, your plugin is working great except that the default reply-to address has changed from [email protected] to my administrative email address. I saw your instructions:
bbp_subscription_email_from( $from ) // $from can be a string or array(‘name’=>string, ‘address’=>string)
I am afraid I am not expert enough to know how to correctly insert this into my functions file. Could you please give me a specific example, using $from to be the organization name, and the [email protected]? I have added this code already and it works like a charm:
add_filter( ‘bbp_forum_subscription_email_subject’, function( $subject, $forum_id, $topic_id ) {
$blog_name = get_bloginfo( ‘name’ );
$topic_author_display_name = bbp_get_topic_author_display_name( $topic_id );
$topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES );
return “[$blog_name] New topic: $topic_title by $topic_author_display_name”;
}, 10, 3);
Thanks so much, I really appreciate this plugin.
]]>It looks like this plugin might solve some problems with our site (forum is behind a members-only wall). We use WP Mail SMTP to connect to SendGrid to distribute forum notifications, and not all the notifications are reaching SendGrid, let alone the end user. Does your plugin work in that situation, as far as you know? Fingers crossed!
]]>Hi,
Is there any way to send new topic notifications to post authors with ABBPS? I found this code in two places in the actual bbpress plugin and commented it out:
(From /bbpress/includes/common/functions.php – it’s part of bbp_notify_forum_subscribers)
// Don’t send notifications to the person who made the post
if ( !empty( $topic_author ) && (int) $user_id === (int) $topic_author)
{
continue;
}
However, the notifications are still not going to post authors. It looks like ABBPS is actually the plugin sending out our notification emails (the abbps_notify_topic_subscribers function), so I’m wondering if there’s something we can add to that function to get this working?
Thank you for any advice!
Matt
]]>On my topics notifications are sent twice, anyone have idea on what is causing the issue?
Thank you
]]>We are having several issues with subscriptions in our BBPress forums:
– I click “Subscribe” at the top of the post. When I refresh the page or post a reply, it “erases” my subscription. I had to try about 3 times until it finally “took”.
– A moderator type of person subscribes to a topic/post. They get notifications, then miss a notification. Then it starts working again and they receive the next notification.
– 2 people subscribe to a post. One gets notified immediately of the new reply. The 2nd person doesn’t get notified until the following day.
I see that this plugin has not been updated in over a year and may not be compatible with the most recent 3 versions of WordPress. I would love to see if this solves my issues.
]]>I have just started using your Asynchronous bbpress subscriptions plugin. At first I thought everything was working fine, but I have discovered that when someone creates a new topic, the notification is being sent twice – once the ‘old’ way (a single email to [email protected] BCC’d to all subscribers), followed by 70+ separate emails to each subscriber in turn. I.e. the plugin is sending the separate mails as it should but has not stopped the original email being sent in the old way. Any ideas?
I am also using bbp private groups, bbpress toolkit and bbp style pack. The mails are sent via smtp via WP Mail SMTP. However I have tried deactivating each of these and the problem persists.
]]>I am trying this plugin to get rid of emails being sent to [email protected]
So I loaded it it an now it seems there are no emails. Not to site admin and not to the forum poster either. i saw another topic here where it says that site admin does not get email but I thought the description says that the user that posts gets an email.
So what is being sent and under what conditions? Just confused what the plugin is doing.
I am using WP Mail SMTP plugin with gmail.
]]>Hi Markus,
I would like to send html emails with this plugin. Can you give me a hint? Is there an easy way?
Subject of my emails which include the post title shows strange characters/codes whenever title includes apostrophe. How can I convert the subject lines to UTF8?
The body of emails are fine. Problem is only the subject lines.
]]>Hi,
How can I also notify admin when someone posts topics/replies? Subscribed User notification works but I also want admin to get notified.
Hi there,
I recently discovered that there is a limit set on our server of 100 emails being sent out at one time.
Some of our forums have more than 100 subscribers, which means that not all are getting notifications when something new is posted.
Is there a way to set up batches, so that e.g. 50 go out and then 50 again in 10 mins etc until the full list of emails have been covered?
My notifications aren’t send for the forum subscription. I send all emails using mailgun and got email log enabled so I can see what has been sent and there are no subscription emails sent for the last couple of days. It worked when I first installed it (I created test toppics and answers etc), but now neither me nor my colleague gets any notifications.
Could you please help me?
]]>Hi,
We have about 300 subscribers on our main site forum. At this point, none of them are receiving new topic notifications since we are going over the email limits of the web hosting. I’ve added your plugin since the individual email limit is much higher than the BCC limit, but we still had to add another step with this many subscribers.
We added a plugin (SMTP Mailing Queue) that takes WordPress emails and sends them out in batches of 50 every 5 minutes. However, for some reason it’s not seeing any of the notification emails from BBPress. It does seem to pick up on all the normal WP mail, and on mail from the other plugins we use (e.g., BBPress Moderation). Any idea why this might be happening? Is BBPress using some non-standard method to send the emails?
As a side question, does your plugin work with external SMTP services in case we have to go that route?
Thanks for any help with this issue. I would be happy to make a donation if we can get batch notifications working!
Matt
]]>This plugin is is my solution to default email notification system of bbpress, but the emails are sent in English and my whole site is in Spanish.
How can I translate the emails? Please help
]]>If someone is subscribed to a really popular thread that may get dozens of replies in a single day, a subscriber’s inbox gets flooded with email notifications.
Any plans to introduce a plugin or feature that will restrict the number of email notifications sent out notifying of activity on a single topic? Perhaps only one notification could go out until the subscriber revisits the discussion topic?
We need to prevent inbox overload!
]]>Ok, so we’re currently using https://www.ads-software.com/plugins/buddypress-group-email-subscription/
I quite like the options it provides for group subscriptions (though it seems to have a bug or two), but the problem is: when there are a lot of members subscribed to a topic, it really slows things down when posting a reply. I tried adding this AsynCRONous plugin, hoping it might solve the problem, but the delay when posting a reply was unchanged.
I don’t understand how all these email operations work in the background, but wanted to ask if there’s a compatibility issue here, or if there’s something else going on. Ideally, we’d like to keep the subscription plugin but speed it up. Hoping you might have insight into how to make that happen.
Any help will be much appreciated.
]]>Hi,
I would like to set up a filter to change the from email address your plug-in uses to the standard [email protected] address, but I find your documentation utterly incomprehensible (and I have a fair bit of experience with this kind of thing too). How do I do this? I’m using bbPress 2.5.1 if that makes any difference.
]]>Hi there,
Our users are not consistently receiving notifications when they click on the “notify me of follow-up replies” option when they post. We just installed your plugin in the hopes that it would resolve this issue, but haven’t seen any notifications come through yet. We are using the Postmark plugin as well to manage emails. Do you have any suggestions for what we should look at to see why this feature doesn’t seem to work for us?
Thanks so much!
Trish
I’m testing this plugin on my site right now and some users are getting their notification emails immediately, while others aren’t getting them at all. Is there somewhere that I can see a schedule of when the emails are supposed to go out? Or are they all supposed to go out immediately, which means I have some more troubleshooting to do to find out why some users aren’t getting them?
Thanks,
Jennifer
i cant get it to work, all i see is a “blank page”, there is nothing in there. Here is an image:
https://i.imgur.com/nQ0CBAXl.png
https://www.ads-software.com/plugins/asyncronous-bbpress-subscriptions/
]]>there is this ticket
https://bbpress.trac.www.ads-software.com/ticket/2162
toward the bottom you see comments from lead devs saying that we should steer away from using BCC for these subscriptions.
consider contributing to add this type of functionality to the core of the bbPress plugin.
https://www.ads-software.com/plugins/asyncronous-bbpress-subscriptions/
]]>Per default, bbPress is sending subscription notification emails as one email with a bunch of BCCs.
Could you please explain this in more detail?
As popular as bbPress is, I can’t imagine the plugin is sending bcc of the emails to somewhere else. Who is being bcc’d?
https://www.ads-software.com/plugins/asyncronous-bbpress-subscriptions/
]]>