All the information is in BuddyPress codex.
http://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/ http://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
And in general, open this page: http://codex.buddypress.org/themes/ - and in sidebar you will see and Subpages section.