Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problems with the registration page

  • @nanaimomen

    Participant

    Hi All

    We are having some issues with the registration page. We have customized it with a bunch of ‘required’ fields including name, city, province/state, country and also added some optional checkboxes including a Terms and Conditions Checkbox.

    However when we go to Dashboard – Users – All users and click on any profile, the only information it displays is:

    Name
    First name
    last name
    username

    and email address.

    All the other fields are non existent. Any idea how to view this information or where the information is at?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • @bphelp

    Participant

    @nanaimomen
    That is standard behavior. To look or edit their profile fields you would have to be an admin and do it from the front end. Go to the members page, click on the member and note how the toolbar changes to give the admin options.

    @shanebp

    Moderator

    @nanaimomen

    It’s easy to display profile fields in the Dashboard.

    For example:
    http://stackoverflow.com/questions/16485925/extra-profile-field-not-showing-in-wordpress-user-profile/16491050#16491050

    Editing the fields on that screen requires additional custom work.
    If that is something you need, please go to
    http://www.philopress.com/services/

    @ubernaut

    Participant

    nice one thanks for sharing!

    @ubernaut

    Participant

    @shanebp i tried adding the code to bp-custom but i’m not seeing any additional info in the dashboard profile am i missing something? thanks!

    @shanebp

    Moderator

    >am i missing something?

    It would seem so, but I have no idea what it would be.
    Did you adjust the code for your situation?

    @ubernaut

    Participant

    no i guess i did not thanks! is there a way to just make them all show up or should i just repeat this function/action set for each field?

    @shanebp

    Moderator

    You don’t need to repeat the function, just add as many additional field calls as you want to the function.

    @ubernaut

    Participant

    so would that look like this:

    function show_xprofile_fields ( $user ) { 
    
    $field_value = xprofile_get_field_data( 'x,y', $user->ID, $multi_format = 'comma' );
    
    }
    add_action( 'edit_user_profile', 'show_xprofile_fields' );

    where x and y are my field names? thanks & sorry i don’t jack when it comes to php.

    @shanebp

    Moderator
    function show_xprofile_fields ( $user ) { 
    
     $field_value = xprofile_get_field_data( 'x', $user->ID, $multi_format = 'comma' );
     echo "x: " . $field_value . '<br />'.
     $field_value = xprofile_get_field_data( 'y', $user->ID, $multi_format = 'comma' );
     echo "y: " . $field_value . '<br />'.
    }
    add_action( 'edit_user_profile', 'show_xprofile_fields' );

    @ubernaut

    Participant

    thanks! you rule!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problems with the registration page’ is closed to new replies.
Skip to toolbar