Paul Gibbs
 @pgibbs
Theme & Plugin Dev
URLs map to templates
  http://example.com/members/admin/messages/compose

                           ↓
/plugins/buddypres...
“The Loop”
Not just for blog posts
bp_has_activities               bp_has_blog


bp_has_forum_topics             bp_group_has_members


bp_has_members       ...
The “site members” loop
Control over loop output
BP Template Pack
http://wordpress.org/extend/plugins/
         bp-template-pack/
Plugins
Standardisation and
 consistency makes
  happy developers
BP components
 are all URL action based
http://example.com/groups/worldcup/members/ban/456




  $bp->current_component   $bp->current_item   $bp->current_action ...
Skeleton Component
http://wordpress.org/extend/plugins/
  buddypress-skeleton-component/
Q&A
       Paul Gibbs
    paul@byotos.com

http://twitter.com/pgibbs
    http://byotos.com
WordCamp UK 2010 - Introduction to BuddyPress theme/plugin development
WordCamp UK 2010 - Introduction to BuddyPress theme/plugin development
WordCamp UK 2010 - Introduction to BuddyPress theme/plugin development
WordCamp UK 2010 - Introduction to BuddyPress theme/plugin development
Upcoming SlideShare
Loading in...5
×

WordCamp UK 2010 - Introduction to BuddyPress theme/plugin development

1,684

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
1,684
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide


















  • Transcript of "WordCamp UK 2010 - Introduction to BuddyPress theme/plugin development"

    1. 1. Paul Gibbs @pgibbs
    2. 2. Theme & Plugin Dev
    3. 3. URLs map to templates http://example.com/members/admin/messages/compose ↓ /plugins/buddypress/bp-themes/bp-default/members/single/ messages/compose.php
    4. 4. “The Loop” Not just for blog posts
    5. 5. bp_has_activities bp_has_blog bp_has_forum_topics bp_group_has_members bp_has_members bp_has_message_threads bp_has_groups bp_has_profile http://codex.buddypress.org/ developer-docs/custom-buddypress-loops
    6. 6. The “site members” loop
    7. 7. Control over loop output
    8. 8. BP Template Pack http://wordpress.org/extend/plugins/ bp-template-pack/
    9. 9. Plugins
    10. 10. Standardisation and consistency makes happy developers
    11. 11. BP components are all URL action based
    12. 12. http://example.com/groups/worldcup/members/ban/456 $bp->current_component $bp->current_item $bp->current_action $bp->action_variables (string) (string) (string) (array) Easy pretty URLs for your components http://example.com/members/paul/wordcamps/attended/uk/2010
    13. 13. Skeleton Component http://wordpress.org/extend/plugins/ buddypress-skeleton-component/
    14. 14. Q&A Paul Gibbs paul@byotos.com http://twitter.com/pgibbs http://byotos.com
    1. A particular slide catching your eye?

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

    ×