In this section, you will learn the basics of user management. How to edit group permissions, create a new group and add a new user to groups.
Your account is that of an administrator and as such, you are able to do anything.
But what do anonymous users and registered users see in your site? Let's find out.
Click "logout" to become an anonymous user. This will take you to the homepage.
Once there, you notice that the main menu block no longer shows "news" nor "forum".
So let's give our anonymous users some permissions. Login once again as adminstrator and go to the control panel.
From the User Module side-menu, click Group Management.
You will see a list of all the groups.
Since we have not created any of our own groups, these are the system-fixed groups, which you learned of in Step Two. On the right hand side of the Anonymous Users row, there are a set of 4 icons. Click the permissions icon of this row.
This leads you to the next screen, look at the top section, "System/module permissions". Here, each module is listed and for each youhave two options, "access" and "admin". In a large site, it is sometimes a good idea to have a trusted colleague that takes on some of the administration tasks for some modules. By selecting the "admin" checkbox, you can easily allow any group to have administration permissions for any module. Right now, though, we simply want the anonymous users to be able to have "access" to the "news" and "forum" modules. Select the "access" checkbox for both of these modules, then click
Let's confirm the result. Click "logout" to go back to the homepage as an Anonymous user. Now you should be able to see and have access to those modules.
You also need to check what registered users can see and do on your site. For that, you need to create a new user as a test account. Login as administrator and go to the Admin side, the Control Panel. From the User Module side-menu, click User Management. Then, click on "Add a new user".
You will see the form to create a new user. You must fill the form fields of User name (Login ID), email and password.
This is the user's Login ID. These must be unique. This time, enter "test".
You must enter a unique email address, this is a precondition of XOOPS2. For now, input an e-mail address different from your administrator account.
Threre are two boxes for the password. Type the same password in the two boxes, the passwords must match. For now, use "test"
Note that the new user is automatically add to the Group of "Registered Users". Click on
Having created a new user successfully, go ahead and login with the new account. You can no longer see the news and forum links in the main menu block. Yes, that's right, it's because the registered users group don't have access permissions. Login as an Administrator and give access permissions to the Group of registered users, in the same way that you gave permissions to the anonymous users group.
Now let's launch your site! Make some final settings. You previously invalidated the new user registration. To change the setting back again, login as administrator and from the Control Panel, go to the User Module side-menu and click Preferences.
Enable "Allow new user registration?". Now, let's check some of these other settings, too.
When a new user registers, specific groups can get email notification.
After registering, a user must be activated. Being activated means being able to log in. There are several ways to activate users.
This allows a user to upload their own avatars (picture/graphic), typically used in forums.
Everything is set! Click !
Since many users will use your site, it can soon become difficult to manage your site by yourself. So, you decide to add your wiling friends as administrators. To do that, you first need to create a new group with specific permissions. Let's try it! First of all, let us assume that two of your friends, Jorn Dagrus and Michel Romano are currently registered users who we are going to elevate to become administrators.
First you will need to create two new users, "John Dagrus" and "Sean Romano".
Then, from the User Module side_menu, go to Group Management and create a new group called "News Administrators". Now, you need to add "John Dagrus" and "Sean Romano" to the group. There are several ways to do this, here are two, using the Group Member function and the User Search function.
On the right hand side of News Administrators row, there are a set of icons. Click the icon on the far right of this row. This is the members icon.
You will see two user lists --- a list of members and one of non-members.
In the list of users who are not members of this group, the first column is labelled "Assign" and has a checkbox. Find "John" & "Sean", click the checkbox of their rows, and click .
This function is a standard function, but it's not useful when you have a lot of users.
Try to search for users name through "User Search". From the User Module side-menu click User Search.
You will see the user search form. You can find users by filling different parameters, or simply the user name.
So, let's search for Sean.
Then, click the edit-icon in the search result. This will show you the edit form and there you can change the Groups that Sean is a member of.
Well, you've just finished learning the basic uses of XOOPS Cube Legacy. Now you know modules, blocks and basic user management, it will take you no time at all to get up and running with a powerful yet easy to manage website solution. For more informations, use the other help files in XOOPS Cube Legacy and Google.
Wishing your site a very successful future.
XOOPS Cube Legacy only sets up a basic permission mechanism. This means that modules may have much greater permission controls. Also, XOOPS Cube has a role-based permission mechanism. If you want to understand XOOPS Cube more, you really should learn this.