AsynCRONous bbPress Subscriptions
Per default, bbPress is sending subscription notification emails as one email with a bunch of BCCs. There are various reasons why it would make more sense to send individual emails. This plugin does that, quietly in the background via WP cron, without slowing down page load times. Also increases notification performance and reduces database load on large sites. Translations by @mauriciogarofalo and @mechter Defaults If you don’t customize this plugin, this is what you’ll get: Sends mails from "MyBlog " (with your Blog’s name and admin email) Sends mail to "Markus " (with the name being the user’s display name on the forums, not their username) Subject and Message have more user friendly defaults, use the available filters (see below) to make them your own. Customization You can install and activate this plugin and it just works, but you have full control over the details if you want to. Below are some filters and code snippets that help you do what you want. If you’re new to working directly with code, please see the example at the bottom of this page. Available filters bbp_subscription_email_from( $from ) // $from can be a string or array('name'=>string, 'address'=>string) bbp_subscription_email_recipients( $recipients ) // $recipients is array of array('name'=>string, 'address'=>string) bbp_subscription_email_headers( $headers ) bbp_forum_subscription_email_subject( $subject, $forum_id, $topic_id ) bbp_forum_subscription_email_message( $message, $forum_id, $topic_id ) bbp_topic_subscription_email_subject( $subject, $forum_id, $topic_id, $reply_id ) bbp_topic_subscription_email_message( $message, $forum_id, $topic_id, $reply_id ) bbp_bounce_address( $bounce_address ) bbp_subscription_disable_async( false ) bbp_forum_subscription_disable_async( false ) bbp_topic_subscription_disable_async( false ) bbp_forum_subscription_notify_author( false ) bbp_topic_subscription_notify_author( false ) Helpful Snippets Here are some pointers to get the data you might want in your notifications: $blog_name = get_bloginfo( 'name' ); $forum_title = bbp_get_forum_title( $forum_id ); $topic_author_user_id = bbp_get_topic_author_id( $topic_id ); $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 ); $topic_content = wp_specialchars_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_QUOTES ); $topic_url = get_permalink( $topic_id ); $reply_author_user_id = bbp_get_reply_author_id( $reply_id ); $reply_author_display_name = bbp_get_topic_author_display_name( $reply_id ); $reply_content = strip_tags( bbp_get_reply_content( $reply_id ) ); $reply_url = bbp_get_reply_url( $reply_id ); // note that it's not get_permalink() Example To have a nice subject line for new topic notifications, add this to your theme’s functions.php. If your theme does not have this file, you can simply create it and it will be loaded automatically. Note how the example is basically just one of the filters above, mixed with some of the snippets and a return statement. It’s that simple. 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] $topic_author_display_name created a new topic: $topic_title"; }, 10, 3); // first is priority (10 is default and just fine), second is number of arguments your filter expects
Top keywords
- topic34×5.91%
- id28×4.87%
- bbp24×4.17%
- subscription14×2.43%
- author13×2.26%
- forum13×2.26%
- name13×2.26%
- reply13×2.26%
- topic id12×2.09%
- email10×1.74%
- id topic10×1.74%
- display8×1.39%
PowerfulWP SMS for WooCommerce
PowerfulWP SMS for WooCommerce keeps your customers and team in the loop with instant text messages every time an order changes status. Powered by the PowerfulWP SMS API, it takes just minutes to set up – enter your API credentials, toggle the statuses you care about, and you’re live. Note: Sending SMS requires prepaid credits purchased through the PowerfulWP Portal. The plugin itself is free; you only pay for the messages you send. Customer Notifications Send SMS messages to customers when their order reaches any status – pending, processing, on-hold, completed, cancelled, refunded, failed, or any custom status registered by other plugins. Admin & Team Notifications Alert store owners and staff via SMS for key events: new orders, processing, completed, on-hold, cancelled, failed, and refunded. Configure multiple admin phone numbers, each with its own country code. Manual SMS from the Order Screen Need to send a one-off message? Open any order and use the Send SMS metabox to compose and dispatch a text directly to the customer. Rich Placeholder System Build dynamic templates with 30+ placeholders grouped into clear categories: Order – number, total, subtotal, shipping, discount, currency, status, date, item count, product names. Customer & Billing – name, first/last name, phone, email, company, full address, city, state, postcode, country. Shipping – name, company, full address, city, state, postcode, country. Delivery & Payment – shipping method, payment method, transaction ID, tracking number, customer note. Store – store name, site URL. Test SMS Tool Verify your credentials and delivery before going live. The built-in Test SMS tab lets you send a one-off message with sample placeholder data – nothing is saved. Modern, User-Friendly Settings A clean, branded settings page with pill-style navigation tabs, animated toggle switches, WooCommerce status colour indicators, a phone-mockup chat-bubble SMS preview, collapsible placeholder panels, and toast notifications. Built for Compatibility HPOS (High-Performance Order Storage) – fully declared and tested. Cart & Checkout Blocks – declared compatible. WooCommerce 8.0+ – tested up to 9.5. PHP 7.4+ – graceful admin notice on older versions. Custom order statuses – automatically detected and supported. How It Works Sign up at the PowerfulWP Portal and purchase SMS credits. Enter your API Key, API Secret, and Sender ID in the plugin settings. Enable the order statuses you want to trigger customer and/or admin SMS. Customise your message templates using placeholders. Orders start sending SMS automatically – no cron setup required. Third-Party Service: PowerfulWP SMS API This plugin relies on the PowerfulWP SMS API, a paid service, to deliver text messages. You must purchase SMS credits through the PowerfulWP Portal before messages can be sent. When an SMS is triggered, the plugin sends a request to the API with the recipient phone number, sender ID, and message body. Service provider: PowerfulWP Plugin page: https://powerfulwp.com/powerfulwp-sms-for-woocommerce/ Portal & account management: https://api.powerfulwp.com/portal/ Terms of Service: https://powerfulwp.com/terms-conditions/ Privacy Policy: https://powerfulwp.com/privacy-policy/ Data transmitted includes the recipient phone number, sender ID, and message content. No personal data is stored on external servers beyond what is required to deliver the SMS. Please review the links above before use.