Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable notice to all users?

  • @rastarr

    Participant

    Hi all,

    I was wondering whether there’s a code snippet that disables the ability to send a notice to all users, in Messaging? That pesky checkbox and what it does.

    Just had my first Spam attack through this method. Kinda sucked 🙂

    Any help would be wonderful.
    Martin

Viewing 2 replies - 1 through 2 (of 2 total)
  • @shanebp

    Moderator

    Create a template over-ride for this file:
    \buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.php

    Then delete or comment out this:

    <?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?>
    		<input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?>
    <?php endif; ?>

    @rastarr

    Participant

    Oh wow, thanks so very much @shanebp for this. Limme test out to stop the filthy Spam scourge.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable notice to all users?’ is closed to new replies.
Skip to toolbar