Skip to:

Combining Profile Edit Pages

  • danpkraus


    HI all,
    I saw a post about this earlier today but it seems a bit old and not too much was there on what to alter/change so I am posting in a new post.

    I am trying to combine all my profile groups into a single edit screen. I currently have 2 forms on the page with 2 separate save buttons. Which works fine. But I’d like to have a single form with a single button. I tried to use a single form but the form only saved a single profile group fields. I believe the problem lies within these 2 methods: “bp_the_profile_group_edit_form_action” and “bp_the_profile_group_field_ids” but can’t narrow down what/where to alter the code.

    Also in bp-xprofile/bp-xprofile-screens.php there is this method “xprofile_screen_edit_profile” which I think may have something to do with it as well.

    1. Can I hook into the “xprofile_screen_edit_profile” method and use my own code to save the profile data.?
    2. How can I get all the profile field ids without using two separate forms and save buttons? Is there a method I can use to loop through all profile groups and their fields to send to “bp_the_profile_group_field_ids”?
    3. Does this deserve it’s own plugin?

    I am sure this is possible but need a push in the right direction. Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Combining Profile Edit Pages’ is closed to new replies.
Skip to toolbar