Support » Plugin: Front-end Editor » [Plugin: Front-end Editor] BuddyPress Custom Fields

  • A Stunning Plugin!
    I’m using Buddypress and displaying a users custom field in php e.g. echo bp_get_profile_field_data( ‘field=Location 2’ ); ……. what I would like to do is allow the user to edit selected values that I choose on the front end. I was thinking a potential way of achieving this is putting custom div’s around the field.

    e.g. <div id="myInstance1"> echo bp_get_profile_field_data( 'field=Location 2' ); </div> (In a simliar way to nicedit)

    I would then like to add a custom function that will read the div Id (“myInstance1”) and value and then perform an action e.g. update on the the underlying DB entry. And then force a refresh of the screen …… In a way this is very similar to wanting to perform an update on a users meta (and not post meta)

    Can you suggest the best way of doing this ?

    PS Keep on writing

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Front-end Editor] BuddyPress Custom Fields’ is closed to new replies.