and the Future of WordPress Plugins


                                by Mark Jaquith

                                   ...
BP 1.1 FTW

Saturday, September 26, 2009
What is BuddyPress?
                    • a WordPress MU plugin
                    • a “social layer”
                   ...
What it can do
                    • Extended         • Groups
                           Profiles
                        ...
Cafeteria Style

                    • Use only what you want
                    • Could just use it for extended profiles...
Saturday, September 26, 2009
Saturday, September 26, 2009
Installation
                    • Install WPMU (2.8.4a currently)
                    • Use plugin installer to install
 ...
Theme Setup
         For WPMU 2.8.x:

         Add the themes to your themes dir:

         $ cd wp-content/themes/
      ...
Theme Setup
         Enable your BP theme in WPMU Site
         Admin, for the main blog




         Activate the BP Memb...
Core Files          Theme Files




Saturday, September 26, 2009
Pretty URLs
       http://bp.site/members/mark/skills/edit/buddypress/seattle




Saturday, September 26, 2009
Pretty URLs
       http://bp.site/members/mark/skills/edit/buddypress/seattle



                               $bp['curre...
Adding Menus
     bp_core_new_nav_item(
         array(
             'name' => __('Item Name', 'i18n-domain'),
           ...
Adding Submenus
     bp_core_new_subnav_item( array(
          'name' => __( 'Child', 'i18n-domain' ),
          'slug' =>...
Handlers
        function handler_function() {
            // Logic here
            bp_core_load_template( 'item-name/ind...
Custom components


                    • Download the BP Skeleton Component
                    • Learn by doing



Satur...
BuddyPress 1.1
                    • Consolidated WP/BP themes
                    • Crazy-simple bbPress install
        ...
bbPress



Saturday, September 26, 2009
Theme Architecture


                    • No more dual themes
                    • BP themes are WP child
              ...
WP/WPMU Merge

                    • 2010
                    • Will make BuddyPress available
                           ...
BP Consulting
                    •Nascent market
                    •Rapidly expanding demand
                    •Premi...
Plugins Today
                    • Often single author
                    • High rate of abandonment
                   ...
Canonical Plugins

                    • Multi-author
                    • High quality
                    • Supported
 ...
Upcoming SlideShare
Loading in...5
×

BuddyPress and the Future of WordPress Plugins

3,488

Published on

An overview of BuddyPress, some technical notes, info about the 1.1 update, and fitting BuddyPress into the broader landscape of WordPress plugins.

Published in: Technology, Business
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,488
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
38
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

BuddyPress and the Future of WordPress Plugins

  1. 1. and the Future of WordPress Plugins by Mark Jaquith markjaquith.com coveredwebservices.com @markjaquith Saturday, September 26, 2009
  2. 2. BP 1.1 FTW Saturday, September 26, 2009
  3. 3. What is BuddyPress? • a WordPress MU plugin • a “social layer” • extensible • fond of eating its own dog food • under your control Saturday, September 26, 2009
  4. 4. What it can do • Extended • Groups Profiles • Wire • Private Messaging • Activity Streams • Friends • Forums • Blogs • Status updates Saturday, September 26, 2009
  5. 5. Cafeteria Style • Use only what you want • Could just use it for extended profiles Saturday, September 26, 2009
  6. 6. Saturday, September 26, 2009
  7. 7. Saturday, September 26, 2009
  8. 8. Installation • Install WPMU (2.8.4a currently) • Use plugin installer to install BuddyPress • Set up themes Saturday, September 26, 2009
  9. 9. Theme Setup For WPMU 2.8.x: Add the themes to your themes dir: $ cd wp-content/themes/ $ ln -s ../plugins/buddypress/bp-themes/bp-sn-parent bp-sn-parent $ ln -s ../plugins/buddypress/bp-themes/bp-default bp-default Future versions of WPMU (2.9+) will skip this step by allowing BP to tell WPMU about its default themes. Saturday, September 26, 2009
  10. 10. Theme Setup Enable your BP theme in WPMU Site Admin, for the main blog Activate the BP Members theme for the site's main blog Saturday, September 26, 2009
  11. 11. Core Files Theme Files Saturday, September 26, 2009
  12. 12. Pretty URLs http://bp.site/members/mark/skills/edit/buddypress/seattle Saturday, September 26, 2009
  13. 13. Pretty URLs http://bp.site/members/mark/skills/edit/buddypress/seattle $bp['current_component'] $bp['current_action'] $bp['action_variables'][0] $bp['action_variables'][1] Saturday, September 26, 2009
  14. 14. Adding Menus bp_core_new_nav_item( array( 'name' => __('Item Name', 'i18n-domain'), 'slug' => 'item-slug', 'position' => 50, 'show_for_displayed_user' => true, 'screen_function' => 'item_handler', 'default_subnav_slug' => 'index', 'item_css_id' => 'your-css-id' )); Saturday, September 26, 2009
  15. 15. Adding Submenus bp_core_new_subnav_item( array( 'name' => __( 'Child', 'i18n-domain' ), 'slug' => 'child-slug', 'parent_url' => $bp->loggedin_user->domain . '/item-slug', 'parent_slug' => 'item-slug', 'screen_function' => 'child_handler_function' )); Saturday, September 26, 2009
  16. 16. Handlers function handler_function() { // Logic here bp_core_load_template( 'item-name/index' ); // Loads item-name/index.php } Saturday, September 26, 2009
  17. 17. Custom components • Download the BP Skeleton Component • Learn by doing Saturday, September 26, 2009
  18. 18. BuddyPress 1.1 • Consolidated WP/BP themes • Crazy-simple bbPress install • Groups API • more... Saturday, September 26, 2009
  19. 19. bbPress Saturday, September 26, 2009
  20. 20. Theme Architecture • No more dual themes • BP themes are WP child themes Saturday, September 26, 2009
  21. 21. WP/WPMU Merge • 2010 • Will make BuddyPress available on any WordPress install • Consolidation of developer resources Saturday, September 26, 2009
  22. 22. BP Consulting •Nascent market •Rapidly expanding demand •Premium prices •??? •Profit Saturday, September 26, 2009
  23. 23. Plugins Today • Often single author • High rate of abandonment • Highly variable quality • Unendorsed • Multiple competing solutions Saturday, September 26, 2009
  24. 24. Canonical Plugins • Multi-author • High quality • Supported • Implicit endorsement Saturday, September 26, 2009
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×