How to create member only content
Whether you're building an Intranet where your full site is behind a login page or just want to share some extra content with specific users, the ability to create member's only content is essential for a modern website.
Luckily for you, uSkinned Site Builder for Umbraco comes with 'Password Protected' features out of the box. You can utilise these features to hide and protect, either all of your content or only certain pages from users unless they have been registered as a Member of your site.
You can either manage member's manually from inside the CMS or you can add a registration form to your website's frontend to allow visitors to register themselves.
Create and view Member Groups
If someone is registered as a Member then they will be able to log in and view the password-protected content that has been assigned to their Member Group.
Login to the CMS
In the top bar, go to 'Members'.
On the left side, expand 'Member Groups'.
To create a Member Group, hover the folder and click the "..." icon, then Create.
As an example, during installation, we create a Member Group called 'Main Client'. So let's work with this for the time being.
Create and view Members
This is how you can create Members from inside the CMS.
Login to the CMS
In the top bar, click 'Members'
On the left side, expand 'Member'.
Click 'All Members'.
On the right side, click 'Create member'.
Add a name for the user, on the properties add the email address, username and password — or generate the password.
At the label 'Member group', click add.
From the slide-out panel, select the Member Group you wish to assign this user to.
Site Builder comes with forms to allow your website users to register as a member via your website's frontend.
An example Member Registration form is created when you install your uSkinned Site Builder, but below we will show you the steps to create your own.
Create a registration form
Login to the CMS
In the tree menu on the left, create a page or go to an existing page.
At 'Main content', click 'Add content'.
From the slide-out panel, choose the 'Form' component.
From the label 'Form type', select "Register form'. You can now refine the form settings related to the Member registration.
— Username configurations
— Admin approval option
— Email confirmation
— Email confirmation message
— plus lots more
Once you're happy with the settings, hit submit.
Save and publish the page. Visitors to your site will now be able to register for your password-protected content.
Create password protected content
You can password protect single pages, multiple pages or your entire website.
Login to the CMS.
In the tree menu on the left, go to any page or create a new page.
Once the page has been saved, right-click on it in the tree menu.
From the options, select 'Restrict public access'.
From the options, set:
— The 'Member Group' who can access this content.
— Login page location.
— Error page location — for users who are logged but do not have access.
At the bottom, hit 'Save'.
If you now access this page or its child pages on the frontend of your website, you will be presented with a login form.
uSkinned Site Builder
Get started — for FREE!
Join thousands of agencies, freelancers & businesses of all sizes worldwide who use uSkinned Site Builder for Umbraco to deliver results.