Re: Creating Edit Page for the Buddypress profile in a Sub Blog
So I have managed to list all of the profile fields by including the edit.php file from my buddypress theme.
I have then tried to trick the $bp object into looking like its setup for the profile component and edit action by setting the follow items like so:
`$bp->current_action = ‘edit’;
$bp->current_component = ‘profile’;
$bp->displayed_user->ID = $user_id;
$bp->displayed_user->userdata = $bp->loggedin_user->userdata;`
How do I get the fields to populate with the current users data?