Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: new users automatically are forum administrator

@p3t3rr

Participant

UPDATE:

I found the issue. 2 weeks back I added the following function to functions.php > child theme, because I wanted to rename the Keymaster to Administrator:

// change user role name 'Verwalter' to 'Administrator'
function ntwb_bbpress_custom_role_names() {
	
	// Keymaster
        bbp_get_keymaster_role() => array(
            'name'         => 'Administrator',
            'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
        )
}
add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );

It successfully renamed the role and I was done with the issue. However, it apparently removed all the other default bbpress roles. I thought this function is exclusively for renaming roles as the name suggests.

I went back and included all other default roles into that function in the child theme (The complete rename roles function can be seen eg here.) Now I see all roles in settings > forum > automatically assign roles. Also in user management I see all forum roles. Also, new forum registrants are automatically assigned to subscriber.

problem solved.

Skip to toolbar