Actions

Difference between revisions of "Setting user registration policy"

From Joomla! Documentation

(Cat added)
(Marked this version for translation)
 
Line 23: Line 23:
 
<noinclude>
 
<noinclude>
 
<translate>
 
<translate>
 +
<!--T:11-->
 
[[Category:User Management]]
 
[[Category:User Management]]
 
</translate>
 
</translate>
 
</noinclude>
 
</noinclude>

Latest revision as of 08:40, 10 August 2015

Other languages:
English • ‎français
Copyedit.png
This Article Needs Your Help

This article is tagged because it NEEDS UPDATING. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.

Reason: rewrite article to flow better


What is user registration?

Login module example-en.png

Up to Joomla 3.4 casual visitors were by default 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. Since Joomla 3.4 it is disabled for new installations by default.

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 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. Since Joomla 3.4 it is disabled by 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