Set bbpress roles on New user form
-
Hello,
I am trying to place the forum Roles section, like the section that appears in Edit user, on the new user form. My site is private, so any new users are created by the admin. I’d very much like the admin to only have to go to this screen for user permissions. I’ve managed to get my other plugin and custom fields on the page, but I haven’t figured out how to do it with bbPress. Could someone help me out? For all general purposes, I am using the add_action hook user_new_form then setting the values with update_user_meta in my theme’s function.php page. I see that bbPress sets values in the clr_usermeta database, but I’m unclear on what to set and how. Also, I always want the default value for the role field to be participant. I have search reasonably thoroughly for a clear answer to this and haven’t had much luck. I welcome any help you may have.
- You must be logged in to reply to this topic.