WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
List only one field from all available (3 posts)

  1. ringishpil
    Member
    Posted 1 year ago #

    Hi guys,

    I am in a situation where after some time I need to add one more REQUIRED field to the registration process.

    So I already have over 100 users which I need them to fill that field too. So I was thinking in creating a popup after signing in so they have to put the field in the database.

    So is there any way to display only one field from wp_members with shortcode?

    Thanks

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

  2. ringishpil
    Member
    Posted 1 year ago #

    Or at least print the whole form?

  3. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    You couldn't have the plugin directly print just one field. But you if you can develop a form to just collect the data, you would just need to store the value in the appropriate usermeta.

    Another approach would be to insert a check process somewhere that checks to see if a user has that field (checked against get_user_meta). Then if not, force them (via a redirect) to the user profile page to update (which, if it's required, will still require a value on update, not just registration). You could run your check process somewhere using one of the many hooks in the plugin. I would think that hooking this into wpmem_securify might work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic