Skip to:
Content
Pages
Categories
Search
Top
Bottom

Creating Edit Page for the Buddypress profile in a Sub Blog


  • stoi2m1
    Participant

    @stoi2m1

    I am trying to add the buddypress profile edit screen to sub blog admin menu. I have create a menu item called my profile.

    If I use the loop found in the mytheme/members/single/profile/edit.php file I could recreate the edit page within a sub blog but how do I feed that loop with the current members data?

Viewing 1 replies (of 1 total)

  • stoi2m1
    Participant

    @stoi2m1

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Creating Edit Page for the Buddypress profile in a Sub Blog’ is closed to new replies.
Skip to toolbar