BuddyPress Block Activity Stream Types
** IMPORTANT ** This plugin has been updated for BuddyPress 1.5.1 This plugin will “block” an activity record from being saved to the stream/database. Such as new member registration, joining groups, friendships created. Please note, this will not allow an activity record to be saved into the databa
** IMPORTANT ** This plugin has been updated for BuddyPress 1.5.1
This plugin will “block” an activity record from being saved to the stream/database. Such as new member registration, joining groups, friendships created.
Please note, this will not allow an activity record to be saved into the database at all. You will need to know the “type” of activity record. It is advised NOT to block activity_comment and activity_update activities (will cause errors in buddypress)
What are activity types? BP Core includes several and plugins may register their own when hooking into the activity_record functions. This plugin will scan the activity table for distinct types already logged but will be ever changing due to new plugins.
Related Links:
- Author’s Site
- BuddyPress Block Activity Stream Types – About Page
- BuddyPress and bbPress Developer Hook and Filter API Reference
- @etivite etivite+
Extra Configuration
See this forum thread for details on hooking the type check: http://etivite.com/groups/buddypress/forum/topic/quick-tip-hooking-block-activity-stream-types-plugin-on-a-granular-level/
- 01Upload the full directory into your wp-content/plugins directory
- 02Activate the plugin at the plugin administration page
- 03Adjust settings via the Activity Block admin page
Frequently asked questions.
How do I exclude a certain activity types?
You may scan the bp-core code, plugin code, or attempt to view the types already entered into the database.