Re: Securing components from non logged in users
gpo1 you just need to create a php file and drop it in /mu-plugins instead of putting the code in bp-custom.php. You can use the plugin header below:
/*
Plugin Name: bpRestrict – BuddyPress Plugin
Plugin URI: http://code.ourcommoninterest.org/
Description: Restricts non-logged in users from certain areas
Author: Burt Adsit
Version: 0.1
Author URI: http://code.ourcommoninterest.org/
License: GNU GENERAL PUBLIC LICENSE 3.0 http://www.gnu.org/licenses/gpl.txt
*/