Forums
-
- Forum
- Posts
-
- Installation
- 26,560
- Troubleshooting
- 57,202
- Themes
- 9,920
- Plugins
- 14,515
- Requests & Feedback
- 14,218
- Showcase
- 3,223
-
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