Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing ‘This is a notice to all users’


  • bazingauser
    Participant

    @bazingauser

    Hello guys,

    I would like to ask how to remove ” This is a notice to all users” from the message field, please?
    Thank you
    WP 4.6.1 bp 2.6.2

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

  • shanebp
    Moderator

    @shanebp

    Only members with the capability ‘bp_moderate’ will see that checkbox option.
    And only site administrators are given that capability.
    So unless you have a plugin that gives that capability to other members, nobody else can see that option. To check, log into your site as a non-admin.

    If you still want to remove it, create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.php
    In your overload, remove this:

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

    bazingauser
    Participant

    @bazingauser

    oh, thanks a lot 🙂

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