Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,993
- How-to & Troubleshooting
- 129,353
- Creating & Extending
- 25,784
- Requests & Feedback
- 9,480
- Third Party Plugins
- 9,784
- Showcase
- 3,319
- Ideas
- 1,401
- Miscellaneous
- 9,168
-
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 `
“
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS