How to make buddypress private

Do you know of any codes that can help redirect those pages (activity, forums, members, groups) to the buddypress signup page?

In sum can I make buddypress private?

Thanks

If someone needs to hide the buddypress components here is how to do it.

( Thanks to Tammie for supplying the codes)

To do that you will need to wrap the navigation for that in a check for logged in or not.

1. Open up library/components/buddypress/buddypress-navigation.php

2. Find line 19 and after it add:

<?php if ( is_user_logged_in() ) : ?>

3. Find line 42 and after it add:

<?php endif; ?>