Build Your Own Business Website header image

Setup a Forum on your WordPress Website Using Simple:Press Part 8 – Setup Forum User Groups

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

So far we have configured the Simple:Press options and Simple:Press components. And now it’s time to turn our attention to User Groups and Permissions. The heart of access control in the forum are user groups.

Access Control through User Groups

You have user Groups and you have Permissions assigned to those user groups. Then you assign user groups access permissions to certain forums. At that point you’ve got all of the components working together.

Guests, Members and Moderators

It starts off with this basic area: Guests, Members and Moderators. We’re not going to use Members so it doesn’t matter. A guest is somebody who’s not logged in and we are not going to allow members to join this user group. We’re not going to give them a badge or anything else. This is essentially the non logged in person.

Create New User Groups

Then you have Moderators and a moderator is somebody that you give access to and so that’s already built-in, we don’t have to do that. But we do want to create 2 new user groups.

We’re going to create a user group and call it Professional Thesis Skin Development Class. The description will be Students in the Professional Thesis Skin Development Class. We don’t have any badges and we’re not going to allow them to join it themselves.

This user group people will be automatically added to this one when they register for the class but we’re not going to let other members choose to be part of the group. Then we’ll create that new user group.

Now we’re going to create one more user group and that is the Web Design Bootcamp Class and this will be for Members of the Beginning Web Design Bootcamp Class. Again, we’re not going to allow people to choose to access this group.

Map Users to User Groups

So we’ve created these two user groups and now what we’re going to do is map users to user group. We don’t want to check this box. Users are limited to single user group membership.

I don’t want to check that box because in my situation if somebody is a member of the Bootcamp Class and they choose to take the Professional Class afterwards that’s great so I’m not going to limit them to that.

The default user group for guest is Guest. The default user group for members is Members and the default user group for the administrator at this point is Moderators. We’ll talk about the difference between forum administrators and administrators in a minute. So we’ll let other administrators be moderators.

For the default user group for editor, that’s a WordPress editor, we’ll make them Members. Author, contributor, subscriber – we’re not using these as user roles so it doesn’t really matter. The default user group for the ptsd_student is going to be Professional Thesis Skin Development Class and the default user group for bootcamp_student will be the Web Design Bootcamp Class.

Configure Map Users Function

Let’s update mapping settings. Because we already have a couple of users set up we’re going to use this Map Users function. We’re going to ignore current Simple:Press Moderators when mapping but we are going to add user membership based on WP role to existing memberships. So I’m going to map users to that.

Now 4 users are mapped and if I go look at my Users I have Joe Blow who is a part of Members and Professional Thesis Development, I have Laura Nugent who is a member in Web Design Bootcamp, I have me as the admin and I have WP Engine as a moderator. Because of that mapping it automatically happened.

We no longer have to worry about this any longer because as soon as somebody registers, and gets that user role they will be added to the correct Member group. This process becomes automatic as soon as we have configured this Map Users to User Group.

0 Comments… add one
0 comments… add one

Leave a Comment