Cristián Lávaque
Forum Replies Created
-
One thing you could try is setting tt to “D” and then tp to the number days until the date you want.
I don’t remember if PayPal lets you go over the 7 or 30 days trial before it requires you to use weeks or months instead of days as the unit…
Enable logging and test with a 1 cent transaction if it works, for example, with a 100 days trial, and you don’t get any errors in the log. WP Admin -> s2Member -> Log File
If it works, then you’d need some PHP in your shortcode to calculate dynamically the number of days before the date you want.
These may be useful:
https://wordpress.org/plugins/ezphp/
http://php.net/manual/en/function.strtotime.php
http://php.net/manual/en/function.date.phpI hope that helps. 🙂
You could try wrapping each link to a page inside a condition that checks if the user can access it or not using this function: is_page_permitted_by_s2member
See also: WP Admin -> s2Member -> Scripting -> Conditionals
I hope that helps. 🙂
s2Member doesn’t support shipping address because it’s meant for digital products.
Are you using a PayPal button or pro-form? Where do you have the shipping address? Did you create it as custom profile fields?
Looking forward to your update.
manishsoni5041, this is just a guess, but is it the page you set as the Login Welcome Page?
I ask because s2Member will restrict that page at Level 0 to require the user to be logged in to view it. WP Admin -> s2Member -> General -> Login Welcome
If it’s not, could you share here what the Membership Options Page Variables are in the address after being redirected? See: WP Admin -> s2Member -> Scripting -> Membership Options Page Variables
I hope that helps. 🙂
Moe Joe, I recently installed WP-SpamShield over at http://s2member.net for the new community forum, and it seems to be blocking spam registrations correctly so far. 🙂
The multisite feature that lets you set how many child blogs a user can create, only works with levels, not custom capabilities…
You could post a feature request for it here: https://github.com/websharks/s2member/issues
I hope that helps. 🙂
Did you customize the settings here? WP Admin -> s2Member -> General -> Email -> New User
Are you allowing users to set their password on registration?
Can I have a link to your registration form to test creating an account and see the email I get?
Looking forward to your update. 🙂
For the custom field to show up in the s2 pro-form, create tel_number here: WP Admin -> s2Member -> General -> Reg/profile Fields -> Add New
To prefill the field in the pro-form, you do need to custom code it. You could use JavaScript as krumch suggested.
Or you could try populating the field in the POST array before the pro-form:
$_POST['s2member_pro_paypal_checkout']['custom_fields']['tel_number']See Jason’s posts here: http://www.primothemes.com/forums/viewtopic.php?f=4&t=3029#p11814
I hope that helps. 🙂
how to stop displaying after one month.
You can have a conditional for that. See: WP Admin -> s2Member -> Scripting -> Content Dripping
The s2Drip shortcode would make this simpler if you have s2Member Pro. http://s2member.com/kb-article/s2drip-shortcode/
[s2Drip access="level1" from_day="1" to_day="30"] coupons [/s2Drip]I hope that helps. 🙂
lamh
I have no need to have non registered users to sign up. I am not asking them to automatically create an account for everyone.
Could you explain that a bit more? Do you not want users to register on your site? Level restriction/access only works for logged in users, so they’ll need to register an account and login.
If you want to protect and sell content for non-logged in users, then take a look at the Specific Page restriction, but that’s not compatible with the Level restriction.
See: https://www.youtube.com/watch?v=jPk8K6SR8No&list=PLED64B278374AB72F&index=1
I hope that helps. 🙂
hkpresent
can I use the s2member generated paypal button to let NON-signed in user to pay with it ?
Yes. If the user is not logged in, the payment will go towards a new registration.
how can i grant that specific user with s2member level 1 access?
You set that in the button’s shortcode. WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> level
will they be automatically create an account as well?
No, s2Member doesn’t automatically create the account after payment. He’ll need to register afterwards.
I hope that helps. 🙂
lamh, could you verify that your s2’s PayPal configuration is complete and correct? WP Admin -> s2Member -> PayPal Options
See also: https://www.youtube.com/watch?v=SvZxEQjezfY&list=PL8gPolqFnYqsPh9Y0TCjvwLkKuby29SYg&index=1
While troubleshooting, could you enable logging? Do a new test purchase and review the logs to see if you notice any errors mentioned there. WP Admin -> s2Member -> Log Files -> Configuration
I hope that helps. 🙂
george.hobson, Pat is right, what you ask depends on a number of things.
Could you give a bit more info about how you’d be creating the user’s account, and what you’re using to get the product payment?
I think it’d be possible to do what you said with a bit of customization, but I’d need more info before I can suggest a way.
Looking forward to your update. 🙂
cfm168, depending on what you’re using to output the info, WP shortcodes may not be available. It’s also possible to use PHP for the conditional.
See the conditionals documentation here: WP Admin -> s2Member -> Scripting -> Conditionals
I hope that helps. 🙂