WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
BuddyPress Custom Fields (3 posts)

  1. jaseyb
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/plugins/front-end-editor/

  2. jaseyb
    Member
    Posted 2 years ago #

    Hi! I've found the fucntion fee_register_field() .... but I'm not quite sure how to use this. Can anyone help?

  3. sulazix
    Member
    Posted 2 years ago #

    Hi did you fix it ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic