WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Members] Add more WP native fields to user registration fields

[Plugin: WP-Members] Add more WP native fields to user registration fields

  • We’re using WP Members to manage user registration and settings, and I’d like for members to also be able to set up/edit their display name when they register or update their settings. This is already a native field in the wp_user database so I don’t want to make a new custom field, I just want to be able to edit that particular setting using the WP Member front end.

    Can this be done? I thought perhaps adding it to the wpmem_fields_options_arr in wp_members_install.php, but then thought maybe I’d just better ask. 😉

    http://wordpress.org/extend/plugins/wp-members/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    @cbutlerjr

    That does make sense. You should be able to do it without too much trouble if you are doing it as a text input field. If you need a dropdown like the “display name publicly as,” then getting the values to populate would be a little trickier.

    It would probably be best to do it in the install (although you’d have to use the $chk_force process commented in the install file to reload the fields in the database).

    You could add them via the field manager (the plugin’s fields tab), but that would double them up on the user profile on the admin side as the extra fields are shown if they are not WP native fields (since the native fields are already shown there). I’m not sure what the results would be if you did it that way.

    If you go the install file route, make sure the array value for ‘native’ is a ‘y’.

    Thanks so much for the quick reply! I plan on trying it in the install file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-Members] Add more WP native fields to user registration fields’ is closed to new replies.