17
Buddy Press in early 2009 Andy Peatling Social Engineer, Automattic apeatling.wordpress.com / @apeatling Sunday, January 25, 2009

BuddyPress @ WordCamp Whistler 2009

Embed Size (px)

DESCRIPTION

Slides from the BuddyPress presentation given by Andy Peatling at WordCamp Whistler 2009.

Citation preview

Page 1: BuddyPress @ WordCamp Whistler 2009

BuddyPressin early 2009

Andy PeatlingSocial Engineer, Automattic

apeatling.wordpress.com / @apeatling

Sunday, January 25, 2009

Page 2: BuddyPress @ WordCamp Whistler 2009

BuddyPress will transform an installation of WordPress MU into a

social network platform.

Sunday, January 25, 2009

Page 3: BuddyPress @ WordCamp Whistler 2009

Extended Profiles Private Messaging Friends

Groups Wire Activity Streams

Blogs

Status Updates Albums

2009 2009

Forums

Default Home Theme

Default Member Theme

Sunday, January 25, 2009

Page 4: BuddyPress @ WordCamp Whistler 2009

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

Page 5: BuddyPress @ WordCamp Whistler 2009

Plugin Files Home Theme Member Theme

wp-content/mu-plugins wp-content/themes wp-content/member-themes

Sunday, January 25, 2009

Page 6: BuddyPress @ WordCamp Whistler 2009

Sunday, January 25, 2009

Page 7: BuddyPress @ WordCamp Whistler 2009

★ Niche social networks

★ Adding social networking features to existing blog networks

★ Interacting with fellow bloggers on WordPress.com

★ Business or school internal social networks

Potential Uses

Sunday, January 25, 2009

Page 8: BuddyPress @ WordCamp Whistler 2009

Why use WordPress?

★ Easy database access and manipulation

★ Powerful XML support, importing/exporting, XML-RPC

★ User management and access control

★ Active and supportive community

★ Localization support built right in

Sunday, January 25, 2009

Page 9: BuddyPress @ WordCamp Whistler 2009

Existing Plugins & Themes with BuddyPress

★ Add new features with already existing plugins

★ A complete developer platform already exists

★ Use any WordPress theme (with some easy steps)

If you can write a WordPress plugin, you already know how to create or extend BuddyPress components.

Sunday, January 25, 2009

Page 10: BuddyPress @ WordCamp Whistler 2009

All components follow the same file and code structure.

Standardization and consistency makes happy

developers.

Sunday, January 25, 2009

Page 11: BuddyPress @ WordCamp Whistler 2009

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

Page 12: BuddyPress @ WordCamp Whistler 2009

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’ );

}

wp-content/member-themes/profile/edit-profile.php

Or, use the built in plugin-template.php file

Sunday, January 25, 2009

Page 13: BuddyPress @ WordCamp Whistler 2009

http:// domain.com / members / andy / profile / edit / group / 1

$bp[‘current_component’] $bp[‘current_action’] $bp[‘action_variables’]

(Array)(String)(String)

Easily create and use pretty URL’s in your custom component

http:// domain.com / members / andy / wordcamps / attended / whistler / 2009

Sunday, January 25, 2009

Page 14: BuddyPress @ WordCamp Whistler 2009

Full list of BuddyPress actions & filters: http://codex.buddypress.org/

Sunday, January 25, 2009

Page 15: BuddyPress @ WordCamp Whistler 2009

Sunday, January 25, 2009

Page 16: BuddyPress @ WordCamp Whistler 2009

The Future

★ Beta 2 - Next week / Final - Early February ’09

★ Albums & Status Updates components

★ BuddyPress.org developer community site

★ BuddyPress for WordPress?

★ Open standards support / distribution of data

Sunday, January 25, 2009

Page 17: BuddyPress @ WordCamp Whistler 2009

Thank You!Questions?

BuddyPress project:http://buddypress.org

Testdrive BuddyPress: http://testbp.org

Sunday, January 25, 2009