WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Register Plus] Where can I see extra fileds' datas? (2 posts)

  1. DoZ
    Member
    Posted 5 years ago #

    If I add extra fields on the registration form, where can I see those data once the user is registered??

  2. upyup
    Member
    Posted 5 years ago #

    You can see them in the user's profile, or directly in the usermeta table.

    There is something missing in the code anyway to display it properly whatever the data type you have chosen (try to set a date custom field by example).

    here's the hack I've made:

    open register-plus.php

    find

    if( $v['profile'] ){
       $id = $this->Label_ID($v['label']);
       $value = get_usermeta( $user_ID, $id );
       $extraops = explode(',', $v['extraoptions']);
       switch( $v['fieldtype'] ){

    add

    Default:
       $outfield = '<input type="text" name="' . $id . '" id="' . $id . '" value="' . $value . '"  />';
       break;

    at the end of the switch statement (before it's closing "}" )

    Hope it helps

Topic Closed

This topic has been closed to new replies.

About this Topic