|
Hi Raam, separating the different upgrade shortcodes to different pages worked fine. Thanks for your help.
|
|
Yes, I’m using WP 3.3.1 and s2Member 120309. Here’s my shortcode:
[s2Member-Pro-AuthNet-Form modify="1" level="1" ccaps="" desc="One Month Membership ($50)" cc="USD" custom="koaninnovation.org" ta="0" tp="0" tt="D" ra="50" rp="1" rt="M" rr="0" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
Actually there are several on that page – perhaps there is something in this page that is creating the problem? Here is the full page:
[s2If current_user_is(s2member_level0)]
Upgrade to a one month membership
Upgrade to an ongoing membership
Upgrade to a one month membership ($50 for one month access)
[s2Member-Pro-AuthNet-Form modify="1" level="1" ccaps="" desc="One Month Membership ($50)" cc="USD" custom="koaninnovation.org" ta="0" tp="0" tt="D" ra="50" rp="1" rt="M" rr="0" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
Upgrade to an ongoing membership ($50/month)
[s2Member-Pro-AuthNet-Form modify="1" level="2" ccaps="" desc="Ongoing Membership ($50/month)" cc="USD" custom="koaninnovation.org" ta="0" tp="0" tt="D" ra="50" rp="1" rt="M" rr="1" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
[/s2If]
[s2If current_user_is(s2member_level1)]
Upgrade to an ongoing membership ($50/month)
[s2Member-Pro-AuthNet-Form modify="1" level="2" ccaps="" desc="Ongoing membership ($50/month)" cc="USD" custom="koaninnovation.org" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="M" rr="1" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
[/s2If]
[s2If current_user_can(access_s2member_level2)]
Downgrade to a one month membership ($50 for one month access)
[s2Member-Pro-AuthNet-Form modify="1" level="1" ccaps="" desc="One month membership ($50.00)" cc="USD" custom="koaninnovation.org" ta="0" tp="0" tt="D" ra="50.00" rp="1" rt="M" rr="0" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
[/s2If]
|
|
|
|
Here’s what my form shortcode looks like, I’m wondering if this would do the trick I’m looking for:
<form name="input" action="http://koaninnovation.org/donate-test" method="get">
Recurring Donation Amount: <input type="text" name="amount" /><br />
<input type="submit" value="Submit" />
</form>
[s2Member-Pro-AuthNet-Form level="4" ccaps="-all" desc="You're donating $<?php echo esc_attr($_REQUEST["amount"]); ?> each month." cc="USD" custom="koaninnovation.org" ta="0" tp="0" tt="D" ra="<?php echo esc_attr($_REQUEST["amount"]); ?>" rp="1" rt="M" rr="1" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
I tried using level=”*” but it didn’t seem to want to accept it with only the ccaps=”-all” configuration.
|
|
That seems to work great. Thanks for your help!
I’m considering using s2 to hack in a way for people to give one-time or recurring donations through s2, rather than managing memberships with s2 and needing to use another plugin altogether for donations (without membership).
I can control whether that custom amount is one-time or recurring but simply changing the “rr” attribute, correct? But I also need to technically give them a membership level. Can I give them a membership level, say 100, but then remove the capabilities of that level? Ideally I want them to be a “subscriber” or “Level 0” member, or at least have the same capabilities as a Level 0 member.
|
|
Thanks for the replies. I really do like the way that you’ve intentionally implemented the forms in a way that allows for the theme’s CSS to style them, rather than force a particular style that is packaged with s2Member. I assume that works perfectly for many users and it seems to me to be the right way to do it. Unfortunately my theme doesn’t have great styles to begin with so I will have to add them manually, but that’s okay. I was just wondering if there was a way to shave some time off my project:)
|
|
Ah, thank you Eduán, not sure how I missed that before but yes, that is just what I need.
I like the options that come with the fields, too, like “editable/not editable/invisible” after registration. That is very helpful. Perfect.
|
|
My point exactly. It says, “…customize them with your own CSS rules inside the Stylesheet for your WordPress® theme (usually style.css).”
Some themes don’t have great CSS for forms. Currently I am looking at spending an hour or two in the theme CSS customizing the look and feel of the s2member forms. It would make me a happy man if I could somewhere download some CSS that would enhance the look of the forms without relying on the WP theme CSS.
|
|
Yes, exactly. It could be multipurpose and should be labeled generally enough that it could be used for almost any comment that a member wanted to add. I could see it used for special instructions, reasons for upgrade/downgrade, let us know how you found us, etc.
|
|
Thanks. I tried that but I’m having trouble with the export feature – as related here: http://www.s2member.com/forums/topic/usermember-export-csv-is-garbled/
I think we’ll be alright, though, we’re looking at probably just offering our existing members a discount code to sign up with, allowing them to create their own account.
|
|
Right, either full templates or CSS stylesheets that I could copy/paste. Of course I’ll need to tweak them to fit my specific theme, but if I could start with one of the styles that are represented in the Pro screenshots here: http://www.s2member.com/pro/#!s2_tab_jump=s2-pro-screenshots it would save me a lot of time.
I thought maybe since they were shown in the screenshots, those styles would be available somewhere for download?
|
|
This seems to work for me using the technique described at http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604, but I wondered how I might go about implementing something like the solution here: http://www.primothemes.com/forums/viewtopic.php?f=4&t=16566&p=59040#p59040 that would allow the user to input their own custom amount. Possible with Auth.net?
|
|
OK, yes that helps. So as long as they are able to log in to their previously created account, then s2member can upgrade their membership using the upgrade forms that I’ve created. Got it.
Thanks again.
|
|
OK, great, that answers my question. Thank you!
|
|
I am experiencing the same problem. Gibberish in the export file.
|
|
Thanks for your reply. Sorry, I realized I’m posting in the wrong forum technically. Just to clarify, though, in our account we listed our primary domain as “domain1.org” which will be the permanent, final domain, although we are building the site on “domain2-temporary.org”.
Is this the correct what to do it? Can I fully install and test the plugin on the temporary domain and then change the entire site’s domain name to the permanent domain without expecting any problems?
|
|
|
|
Hi, I have two questions that are related to this thread:
1) Can I create this same type of “enter your own amount” button with Authorize.net
2) Could I do it for people who are NOT logged in?
|
|
I have the same question, although the development site is actually live online. How would I go about using the pro version in that dev site but then keeping the settings when we transition to the permanent domain name?
|