Plugin Directory

Changeset 3335546


Ignore:
Timestamp:
07/28/2025 08:03:17 PM (8 months ago)
Author:
wbcomdesigns
Message:

version update

Location:
bp-activity-filter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bp-activity-filter/tags/3.1.0/readme.txt

    r3335544 r3335546  
    214214* **Security**: Replaced deprecated functions with modern alternatives
    215215* **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 performance
    226 * Enhanced admin interface with tabbed navigation
    227 * Improved security with comprehensive input validation
    228 * Better theme compatibility and mobile responsiveness
    229 * Advanced CPT integration with preview functionality
    230 * Smart migration system for seamless upgrades
    231 
    232 **After Updating:**
    233 * Review your settings in the new admin interface
    234 * Test activity filtering functionality
    235 * Check any custom code for compatibility
    236 * Clear any caching plugins if needed
    237 
    238 == Advanced Configuration ==
    239 
    240 ### Custom Hooks and Filters
    241 
    242 **Available Action Hooks:**
    243 * `bp_activity_filter_init` - Plugin initialization
    244 * `bp_activity_filter_settings_saved` - After settings save
    245 * `bp_activity_filter_cpt_activity_created` - When CPT activity is created
    246 
    247 **Available Filter Hooks:**
    248 * `bp_activity_filter_default` - Modify default filter value
    249 * `bp_activity_filter_available_filters` - Customize available filters
    250 * `bp_activity_filter_query_args` - Modify activity query arguments
    251 * `bp_activity_filter_eligible_post_types` - Filter eligible CPTs
    252 
    253 ### Custom Post Type Configuration
    254 
    255 ```php
    256 // Enable activity for custom post type programmatically
    257 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 text
    263 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 Optimization
    272 
    273 The plugin includes several performance optimizations:
    274 
    275 * **Query Caching**: Activity actions are cached to reduce database calls
    276 * **Smart Loading**: Scripts only load on relevant pages
    277 * **Minimal Footprint**: Optimized code with efficient algorithms
    278 * **Database Optimization**: Indexed queries and reduced overhead
    279 
    280 ### Troubleshooting
    281 
    282 **Common Issues:**
    283 
    284 1. **Activities not filtering**: Check BuddyPress version compatibility
    285 2. **Settings not saving**: Verify user permissions and nonce verification
    286 3. **Custom post types not showing**: Ensure post types meet eligibility criteria
    287 4. **Theme conflicts**: Test with default BuddyPress theme
    288 
    289 **Debug Mode:**
    290 Enable WordPress debug mode to see detailed error messages:
    291 ```php
    292 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 features
    311 * Submit translations
    312 * Contribute code improvements
    313 * Help with documentation
    314 * Test beta releases
    315 
    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  
    214214* **Security**: Replaced deprecated functions with modern alternatives
    215215* **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 performance
    226 * Enhanced admin interface with tabbed navigation
    227 * Improved security with comprehensive input validation
    228 * Better theme compatibility and mobile responsiveness
    229 * Advanced CPT integration with preview functionality
    230 * Smart migration system for seamless upgrades
    231 
    232 **After Updating:**
    233 * Review your settings in the new admin interface
    234 * Test activity filtering functionality
    235 * Check any custom code for compatibility
    236 * Clear any caching plugins if needed
    237 
    238 == Advanced Configuration ==
    239 
    240 ### Custom Hooks and Filters
    241 
    242 **Available Action Hooks:**
    243 * `bp_activity_filter_init` - Plugin initialization
    244 * `bp_activity_filter_settings_saved` - After settings save
    245 * `bp_activity_filter_cpt_activity_created` - When CPT activity is created
    246 
    247 **Available Filter Hooks:**
    248 * `bp_activity_filter_default` - Modify default filter value
    249 * `bp_activity_filter_available_filters` - Customize available filters
    250 * `bp_activity_filter_query_args` - Modify activity query arguments
    251 * `bp_activity_filter_eligible_post_types` - Filter eligible CPTs
    252 
    253 ### Custom Post Type Configuration
    254 
    255 ```php
    256 // Enable activity for custom post type programmatically
    257 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 text
    263 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 Optimization
    272 
    273 The plugin includes several performance optimizations:
    274 
    275 * **Query Caching**: Activity actions are cached to reduce database calls
    276 * **Smart Loading**: Scripts only load on relevant pages
    277 * **Minimal Footprint**: Optimized code with efficient algorithms
    278 * **Database Optimization**: Indexed queries and reduced overhead
    279 
    280 ### Troubleshooting
    281 
    282 **Common Issues:**
    283 
    284 1. **Activities not filtering**: Check BuddyPress version compatibility
    285 2. **Settings not saving**: Verify user permissions and nonce verification
    286 3. **Custom post types not showing**: Ensure post types meet eligibility criteria
    287 4. **Theme conflicts**: Test with default BuddyPress theme
    288 
    289 **Debug Mode:**
    290 Enable WordPress debug mode to see detailed error messages:
    291 ```php
    292 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 features
    311 * Submit translations
    312 * Contribute code improvements
    313 * Help with documentation
    314 * Test beta releases
    315 
    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.