Page 1 of 1

Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 6th, 2011, 1:31 am
by JanGi
Hi, I've just gone ahead and purchased the Pro license for unlimited sites, because I need the function to create free signup forms without having my prospects go through PayPal.

When my customers land on my website they will be presented with my squeeze page. After they have opted in, and confirmed their email address they go to the registration page (which is secured with a cookie) which I have a free pro form on.

Is there any way to prepopulate the form with the email address (i.e. by appending ?email=bla@bla.com) so my users don't have to enter it twice? And possibly other data like first name? In the end it doesn't matter if the double opt-in happens through my autoresponder service or s2Member. But in both scenarios I would need a function like this.

I would also be interested in a solution where after opting in the user gets sent an automatically generated password with the email being the username. Can I somehow catch the event when they confirm their email address so that I can add them to my email list through my autoresponder's API?

I hope you understand what I'm trying to achieve here, and hope it's not too complicated to implement :D

Thanks,
Jan

Re: Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 6th, 2011, 11:29 pm
by Cristián Lávaque
Hi Jan. I think I understand what you're trying to do.

Now, how about this, instead of having an opt-in form first and then a registration one, why not have just the registration form that'd create the account and also opt him in?

You can look at the autoresponder (list server) integration and set that up first. WP Admin -> s2Member -> API / List Servers

Then, to make the form shorter, go disable the first and last name fields, and make password generated by the WordPress, those two settings will remove four fields from the form. WP Admin -> s2Member -> General Options -> Custom Registration Fields

Then in the free registration pro-form, you can also remove the captcha if you want, with the shortcode attribute value. WP Admin -> s2Member -> PayPal Pro-Forms -> Shortcode Attributes (Explained) -> captcha

I hope that helps. :)

Re: Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 7th, 2011, 12:11 am
by JanGi
Hi Christian, thanks for your response.

Indeed, having the subscribers register first would be better for integrating with s2Member. However, I really want the users to enter my "funnel" through a squeeze page due to reasons regarding conversion. A registration form would not be easy to integrate there, I assume.

I know, it's not really a big problem, but I am kind of special in this regard. I myself have a problem with having to enter my email address twice, somewhere, that's why I want to prepopulate the fields. Which file would I have to change, where is the registration form generated? All I had to do is read $_GET and put the email address in the corresponding input field of the form. Would it work like this?

Your response was in regard to my very first posting. Since then I had already figured out myself how to alter the registration form to my liking, and removed that request from the thread (thanks though!). Could you please elaborate on the following?
I would also be interested in a solution where after opting in the user gets sent an automatically generated password with the email being the username. Can I somehow catch the event when they confirm their email address so that I can add them to my email list through my autoresponder's API?


Could I use a part of PayPal's IPN system there?

Thanks again for your support!

Re: Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 7th, 2011, 3:25 am
by Cristián Lávaque
Yes, I understand what you're saying, I think...

That's why I suggested that approach. You can integrate an s2Member Pro free registration pro-form to a page easily. With just two fields in the form, email and username, it can be easily used as an opt-in form. It would be an opt-in form because the s2Member integration with the list server would add them to your list. The added advantage is that you're actually creating the account right there too.

Here's an example in a test page I set up:

2011-07-07_032014.png
2011-07-07_032014.png (6.53 KiB) Viewed 435 times


You can customize the template for that form, too.

Is it possible to modify the PayPal® and/or Authorize.Net® Pro Form templates?

Usually not necessary. But yes, if you really need to. Please check your /s2member-pro/includes/templates/forms/ directory. You can take the default templates, and place some ( or all of them ) into your own WordPress® theme directory. s2Member Pro will automatically find your custom templates there. By placing custom templates into your theme directory, you can be sure they won't get overwritten in a future upgrade. Either that, or you can just use the default templates like they are, and customize them with your own CSS rules inside the Stylesheet for your WordPress® theme ( i.e. style.css ). If you're using a PriMo Theme ( for instance, the s2Clean Theme ), check your Theme Options Panel, under: Custom CSS / Style Sheet.


And then tell the shortcode to use that template. WP Admin -> s2Member -> PayPal Pro-Forms -> Shortcode Attributes (Explained) -> template

template="" 100% optional. This can be a custom template file that exists inside your WordPress® theme directory. For example: template="checkout.html".

Re: Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 7th, 2011, 5:40 am
by JanGi
Ah, now I get it. Yes, that's an option I haven't even considered before.

I am using OptimizePress and want to integrate your registration form with their Squeeze Page template. They say that every form can be integrated if it's HTML only (no JavaScript). Do I have to use the ProForm shortcode? I need HTML to integrate with OptimizePress.

I assume it's not enough to send a POST to some script containing name and email address :-) Do you have any idea how I can solve this issue?

Thanks for the help so far :D

EDIT: And by the way... Can I use the email address as the username so that everything they had to enter was the email address?

Re: Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 7th, 2011, 2:19 pm
by Cristián Lávaque
I'm sorry, I don't know how to only have the email address there and use it as a username as well, but a developer may help you achieve it. This is something Jason and I have talked about, though.

The pro-forms use JavaScript, they don't work without it, as far as I know. You could use the squeeze page template (copy the HTML) in a normal WordPress page which wouldnt' have a problem with JS.

Re: Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 7th, 2011, 3:12 pm
by JanGi
Does s2Member have like an inbound API that I can use to create an account and have my user being sent the password? Or even a Wordpress plugin that would accomplish this would be sufficient for me. Can you recommend me one?

Re: Prepopulate Pro Signup Form (without PayPal)

PostPosted: July 7th, 2011, 4:52 pm
by Cristián Lávaque
It doesn't yet, but Jason's been working on it, hopefully it'll be ready soon. viewtopic.php?f=4&t=2787&p=8242#p8242