BuddyPress Installation
- Put files in
/wp-content/plugins/NOT the/mu-plugins. - Activate as side-wide plugin
Change Internal Configuration Settings
(from http://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/ )
- add configuration definition line to
wp-config.php
- Put profiles in the root — http://example.org/username/
- define ( 'BP_ENABLE_ROOT_PROFILES', true );
- define ( 'BP_ENABLE_ROOT_PROFILES', true );
- Change the default tab opened when looking at a user’s profile (default is activity):
- define( 'BP_DEFAULT_COMPONENT', 'profile' );
- define( 'BP_DEFAULT_COMPONENT', 'profile' );
- Enable support for LDAP usernames that include dots:
- define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true );
- Change the URL slugs of BuddyPress components:
- define ( 'BP_ACTIVITY_SLUG', 'streams' );
- define ( 'BP_BLOGS_SLUG', 'journals' );
- define ( 'BP_MEMBERS_SLUG', 'users' );
- define ( 'BP_FRIENDS_SLUG', 'peeps' );
- define ( 'BP_GROUPS_SLUG', 'gatherings' );
- define ( 'BP_MESSAGES_SLUG', 'notes' );
- define ( 'BP_WIRE_SLUG', 'pinboard' );
- define ( 'BP_XPROFILE_SLUG', 'info' );
- define ( 'BP_REGISTER_SLUG', 'signup' );
- define ( 'BP_ACTIVATION_SLUG', 'enable' );
- define ( 'BP_SEARCH_SLUG', 'find' );
- define ( 'BP_HOME_BLOG_SLUG', 'news' );
- Avatar specific settings can be changed:
- define ( 'BP_AVATAR_THUMB_WIDTH', 50 );
- define ( 'BP_AVATAR_THUMB_HEIGHT', 50 );
- define ( 'BP_AVATAR_FULL_WIDTH', 150 );
- define ( 'BP_AVATAR_FULL_HEIGHT', 150 );
- define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 640 );
- define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', $max_in_kb );
- define ( 'BP_AVATAR_DEFAULT', $img_url );
- define ( 'BP_AVATAR_DEFAULT_THUMB', $img_url );
- Set a custom user database table for BuddyPress (and WordPress to use):
- define ( 'CUSTOM_USER_TABLE', $tablename );
- Set a custom usermeta database table for BuddyPress (and WordPress to use):
- define ( 'CUSTOM_USER_META_TABLE', $tablename );
Create Custom BuddyPress Component
(from http://codex.buddypress.org/how-to-guides/creating-a-custom-buddypress-component/)