Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to restrict sending of private messages to 1 reciepient?


  • donburikun
    Participant

    @donburikun

    How can I configure Buddypress to prevent users from adding more than 1 recipient to the “Send To (Username or Friend’s Name)” field on the compose private message page? I would like to do this to reduce the ability of users to spam multiple users at once.

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

  • metalhead
    Participant

    @aaronthomas1979

    I hid the input box and it disables it.

    Put this in your child-theme’s style.css:

    /* Removes option to CC PMs to more than 1 recipient */
    input#send-to-input.send-to-input.ac_input {
    display: none;
    }

    Clear cache & presto!


    donburikun
    Participant

    @donburikun

    Thank you for your reply and solution. It would be great however if an option for this was officially implemented in Buddypress as it is an issue that allows malicious users to spam many users in one shot.


    donburikun
    Participant

    @donburikun

    Metalhead, thanks again for this css code. It works great!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar