buddypress @ wordcamp whistler 2009
DESCRIPTION
Slides from the BuddyPress presentation given by Andy Peatling at WordCamp Whistler 2009.TRANSCRIPT
![Page 1: BuddyPress @ WordCamp Whistler 2009](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/1.jpg)
BuddyPressin early 2009
Andy PeatlingSocial Engineer, Automattic
apeatling.wordpress.com / @apeatling
Sunday, January 25, 2009
![Page 2: BuddyPress @ WordCamp Whistler 2009](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/2.jpg)
BuddyPress will transform an installation of WordPress MU into a
social network platform.
Sunday, January 25, 2009
![Page 3: BuddyPress @ WordCamp Whistler 2009](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/3.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/4.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/5.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/6.jpg)
Sunday, January 25, 2009
![Page 7: BuddyPress @ WordCamp Whistler 2009](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/7.jpg)
★ 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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/8.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/9.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/10.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/11.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/12.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/13.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/14.jpg)
Full list of BuddyPress actions & filters: http://codex.buddypress.org/
Sunday, January 25, 2009
![Page 15: BuddyPress @ WordCamp Whistler 2009](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/15.jpg)
Sunday, January 25, 2009
![Page 16: BuddyPress @ WordCamp Whistler 2009](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/16.jpg)
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](https://reader033.vdocuments.net/reader033/viewer/2022052321/555131d4b4c905f1528b5132/html5/thumbnails/17.jpg)
Thank You!Questions?
BuddyPress project:http://buddypress.org
Testdrive BuddyPress: http://testbp.org
Sunday, January 25, 2009