Community Support Forums — WordPress® ( Users Helping Users ) — 2011-09-28T22:49:31-05:00 http://www.primothemes.com/forums/feed.php?f=36&t=2778 2011-09-28T22:49:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=41873#p41873 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by meiguoacademies — September 28th, 2011, 10:49 pm


]]>
2011-09-28T22:40:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=41872#p41872 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by meiguoacademies — September 28th, 2011, 10:40 pm


]]>
2011-09-06T15:59:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=34128#p34128 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Add an submission handler to the Pro Form.

Something like this at the bottom of your template file perhaps:
Code:
<script type="text/javascript">
(function($)
    {
        $('form#s2member-pro-authnet-sp-checkout-form').submit (function()
            {
                if (/* Run your conditional here. */)
                    {
                        alert('Please check the box that you agree!');
                        return false;
                    }
                else
                    return true
;
            });
    })(jQuery);
</script>

Statistics: Posted by Jason Caldwell — September 6th, 2011, 3:59 pm


]]>
2011-09-06T15:52:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=34126#p34126 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> I need to make my "Terms and Conditions" checkbox mandatory. Can you point me to the script that handles the form? (The template file has a %%action%% shortcode)

Statistics: Posted by s_d_p — September 6th, 2011, 3:52 pm


]]>
2011-09-06T14:00:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=34113#p34113 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> I see, thanks for your clarification.

Sorry, Custom Registration/Profile Fields for s2Member, are only supported for Users/Members. So while it is possible to do what Cristián was talking about, with a Custom Registration Field, it is NOT possible to do this with a Pro Form for "Specific Post/Page Access", because that functionality is designed to work independently from Membership Level Access. That is, Specific Post/Page purchases do not support Custom Registration Fields.

What you CAN do though, is create a custom template for Specific Post/Page Access, and build a checkbox for T&C into your template. Then specify your custom template in the Pro Form Shortcode for s2Member.
Code:
[s2Member-PayPal-Pro-Form ... template="my-template.php" /]
( This Shortcode is abbreviated for clarity in this regard )

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.

So, in your case, take this file:
/s2member-pro/includes/templates/forms/paypal-sp-checkout-form.html
Make a copy in your WordPress theme directory and modify it however you like. If you rename the template file, be sure to specify the new name in the template="" Attribute of your Shortcode.

Statistics: Posted by Jason Caldwell — September 6th, 2011, 2:00 pm


]]>
2011-09-05T10:35:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=34051#p34051 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by s_d_p — September 5th, 2011, 10:35 am


]]>
2011-09-05T09:26:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=34048#p34048 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]>
Examples: country_code, street_address
e.g. [s2Get user_field="country_code" /]

My field is called tou... so does this mean that I place [s2Get user_field="tou" /] somewhere? If so, where?

Statistics: Posted by s_d_p — September 5th, 2011, 9:26 am


]]>
2011-09-05T01:11:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=34037#p34037 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by antseo — September 5th, 2011, 1:11 am


]]>
2011-09-05T00:56:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=34031#p34031 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> WP Admin -> s2Member -> General Options -> Custom Registration

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — September 5th, 2011, 12:56 am


]]>
2011-09-04T03:57:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=33963#p33963 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by antseo — September 4th, 2011, 3:57 am


]]>
2011-09-01T15:21:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=33667#p33667 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by s_d_p — September 1st, 2011, 3:21 pm


]]>
2011-08-25T03:33:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=32861#p32861 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by Cristián Lávaque — August 25th, 2011, 3:33 am


]]>
2011-08-24T02:31:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=32767#p32767 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]>
My theme (or something) doesn't like the comments generated by the short codes for the paypal buttons, so your code at the top...


<form onsubmit="return false;">
<input id="our-terms-conds" type="checkbox" /> Yes, I agree to the Terms/Conditions.
<a href="[s2Member-PayPal-Button ... output="url" /]" onclick="if(!document.getElementById('our-terms-conds').checked){ alert('You MUST check the box that you agree.'); return false; }"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" border="0" alt="PayPal®" /></a>
</form>


Doesn't work for me... do you have any suggestions?

Statistics: Posted by esljosh — August 24th, 2011, 2:31 am


]]>
2011-08-12T22:49:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30656#p30656 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by Cristián Lávaque — August 12th, 2011, 10:49 pm


]]>
2011-08-12T22:46:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30655#p30655 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Now, while I still have you can I ask you if there is a way to restrict access to anyone younger than 7 and over 18?

Statistics: Posted by Black Dynamite — August 12th, 2011, 10:46 pm


]]>
2011-08-12T21:45:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30642#p30642 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by Cristián Lávaque — August 12th, 2011, 9:45 pm


]]>
2011-08-12T21:40:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30641#p30641 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by Black Dynamite — August 12th, 2011, 9:40 pm


]]>
2011-08-12T10:56:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30591#p30591 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Statistics: Posted by Cristián Lávaque — August 12th, 2011, 10:56 am


]]>
2011-08-11T23:52:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30573#p30573 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]>
So the last thing in regards to this topic is T&C. I created the check box, but there's nothing for them to read. lol.

Statistics: Posted by Black Dynamite — August 11th, 2011, 11:52 pm


]]>
2011-08-11T23:41:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30572#p30572 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]>
DOB... is the only way a user can enter DOB by text?

Statistics: Posted by Black Dynamite — August 11th, 2011, 11:41 pm


]]>
2011-08-11T23:17:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30566#p30566 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> Unique Field ID is to identify the field (e.g. date, terms).
- Field Label/Desc is how it'd be shown in the form (e.g. Date of Birth, Terms & Conditions).
- Starts A New Section can be No if it doesn't start a new section in the form.
- Form Field Type can be checkbox for the T&C and text for the DOB.
- Default value is what the form would have written in the field before the user inputs anything.
- For the T&C Field Required: yes.
- For the date, Expected Format: Date.

I hope that helps.

Statistics: Posted by Cristián Lávaque — August 11th, 2011, 11:17 pm


]]>
2011-08-11T23:02:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30563#p30563 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]>
All I want to do is ADD a DOB field MM/DD/YYYY, but I don't know what to choose in START A NEW SECTION>FORM FIELD TYPE> FIELD LABEL/DESC>UNIQUE FIELD ID>

DEFAULT TEXT VALUE>
EXCEPTED FORMAT>

If you could answer these for me it would help a lot?
---------------------------
More over, you haven't showed me or told me anything that will let me force TERMS and CONDITIONS before a user can successfully register. Can you help?

Statistics: Posted by Black Dynamite — August 11th, 2011, 11:02 pm


]]>
2011-08-11T13:54:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30523#p30523 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> http://www.s2member.com/general-options-overview-video/

Statistics: Posted by Cristián Lávaque — August 11th, 2011, 1:54 pm


]]>
2011-08-11T10:29:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30494#p30494 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]>
I'm a bit lost on how to set up the birthday as well as forcing terms and conditions. If you could do it step by step again I can handle it.

P.S. The video helped a lot.

Statistics: Posted by Black Dynamite — August 11th, 2011, 10:29 am


]]>
2011-08-10T12:33:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2778&p=30393#p30393 <![CDATA[Re: Force Terms/Conds Agreement via PayPal Button]]> WP Admin -> s2Member -> General Options -> Custom Registration Fields/Options

The emails part, if you integrate s2Member with MailChimp or AWeber, could be done from the List Server settings. WP Admin -> s2Member -> API / List Servers -> Registration / Double Opt-In Box

http://www.s2member.com/api-list-servers-video/

Statistics: Posted by Cristián Lávaque — August 10th, 2011, 12:33 pm


]]>