http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-pages-like-groups-forums-members-and-updates-only-accessible-to-members/?topic_page=2&num=15
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 <div class="padder"> tag:
<?php if (current_user_can("access_s2member_level1")){ ?>
Then add this just before the corresponding closing </div> tag:
<?php } else { ?>
You could add a message here for users who do not have the right access level.
<?php } ?>
See the “s2member” > “API/Scripting” section for more examples of how to customize the restriction or display of specific content.
For me, this file was in: mytheme/members/ and the tag was not padder. But hey, it worked fine.Statistics: Posted by gvdsleen — February 2nd, 2011, 9:26 am
]]>