# Module Users

The module Users is a small registration and login function for visitors to the site. As a first step, the module must be installed and configured in the administration. The installation is only possible if the server supports SQLite3. After the message "database was created" should be the basic settings under the Settings menu item.

In the module user groups can be created and users are sorted into this group. This offers the possibility pages for "normal" visitors to lock and release only for individual user groups. Also, single side parts are made visible in the source code using the group ID for a group:
<?PHP if(in_array('GROUPID', $showpartfor)) { ?>
locked region are visible to GROUPID
<?PHP } ?>

Further explanations are in the Administration window.

## Loginblock

Login As option the file "loginblock.php" can be a cross-page includiert as a block:
<?PHP include "includes/users/loginblock.php"; ?>
The appearance can be changed in the "loginblock.css".

## User pages

For the user pages, a new page must be created and the file "userspage.php" are includiert:
<?PHP include "includes/users/userspage.php"; ?>
In the file /settings/globalvars.php an extra-Login link with the variable $webutler_config['showuserlogin'] can be set on and off. The design can be adapted during the "userspage.css".

Templates for the login block and user pages can be found in the directory / TPLS.