Forum Replies Created
if the blog is on the same site as the bp install – you can add the filter to post content which scans for the atme mentions.
the bp function is `bp_activity_at_name_filter` and probably hook it on the pre save content filter for posts (forgot the filter name off hand)
the plugin above is only for the bp activity stream – maybe a regular wordpress plugin has that functionality for blog posts.
have to block replies on the activity type: activity_comment
check_is_member is static and available anywhere within bp
give this a shot – you can disable nested replies
@mrandrewaustria – i’d suggest a more positive approach over the above reply.
if you can reproduce the issue consistently (via bp-default theme and disabled third party plugins) – create a trac ticket with the steps/details. I doubt the main developers are looking downward on people reporting issues (why would they?)
for email – there are several action and filters hooks to use and different ways (client side or extend a custom register page)
That is not a built in core feature – maybe someone has created a plugin for it (there is bp-moderation – not sure if that holds anything in a queue)
Unless there is a specific plugin for this purpose in the wp plugin directory, otherwise you’ll need to code your own.
You could hook on bp_activity_posted_update
then perform a count and compare to your set threshold of activity updates prior to adding the permissions to the userdata. ( if you look at the member profile stats plugin – there is a function called etivite_bp_member_profile_stats_get_member_status_count() – which pulls only activity_updates )
you just asked this question yesterday…
otherwise – use the lower level bp-core function for add activity entries (or just copy the blog activity add function and change the cpt check)
activity types are fluid – so any plugin may add their own besides bp-core. besides querying the activity table for distinct types; the global $bp->activity->actions stores the action/type for each component registered in bp-core. (note, another plugin may not use this method and create an activity type on their own)
use one of the various action hooks within members-header.php template file
Checking those would allow regular members to send PM to other members meeting the requirement (ie, a friend, a follower connection, or member sharing the group membership)
If none are checked – then by default – only the administrator may send PMs to members (and members to the administrators defined by the wp_cap)
if on latest bp/wp – then https://wordpress.org/extend/plugins/buddypress-restrict-messages/ long as the users sending has the wp_cap of ‘administrator’
have a look at the block activity types plugin – you can see where i hook and block inserting to the db. it would be easy with further work to grab the the_post info and perform whatever checks on the post data.
the block activity types plugin will stop those items from being saved into the database.
you can disable commenting on forum posts + blog post via the bp settings.
https://wordpress.org/extend/plugins/buddypress-activity-stream-extras/ – you can select the activity types to disable replies on.