Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Complete Registration Link That Leads To Specific Registration Form…
Tagged: emember registration, registration form
- This topic has 9 replies, 3 voices, and was last updated 10 years ago by enyaw.
-
AuthorPosts
-
October 15, 2014 at 6:30 pm #11622enyawMember
Hello,
This is what I’d like to do:
I would like the ability to direct members who signup for a specified level to fill out a different form that will be designed differently. For instance: Let’s say a member signs up for my ‘purple plan’. After they pay (I’m using wpEstore), they receive a confirmation email to finish their registration. When they click the link in the email, I want them to go to my websitem which has a purple colored registration form.
Now, let’s say a member sighs up for my ‘orange plan’. After they pay (I’m using wpEstore), they receive a confirmation email to finish their registration. when they click the link in the email, I want them to go to my website, which has an orange colored registration form.
So you can see what I am wanting to do is use a different registration form for specific member levels. I’d prefer to have the ability though… to write a conditional within my custom page template that I’ve created.
Thank you in advance.
October 15, 2014 at 6:49 pm #66094wzpModeratorOctober 15, 2014 at 7:30 pm #66095enyawMemberWZP
I saw that link. But how do I determine that the membership level that the person signed up for when they click the link?
Would it go something like this?
<?php if(!wp_emember_is_member_logged_in(‘1’) || !wp_emember_is_member_logged_in()) : ?>
<?php echo do_shortcode(‘[wp_eMember_registration_form_for level=1]’); ?>
<?php else: ?>
<?php echo do_shortcode(‘[wp_eMember_registration_form_for level=2]’); ?>
<?php endif; ?>
October 15, 2014 at 9:48 pm #66096adminKeymasterYour code looks correct to me.
An alternative approach is to use the form builder addon if you wanted to crate heavily customized forms for each of your different membership levels:
https://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-form-builder-addon-extension-760
October 23, 2014 at 4:50 pm #66097enyawMemberI really don’t need the addon. I just need to know how can a trigger the registration page to show a different form after the buyer has went through the payment process, and when given the encrypted link within that email, will indeed land them on the registration page but display the form I have set up for that membership level.
Let me see if I can explain it clearly with an example:
Sue and Bob have a floral shop. They use a WordPress website to sell products. Bow Sue is responsible for the maintenance of the site and Bob is responsible for learning more about how to use WordPress.
So one day something goes bonkers with their website. So Sue comes to my website and signs up for my WordPress FIX service.
So the process that she has to go through to get the problem fixed is as follows:
1. Clicks on a buy now button.
2. She is directed to Paypal to pay.
3. She is sent to a thank you page after she has paid with instruction to check her email to finish her registration as a client for the WordPress FIX service.
4. She then clicks the link in the email and she is led to the page in which she has to fill out the registration form (as a client). By the way, this form is purple with these form fields (first name, last name, email address, username, password, password confirm and submit button).
Now Bob wants to learn how to build a better WordPress theme. So Bob comes to my website and lands on a page where there is an option to sign up for my membership training, which are step by step videos that show him how to do it.
So the process that Bob will go through is as follows:
1. From the sales page he clicks a button that takes him to the membership levels page that has the different prices for the different member levels.
2. From the membership plans page, he clicks on the $1 trial button, which takes him to a cart page that shows him what he is signing up for.
3. From the cart page, he clicks the purchase now button, which them takes him to paypal to pay.
4. He pays and then is redirected back to the thank you page with a message to check email to finish registration.
5. He clicks the link in email and is directed back to my website’s registration page. This page has the exact same fields as the WordPress FIX service. However, this form is Orange.
So, what I need to know is, is there a way to write some type of conditional statement based off the individual registration link that will land the buyer on the correct registration form?
I hope this was a bit clearer.
Thank you.
October 24, 2014 at 3:15 am #66098adminKeymasterI am not sure how you can do that unfortunately (it is not a supported configuration). Read the following post so you know how the plugin works with ONE registration form:
October 28, 2014 at 2:57 pm #66099enyawMemberThere has to be a way to do it. There has to be a way to read what level has been purchased. Because, let’s say that someone purchases a premium membership. When they click the link in the email, they will be directed to the registration form, which in turn will display the membership they are signing up for.
Could you ask your lead developer about this to be absolutely certain if it can’t be done?
Thank you so much for your time.
October 28, 2014 at 4:12 pm #66100wzpModeratorWhen the user clicks on the unique link created by the membership plugin and goes to the registration page, it will automatically make that registration form for the level the user paid for.
There has to be a way to do it…
Not with the way eMember is currently written. It would require a custom work order. If you are interested in exploring this possibility; please reference this thread, and complete the custom work order quote request form, and someone will get back to you:
October 28, 2014 at 8:55 pm #66101enyawMemberThank you sir.
October 30, 2014 at 2:31 am #66102enyawMemberI think I found the solution. Just in case you’d like to know. This is what I decided to do.
When someone clicks the link in their email to go and finish registration, it will be connected to the membership level. And when I say connected, I mean that the form will produce the value in the form of what membership level they are registering for.
So with that being said. It can be done and all you have to do is target the form’s value with the $_POST method, while wrapping it in a conditional statement like so:
<?php if ($_POST == ‘Gold’): ?>
<?php echo do_shortcode(‘[wp_eMember_registration_form_for level=3]’); ?>
<?php elseif ($_POST == ‘Silver’): ?>
<?php echo do_shortcode(‘[wp_eMember_registration_form_for level=2]’); ?>
<?php endif; ?>
-
AuthorPosts
- You must be logged in to reply to this topic.