Title: 2 Problems with New Registered Users
Last modified: January 5, 2022

---

# 2 Problems with New Registered Users

 *  Resolved [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/)
 * I’m having 2 problems in regards to registering new users.
 * 1. When a new user submits a registration form the on screen message is not what
   I input in the custom message field. Instead, it gives the “You are already registered.”
   message, which could be very confusing for the registering user.
 * 2. I have all new users set up as Subscribers that require admin approval, HOWEVER,
   once a registration form is submitted the user has full access to all the restricted
   content. This has been an off & on issue as I’ve been building this site, but
   we are about ready to launch and want to limit access based on users being approved.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F2-problems-with-new-registered-users%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/2-problems-with-new-registered-users/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/2-problems-with-new-registered-users/page/2/?output_format=md)

 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15222913)
 * I also just noticed something strange in the “Users” section of the admin panel.
 * It lists the status of a new subscriber as “pending review”, but the quick menu
   under the user’s name gives me an option to “unapprove” the user.
 * Here are screenshots of both issues…
    [https://developers.ehrdata.com/wp-content/uploads/2022/01/Post-Registration-Screen.png](https://developers.ehrdata.com/wp-content/uploads/2022/01/Post-Registration-Screen.png)
   [https://developers.ehrdata.com/wp-content/uploads/2022/01/Unapproved-Users-scaled.jpg](https://developers.ehrdata.com/wp-content/uploads/2022/01/Unapproved-Users-scaled.jpg)
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15224874)
 * Hi [@pdxcomm](https://wordpress.org/support/users/pdxcomm/)
 * Could you please provide screenshots of the Subscriber role settings? Please 
   go to WP Admin > Ultimate Member > User Roles > Edit Subscriber role.
 * Regards,
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15225038)
 * Here are those settings.
    [https://developers.ehrdata.com/wp-content/uploads/2022/01/User-Settings-SUBSCRIBER.jpg](https://developers.ehrdata.com/wp-content/uploads/2022/01/User-Settings-SUBSCRIBER.jpg)
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15225066)
 * Hi [@pdxcomm](https://wordpress.org/support/users/pdxcomm/)
 * Have you made any customization with UM hooks? If so, could you please share 
   them here so we can review them?
 * Regards,
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15225129)
 * The only snippet I have active is to pre-populate contact forms with user account
   info (shown below).
 *     ```
       /* add custom user fields */
       add_action('um_after_account_general', 'showUMExtraFields', 100);
   
       function showUMExtraFields()
       {
           $id = um_user('ID');
           $output = '';
           $names = array(
               'phone_number',
               'company_name',
               'job',
               'street',
               'zipcode',
               'city'
               );
   
           $fields = array();
           foreach( $names as $name )
           {
               $fields[ $name ] = UM()->builtin()->get_specific_field( $name );
           }
   
           $fields = apply_filters('um_account_secure_fields', $fields, $id);
   
           foreach( $fields as $key => $data )
               $output .= UM()->fields()->edit_field( $key, $data );
   
           echo $output;
       }
   
       function auto_login_new_user( $user_id ) {
               wp_set_current_user($user_id);
               wp_set_auth_cookie($user_id);
           }
           add_action( 'user_register', 'auto_login_new_user' );
       ```
   
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15231235)
 * Hi [@pdxcomm](https://wordpress.org/support/users/pdxcomm/)
 * Could you please try disabling the following code and test the issue again?
 *     ```
       function auto_login_new_user( $user_id ) {
               wp_set_current_user($user_id);
               wp_set_auth_cookie($user_id);
       }
       add_action( 'user_register', 'auto_login_new_user' );
       ```
   
 * Regards,
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15236283)
 * Looks like that fixed the registration message and the unapproved user access
   to gated pages. Thank you!
 * Any insight on the conflicting information here?
    [https://developers.ehrdata.com/wp-content/uploads/2022/01/Unapproved-Users-scaled.jpg](https://developers.ehrdata.com/wp-content/uploads/2022/01/Unapproved-Users-scaled.jpg)
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15236411)
 * Hi [@pdxcomm](https://wordpress.org/support/users/pdxcomm/)
 * That “Unapproved” link seems like created by another plugin. Do you have other
   UM extensions installed on your site?
 * Regards,
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15236573)
 * I’m not using any of the offered UM extensions. I only ask because clicking on“
   approve” under the user’s name is a quick and easy way of approving new users…
   and it’s strange that the link is to UNAPPROVE a user who hasn’t been approved
   yet.
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15237660)
 * BTW, if you’re still investigating, we just changed our URL to developer.ehrdata.
   com (singular version of developerS).
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15237687)
 * …and I’m sorry, but I was wrong. I am also using the UM plugins for reCAPTCHA
   and Terms & Conditions.
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15239503)
 * Hi [@pdxcomm](https://wordpress.org/support/users/pdxcomm/)
 * UM ReCaptch and Terms & Conditions doesn’t have a function that adds the ‘Unapprove’
   and ‘Approve’ links. I suggest that you deactivate each plugin and see if one
   of the plugins is adding this link.
 * Regards,
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15241592)
 * Those menu options under the name have always been there. It was a recent change
   for that to show “unapprove” instead of “Approve” for new submissions.
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15241813)
 * [@pdxcomm](https://wordpress.org/support/users/pdxcomm/)
 * > It lists the status of a new subscriber as “pending review”, but the quick 
   > menu under the user’s name gives me an option to “unapprove” the user.
 * You have a 2FA WP plugin adding the last three sub menus items at the WP User’s
   page:
 * > 2FA
   >  See user’s activity Unapprove
 * These items are not added by UM.
    -  This reply was modified 4 years, 6 months ago by [missveronica](https://wordpress.org/support/users/missveronicatv/).
 *  Thread Starter [Chris](https://wordpress.org/support/users/pdxcomm/)
 * (@pdxcomm)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/#post-15242135)
 * Thank you, [@missveronicatv](https://wordpress.org/support/users/missveronicatv/),
   it looks like those links are being triggered by WPForms…though they are handy
   when they’re working correctly!

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/2-problems-with-new-registered-users/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/2-problems-with-new-registered-users/page/2/?output_format=md)

The topic ‘2 Problems with New Registered Users’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [new-user](https://wordpress.org/support/topic-tag/new-user/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 17 replies
 * 3 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/2-problems-with-new-registered-users/page/2/#post-15247435)
 * Status: resolved