Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problems with the registration page

  • Profile photo of Nanaimomen
    Nanaimomen
    Participant

    @nanaimomen

    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)
  • Profile photo of bp-help
    bp-help
    Participant

    @bphelp

    @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.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    @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/

    Profile photo of Ben Hansen (ubernaut)
    Ben Hansen (ubernaut)
    Participant

    @ubernaut

    nice one thanks for sharing!

    Profile photo of Ben Hansen (ubernaut)
    Ben Hansen (ubernaut)
    Participant

    @ubernaut

    @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!

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    >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?

    Profile photo of Ben Hansen (ubernaut)
    Ben Hansen (ubernaut)
    Participant

    @ubernaut

    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?

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

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

    Profile photo of Ben Hansen (ubernaut)
    Ben Hansen (ubernaut)
    Participant

    @ubernaut

    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.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    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' );
    Profile photo of Ben Hansen (ubernaut)
    Ben Hansen (ubernaut)
    Participant

    @ubernaut

    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