Slide 1: BuddyPress
in early 2009
Andy Peatling
Social Engineer, Automattic
apeatling.wordpress.com / @apeatling
Sunday, January 25, 2009
Slide 2: BuddyPress will transform an installation of WordPress MU into a social network platform.
Sunday, January 25, 2009
Slide 3: Extended Profiles
Private Messaging
Friends
Blogs
Groups
Wire
Activity Streams
Forums
Default Home Theme
Default Member Theme
Status Updates
Albums
09 20
09 20
Sunday, January 25, 2009
Slide 4: Blog Themes
Member Themes
A WordPress blog theme can be converted to a BuddyPress member theme with a few simple steps.
Sunday, January 25, 2009
Slide 5: Plugin Files
Home Theme
Member Theme
wp-content/mu-plugins
wp-content/themes
wp-content/member-themes
Sunday, January 25, 2009
Slide 6: Sunday, January 25, 2009
Slide 7: Potential Uses
★ Business or school internal social networks ★ Niche social networks ★ Adding social networking features to existing blog networks ★ Interacting with fellow bloggers on WordPress.com
Sunday, January 25, 2009
Slide 8: Why use WordPress?
★ Easy database access and manipulation ★ User management and access control ★ Powerful XML support, importing/exporting, XML-RPC ★ Active and supportive community ★ Localization support built right in
Sunday, January 25, 2009
Slide 9: Existing Plugins & Themes with BuddyPress
★ Add new features with already existing plugins ★ Use any WordPress theme (with some easy steps) ★ A complete developer platform already exists
If you can write a WordPress plugin, you already know how to create or extend BuddyPress components.
Sunday, January 25, 2009
Slide 10: All components follow the same file and code structure. Standardization and consistency makes happy developers.
Sunday, January 25, 2009
Slide 11: bp_core_add_nav_item( ‘Profile’, // Name ‘profile’ ); // Slug
bp_core_add_subnav_item( ‘profile’, // Slug of parent ‘Edit Profile’, // Name ‘edit’, // Slug $bp[‘loggedin_domain’] . ‘profile/’ ), // parent URL ‘xprofile_screen_edit’ // Function to run when clicked );
Sunday, January 25, 2009
Slide 12: bp_core_add_subnav_item( ‘profile’, // Slug of parent ‘Edit Profile’, // Name ‘edit’, // Slug $bp[‘loggedin_domain’] . ‘profile/’ ), // parent URL ‘xprofile_screen_edit’ // Function to run when clicked );
function xprofile_screen_edit() { bp_core_load_template( ‘profile/edit-profile’ ); }
Or, use the built in plugintemplate.php file
wp-content/member-themes/profile/edit-profile.php
Sunday, January 25, 2009
Slide 13: http:// domain.com / members / andy / profile / edit / group / 1
$bp[‘current_component’] (String)
$bp[‘current_action’] (String)
$bp[‘action_variables’] (Array)
Easily create and use pretty URL’s in your custom component
http:// domain.com / members / andy / wordcamps / attended / whistler / 2009
Sunday, January 25, 2009
Slide 14: Full list of BuddyPress actions & filters: http://codex.buddypress.org/
Sunday, January 25, 2009
Slide 15: Sunday, January 25, 2009
Slide 16: The Future
★ Beta 2 - Next week / Final - Early February ’09 ★ Albums & Status Updates components ★ BuddyPress.org developer community site ★ Open standards support / distribution of data ★ BuddyPress for WordPress?
Sunday, January 25, 2009
Slide 17: Thank You!
Questions?
BuddyPress project: http://buddypress.org Testdrive BuddyPress: http://testbp.org
Sunday, January 25, 2009