Actions

Setting user registration policy

From Joomla! Documentation

Revision as of 15:52, 25 April 2013 by JoomlaWikiBot (Talk | contribs)

Split-icon.png
Split Page into Specific Joomla! Versions - J2.5 and J3.1

It has been suggested that this article or section be split into specific version Namespaces. (Discuss). If version split is not obvious, please allow split request to remain for 1 week pending discussions. Proposed since 11 months ago.

Contents

What is user registration?

Login module example.png

By default casual visitors are allowed to register themselves on your website to gain access to additional resources. For example, registered users might be allowed to submit news items or web links. Your Joomla! website implements a user registration policy which can be adapted to suit your particular requirements so you decide what additional resources are made available. You can disable user registration altogether if you prefer.

Users register themselves on your website using the "Create an account" link on the Login Form module or the "Register" link on a Login Form page. Once registered, users will log in to your website by entering their username and password using the same form. There are also links on the form to manage users who forget their usernames or passwords. If you use the Login Form module you can assign the module so that it appears on one or more pages in any module position. Alternatively you can create a Menu Item which takes the user to a page where the Login Form will appear instead of regular content.

You can disable user registration but still have the Login Form module enabled or a Login menu item available. In this case there will be no "Create an account" or "Register" link shown on the Login Form and you will need to register users manually from the Administrator back-end. Once registered they will be able to login on the front-end as normal. This allows you to retain complete control over user registration.

To change user registration settings

Set "Allow user registration" to "no" to stop users to create an account for your site themselves.

J1.5:User registration settings are managed in the Global Configuration screen in the Administrator back-end. To change the user registration settings, do this:

  1. Log in to the Administrator back-end. To learn how to do this read: Logging in or out of the Administrator back-end.
  2. Click on the Global Configuration button in the main Control Panel or click the Site > Global Configuration menu item.
  3. There are so many configuration options that they need to be divided into separate groups or tabs. Click on the System tab.
  4. You should see a group of configuration fields under the title User Settings.
  5. Change the User Settings fields to suit your requirements.
  6. Click the Save or Apply toolbar button to implement the new settings:
    • The Save toolbar button will save your changes and return you to the Administrator Control Panel.
    • The Apply button will save your changes but leave you in Global Configuration.
  7. You should see a blue message: "The Global Configuration details have been updated." which confirms that your changes have been saved.


To disable user registration altogether

User registrations are enabled in a default Joomla! installation. However there might be cases where you use extensions as a replacement and wish to turn off the default Joomla user management. To do this you must perform the following steps:

Joomla 1.5

User Registration in Joomla 1.5
If you do not want visitors to your website to be able to register themselves as your Joomla! website users, do this:

Joomla 2.5

400px‎

Navigate to Users  User Manager then click on User Manager. Once in User Manager Screen, click on 'Options' Toolbar button to show the pop up window, as in image above. Click to fill bubble next to Allow user registration, then click save.

To allow only manual user registration

If you want to allow certain (authorised) users to be able to log in to the front-end, but not allow regular site visitors to be able to register themselves, do this:

  1. disable user registration by changing the Allow User Registration field in Global Configuration to No. To learn how to do this see Changing user registration settings.
  2. set up a Login Form somewhere on your website. There are two ways this can be done:
    • the Login Form is a Module assigned to a module position. The exact location where the Login Form will appear will depend on the Template being used. Typically it will be in a column to the left or the right of the main content. It is possible to assign the Login Form module to appear on one or more pages of your website. To learn how to do this see Customising the Login Form module.
    • the Login Form is associated with a Menu Item. When clicked, the Login Form appears where the content would normally be. To learn how to do this see Creating a Login Form menu item.

To allow user registration

If you want your site visitors to be able to register themselves so as to gain access to additional resources, do this:

  1. enable user registration (this is the default). This is done by changing the Allow User Registration field in Global Configuration to Yes. To learn how to do this see Changing user registration settings.
  2. Optional: Set the New User Registration Type field in Global Configuration to the user type that self-registered users will be given when they complete the registration process. This should normally be set to Registered (which is the default).
  3. Optional: Set the New User Account Activation field in Global Configuration:
    • If set to Yes the user will be emailed a link to activate their account before they can log in. This is the default setting. This is a simple validation step because to complete the registration process the user must enter a valid email address to which they have access. It reduces the number of spammers creating fake accounts on your website.
    • If set to No the user account will be activated immediately and the user can log in straight away (even if their email address is invalid).
  4. set up a Login Form somewhere on your website. There are two ways this can be done:
    • the Login Form is a Module assigned to a module position. The exact location where the Login Form will appear will depend on the Template being used. Typically it will be in a column to the left or the right of the main content. It is possible to assign the Login Form module to appear on one or more pages of your website. To learn how to do this see Customising the Login Form module.
    • the Login Form is associated with a Menu Item. When clicked, the Login Form appears where the content would normally be. To learn how to do this see Creating a Login Form menu item.

Restricting user access to resources

Restricting user access to resources