I am attempting to find a way to automatically assign a new member to either usergroup A or usergroup B at registration based on their answer to the "Job Title" question on the registration form (I have the user custom fields plugin). At this time, all new members are being assigned to one default usergroup regardless of the "Job Title" option chosen.
Hi,
Please note, all questions related to paid addons should be asked in the gVectors.com forum. Here, we only support issues related to the free wpForo plugin.
The wpForo User Custom Fields addon's support forum: https://gvectors.com/forum/wpforo-user-custom-fields/
I spent about 2 hours working with WP to see what the issue was and if they could help me find where I could make this change. There seems to be a default setting in the wpForo settings that forces all new registrations into only one usergroup, regardless of what I do in the User Custom Fields addon.
I have done this. I have followed all steps to correctly set up all usregroups, secondary usergroups, registration form, ACF addon, and forum permission to reach my goal. There is a breakdown I am not able to correct to add new members to the Job Title 2 usergroup. All new registrations are only added to Job Title 1.
Hi @saustin123 ,
I don't see why you think the "Job Title" field should change the user group of a registered user. What kind of field is the "Job Title"? It could be either drop-down or Secondary usergroups, but it cannot be Primary usergroups.
Please read the Primary and Secondary usergroups difference here: https://gvectors.com/using-secondary-usergroups-in-wpforo-wordpress-forum-plugin/
There is no way to set different primary usergroups on registration. The usergroup of user is being set based on WordPress setting New User Default Role which is located in Dashboard > Settings > General admin page of WordPress not wpForo. The setting allows you to select a User Role which will be used by wpForo to assign Usergroup based on User Role <> Usergroup synchronization. As far as I see you have created Subscriber usergroups and it's synched with Subscriber User Role that's why your new users will get Subscriber usergroups but they will have another usergroup as a secondary group which can be seen in Edit User screen in WordPress Dashboard > Users admin page.