Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

How do I set up a members-only area?

Put the pages in a section of their own, which visitors cannot read, and give a role with content/read limited to that section to the user group of the members.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/manual/how-do-i-set-up-a-members-only-area.md

On this page

How do I set up a members-only area?

Visitors who are not logged in may read only what the Anonymous role allows, which on a standard site is the section Standard. Pages in another section are therefore closed to them. Members see the pages because one of their roles allows reading that section.

Who can do this

An administrator, or a user whose roles give section/edit, section/assign and role/*.

Steps

  1. Create a section, for example "Members area", and assign the folder with the members' pages to it, as described in How do I create a section and put content into it?.
  2. Log out, or open the site in a private browser window, and open one of the pages. The page is refused and is gone from menus and lists.
  3. In the administration, open Users in the top menu and choose Roles and policies.
  4. Click New role and name it, for example "Members area reader".
  5. Click New policy, choose module content, then Grant access to one function, function read, and Grant limited access.
  6. Under Section, choose "Members area" and click OK.
  7. Click Save.
  8. On the role's page, click Assign and choose the user group of your members.
  9. Log in on the site as a test member and open the page again. The page is shown.

What can go wrong

  • Members cannot log in at all. Logging in on a siteaccess needs the policy user/login for that siteaccess in one of the user's roles. On a standard site the role that lets visitors log in already carries it; a group you created yourself may lack it. Check the member's Roles and Policies tabs (How do I see what a user may do?).
  • Images on the members' pages are broken. Images and files usually live in the media library, in the section Media. If you put them in the members' section too, they are closed to visitors as well, which is often what you want.
  • Visitors still see the pages. A cached page from before the change can be served for a short time, and the Anonymous role may have a content/read policy without a section limit. Check the Anonymous role first, then clear the content cache (Which cache do I clear, and how?).
  • A member sees the page only after logging in again. Rights are cached per user and are read again at the next login.
  • New members end up in the wrong group. People who register on the site are created in the group named by site.ini [UserSettings] DefaultUserPlacement (a node ID). Assign the role to that group, or change the setting.

Data protection: Hiding pages in a section keeps them from visitors and search engines, but every member of the group can read and copy them. Do not put data there that only some members may see; give those pages a section and a role of their own.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x