digitaldesigner
Forum Replies Created
-
I had to create a session cookie and store the values in the session in order to populate the Ultimate Member forms. In my case I was using a custom form for verification and then sending that info to the registration form as a 2 step process. When attempting to go through the URL I was unsuccessful.
Not sure how you are handling this process but one thought would be:
Sending a email to the one getting the referral code with a web link to your site where their referral code is displayed to them. From there they click a link or auto redirected after a pre-selected time frame where as the referral code through the session cookie would then populate the form you are noting.
Just a thought. I would love to see if there was a way to do it through the URL though.
Hope this helps a bit.
are you trying to add a login form to that specific section of the page? If so you can use the technique noted in this stackexchange.
If you are savvy with building plugins you can even create a simple shortcode style plugin to add a shortcode to the area of your site you want the login form to appear making it easier to implement on the different pages.
Hope this helps
Hey @crank97 This link will do exactly what you are looking for.
You can simply remove the register link they added to the equation.
I have used this technique on a couple sites myself as well.
I would suggest any customization like this though to be done in a child theme, you can use child theme creator by Orbisius to easily create one if you have not already.
Hope this helps.
WordPress itself doesn’t allow spaces in the username mate. This is most likely your issue as the Ultimate member plugin piggy backs the WordPress core functionality in that regard.
or is there a way to bypass using the Ultimate Member Password Reset Form if I cannot modify this element. Please advise.
I integrated the WordPress password strength meter using a similar tut, thanks.
used a session in a custom page template to solve the issue. you can call this case closed 😉
ok so I have found a solution.
I added a textbox and set the meta value to confirm-email
Title and Label I have set to Confirm Email and I have positioned it accordingly.I then went into the Developer Section of the Documentation and found this article.
https://docs.ultimatemember.com/article/94-apply-custom-validation-to-a-fieldI used the direction there and added this script to my child themes functions.php file.
add_action('um_submit_form_errors_hook_','um_custom_validate_username', 999, 1); function um_custom_validate_username( $args ) { global $ultimatemember; if ( isset($args['user_email']) !== ($args['confirm-email'])) { $ultimatemember->form->add_error( 'user_email', 'Please verify both emails match' ); } }and voila my registration form now successfully has a confirm email box which is validated via php. 🙂
Hope this helps others that find this a useful element as part of their registration form.
I am trying to accomplish the same thing, I have created a additional text box and labeled it as desired. is there a method where i can add jquery validation to the mix. maybe through a custom template. can I just duplicate the register.php template and add my jquery validation to the bottom of that, adding it to my child theme as directed in the documentation? Sorry to piggyback the post but no sense creating a new post for a repeat inquiry i figure 🙂