Re: how do i disable members from creating groups?
This will make it where only wp-admins can do it. make sure you’re doing this in your child theme, not the core bp-default files:
In the groups folder > index.php…right after the form tag replace the next few lines with:
<br />
<h3>
<?php _e( 'Groups Directory', 'buddypress' ) ?>
<?php if ( current_user_can('manage_options') ) : ?>
button goes here
<?php endif; ?>
</h3>
the dumb editor keeps jacking up the code. the button for creating the group shouldn’t change and should go where indicated above