Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 16 replies - 1 through 16 (of 16 total)

  • jetlej
    Participant

    @jetlej

    You’re saying it’s normal for an admin to have rights to see private messages? That’s HORRIBLE for privacy. Can’t be right. Can @johnjamesjacoby verify this?


    jetlej
    Participant

    @jetlej

    I have disabled all plugins besides Buddypress and switched to the default Buddypress theme and am still seeing the issue.

    It says the conversation is between the admin account and the two users that the message is actually between.


    jetlej
    Participant

    @jetlej

    Yes it happens even with the plugin deactivated


    jetlej
    Participant

    @jetlej

    Bump, this is a serious issue


    jetlej
    Participant

    @jetlej

    @prometheus-fire – I placed the code into my bp-custom.php file and made the edits you specified, but am not seeing CPT’s show up in my activity. No errors, no changes, nothing.

    Any ideas? Thank you for your posts about this across the web! You’re the only one with a serious solution.


    jetlej
    Participant

    @jetlej

    *Hopeful bump*


    jetlej
    Participant

    @jetlej

    @johnjamesjacoby – Thank you! Won’t happen again.


    jetlej
    Participant

    @jetlej

    Anyone? :)


    jetlej
    Participant

    @jetlej

    Progress: I found the BP function in the core and figured out how to alter it to achieve the effect, but I can’t figure out how to do this in the function.php file instead of altering the core file.

    The function:

    `function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = 0, $date_notified = false ) {
    global $bp;

    if ( empty( $date_notified ) )
    $date_notified = bp_core_current_time();

    $notification = new BP_Core_Notification;
    $notification->item_id = $item_id;
    $notification->user_id = $user_id;
    $notification->component_name = $component_name;
    $notification->component_action = $component_action;
    $notification->date_notified = $date_notified;
    $notification->is_new = 1;

    if ( !empty( $secondary_item_id ) )
    $notification->secondary_item_id = $secondary_item_id;

    if ( !$notification->save() )
    return false;

    return true;
    }`

    and adding the following above return true; made it work:

    ` if ( $component_name == ‘messages’ ){
    return false;
    }

    if ( $component_action == ‘friendship_request’ ){
    return false;
    } `


    jetlej
    Participant

    @jetlej

    I’m using the latest release candidate (which works great!). You can download it here: https://buddypress.org/2011/09/buddypress-1-5-release-candidate-1-and-buddypress-1-2-10/


    jetlej
    Participant

    @jetlej

    …and for 1.5? This would be a great change!


    jetlej
    Participant

    @jetlej

    And I am using W3 Total Cache btw


    jetlej
    Participant

    @jetlej

    Fixed it. Users need to have the member role or higher, not subscriber or anything lower or they will be logged out upon leaving the site


    jetlej
    Participant

    @jetlej

    Anyone?


    jetlej
    Participant

    @jetlej

    Anyone?


    jetlej
    Participant

    @jetlej

    Of course without modifying core files would be preferred :)

Viewing 16 replies - 1 through 16 (of 16 total)
Skip to toolbar