Chris
Forum Replies Created
-
Unfortunately, when I disabled the UM plugin, I still had the error. I suppose I’ll go through all of my plugins and see if I can narrow down the problem.
I changed settings in WPForms that pertained to user registration and those 2 options have been removed. Thank you both for your help!
Thank you, @missveronicatv, it looks like those links are being triggered by WPForms…though they are handy when they’re working correctly!
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.
…and I’m sorry, but I was wrong. I am also using the UM plugins for reCAPTCHA and Terms & Conditions.
BTW, if you’re still investigating, we just changed our URL to developer.ehrdata.com (singular version of developerS).
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.
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.jpgThe 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' );Here are those settings.
https://developers.ehrdata.com/wp-content/uploads/2022/01/User-Settings-SUBSCRIBER.jpgI 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/Unapproved-Users-scaled.jpgDisregard. I figured it out. It’s editable from the PROFILE page. I just don’t understand why the phone number field is open on the account page if it can’t be edited from that location.
What if it’s not saving from the user side? On the Account page a user can add their own phone number, but it’s not saved even after getting the “Your account was successfully updated” message at the top of the page.
I agree. An option to link to your Terms/Privacy would be WAY better than an expanding field.
Can you describe what you did to enable this?