Creating a Custom Component
Note: If you are building a BuddyPress plugin, please make sure you have read how to check if BuddyPress is active. This is very important – the code you need is included in v1.4 of the skeleton component.
If you’re going to develop your own custom BuddyPress component then a great starting point is the “Skeleton Component“. This is a bare-bones component that will provide a solid starting block for you to develop your component from.