WordCamp Geneva 18 Nov. 2016. First steps to customize your BuddyPress website : options, templates, navigation menu, wording... How to modify your profile page and your members directory page.
15. All these logged-in and logged-out
menu items will appear automatically
according to your visitor status.
So, you place all of them together in the
same menu !
25. BuddyPress comes with two
templates folders :
• bp-default :
a full parent theme
• bp-legacy :
templates to extend any
theme
26. When creating your child theme :
• you use bp-default as your parent theme
• you use any parent theme you want, and it
will automatically use bp-legacy BP
templates in addition to your parent ones
• you use a twentysometing theme as a
parent, and it will use bp-legacy templates
+ a CSS companion stylesheet
27. Keep the same needed
folders inside
buddypress folder
members/index.php
is the members
directory page
template
BP template files are in BP plugin folder, and you
can overwrite any of them in your child
28.
29. We can add the WP page content at the
top of the page, only for logged-out
members :
30. We can see this in members/index.php :
instead of modifying this template, we can
use this hook in our functions.php :
31. To add profile fields to our members loop in
the members directory, look at
buddypress/members/members-loop.php
We can see this in members/index.php :
35. BP nav
BP subnav
BP navigation is adapted to your
components and options :
but what if you want Friends in second place ?
and name it "Contacts" ?
36. These are not standard WP menus ! you
have to code to modify them.
Before BP 2.6 :
use of global $bp->bp_nav, an array
After 2.6 : bp_nav global is deprecated.
"Please use the BuddyPress nav functions
instead."
but still with $bp = buddypress()
which contains all BP parameters
45. Find some documentation in BP Codex
Developper section
https://codex.buddypress.org/developer/
about...
and BP email API, and Group Types,
and Activity functions, and Notification ones
47. Useful plugins
media plugins :
BP Activity Plus
MediaPress
rtMedia
collaborative tools :
Buddypress Docs
BuddyDrive
bbPress forums
profile :
Xprofile Custom Fields Type
BP Profile Search
multilingual :
buddypress multilingual
for WPML
WangGuard antispam
48. Real BuddyPress Themes
(and plugins)
Expert publishers
buddydev.com
buddyboss.com
both since 2009
They have blogs !
and also :
ThemeKraft
on ThemeForest (be
careful but there are
some ideas)
Cinematix
Kleo
Socialize