
BuddyPress Activity Filter
by wbcomdesigns on WordPress.org
Easily manage your BuddyPress Activity Stream by filtering specific activity types, setting default filters, and enabling public Custom Post Types (CP …
The BuddyPress Activity Filter plugin helps site administrators customize the activity feed by setting default activity types and hiding irrelevant content. It also allows you to include activities from Custom Post Types (CPT) in the BuddyPress activity stream.
Key Features
- Default Activity Filters: Set different default filters for site-wide and profile-specific activity streams
- Hide Unwanted Activities: Remove specific activity types from appearing in the activity feed
- Custom Post Type Support: Enable activity generation for custom post types when published
- Clean & Lightweight: Optimized code with minimal performance impact
- Theme Compatible: Works with BuddyPress default theme and Nouveau theme package
- Easy Administration: Simple settings interface with intuitive controls
- Security Hardened: Built with WordPress security best practices
- Performance Optimized: Efficient caching and minimal database queries
- Developer Friendly: Extensive hooks and filters for customization
Perfect For
- Community sites wanting to streamline their activity feeds
- Sites with custom post types that need activity integration
- Administrators who want granular control over activity visibility
- Communities looking to improve user experience with focused content
- Developers needing customizable activity filtering solutions
Configuration Options
Default Filters Tab:
– Site-wide Activity Default: Set the default filter for main activity streams
– Profile Activity Default: Set the default filter for user profile activity pages
Hidden Activities Tab:
– Select specific activity types to hide from all activity streams
– Professional activity labels for better clarity
– Bulk select/deselect options for efficient management
Custom Post Types Tab:
– Enable activity generation for any public custom post type
– Customize activity labels for each post type
– Automatic activity creation when CPT posts are published
– Global settings for CPT activity visibility
Premium Extensions
Enhance your BuddyPress community with these premium add-ons:
- BuddyPress Hashtags – Add hashtag functionality to activities
- BuddyPress Polls – Create and participate in polls
- BuddyPress Quotes – Share quotes with beautiful backgrounds
- BuddyPress Status & Reactions – Custom statuses and emoji reactions
- BuddyPress Sticky Post – Pin important activities
- WP Stories – Add Instagram-like stories feature
Use Cases
- Corporate Communities: Hide member registration activities, focus on business updates
- Educational Sites: Highlight course activities, hide profile updates
- E-commerce Communities: Show product activities, hide friendship notifications
- News Sites: Display article publications as activities automatically
- Developer Communities: Filter technical discussions by post type
Developer Features
- Clean Architecture: Modern OOP design with singleton patterns
- Extensive Hooks: Over 15 action and filter hooks for customization
- Backward Compatibility: Automatic migration from older versions
- Performance Optimized: Smart caching and minimal database impact
- Security First: Nonce verification, input sanitization, and capability checks
- Theme Agnostic: Works with any BuddyPress-compatible theme
- Documentation: Comprehensive inline documentation and code comments
Security & Performance
- Input Sanitization: All user inputs are properly sanitized and validated
- Nonce Protection: CSRF protection on all admin forms and AJAX requests
- Capability Checks: Proper permission verification for all admin functions
- SQL Injection Prevention: Use of WordPress database abstraction layer
- XSS Protection: Output escaping and content filtering
- Performance Caching: Intelligent caching of frequently accessed data
Internationalization
- Translation Ready: Full support for translation and localization
- RTL Support: Right-to-left language compatibility
- Professional Labels: User-friendly activity type descriptions
- Context-Aware Strings: Proper string contexts for accurate translations