Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-07T12:42:59-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14305 2011-10-07T12:42:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14305&p=45058#p45058 <![CDATA[Re: free registration with fields prefilled from email]]> I've gone a step further and added it as a disallow on my robots.txt and noindexing on my htaccess as well. Really don't want folks finding it via search engine results :/

-grace

Statistics: Posted by bitofgrace — October 7th, 2011, 12:42 pm


]]>
2011-10-07T12:37:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14305&p=45057#p45057 <![CDATA[Re: free registration with fields prefilled from email]]>
If a hacker somehow guesses the URL and does an unauthorized free registration, the admin can just delete that user.

Statistics: Posted by svillee — October 7th, 2011, 12:37 pm


]]>
2011-10-06T16:23:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14305&p=44989#p44989 <![CDATA[Re: free registration with fields prefilled from email]]>
Sounds like i'll be using this same method to get around the penny payment in pre-registrations.

-grace

Statistics: Posted by bitofgrace — October 6th, 2011, 4:23 pm


]]>
2011-08-02T23:27:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14305&p=29718#p29718 <![CDATA[Re: free registration with fields prefilled from email]]>
That was the thread with Jason's post I remembered. viewtopic.php?f=4&t=3029&p=11814#p11814 Thanks for finding it. :)

Statistics: Posted by Cristián Lávaque — August 2nd, 2011, 11:27 pm


]]>
2011-08-02T09:31:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14305&p=29640#p29640 <![CDATA[Re: free registration with fields prefilled from email]]>
Yes, there's always a risk that an uninvited guest will find the free registration form, but I think I can at least keep search engines from finding it.

I think I found a solution based on some information in this post. I'll use a special template for the free registration form, and I'll put this code near the top of the template:

Code:
if ($_GET['email']) {
  if (!is_array($_POST))
    $_POST = array();
  if (!is_array($_POST['s2member_pro_paypal_registration']))
    $_POST['s2member_pro_paypal_registration'] = array();
  if (!is_array($_POST['s2member_pro_paypal_registration']['custom_fields']))
    $_POST['s2member_pro_paypal_registration']['custom_fields'] = array();
  $_POST['s2member_pro_paypal_registration']['first_name'] = $_GET['fname'];
  $_POST['s2member_pro_paypal_registration']['last_name'] = $_GET['lname'];
  $_POST['s2member_pro_paypal_registration']['email'] = $_GET['email'];
  $_POST['s2member_pro_paypal_registration']['custom_fields']['key'] = $_GET['key'];
}


This seems to be effective in getting the fields prefilled in the form.

Statistics: Posted by svillee — August 2nd, 2011, 9:31 am


]]>
2011-08-01T22:32:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14305&p=29605#p29605 <![CDATA[Re: free registration with fields prefilled from email]]>

Since you'd be inviting them, instead of having a free registration form up there where someone that finds it could use it although he wasn't invited...

You already have their names, email address and keys, why not just create their accounts using s2Member Pro's Import tool and then send them the email saying they just need to generate the password to activate it? viewtopic.php?f=4&t=1163&p=9032#p9032

Would that work?

Statistics: Posted by Cristián Lávaque — August 1st, 2011, 10:32 pm


]]>
2011-08-01T16:27:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14305&p=29583#p29583 <![CDATA[free registration with fields prefilled from email]]>
So the link in the invitation email might look something like this:

Code:
http://oursite.com/invited-free-registration/?fname=John&lname=Smith&email=jsmith%40gmail.com&key=31416


Is the s2Member-Pro-PayPal-Form shortcode flexible enough to allow this? Thanks in advance for any help.

Statistics: Posted by svillee — August 1st, 2011, 4:27 pm


]]>