get thee behind me: making buddypress do thine bidding
TRANSCRIPT
![Page 1: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/1.jpg)
Get thee behind me!Making BuddyPress do thine bidding
Boone Gorges@[email protected]://teleogistic.net
![Page 2: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/2.jpg)
“Facebook in a box”
o Friendso Extended profileso Groupso Forumso Interactive activity streams
![Page 3: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/3.jpg)
Example: CUNY Academic Commonshttp://commons.gc.cuny.edu
![Page 4: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/4.jpg)
Customization Case Study:A rocking website
![Page 5: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/5.jpg)
bp-default: Does not rock
![Page 6: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/6.jpg)
Dashboard > BP > Profile Fields
![Page 7: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/7.jpg)
Customizing components
![Page 8: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/8.jpg)
Dashboard > BP > Component Setup
![Page 9: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/9.jpg)
Lame
![Page 10: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/10.jpg)
define( 'BP_MEMBERS_SLUG', 'headbangers' );
bp-custom.php
![Page 11: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/11.jpg)
Awesome
![Page 12: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/12.jpg)
Lame
![Page 13: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/13.jpg)
define( 'BPLANG', 'rock' );
if ( file_exists( BP_PLUGIN_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' ) ) {
load_textdomain( 'buddypress', BP_PLUGIN_DIR .'/bp-languages/buddypress-' . BPLANG . '.mo' );
}
bp-custom.php
[plugin-dir]/buddypress/bp-languages/buddypress-rock.po
![Page 14: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/14.jpg)
Awesome
![Page 15: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/15.jpg)
Theming with bp-sn-parent
![Page 16: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/16.jpg)
bp-sn-parent
standard WP theme
+
BP theme files
![Page 17: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/17.jpg)
Lame
![Page 18: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/18.jpg)
[theme-dir]/bp-rock/style.css
![Page 19: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/19.jpg)
[theme-dir]/bp-rock/_inc/css/style.css
![Page 20: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/20.jpg)
Awesome
![Page 21: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/21.jpg)
Plugins
![Page 22: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/22.jpg)
Tools
o Group extension APIo http://codex.buddypress.org/developer-docs/group-extension-api/
o Skeleton componento http://wordpress.org/extend/plugins/buddypress-skeleton-component/
![Page 23: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/23.jpg)
Hooks and filters
function how_bad_ass_am_i() {global $bp;
$user_id = $bp->displayed_user->id;$user_name = $bp->displayed_user->fullname;$user_url = $bp->displayed_user->domain;
echo '<a href="' . $user_url . '">' . $user_name . '</a> is bad ass #' . $user_id . ' on this site.';
}add_action( 'bp_before_profile_field_content', 'how_bad_ass_am_i' );
bp-custom.php
![Page 24: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/24.jpg)
AWESOME!!!!!!!!!!
![Page 25: Get Thee Behind Me: Making BuddyPress do thine bidding](https://reader034.vdocuments.net/reader034/viewer/2022052216/55548fb9b4c905186d8b46e8/html5/thumbnails/25.jpg)
Resources
o http://codex.buddypress.org/o http://buddypress.org/forumso http://buddypress.org/extend/plugins/