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%
wpForo Forum
wpForo is the first AI powered forum plugin for WordPress. Full-fledged yet easy and light forum solution for your WordPress website. Comes with modern and responsive forum layouts and styles. This WordPress forum plugin brings everything you need to run an efficient and professional community. Powerful and beautiful forum with unique features. The best alternative to bbPress forum plugin. 5 Minute Forum Installation! 1. Activate plugin and find forums on /community/ page, (/community-2/ if /community/ is used), 2. Manage Forum Page, Title, etc in Dashboard > wpForo > Board > Edit Board admin page, 3. Manage Forums in Dashboard > wpForo > Forums admin page, 4. Manage Forum Menu in Dashboard > Appearance > Menu admin page, 5. Manage Forum Widgets in Dashboard > Appearance > Widgets admin page, 6. Manage Forum Colors in Dashboard > wpForo > Settings > Colors & Styles admin page, you can choose forum color styles. Support Forum and Demo: https://wpforo.com/community/ Forum Documentation: https://wpforo.com/docs/wpforo-v3/ GDPR Compliance: https://wpforo.com/docs/wpforo-v3/gdpr/ Multi-layout WordPress Forum Plugin Extended Forum Layout Simplified Forum Layout Question and Answer Forum Layout Threaded Forum Layout Boxed Forum Layout Migrate to wpForo Free Migration Tool Go2wpForo: https://wpforo.com/docs/wpforo-v3/migrate-to-wpforo/ - Migrate bbPress forum to wpForo - Migrate Asgaros forum to wpForo - Migrate SimplePress forum to wpForo - Migrate phpBB forum to wpForo - Migrate SMF forum to wpForo - Migrate Joomla Kunena forum to wpForo - Migrate MyBB forum to wpForo Forum Integration wpForo forum plugin is well integrated with many Profile Builder and Paid Membership plugins, such as BuddyPress, Ultimate Members, WooCommerce Membership, Paid Memberships Pro, MemberPress, Groups and SureMembers plugins. Forum Translation wpForo is a WordPress forum plugin with all possibilities of plugin translation. We’d really appreciate if you could help translating wpForo forum plugin to your language here. FORUM FEATURES 360° AI-Powered Features AI Semantic Search AI Topic Summarization AI Topic Suggestions AI Multi-Language Translation AI Chat Assistant AI Bot Reply & Suggest Reply AI Content Moderation AI Spam Detection AI Toxic Content Detection AI Tasks — Automated Topic Generation AI Tasks — Automated Reply Generation AI Tasks — Automated Topic Tag Moderation AI Analytics & Insights AI Knowledge Generation (RAG) AI Content Indexing – Text, Images, Documents Multi-board: Allows to have multiple separate forum pages Multi-language: Allows to forums with different languages Multi-layout: Four modern forum layouts (Q&A, Threaded…) Designed for small and extremely large forums/communities. Migrate from other forums using Go2wpForo tool. Four different forum layouts and designs. Six set of forum color styles including dark style. Super responsive forum on all kind of devices. Live user notification system Built-in forum SEO functions. Built-in forum Sitemap and Search Engine ping. Built-in forum Cache System. Built-in forum Antispam and Akismet integration. Advanced forum user profile system. Forum Member Rating and Badges. Built-in forum/topic subscription. Drag and Drop forum management system. Topic and Post front-end moderation. Forum topics and posts Read / Unread logging. Topic Tags and Tags Widget. Forum styles with different colors. Built-in, powerful forum Usergroup system. Forum Access sets per Usergroup per Forum. Forum Phrase System for quick translation. WordPress .MO/.PO translation files. Tools and options for GDPR Compliance Social Network Share Buttons BuddyPress Integration Ultimate Member Integration Need more forum features? Find wpForo forum plugin addons on gVectors Team website… Use of 3rd Party Services wpForo connects to external services operated by gVectors Team for certain features. These connections are optional and only active when the corresponding features are enabled by the forum administrator. gVectors AI API (api.gvectors.com, api.gvectors.net) When AI features are enabled by the forum administrator, wpForo sends forum content (topics, posts, and metadata) to the gVectors AI API for processing. This includes: Content Indexing: Forum content is sent to embedding generation for vector database Semantic Search: Query is sent for embedding for vector search AI Translation: Forum text is sent for translation into other languages AI Summarization: Topic content is sent for automatic summary generation Content Moderation: New posts are sent for AI-powered content analysis AI Chat: Conversation context is sent for AI response generation Topic Suggestions: Forum data is sent for generating related topic recommendations No data is sent to the AI API unless the forum administrator explicitly enables AI features, accepts the Terms of Service and Privacy Policy, and configures an API key. A fallback domain (api.gvectors.net) may be used automatically if the primary domain is unreachable. Terms of Service Privacy Policy gVectors Addons Store (gvectors.com) When using wpForo addons purchased from the gVectors store, the plugin communicates with gvectors.com to verify addon licenses and deliver automatic updates through the WordPress Dashboard. This includes sending your site URL and license key to validate your purchase and check for available addon updates. Terms of Service Privacy Policy