mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-30 04:43:58 +08:00
git-svn-id: https://buddypress.svn.wordpress.org/tags/1.0@1472 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
54 lines
No EOL
1.8 KiB
PHP
54 lines
No EOL
1.8 KiB
PHP
<?php
|
|
/*
|
|
Plugin Name: BuddyPress
|
|
Plugin URI: http://buddypress.org/download/
|
|
Description: BuddyPress will add social networking features to a new or existing WordPress MU installation.
|
|
Author: The BuddyPress Community
|
|
Version: 1.0
|
|
Author URI: http://buddypress.org/developers/
|
|
Site Wide Only: true
|
|
*/
|
|
|
|
define( 'BP_VERSION', '1.0' );
|
|
|
|
/***
|
|
* This file will load in each BuddyPress component based on which
|
|
* of the components have been activated on the "BuddyPress" admin menu.
|
|
*/
|
|
|
|
require_once( 'bp-core.php' );
|
|
$deactivated = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) );
|
|
|
|
/* Activity Streams */
|
|
if ( !isset( $deactivated['bp-activity.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-activity.php') )
|
|
include( 'bp-activity.php' );
|
|
|
|
/* Blog Tracking */
|
|
if ( !isset( $deactivated['bp-blogs.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-blogs.php') )
|
|
include( 'bp-blogs.php' );
|
|
|
|
/* bbPress Forum Integration */
|
|
if ( !isset( $deactivated['bp-forums.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-forums.php') )
|
|
include( 'bp-forums.php' );
|
|
|
|
/* Friend Connections */
|
|
if ( !isset( $deactivated['bp-friends.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-friends.php') )
|
|
include( 'bp-friends.php' );
|
|
|
|
/* Groups Support */
|
|
if ( !isset( $deactivated['bp-groups.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-groups.php') )
|
|
include( 'bp-groups.php' );
|
|
|
|
/* Private Messaging */
|
|
if ( !isset( $deactivated['bp-messages.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-messages.php') )
|
|
include( 'bp-messages.php' );
|
|
|
|
/* Wire Support */
|
|
if ( !isset( $deactivated['bp-wire.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-wire.php') )
|
|
include( 'bp-wire.php' );
|
|
|
|
/* Extended Profiles */
|
|
if ( !isset( $deactivated['bp-xprofile.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-xprofile.php') )
|
|
include( 'bp-xprofile.php' );
|
|
|
|
?>
|