Reply To: How to customize profiles, and create profiles specific to User Roles.
The best place to get BP commented code is in the plugin files. Raw, when you don’t know exactly what to search.
Notepad++ is a good software to accomplish this localy.
Another good ressource is the Trac !
https://buddypress.trac.wordpress.org/report
The’re also online search engines like
http://phpxref.ftwr.co.uk/buddypress/nav.html?index.html
http://hookr.io/# (WP specific)
In your case, customizing profiles would certainly start at the registration step, to fill in a (long?) form. So the first thing to get, is such a conditionnally form.
See Gravity Form or Formidable Pro. No idea if they integrate well to BP….
Your question about bp-custom is explained on the codex.
Defining a role is a large domain.
When you ask people for their interrest, knowledge, etc you finally get a good idea of what they are or can do or represent. Once you know that you give them a role.
In other cases, you attribute them a role before knowing anything about them (eg. default subscriber role in the WP sphere). In this case anyway a pseudonym is enough. No need of extended profile field.
IMHO it depends of the strategy you want to apply to your visitors. And this is not a support question.
If we can make it work, I bet this post can be the beginning of a core Buddypress code update that can integrate this into the actual Buddypress Core.
Ambitious at least. I’m affraid you’re many steps away of this for the moment. Man lives by hope ! 😉