=== Wbcom Designs - BuddyPress Post from Anywhere === Contributors: wbcomdesigns, vapvarun Donate link: https://wbcomdesigns.com/donate/ Tags: buddypress, activity, post form, community, buddyboss Requires at least: 6.5 Tested up to: 7.0 Stable tag: 1.5.8 Requires PHP: 8.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: bp-post-from-anywhere Domain Path: /languages Let members post activity updates from any page. Add the Post From Anywhere block or the [bppfa_postform] shortcode where you want the form. == Description == **BuddyPress Post from Anywhere** puts the BuddyPress activity composer on any page of your site, not just the activity directory and member profiles. Drop the "Post From Anywhere" block into a page in the block editor, or use the [bppfa_postform] shortcode, and logged-in members can share an update right where they already are. The plugin renders the native BuddyPress "what's new" form, and BuddyPress itself handles the posting, so updates land in the activity stream exactly as they would anywhere else. It requires BuddyPress or BuddyBoss Platform with the Activity component enabled. = What you get = **Two ways to place the form** * The "Post From Anywhere" block for the block editor, site editor, and template parts, with wide and full alignment plus margin and padding controls. * The [bppfa_postform] shortcode for classic editor pages, posts, widgets, and theme templates. * Both surfaces run through the same renderer, so the block and the shortcode produce identical output. **The native BuddyPress composer** * The real BuddyPress "what's new" form: avatar, status field, and Share Update button. * A "post in" selector that lets members choose their own profile or one of their groups, listing up to 100 of the groups they belong to. * New activity renders inline after posting across bp-legacy, bp-nouveau, and BuddyBoss. * rtMedia and MediaPress uploaders initialize on block, shortcode, and widget placements. **Clear feedback in every context** * Four contextual notices instead of an empty space: logged out, BuddyPress or BuddyBoss inactive, the Activity component turned off, and no permission to post. * Inline feedback messages that announce to screen readers, with the form marked busy while posting. **Looks right on your site** * Follows your theme's styling, and works on phones, tablets, and desktops. * Explicit dark mode for BuddyX 5.1+, BuddyX Pro, and Reign 8+, driven by the theme's own color tokens. * RTL support for Arabic, Hebrew, and other right-to-left languages. = Perfect For = * Online courses - let students share thoughts after a lesson * Membership sites - increase community interaction beyond the activity page * Blogs - turn readers into active community members * Landing pages - make the first page a member sees a place to participate * Corporate sites and intranets - team updates and collaboration = Premium Support = Our dedicated support team is ready to help you get the most out of this plugin. Whether you need help with setup, customization, or troubleshooting, we're here to assist. = Documentation = * **[Documentation and Support](https://docs.wbcomdesigns.com/)** - Setup walkthrough and usage guides = Translations = * English (default) * Ready for translation in your language with included POT file * RTL language support included = Links = * [Plugin Homepage](https://wbcomdesigns.com/downloads/buddypress-post-from-anywhere/) * [Documentation](https://docs.wbcomdesigns.com/) * [Support](https://wbcomdesigns.com/support/) * [Request Features](https://wbcomdesigns.com/contact/) = Compatibility = * WordPress 6.5 and higher * PHP 8.0 and higher * BuddyPress or BuddyBoss Platform, with the Activity component enabled - required * Works with the block editor and classic editor * Tested with popular themes including BuddyX, Reign and BuddyBoss = What's New in 1.5.8 = Version 1.5.8 adds the "Post From Anywhere" block, so you no longer need a shortcode to place the composer. The block renders through the same code as the shortcode, so the two are interchangeable. This release also makes rtMedia and MediaPress uploaders work on shortcode and block placements, and adds explicit dark mode for BuddyX and Reign. == More Free Tools from Wbcom Designs == Once any page can become a place to post, you will want more places for members to connect, share, and contribute. These other free tools from Wbcom Designs fill in the rest of the community, from the theme and social network itself to forums, media, events, gamification, directories, jobs, and courses. * **[BuddyX](https://wbcomdesigns.com/downloads/buddyx-theme/)** - A free, fast community theme for BuddyPress, BuddyBoss and PeepSo with a modern layout and dark mode. * **[BuddyNext](https://wbcomdesigns.com/downloads/buddynext/)** - Stand up a complete WordPress community with activity streams, member spaces, profiles, direct messaging, and built-in moderation. * **[Jetonomy](https://wbcomdesigns.com/downloads/jetonomy/)** - Add forums, question-and-answer boards, and idea spaces that stay tidy through trust-based auto-moderation even past 100,000 topics. * **[Mediaverse](https://wbcomdesigns.com/downloads/mediaverse/)** - Let members build photo and video albums, react, follow each other, and message privately while AI moderation keeps things clean. * **[Eventonomy](https://wbcomdesigns.com/downloads/eventonomy/)** - Run community events with RSVPs, calendars, and front-end submissions. * **[WB Gamification](https://wbcomdesigns.com/downloads/wordpress-gamification-plugin/)** - Reward members with points, badges, and leaderboards to keep engagement high. * **[Listora](https://wbcomdesigns.com/downloads/listora/)** - Publish searchable directories across ten listing types with reviews, maps, and member-submitted entries from the front end. * **[WP Career Board](https://wbcomdesigns.com/downloads/wp-career-board/)** - Add a job board with front-end listings, applications, and employer profiles. * **[Learnomy](https://wbcomdesigns.com/downloads/learnomy/)** - Build and sell online courses, auto-grade quizzes, collect payments, and award certificates when learners finish. == Installation == = Automatic Installation (Recommended) = 1. Log in to your WordPress admin dashboard 2. Navigate to Plugins > Add New 3. Search for "BuddyPress Post from Anywhere" 4. Click "Install Now" on the Wbcom Designs - BuddyPress Post from Anywhere plugin 5. After installation, click "Activate" 6. Edit any page and add the "Post From Anywhere" block, or add the [bppfa_postform] shortcode 7. Visit the page while logged in to check that the composer renders = Manual Installation = 1. Download the plugin ZIP file 2. Log in to your WordPress admin dashboard 3. Navigate to Plugins > Add New > Upload Plugin 4. Choose the downloaded ZIP file and click "Install Now" 5. After installation, click "Activate Plugin" 6. Add the "Post From Anywhere" block or the [bppfa_postform] shortcode to any page = Post-Installation Setup = There are no settings to configure. After activating the plugin: 1. Make sure BuddyPress or BuddyBoss Platform is active and the Activity component is enabled 2. Add the "Post From Anywhere" block to a page in the block editor, or the [bppfa_postform] shortcode in the classic editor, a widget, or a theme template 3. Post a test update as a logged-in member and confirm it appears in the activity stream 4. See the [documentation](https://docs.wbcomdesigns.com/) for detailed instructions = Requirements = * WordPress 6.5 or higher * PHP 8.0 or higher * BuddyPress or BuddyBoss Platform, with the Activity component enabled == Frequently Asked Questions == = Does this plugin require BuddyPress? = Yes. The plugin renders the BuddyPress activity post form and BuddyPress handles the posting, so you need BuddyPress or BuddyBoss Platform active with the Activity component enabled. If neither is active, the plugin deactivates itself and explains why. = How do I add the post form to a page? = Two ways, and they render the same form: * **Block:** edit a page in the block editor and add the "Post From Anywhere" block. You will find it under Widgets, and it supports wide and full alignment plus margin and padding. * **Shortcode:** add [bppfa_postform] to a page, post, widget, or theme template. Use whichever fits the editor you are working in. The block and the shortcode run through the same renderer, so the front-end output is identical. = Does the shortcode take any parameters? = No. The [bppfa_postform] shortcode takes no parameters. It renders the composer as-is, and any attribute you pass is ignored. = Can members post to a group? = Yes. When the Groups component is active, the composer includes a "post in" selector so a member can share to their own profile or to one of their groups. It lists up to 100 of the groups the member belongs to. = Is it mobile-friendly? = Yes. The form is responsive and works on phones, tablets, and desktops. = Will this slow down my website? = The plugin's CSS and JavaScript load only where they are needed: on pages that use the block or the shortcode, and on BuddyPress activity pages. Other pages load nothing from this plugin. = Can I customize the appearance? = Yes. The form follows your theme's styling, and it ships explicit dark mode for BuddyX 5.1+, BuddyX Pro, and Reign 8+. To target the form in your own CSS, note that it uses the native BuddyPress element IDs (#whats-new-form, #whats-new, #aw-whats-new-submit, #whats-new-options, #whats-new-post-in) scoped inside the plugin's #bppfa-buddypress wrapper. Always scope your rules under #bppfa-buddypress so you do not also restyle the native BuddyPress activity page, which uses the same IDs. The plugin's own classes are .bppfa-spinner, .bppfa-feedback-message, and the .bppfa-notice classes. = What happens if a visitor is not logged in? = The plugin shows a short notice in place of the form. It does the same when BuddyPress or BuddyBoss is inactive, when the Activity component is turned off, and when the member does not have permission to post, so you always know why the form is not there. = Where do I get support? = * [Documentation](https://docs.wbcomdesigns.com/) - Free guides for every Wbcom plugin * [Support](https://wbcomdesigns.com/support/) - Get help from our team * [Contact us](https://wbcomdesigns.com/contact/) - Report bugs and request features == Screenshots == 1. The activity composer on any page - avatar, status field, group selector, and Share Update button. The "Post From Anywhere" block and the [bppfa_postform] shortcode both render this form. 2. The same composer on a 390px mobile viewport, stacking into a single column with a full-width button. == Changelog == = 1.5.8 - July 2026 = Adds a Gutenberg block, makes rtMedia/MediaPress uploaders work on shortcode placements, and adds explicit theme dark mode. * New - Added German, Spanish, French, Italian and Portuguese (Brazil) translations. * New - Post From Anywhere block for the block editor, rendering the same activity post form as the [bppfa_postform] shortcode. * Improve - rtMedia and MediaPress uploaders now initialize on shortcode, block, and widget placements by reusing the native BuddyPress form IDs inside a scoped wrapper and re-firing the bp_after_activity_post_form hook. * Improve - Explicit theme dark mode for BuddyX 5.1+, BuddyX Pro, and Reign 8+, driven by theme color tokens with dark fallbacks. * Improve - Assets now load for widget, FSE template part, and do_shortcode() placements that the head-time asset gate cannot see. * Improve - New activity now renders inline across bp-legacy, bp-nouveau, and BuddyBoss by normalizing the post_update response. * Improve - Context notices (logged out, BuddyPress inactive, activity off, no permission) now follow the theme in light and dark modes. * Improve - Accessibility: feedback messages announce via role and aria-live, and the form sets aria-busy while posting. * Fix - The text domain loaded too early, which logs a notice on WordPress 6.7 and newer. It now loads on init. * Fix - Corrected infinite self-recursion in the singleton get_instance() accessor. * Fix - Removed unused, never-verified nonces (bppfa_ajax_nonce, bppfa_admin_nonce) and their localized data. * Fix - Uninstall now removes the bp_post_anywhere_activation_date and bp_post_anywhere_no_bug site options. * Compat - Tested up to WordPress 7.0. = 1.5.7 = * Enhancement: Updated WordPress compatibility to 6.9 * Enhancement: Added PHP 7.4 minimum requirement * Enhancement: Improved code quality and standards compliance = 1.5.6 = * **New**: Complete UI overhaul with modern BuddyPress/BuddyBoss design compatibility * **New**: Inline feedback system replaces old popup notifications for better UX * **New**: Always-visible share controls for improved accessibility * **Enhanced**: Professional form layout with improved avatar and content alignment * **Enhanced**: Better responsive design with mobile-first approach * **New**: Dark mode support for themes that set an explicit dark mode, such as BuddyX and Reign * **Improved**: Significantly reduced JavaScript and CSS file sizes (38% JS, 23% CSS reduction) * **Improved**: Cleaned up codebase by removing unused animations and deprecated code * **Fixed**: BuddyBoss Platform compatibility issues * **Fixed**: Submit button and group selector alignment issues * **Fixed**: Textarea height now properly set to 90px for better content visibility * **Fixed**: Options section no longer hides after posting, ensuring feedback messages remain visible = 1.5.5 = * **New**: Intelligent asset loading - CSS/JS only loads where needed for better performance * **New**: Full RTL (Right-to-Left) language support for Arabic, Hebrew, and other RTL languages * **Enhanced**: Improved security with better data validation and sanitization * **Improved**: Significant performance optimizations * **Enhanced**: Better user experience with friendlier messaging and notifications * **Fixed**: Various minor bugs and compatibility improvements * **Improved**: Better mobile responsiveness and touch interactions * **Enhanced**: More engaging and customer-friendly interface language = 1.5.3 = * Fix: BP v12 Fixes * Fix: Clean up the code = 1.5.2 = * Fix: phpcs issue = 1.5.1 = * Fix: (#50) Fixed when update activity not showing messages without any text = 1.5.0 = * Fix: phpcs issue * Fix: textarea issue * Fix: white space issue * Fix: (#46) Fixed remove white space from post form textarea = 1.4.0 = * Fix: #37 Fixed PHPCS Errors * Fix: Update bppfa_site_url to bppfa_url * Fix: Group post not submit in group and also fixed broken image issue = 1.3.0 = * Fix: (#32) Fixed shortcode layout conflict for buddy boss dashboard page * Fix: Update bp-post-from-anywhere-public.js * Fix: success message icon alignment fixed * Fix: Update plugin url path = 1.2.0 = * Fix: Fixed Load Newest Activity count issue * Fix: Removed Post from Anywhere widget * Fix: Update activity post form UI, added missing icons images * Fix: Fixed White space issue in text area * Fix: Fixed shortcode html issue in admin side * Fix: Fixed: Activity Post any where to submit activity * Fix: Added extended option filter to enable to display additional option * Fix: Fixed #19 - Post button do not work * Fix: Fixed #21 - The cursor starts from the middle of the text box = 1.1.0 = * Fix: Admin notice for review = 1.0.1 = * Bp 4.3.0 compatibility check. = 1.0.0 = * first version. == Upgrade Notice == = 1.5.8 = Adds the "Post From Anywhere" block so you can place the composer without a shortcode, fixes rtMedia and MediaPress uploads on shortcode and block placements, and adds explicit dark mode for BuddyX and Reign. This version requires WordPress 6.3 or higher.