Notifications
Clear all

wpForo 1.x.x User Roles and Permission Issues

4 Posts
3 Users
1 Likes
5,606 Views
Posts: 1
Topic starter
(@srich)
New Member
Joined: 5 years ago

Hi,

Thanks for your efforts on this great plugin. The plugin is fully installed and works great but I'm having issues with the user roles.  I have 3 questions.

1. I'm using a theme with multiple Woo Commerce Plugins. The user roles do not match WPForo user roles. When I add a user role such as "subscriber", the WPForo does not populate the new "subscriber" role on the dashboard. Is there a way to get the system to recognize that these users aren't customers but subscribers?

2. There is no moderator role in theme I'm using and it wasn't added with installation. Can Administrators moderate? If not, is there a way around this?

3. I would like to turn off access to all roles except Administrator/Moderator, Customer and the newly added role Subscriber. Is this possible?

Thanks

3 Replies
Robert
Posts: 9966
Admin
(@robert)
Support Team
Joined: 7 years ago

wpForo doesn't have user roles. wpForo does automatic synchronization WP user roles with wpForo Usergroups. At the moment all registered users have subscriber user role and Registered/Customer usergroup. Usergroups doesn't have any relation to your theme, and wordpress roles. They are separate components. usergroups are only designed to control forum accesses. More infor in doc:

https://wpforo.com/docs/root/members/usergroups-and-permissions/

https://wpforo.com/docs/root/wpforo-settings/forum-accesses/

 

Reply
Posts: 1
(@max-sturm)
New Member
Joined: 4 years ago

Same issue here, i don't understand the point of that  :"Usergroups doesn't have any relation to wordpress roles". In this case it's same as a standalone forum for me, don't need to integrate it in WP.
I don't even understand how you can match the 2 worlds in your doc :

  • Admin – forum administrator
  • Moderator – users who can moderate forum topics and posts
  • Customer – users registered on product purchase process (WooCommerce)
  • Registered – regular registered users
  • Guest – not authorized visitors

 

The forum in itself is very good, so it's frustrating.

 

Reply
Robert
Posts: 9966
Admin
(@robert)
Support Team
Joined: 7 years ago

Hi @max-sturm

Please note that WP User Roles like subscriber, contributes, author, editor, etc don't have any affection in forum accesses. They are not used in forum. They are synches with forum Usergroups. And forum Usergroups are used to get different accesses to different forums. Please follow the steps below to see wpForo Usergroups and Forum Accesses...

Step 1: Understand that in forum there is no Roles like Subscriber or so. wpForo has Usergroups for this purpose. And each Usergroup is synced with WP User Roles. For example Subscribers are the same users with  Registered Usergroup. The Registered Usergroup is the same Subscriber User Role. You can see that they are synced together in Forums > Usergroups admin page. So saying Subscriber Role you should understand Registered Usergroup in wpForo Forum.

Step 2: wpForo forums have permission settings in Edit Forum screen. Edit the forum and use these settings to control Usergroup accesses and privileges in that forum. Each Usergroup has some Forum Access set in each forum. For example The Registered Usergroup ( Subscriber User Role) has Standard Forum Access by default in all forums. You just need to set Read Only forum access for Registered usergroup that forum. Then navigate to Dashboard > Forums > Dashboard and click on [Delete all caches] button.

Step 3: Understand the Forum Accesses. Forum Accesses are set of forum permissions. For example, you just selected "Read Only" access for Registered usergroup. You can find all permissions of Read Only access in Dashboard > Settings > Forum Access > Read Only (edit) screen. You can see that "Can create topic" and "Can post reply" permissions are disabled for this forum access. So your users with Registered Usergroup (Subscribers) will not be able to post create a topic or reply in that forum.

Step 4: Secondary Usergroups have the same power like the Primary Usergroup. It allows to set multiple Usergroups to the same user. For example if Usergroup A has access to Forum A and Usergroup B has access to Forum B and you want User AB to have accesses to both Forum A and B you should set User AB primary Usergroup A and Secondary Usergroup B or vice versa

Reply