emmamiumiu
Forum Replies Created
-
The problem is not in the UM forms builder settings for a particular field. It’s in the User Roles settings of the plugin.
View post on imgur.com
Mmhh, I’ve just tried to register again, and i click the link it takes me the page i want as a login user. (The page is accessible only if login).
So even if the check doesnt appear in the dashboard, the option is saved on the backend. That’s a bit weird.
Yes, i’ve tried removed all of the custom code snippet around UM login but it didnt change anything.
Also the option was working until recently with the same content on functions.php.
I have two environments. After testing on the staging environment and having the OK from my client to push the change on the live website, i found out i couldn’t check the option on live website and while checking the staging environment found the option unchecked and couldn’t save it anymore.
Hi !
I’ve switched theme and when i checked with the other theme, the option was checked!
I’ve updated the parent theme. When i switch to parent theme, the option is checked but still not on the child theme.
I’ve enabled the debug log, at first i got a depreciated log from an plugin which i was not using, so i remove it. But since then, my debug log is empty so i dont really know what to do.
Thanks!!! It works amazingly well!
Sorry for the additional question.
When i type 19910419 and submit the form, it creates an error “The date of birth is not a valid date in the format YYYY/MM/DD “19990101”, but when the form is reload, the field is showing the correct format 1991/04/19.
Same when i write 23 October 1991, the error is “The date of birth is not a valid date in the format YYYY/MM/DD “23 October 1991” but then the field is showing 1991/10/23.
I dont really need the full date to be working because my website is in japanese, but is there way to make 19910419 format has valid?
It’s perfect! Thanks a lot!!! Truly appreciate your help !
Would love to have another message for empty value!
I need to check with the customer what he prefers when today+1 is enter, if it’s okay or just to exclude the whole current year.
Let me coming back to you
is it pushing it to ask for empty value error ?
You are amazing! That’s really a add-on plugin! Works perfectly!
Just one thing if i may, i think you are calculating the max_age with only the year, (so 2024 is an error, but not 2023/12/31). I think all day in the future should be an invalid.
So if today is 12/05, today is valid but 12/06 is not.
What do you think ?
Hey, it seems to work to input date, but what about validation then ?
it could enter 2024/01/01 without error, but someone born in 2024 shouldnt be able register.
Or i could enter 000/44/55, it was validated but then when i look at my form to change user info, it’s changed to 1970/01/01.
Until validation was, only past date and up to 115years.
Hi @aurovrata
I dont seem to have the supress_filters on my settings.
Like i said, i only just started using your plugin, and while testing i thought one of query (the one with orderby date) was not being affected when the override option was not check. But i could be wrong!
It’s like i’ve added your plugin, quickly see it did what i wanted, and upload the new wordpress version. When i check again, the override option was not acting like i remember (maybe falsely?) In the end it’s not a problem for my client that both query change with manual setting so the issue is resolved on my part.
It’s a custom post type ! So it makes sense.
I’ve just started using your plugin, but i thought my two queries werent acted the same if the orderby was checked or not, but maybe i’ve not look properly.
@missveronica Thanks ! I added you code and it works!
Sorry to restart the topic, but i cant find a way to create an error for empty a specific error inputs (email and password)
add_action( 'um_submit_form_errors_hook_login', 'um_submit_form_errors_hook_login_email', 9, 1 ); function um_submit_form_errors_hook_login_email( $submitted_data ) { if ( isset( $submitted_data['user_email'] ) && !empty($submitted_data['user_email'])) { if ( ! is_email( $submitted_data['user_email'] )) { UM()->form()->add_error( 'user_email', __( 'The email you entered is invalid', 'ultimate-member' ) ); } } elseif (empty( $submitted_data['user_email'] )) { UM()->form()->add_error( 'user_email', __( 'empty login email', 'ultimate-member' ) ); } }
It works !! Thanks!!