Forums
-
- Forum
- Posts
-
- Installation
- 27,772
- Troubleshooting
- 60,877
- Themes
- 10,206
- Plugins
- 15,012
- Requests & Feedback
- 14,664
- Showcase
- 3,238
-
This is what i do to solve the problem:
function wpbb_add_user_role_rk($user_id) {
$user = new WP_User($user_id);
$user->set_role(get_option('default_role'));
}
add_action( ‘bb_new_user’, ‘wpbb_add_user_role_rk’);
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS