Changeset 3335546
- Timestamp:
- 07/28/2025 08:03:17 PM (8 months ago)
- Location:
- bp-activity-filter
- Files:
-
- 2 edited
-
tags/3.1.0/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bp-activity-filter/tags/3.1.0/readme.txt
r3335544 r3335546 214 214 * **Security**: Replaced deprecated functions with modern alternatives 215 215 * **Optimization**: Improved data sanitization and validation 216 217 == Upgrade Notice ==218 219 = 4.0.0 =220 **Major Update - Please Backup Before Upgrading**221 222 This is a significant update with complete code rewrite for better performance, security, and maintainability. All existing functionality is preserved and enhanced. The plugin includes automatic migration tools to preserve your settings, but we recommend backing up your site before updating.223 224 **What's New:**225 * Modern OOP architecture with better performance226 * Enhanced admin interface with tabbed navigation227 * Improved security with comprehensive input validation228 * Better theme compatibility and mobile responsiveness229 * Advanced CPT integration with preview functionality230 * Smart migration system for seamless upgrades231 232 **After Updating:**233 * Review your settings in the new admin interface234 * Test activity filtering functionality235 * Check any custom code for compatibility236 * Clear any caching plugins if needed237 238 == Advanced Configuration ==239 240 ### Custom Hooks and Filters241 242 **Available Action Hooks:**243 * `bp_activity_filter_init` - Plugin initialization244 * `bp_activity_filter_settings_saved` - After settings save245 * `bp_activity_filter_cpt_activity_created` - When CPT activity is created246 247 **Available Filter Hooks:**248 * `bp_activity_filter_default` - Modify default filter value249 * `bp_activity_filter_available_filters` - Customize available filters250 * `bp_activity_filter_query_args` - Modify activity query arguments251 * `bp_activity_filter_eligible_post_types` - Filter eligible CPTs252 253 ### Custom Post Type Configuration254 255 ```php256 // Enable activity for custom post type programmatically257 add_filter( 'bp_activity_filter_eligible_post_types', function( $post_types ) {258 $post_types['my_custom_type'] = get_post_type_object( 'my_custom_type' );259 return $post_types;260 });261 262 // Customize activity action text263 add_filter( 'bp_activity_filter_cpt_activity_action', function( $action, $post, $label ) {264 if ( 'my_custom_type' === $post->post_type ) {265 $action = sprintf( '%s shared a new %s', get_author_name(), $label );266 }267 return $action;268 }, 10, 3 );269 ```270 271 ### Performance Optimization272 273 The plugin includes several performance optimizations:274 275 * **Query Caching**: Activity actions are cached to reduce database calls276 * **Smart Loading**: Scripts only load on relevant pages277 * **Minimal Footprint**: Optimized code with efficient algorithms278 * **Database Optimization**: Indexed queries and reduced overhead279 280 ### Troubleshooting281 282 **Common Issues:**283 284 1. **Activities not filtering**: Check BuddyPress version compatibility285 2. **Settings not saving**: Verify user permissions and nonce verification286 3. **Custom post types not showing**: Ensure post types meet eligibility criteria287 4. **Theme conflicts**: Test with default BuddyPress theme288 289 **Debug Mode:**290 Enable WordPress debug mode to see detailed error messages:291 ```php292 define( 'WP_DEBUG', true );293 define( 'WP_DEBUG_LOG', true );294 ```295 296 == Support ==297 298 For support, documentation, and feature requests:299 300 - **Documentation**: [Plugin Documentation](https://docs.wbcomdesigns.com/doc_category/buddypress-activity-filter/)301 - **Support Forum**: [WordPress.org Support](https://wordpress.org/support/plugin/bp-activity-filter/)302 - **Premium Support**: [Wbcom Designs Support](https://wbcomdesigns.com/support/)303 - **GitHub**: [Development Repository](https://github.com/wbcomdesigns/buddypress-activity-filter)304 305 == Contributing ==306 307 We welcome contributions! Please see our [GitHub repository](https://github.com/wbcomdesigns/buddypress-activity-filter) for development guidelines and to submit pull requests.308 309 **Ways to Contribute:**310 * Report bugs and suggest features311 * Submit translations312 * Contribute code improvements313 * Help with documentation314 * Test beta releases315 316 == Privacy Policy ==317 318 This plugin does not collect or store any personal user data beyond what WordPress and BuddyPress already collect. Activity filtering preferences are stored locally in browser cookies and user meta fields as needed for functionality.319 320 == Credits ==321 322 Developed by [Wbcom Designs](https://wbcomdesigns.com/) - Your trusted WordPress development partner.323 324 Special thanks to the BuddyPress community for feedback and contributions that made this plugin possible. -
bp-activity-filter/trunk/readme.txt
r3335544 r3335546 214 214 * **Security**: Replaced deprecated functions with modern alternatives 215 215 * **Optimization**: Improved data sanitization and validation 216 217 == Upgrade Notice ==218 219 = 4.0.0 =220 **Major Update - Please Backup Before Upgrading**221 222 This is a significant update with complete code rewrite for better performance, security, and maintainability. All existing functionality is preserved and enhanced. The plugin includes automatic migration tools to preserve your settings, but we recommend backing up your site before updating.223 224 **What's New:**225 * Modern OOP architecture with better performance226 * Enhanced admin interface with tabbed navigation227 * Improved security with comprehensive input validation228 * Better theme compatibility and mobile responsiveness229 * Advanced CPT integration with preview functionality230 * Smart migration system for seamless upgrades231 232 **After Updating:**233 * Review your settings in the new admin interface234 * Test activity filtering functionality235 * Check any custom code for compatibility236 * Clear any caching plugins if needed237 238 == Advanced Configuration ==239 240 ### Custom Hooks and Filters241 242 **Available Action Hooks:**243 * `bp_activity_filter_init` - Plugin initialization244 * `bp_activity_filter_settings_saved` - After settings save245 * `bp_activity_filter_cpt_activity_created` - When CPT activity is created246 247 **Available Filter Hooks:**248 * `bp_activity_filter_default` - Modify default filter value249 * `bp_activity_filter_available_filters` - Customize available filters250 * `bp_activity_filter_query_args` - Modify activity query arguments251 * `bp_activity_filter_eligible_post_types` - Filter eligible CPTs252 253 ### Custom Post Type Configuration254 255 ```php256 // Enable activity for custom post type programmatically257 add_filter( 'bp_activity_filter_eligible_post_types', function( $post_types ) {258 $post_types['my_custom_type'] = get_post_type_object( 'my_custom_type' );259 return $post_types;260 });261 262 // Customize activity action text263 add_filter( 'bp_activity_filter_cpt_activity_action', function( $action, $post, $label ) {264 if ( 'my_custom_type' === $post->post_type ) {265 $action = sprintf( '%s shared a new %s', get_author_name(), $label );266 }267 return $action;268 }, 10, 3 );269 ```270 271 ### Performance Optimization272 273 The plugin includes several performance optimizations:274 275 * **Query Caching**: Activity actions are cached to reduce database calls276 * **Smart Loading**: Scripts only load on relevant pages277 * **Minimal Footprint**: Optimized code with efficient algorithms278 * **Database Optimization**: Indexed queries and reduced overhead279 280 ### Troubleshooting281 282 **Common Issues:**283 284 1. **Activities not filtering**: Check BuddyPress version compatibility285 2. **Settings not saving**: Verify user permissions and nonce verification286 3. **Custom post types not showing**: Ensure post types meet eligibility criteria287 4. **Theme conflicts**: Test with default BuddyPress theme288 289 **Debug Mode:**290 Enable WordPress debug mode to see detailed error messages:291 ```php292 define( 'WP_DEBUG', true );293 define( 'WP_DEBUG_LOG', true );294 ```295 296 == Support ==297 298 For support, documentation, and feature requests:299 300 - **Documentation**: [Plugin Documentation](https://docs.wbcomdesigns.com/doc_category/buddypress-activity-filter/)301 - **Support Forum**: [WordPress.org Support](https://wordpress.org/support/plugin/bp-activity-filter/)302 - **Premium Support**: [Wbcom Designs Support](https://wbcomdesigns.com/support/)303 - **GitHub**: [Development Repository](https://github.com/wbcomdesigns/buddypress-activity-filter)304 305 == Contributing ==306 307 We welcome contributions! Please see our [GitHub repository](https://github.com/wbcomdesigns/buddypress-activity-filter) for development guidelines and to submit pull requests.308 309 **Ways to Contribute:**310 * Report bugs and suggest features311 * Submit translations312 * Contribute code improvements313 * Help with documentation314 * Test beta releases315 316 == Privacy Policy ==317 318 This plugin does not collect or store any personal user data beyond what WordPress and BuddyPress already collect. Activity filtering preferences are stored locally in browser cookies and user meta fields as needed for functionality.319 320 == Credits ==321 322 Developed by [Wbcom Designs](https://wbcomdesigns.com/) - Your trusted WordPress development partner.323 324 Special thanks to the BuddyPress community for feedback and contributions that made this plugin possible.
Note: See TracChangeset
for help on using the changeset viewer.