#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Assigning Multiple ...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Assigning Multiple Usergroup to a Single User

    Last Post
RSS

709298 summer
Posts: 3
 709298 summer
Topic starter
July 29, 2021 9:37 pm
(@709298-summer)
New Member
Joined: 10 months ago

Have anyone figured out a way to automatically populate user to multiple usergroups?

I've been using secondary group, but need a way to automate that as we been having user move for one business forum to another.  Here is the current setup:

 

Forum:  General, Usergroup: Subscribers

Forum:  Account, Usergroup: Accounting

Forum: Marketing, Usergroup: Marketing

Form: IT, Usergroup: IT

 

Users:

Jane belongs to Subscribers, IT and Marketing
Jonathan belongs to Subscribers and IT
Richard belongs to Subscribers and Accounting

Everyone by default is Subscribers.  However, as an admin, I have been going in to check off those secondary groups.  The pain comes in when staffs move around.  For example Jonathan took a position in digital marketing, so as an admin, we need to promptly add his access.  In Wordpress, user Roles gets updated automatically.  How can this be done in wpForo?

Topic Tags
user role synch usergroup synch
5 Replies
Robert
Posts: 8959
Robert - Twitter
 Robert
Admin
July 30, 2021 6:22 am
(@robert)
Support Team
Joined: 6 years ago
Posted by: @709298-summer

In Wordpress, user Roles gets updated automatically.

The main usergroup is changed when a user role is changed in WordPress. Just make sure the User Roles are synched with usergroups in Dashboard > Forums > Usergroups admin page.

You should have one user role synched with one user group, if the groups are more than one they'll not be synched. Please read the descriptions and notes in the Usergroup admin page.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
709298 summer
Posts: 3
 709298 summer
Topic starter
July 30, 2021 9:53 am
(@709298-summer)
New Member
Joined: 10 months ago

I have double checked all the status is shown as synched in usergroup... ran the synch again after 100% complete.  It is still the same.  Jonathan in above scenario, is only shown as being in IT usergroup and not Marketing.

Here is my mapping:

Role: IT Usergroup: IT

Role: Accounting Usergroup: Accounting

Role: Marketing Usergroup: Marketing

Jonathan belongs to both IT and Marketing roles, but under Member tab, he is only listed as being in IT only.  I have to manually check off Marketing as secondary group in WordPress user tab.  Is there a way to automate this?  If user belong into multiple user group, the system automatically update user info with appropriate group and vice versa when user role is remove.

 

 

Reply
1 Reply
Martin
 Martin
Moderator
(@martin)
Joined: 6 years ago

Support Team
Posts: 832
Martin - Facebook Martin - Twitter
July 30, 2021 10:35 am
Reply to709298 summer709298 summer

@709298-summer,

Please leave a screenshot of the Forums > Usergroups admin page.

BTW, if the role changing plugin doesn't use the standard WordPress hooks, then the wpForo Usergroup will not be automatically changed. wpForo functions are subscribed to WordPress hooks, and they work once the hooks are called by the plugin which changes the User Roles. If the plugin is not well codded, then there is no way to keep them updated synchronous. You issue requires very large debugging and deep checking. This is out of the free support for sure, so you will need to contact gVectors Custom Development Team via sales[at]gvectors.com email address and ask for paid help.

Powered by gVectors Team. our popular plugins:
wpForo, wpDiscuz

Reply
709298 summer
Posts: 3
 709298 summer
Topic starter
July 30, 2021 5:40 pm
(@709298-summer)
New Member
Joined: 10 months ago

@martin @robert

Attached is screen shot of the usergroup and user role sync status.  User role sync is showing the correct member count but not usergroup.  

 

 Usergroups.png
Reply
1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8959
Robert - Twitter
August 2, 2021 5:47 am
Reply to709298 summer709298 summer

@709298-summer,

First, you should know that only the primary usergroups can be synchronized with user roles. Don't use secondary usergroups if the synchronization is important. All users should have one usergroups and that usergroup should be attached/synched with one user role:

 

wpForo synchronizes usergroups with user roles automatically if the user role changing process goes through standard WordPress functions, including the ‘set_user_role’ action hook. This is the correct and the only way to say other plugins that the user role is changed and initiate other processes like forum Usergroup synchronization. So you should contact the plugin support which changes the user roles and ask them whether they use the standard hook or not. If they don't use this hook, then there is no way to synchronize user roles with usergroups.

You can try the user role synchronization in Dashboard > Users > Edit User admin page. Just change a user role, and you’ll see the wpForo Usergroup will be changed automatically according to the synchronization rules.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • How to assign multiple forum groups to 1 user + Syncing with secondary/multiple Wordpress user groups
    3 months ago
  • Sync problems
    4 months ago
  • Help with UserGroup Confusion
    7 months ago
  • Integation with Woocommerce Memberships
    8 months ago
  • Participants
    9 months ago
Topic Tags:  user role synch (3), usergroup synch (7),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • File in antisapm protection not deleted

    By pesimist57, 4 hours ago

  • How to make URL dynamic like - post1233

    By kedy, 6 hours ago

  • Error 2253 Root Cause

    By aaronmckeon, 23 hours ago

  • Forum page

    By Charlespresh, 2 days ago

  • How can I make notification bell appear site wide?

    By marios, 2 days ago

  • wpForo not working correctly with Silk browser on Fire 7 Tablet

    By starman71, 3 days ago

Topic Tags

  • translation49
  • css49
  • plugin conflict48
  • seo45
  • new features43
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode30
  • spam29
  • phrases28
  • forum accesses28
View all tags (2160)

Recent Posts

  • RE: Show Likers with their avatar

    Hi @chris thanks for your helpbut what do you mean b...

    By Tutrix, 29 mins ago

  • RE: File in antisapm protection not deleted

    Hi @pesimist57, This is not related to wpForo, please...

    By Chris, 2 hours ago

  • RE: How to make URL dynamic like - post1233

    @martin @chris Yes I understand this. I know the sh...

    By kedy, 5 hours ago

  • RE: how to add image in the post?

    I think it's working.. Thank you @chris

    By kedy, 6 hours ago

  • RE: wpForo 2 Major Update is Imminent!

    Damn, i was really looking forward to this feature as I...

    By Macky, 17 hours ago

  • RE: How can i remove the Buttons under Name?

    @y-3 ##wpforo #wpforo-wrap .wpfl-1 .wpforo-post .wpf...

    By Tutrix, 19 hours ago

  • RE: Error 2253 Root Cause

    Hi @robert - Thanks. I have reviewed those threads and...

    By aaronmckeon, 20 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,749 Topics
49.4 K Posts
3 Online
43.3 K Members

Latest Post: Show Likers with their avatar Our newest member: Internet Marketing And You: St... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation