What you will have at the end
Your community has a members' area, for example under /members/. Everything you put into it opens only for members, without a rule on each item.
Words used in this article
- Folder. A part of the community's addresses, such as
/members/, under Menu Management → Folders. Folders can hold sub-folders. These folders are not the folders of the media library or of Files. - Who can see. The rule that decides who sees the items.
- Smart Hub and community. The Smart Hub is the run.events application on which members and visitors read content, meet and connect. A community is one site of the Smart Hub, with its own address and members; you run it in its admin area: sign in on the community, then choose Me → Admin.
- Override. A switch on an item, a folder, a feed or an event that gives it a rule of its own, instead of the rule it would otherwise follow.
- Teaser and Hidden. What people below a rule see of an item. See a teaser shows its pre-title, title, subtitle and picture, with a lock in place of the content. Hidden leaves the item out altogether.
Before you start
- You are a community Administrator.
- Decide who should count as a member. In an Open community, anyone who signs in can join with one click. For a closed members' area, set Who can join to Approval or Invitation only.
Step 1: Create the folder
- Choose Me → Admin. In the sidebar, under Menu Management, choose Folders.
- Choose Add Folder. Fill in Folder Name, for example Members. Folder Path (Slug) follows the name, for example
members: the folder's address is the community's address followed by/members/.
Step 2: Set the folder's rule
- Open the folder and find its section Access. Switch on Override: "Set who can see the items in this folder and its sub-folders."
- Under Who can see, choose Members.
- Under Others:, choose See a teaser to show members-only items with a lock, or Hidden to keep them out of sight.
- Save the folder.
Step 3: Put items into the folder
- Open an article, a video or a page in the admin area, under Content.
- In its editor, in the field Folder, choose your folder.
- Save.
The item's tab Access now begins with "Inherited from folder members: Members". New items you put into the folder follow the rule at once.
Step 4: Link the area from the menu
Add the folder's items to a menu, so that members find the area (How do I build the home page and the menus of my community?). One item of the folder can be marked Root element for folder in its own editor; it then shows at the folder's own address, such as /members/, and makes a good welcome page. With Hidden, people who are not members do not see the menu entries at all. With See a teaser, the entries stay, and lead to the item with its lock.
How the folder's rule works with other rules
run.events uses the first rule it finds, in this order: the item's own Override, the item's folder, the folders above it, the community's default on Who can see, the built-in default.
So:
- An item in the folder with its own Override keeps its own rule. Use this for one open item in the area, such as a welcome page with Everyone.
- A sub-folder with its own rule wins over the folder above it. A sub-folder
/members/board/can be stricter, for example a ticket level. - Moving an item out of the folder gives it the community's default again.
Good to know
- In the folder's own section Access, the line above the rule reads "Community default for articles", even when the folder holds videos and pages, unless a folder above it has a rule.
- A change reaches every server within five minutes.
- The sitemap of the community lists the folder's address, whatever its rule. The items themselves follow the rule.
Common mistake
Linking a document from Files inside the members' area and taking it for protected. A share link opens for anyone who has the address. The members' area hides the link, but not the file.
What run.events does not do here
- There is no level for a group within the members, such as the board. A ticket type that only the board holds, chosen with Selected ticket types on a sub-folder, comes closest.
- Members do not see a list of the files in Files. Link each document from an article or a page.
Related articles