What is it? BuddyPressDEV.org is the community of BuddyPress' developers that creates and extend this platform.
[ Index ]

PHP Cross Reference of BuddyPress SVN Code

title

Body

[close]

/ -> bp-loader.php (source)

   1  <?php
   2  /*
   3  Plugin Name: BuddyPress
   4  Plugin URI: http://buddypress.org/download/
   5  Description: BuddyPress will add social networking features to a new or existing WordPress MU installation.
   6  Author: The BuddyPress Community
   7  Version: 1.1-bleeding
   8  Author URI: http://buddypress.org/developers/
   9  Site Wide Only: true
  10  */
  11  
  12  define( 'BP_VERSION', '1.1-bleeding' );
  13  
  14  /***
  15   * This file will load in each BuddyPress component based on which
  16   * of the components have been activated on the "BuddyPress" admin menu.
  17   */
  18  
  19  require_once( WP_PLUGIN_DIR . '/buddypress/bp-core.php' );
  20  $deactivated = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) );
  21  
  22  /* Activity Streams */
  23  if ( !isset( $deactivated['bp-activity.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-activity.php') )
  24      include ( BP_PLUGIN_DIR . '/bp-activity.php' );
  25  
  26  /* Blog Tracking */
  27  if ( !isset( $deactivated['bp-blogs.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-blogs.php') )
  28      include ( BP_PLUGIN_DIR . '/bp-blogs.php' );
  29  
  30  /* bbPress Forum Integration */
  31  if ( !isset( $deactivated['bp-forums.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-forums.php') )
  32      include ( BP_PLUGIN_DIR . '/bp-forums.php' );
  33  
  34  /* Friend Connections */
  35  if ( !isset( $deactivated['bp-friends.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-friends.php') )
  36      include ( BP_PLUGIN_DIR . '/bp-friends.php' );
  37  
  38  /* Groups Support */
  39  if ( !isset( $deactivated['bp-groups.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-groups.php') )
  40      include ( BP_PLUGIN_DIR . '/bp-groups.php' );
  41  
  42  /* Private Messaging */    
  43  if ( !isset( $deactivated['bp-messages.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-messages.php') )
  44      include ( BP_PLUGIN_DIR . '/bp-messages.php' );
  45      
  46  /* Wire Support */
  47  if ( !isset( $deactivated['bp-wire.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-wire.php') )
  48      include ( BP_PLUGIN_DIR . '/bp-wire.php' );
  49  
  50  /* Extended Profiles */    
  51  if ( !isset( $deactivated['bp-xprofile.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-xprofile.php') )
  52      include ( BP_PLUGIN_DIR . '/bp-xprofile.php' );
  53  
  54  /* Status Updates */    
  55  if ( !isset( $deactivated['bp-status.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-status.php') )
  56      include ( BP_PLUGIN_DIR . '/bp-status.php' );
  57  
  58  ?>


Generated: Sat Aug 22 14:49:03 2009 Cross-referenced by PHPXref 0.7 Thanks to