Home Forums Plugin Support WP User Frontend Pro Custom field data missing in Edit profile page

This topic is: resolved

This topic contains 28 replies, has 3 voices, and was last updated by  towhid 3 years, 8 months ago.

Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #68009

    Ganesh
    Member
    Post count: 51

    Provided. please check earlier message

    #68013

    towhid
    Participant
    Post count: 4505

    Hello Ganesh,

    Can you please check your site now and let me know the result. We have fixed that issue.

    Thanks

    #68014

    Ganesh
    Member
    Post count: 51

    let me check it now

    #68016

    Ganesh
    Member
    Post count: 51

    Dear Towhid,

    It works great!! thanks a lot man. ๐Ÿ™‚

    Regards

    #68017

    towhid
    Participant
    Post count: 4505
    This reply has been marked as private.
    #68018

    Ganesh
    Member
    Post count: 51
    This reply has been marked as private.
    #68023

    Ganesh
    Member
    Post count: 51

    I think you have updated some files through back end. I want to know whether can I update wordpress to latest version.

    #68262

    towhid
    Participant
    Post count: 4505

    Hello Ganesh,

    There are change in two files:

    Here is 1st Change:

    Step: 1 Please open plugins/wp-user-frontend-pro/includes/pro/render-form.php

    Step 2: Find this line – $address_fields_meta = get_post_meta( $post_id, $attr['name'], true );

    Step 3: Replace this line on above line – $address_fields_meta = $value;

    Here is 2nd change:

    Step 1: plugins/wp-user-frontend-pro/class/render-form.php

    Step 2: Find // process other fields

    Step 3: Now replace the following line of code in between “// process other fields//” and “if it's an array, implode with this->separator”.

    } elseif ( $value['input_type'] == 'address' ) {
                    if( isset( $_POST[ $value['name'] ] ) && is_array( $_POST[ $value['name'] ] ) ) {
                        foreach ( $_POST[ $value['name'] ] as $address_field => $field_value ) {
                            $meta_key_value[ $value['name'] ][ $address_field ] = $field_value;
                        }
                    }
                }
                else {

    Thanks

    #68346

    Ganesh
    Member
    Post count: 51
    This reply has been marked as private.
    #68349

    Ganesh
    Member
    Post count: 51

    Sorry I got it.. and the changes you mentioned is already there.

    What I can achieve with this code.. to print author address field in single.php ???

    #68568

    towhid
    Participant
    Post count: 4505

    Hello Ganesh,

    The coding solution is about the custom field data missing in Edit profile page.

    I have just provided the code for you because I have let you know where I have made the fix.

    Thanks

    #68638

    Ganesh
    Member
    Post count: 51

    ok .thanks

    #70092

    jonathan
    Member
    Post count: 5

    Hi Towhid.

    I have the same issue with the address field. Will the fix be integrated in next WP User Frontend Pro?

    Cheers.

    #70292

    towhid
    Participant
    Post count: 4505

    Hello Jonathan,

    You will get the fix in our next release. You will receive the new version withing tomorrow.

    Thanks

Viewing 14 posts - 16 through 29 (of 29 total)

The topic ‘Custom field data missing in Edit profile page’ is closed to new replies.