Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin access to other members messages


  • bojan85
    Participant

    @bojan85

    Hi everyone, is there anyway to let admins have access to members private message? I would like to get notified or see when a message is Sent and received. This would help me sleep better at night so I know members don’t get any spam or inappropriate messages just because of joining my community.

    Is there anyway to enable this or is it impossible with buddypress?

    Cheers.

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

  • meg@info
    Participant

    @megainfo

    Hi @bojan85,

    add this code to your functions.php file

    function bp_admin_is_my_profile( $my_profile ){
    global $bp;

    if( ( $bp->current_component == BP_MESSAGES_SLUG )
    && current_user_can(‘manage_options’) ) return true;
    else return $my_profile;
    }
    add_filter(‘bp_is_my_profile’, ‘bp_admin_is_my_profile’, 1);

    but i think is not good idea to read the messages of members :), try to use anti spam plugins.


    bojan85
    Participant

    @bojan85

    Hi @meg thanks for the code!! So i assume that this will attach the admin to every private message sent on the site. So the admin would receive a copy of the message sent between members. I’m I correct?

    Cheers, Bojan


    meg@info
    Participant

    @megainfo

    No, you can access to the message pages of each profil
    just add /messages to the url of the member, like that :

    http://mysite/members/member_nickname/messages


    Anonymous User 7343156
    Inactive

    @anonymized-7343156

    It doesnt work… I can access the page, but it never shows the messages.


    scimea
    Participant

    @scimea

    Hi @meginfo,

    I tried adding that to my functions.php but it doesn’t show the messages. I am also using activity stream privacy but here is my situation:
    ————
    Hi,

    I was wondering if there was a way to set the privacy level to allow mentions to be seen only by the people involved in the conversation and the admin.

    For example, while testing the plug-in I set the privacy level to “admin only” and as the admin I sent a message to a subscriber level member.

    However, the person gets a notification they were mentioned, but can’t see the message itself.

    Is it possible there is a setting or way to have it so only the people mentioned and the admin see the message?

    So if member1 mentions member2 I require both members AND the admin to be able to see that message, but no one else, whether it be from activity stream or private messages.

    Thanks very much for your time and help,
    Adam

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admin access to other members messages’ is closed to new replies.
Skip to toolbar