It's hard to believe that summer is nearly over. Since this is typically the time of year where we re-focus and start anticipating the fall and winter months, we thought we'd end the summer with a feature spree! Here's how it'll work: We will have a total of three releases in September. After today's release, the next two will be on 9/15 and 9/29. We're starting September with a bang, and ending it with a bang! Keep an eye on our blog and social media accounts to learn more.
This release of LightCMS brings you several important new user-related features, including user registration, an expanded user profile, and the ability to use the same email address on multiple sites. Keep reading to learn more about these and the other features you’ll find in this release.
Same Email, Multiple Sites
Previously, an email address was constrained to the site or account where it was originally used for sign-up, and the email address could not be used for an account on any other LightCMS site. This release removes that email restriction. Now you can use the same email address for accounts on any number of LightCMS sites, no matter if it is three or 300!
Login & Register Element
This release brings a new feature to the Login element and renames the element to Login & Register.
Now when you add the Login & Register element to a page, you specify the element type in the settings. If you specify that the element type is Login, then the element gives you the same familiar login element you are used to. If you select Registration as the element type, you are presented with several new settings that enable you to configure the element for new user registration on your site. These settings enable you to:
- Specify the custom role to which registered users should be assigned. You should define a custom role such as “registered” to serve as the default role. You can always change a user’s role later if you need to.
- Configure how registration confirmation should be presented. You can select from one of two options.
- Modal with Custom HTML: If you select this option, you can enter custom text to appear on the modal once a user has completed the registration.
- Redirect to Page: If you select this option, then you can specify the page to which a user is redirected after completing the registration form. Be sure to create your registration confirmation page prior to setting up the registration element. Normally, on this page, you will want to thank the user for registering and provide them with any additional instructions, such as reminding them to check their email and to click the confirmation link that is sent to them.
- Specify the email address where you want to be notified when a user registers.
- Configure the email verification options. This is the email that will be sent to the user who register. The configuration options include:
- The email address that should be used as the reply to address. If you don't specify an address, then the reply to email will be sent to firstname.lastname@example.org.
- The subject of the email.
- The text of the email you can use the standard default text or write your own. If you write your own, be sure to include the [verificationURL] parameter in the email. This parameter generates the link the user will click to complete registration. You cannot save your changes to the registration element if you omit the [verificationURL] parameter.
Updated Login Status Token
With the addition of user registration, you will likely want to provide a way for users to update their profiles. The login status token has been updated to provide more features to support the expanded user profile and registration. Here you see the default styling for the updated token.
The default display shows the user name and avatar. Pointing to the name displays the Edit Profile and Sign Out options in a dropdown list. In the following login status code sample, you can see that the token uses an unordered list with default styling. You can style the list to match the look of your site and also to include additional links.
If you don't want users to edit their profiles, then remove the list item for [editprofileurl] from the login status token.
Enhanced User Profile
Now that you can let users register on your site, you may want to gather more information about them. This release also brings you an expanded user profile page. Previously, you could store only basic information about your users. The expanded user profile lets you gather more information about your registered users. The profile now includes:
- Home and Cell Phone Numbers
- Home Address
- Work Address
Customized Template for User Profile
Now that users can edit their own profiles, we thought it was a good idea to present the user profile page on a normal site page, instead of through the administrator UI. You can create a custom userprofile.html to style this page however you like. If you do not create a userprofile.html file, then the user profile page uses the detail.html template file. If you don’t have a detail.html, the profile page uses the default template selected for the site.
Look for these great new user features on the morning of September 1. And if you haven’t already heard, September is going to be an awesome month for releases, with two more following on 9/15 and 9/29.
2015.8 Release Notes
- The Login element has been renamed to Login & Register and includes options for adding a registration element to your site.
- The user profile page can be customized through the use of a userprofile.html file.
- Changed the Login button and Search button from <input> to <button>.
- Previously, an email address could be used for an account only on one site. Now the same email address can be used for user accounts on multiple sites.
- The user profile page has been expanded to include several new fields including home phone, cell phone, Twitter, Facebook, company/organization, home address, and work address.
- The Login Status token has been updated to include new options for editing a user's profile
Posted on Tue, September 1, 2015
by Support filed under