Setting user registration policy

From Joomla! Documentation

Revision as of 22:38, 12 November 2022 by Cmb (talk | contribs) (Changes for Words2Watch compliance.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎العربية • ‎فارسی • ‎中文(中国大陆)‎
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?[edit]

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 Backend. Once registered they will be able to login on the Frontend as normal. This allows you to retain complete control over user registration.

To Allow Only Manual User Registration[edit]

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 template 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[edit]

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. (Since Joomla 3.4 it is disabled by default.) This is done by changing the Allow User Registration field in user options to Yes. To learn how to do this see Changing User Registration Settings.
  2. Optional: Set the New User Registration Group field in user options to the user group 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 user options:
    • If set to None the user account will be activated immediately and the user can log in straight away (even if their email address is invalid).
    • If set to Self the User will be emailed a link to activate their account before they can log in.
    • If set to Administrator the user will be emailed a link to activate their account before they can log in. Then all users set to receive system emails and who have the permission to create users will be notified to activate the user's account. 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.
  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