/**
  * Only load code that needs BuddyPress to run once BP is loaded and initialized. 
  *
  * @author potanin@UD
  */
 function bp_init()
 {
     WP_CRM_F::console_log(sprintf(__('Executing: %1s.', 'wp_crm'), 'WPC_BuddyPress::bb_init()'));
     add_filter('wp_crm_settings_lower', array('WPC_BuddyPress', 'wp_crm_settings_lower'));
     add_filter('wp_crm_user_action', array('WPC_BuddyPress', 'wp_crm_user_action'));
 }