Forums
-
- Forum
- Posts
-
- Installation
- 28,232
- Troubleshooting
- 61,663
- Themes
- 10,300
- Plugins
- 15,197
- Requests & Feedback
- 14,803
- Showcase
- 3,252
-
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