Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to make pages like Groups, Forums, members and updates only accessible to members?


pcwriter
Participant

@pcwriter

@gvdsleen

Once BP1.3 is released, this issue should be resolved as it will use WP pages for components. You will then be able to use s2member’s page access restrictions for components like Members. In the meantime, you can protect any component directory from unauthorized member levels by editing its index.php template.

Add the following just after the opening `

` tag:

Then add this just before the corresponding closing `

` tag:

`
You could add a message here for users who do not have the right access level.
`

See the “s2member” > “API/Scripting” section for more examples of how to customize the restriction or display of specific content.

Skip to toolbar