Support » Plugin: bbPress - Private Replies » Private replies are still displayed in all BuddyPress Activity Streams.

  • Kevin Ryman

    (@kevinryman)


    Although the actual bbPress reply is private, the Activity Streams shows the reply or at least a great portion of the response. This is not good as it defeats the purpose, at least on my site anyway.

    This is the same issue that was reported here. I wasn’t able to post because the topic is closed. Someone provided a quick fix. Can you apply that for those of us using BuddyPress? Thank you!

    https://wordpress.org/plugins/bbpress-private-replies/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mordauk

    (@mordauk)

    I have not personally tested this with BuddyPress, sorry. I will try and look into compatibility issues at some point but can’t say when that will be.

    +1. This is a huge security flaw as private replies are used by us for tech support and sharing login details.

    function imath_activity_dont_save( $activity_object ) {
    $exclude = array( ‘bbp_topic_create’, ‘bbp_reply_create’);
    if( in_array( $activity_object->type, $exclude ) )
    $activity_object->type = false;
    }
    add_action(‘bp_activity_before_save’, ‘imath_activity_dont_save’, 10, 1 );

    Incorporating that code into bbpress private replies would then not save to activity stream, if only executed when saving a private reply. If used as is, then the snippet will disable all bbp replies/topics on the activity stream.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Private replies are still displayed in all BuddyPress Activity Streams.’ is closed to new replies.