repyourhood619 (@repyourhood619)

Forum Replies Created

Viewing 1 replies (of 1 total)

  • repyourhood619
    Participant

    @repyourhood619

    Hey Robin and Kajzh, did you ever get this to work? I am having the exact same problem. the custom made role is showing up under the forum role dropdown on the user profile but when the profile is saved after selecting the new role it does the default message when no role is assigned “No Role For These Forums”. Robin I did what you suggested by deactivating plugins and changing the theme but to no avail. Please see the function below.

    
    function np_add_custom_role( $bbp_roles ) {
     
    	$bbp_roles['beta_tester'] = array(
    			'name' => 'Beta Tester', 'bbpress',
                'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    	);
    	return $bbp_roles;
    }
    add_filter( 'bbp_get_dynamic_roles', 'np_add_custom_role', 10 , 2 );

    Thanks in advanced!

Viewing 1 replies (of 1 total)