change default group status from public to private
-
I found and removed the code that shows radio to select public as group status, but if users exit from create group procedure before complete the second step(‘settings’), status is set to public.
I also edit
plugin/buddypress/bp-groups/bp-groups-screens.php (line 513 and 514) into:// Checked against a whitelist for security
$allowed_status = apply_filters( ‘groups_allowed_status’, array(/*’public’,*/ ‘private’, ‘hidden’ ) );
$status = ( in_array( $_POST, (array)$allowed_status ) ) ? $_POST : /*’public’*/’hidden’;But i can’t resolve.
- The topic ‘change default group status from public to private’ is closed to new replies.