Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Wednesday Dec 19th, 2012 at 10:20 am #35068 | |
|
|
|
|
Cool. Let me know when you get entries in the logs, and post them here, x’ing out private info, please. Yeah, it just logs under s2member-files data that can be helpful to solve problems. |
|
| Posted: Wednesday Dec 19th, 2012 at 10:15 am #35066 | |
|
|
|
|
If you already know they all have 6 moths left, then you can just set the trial term to 6 months. But if one of them doesn’t extend his membership right away and instead waits a month before doing it, then he’ll get a 6 month trial term before the new charge, instead of 5 months. So what I was suggesting was to use a bit of PHP to calculate the time left at the time the shortcode is parsed. |
|
| Posted: Wednesday Dec 19th, 2012 at 10:10 am #35065 | |
|
|
|
|
But the user would have to have the WP capability to create posts in the first place. Or are you talking bbPress or BuddyPress? |
|
| Posted: Wednesday Dec 19th, 2012 at 10:07 am #35063 | |
|
|
|
|
Well done for finding the source of trouble! And thanks for the update. :) |
|
| Posted: Wednesday Dec 19th, 2012 at 10:04 am #35061 | |
|
|
|
Yeah, logs would be good. s2Member® » Private Contact Form
I’m not sure that they it would, but I’d still try it just in case.
I’d contact PayPal to find out more details regarding this error. Is that the URL you have in your PayPal setting for the IPN? If so, update it to the s2Member one http://thecontrariancorner.com/?s2member_paypal_notify=1 If not, you need PayPal to explain where that’s coming from and how you can solve it.
That’s the IPN URL. The server check tool’s PHP file is s2Member-check-my-server.php. So the URL to it is http://thecontrariancorner.com/s2Member-check-my-server.php and it seems fine, for the most part, just a warning about the memory limit. You can remove the server check tool once you’re done with it. |
|
| Posted: Wednesday Dec 19th, 2012 at 9:49 am #35056 | |
|
|
|
|
Hi Benjamin. Right, you don’t have s2Member Pro active right now, according to the screenshots. When you updated the s2Member Framework, then you needed to upgrade the s2Member Pro add-on too, and that’s what the red box is about. There you’d enter your s2member.com username and password to have it update the add-on for you. But it shouldn’t disappear. I guess you may have a JS conflict causing this. In any case, you can update s2Member Pro via FTP too. Please see the documentation here: s2Member® » Pro » Install/Upgrade Instructions Once you update it to match the framework’s version, it’ll be activated automatically and you’ll get the pro options back in your admin pages. I hope that helps. :) |
|
| Posted: Wednesday Dec 19th, 2012 at 9:43 am #35052 | |
|
|
|
|
Ronnie, the PayPal Express Checkout button has to be that one, can’t be customized with another image. This is part of their terms. The PayPal Standard buttons do allow this, though, but the pro-forms don’t work with that service. |
|
| Posted: Wednesday Dec 19th, 2012 at 9:40 am #35051 | |
|
|
|
|
No, haven’t heard from Jason yet, sorry for the wait.
What is the international language tag? Could you point me to the documentation/example? Thanks! |
|
| Posted: Wednesday Dec 19th, 2012 at 9:31 am #35047 | |
|
|
|
Cool. :)
Got ya.
Yes, it’s important. In 2013 we’ll finish developing the new generation of s2Member, which will include a new API for payment gateways that’ll make it much simpler and powerful to integrate with new ones, so we can give more options for everyone. |
|
| Posted: Wednesday Dec 19th, 2012 at 9:26 am #35045 | |
|
|
|
|
Hi Grace. s2Member doesn’t have an IP banning feature yet, so you’d need to look for a plugin that lets you ban IPs for registrations. http://wordpress.org/extend/plugins/search.php?q=ip+ban |
|
| Posted: Wednesday Dec 19th, 2012 at 9:07 am #35040 | |
|
|
|
|
Sounds great! :) |
|
| Posted: Wednesday Dec 19th, 2012 at 9:05 am #35039 | |
|
|
|
|
Right, if the user already registered, the transient would not be needed there. That’s why I suggested doing the troubleshooting tips. It is possible that a plugin is causing that to not be working correctly. |
|
| Posted: Wednesday Dec 19th, 2012 at 8:59 am #35037 | |
|
|
|
|
De nada! :)
No, you’d have to pass the ccap in the [hilite mono]custom[/hilite] attribute, as a custom value after the domain name. Then you can use it with the replacement code for custom values, e.g. [hilite mono]%%cv1%%[/hilite]. Please read the documentation here: [hilite path]Dashboard -› s2Member® -› General Options -› Email Configuration -> Admin New User Notification -> Custom Replacement Codes[/hilite] |
|
| Posted: Wednesday Dec 19th, 2012 at 8:45 am #35033 | |
|
|
|
Funny… You may be having a JavaScript problem causing this. Did you troubleshoot following the suggestions in this article? Knowledge Base » Common Troubleshooting Tips |
|
| Posted: Wednesday Dec 19th, 2012 at 8:38 am #35032 | |
|
|
|
|
Thanks. The shortcode looks okay. I’ll wait for the logs. |
|
| Posted: Wednesday Dec 19th, 2012 at 8:34 am #35031 | |
|
|
|
|
No, try: [hilite pre_code]$expire_on = strtotime(date('Y') . '-12-31'); [/hilite]
No problem. :) |
|
| Posted: Wednesday Dec 19th, 2012 at 8:32 am #35030 | |
|
|
|
|
Thanks for the log entries.
s2Member sent the email, so it’s a problem after that point. Either with the server’s SMTP, or with the deliverability, probably related to spam filters. Did you check the spam folder? If not there, then please try the tips in this article: Knowledge Base » Troubleshooting Email Delivery Problems |
|
| Posted: Wednesday Dec 19th, 2012 at 8:27 am #35029 | |
|
|
|
Well, I don’t know how to refund it automatically. Or how to do a partial refund manually, other than transfering funds to the person. You also risk losing customers that way, if they cancel the subscription and then don’t complete the upgrade again. I think it’s easier and safer to calculate the time and use the trial term to account for the remaining paid time the user has.
No problem. :) |
|
| Posted: Wednesday Dec 19th, 2012 at 8:23 am #35028 | |
|
|
|
|
Thanks for the kudos! Very glad to help you. Let us know if you have more questions. :) |
|
| Posted: Wednesday Dec 19th, 2012 at 8:21 am #35027 | |
|
|
|
|
I’m glad that helped! Thanks for the update. :) This is a URI restriction, not a URL one. You were entering the URL, so I suggested using the URI only. From [hilite path]Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions[/hilite]
|
|
| Posted: Wednesday Dec 19th, 2012 at 8:17 am #35026 | |
|
|
|
|
Hi George. What versions of WP and s2Member Pro do you have?
Make sure you have logging enabled, please. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite] The log entries would help. |
|
| Posted: Wednesday Dec 19th, 2012 at 8:14 am #35025 | |
|
|
|
|
Carmen, Eduán is right, you should confirm what kind of account you have with PayPal and have them enable DPRP for subscriptions. I’m assuming you’re using the s2Member pro-form with more than just PayPal as a payment option, i.e. cards, to receive payments on your site. For that you need to have PayPal Pro, so make sure you have that. And find out if you have the PayFlow Edition, which is whe you’d enter the PayFlow credentials in s2Member. And then have them enable DPRP so you can sell subscriptions. |
|
| Posted: Wednesday Dec 19th, 2012 at 8:10 am #35024 | |
|
|
|
|
I see. Could you enter your email address in the field for it in the Signup Notification and try a new signup test to see if you get the email and what values it includes for the replacement codes? [hilite path]Dashboard -› s2Member® -› API / Notifications -› Signup Notifications -> Email[/hilite] By the way, how are you testing the signup? Actually purchasing while logged out as a customer would, or adding the user directly on the admin side? |
|
| Posted: Wednesday Dec 19th, 2012 at 8:05 am #35023 | |
|
|
|
|
[hilite pre_code]
$today = date('Y-m-d'); // yyyy-mm-dd if ($cFields['course'] == '') { $cFields['course'] = 'Faculty'; $needUpdate = true; } if ($cFields['start_date'] == '' || strtotime($cFields['start_date']) < strtotime($today)) { // Start date is blank or in the past - bring it to today $cFields['start_date'] = $today; // yyyy-mm-dd $needUpdate = true; } if ($needUpdate) { update_user_option($uid, 's2member_custom_fields', $cFields); // echo 'fields updated '; } [/hilite] The “course” field could be defaulted to Faculty in your definition of the field. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite] The “date” part I’d probably do like this: [hilite pre_code] |
|
| Posted: Wednesday Dec 19th, 2012 at 7:48 am #35022 | |
|
|
|
|
I believe you can do something like that, but it’ll obviously require some customization to show the right buttons correctly depending on the user and his situation.
If instead of relying on an automatic payment, you’ll make the user do it manually, then I think it’ll be best to use buy-now transactions. These would also facilitate extending the paid access time automatically. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior -> Fixed-Term Extensions ( auto-extend )[/hilite]
I recommend you read this article related to that: Knowledge Base » How to Migrate to s2Member Pro from Other Software.
Well, if you have the Auto EOT Behavior set to demote, then he’d be at Level 0, so you can use a conditional that checks for that in your Login Welcome Page and if he’s at that level after having had a paid membership, which you can check with the paid registration time constant, then you could either redirect him to the Membership Options page, or just present him with a message to that effect right in the Login Welcome page, which may be best, in my opinion.
Well, s2Member doesn’t have this capability, but you could implement it yourself. When you show the user the button/link to extend/renew his membership, you could first present him with a his profile and have him review and save, before forwarding him to the payment page. For the profile page, this may help you: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Member Profile Modifications[/hilite]
For the initial one, i.e. registration, using the pro-form would include the profile fields to register, as well as payment options. Once logged in, though, the pro-form doesn’t include registration, so the profile fields aren’t shown. For new fields in the profile, you can use s2Member’s custom profile fields. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]
Right. It’d take a bit of PHP with conditionals to set those times. You could do it in the shortcode itself to adjust the time of access he’s purchasing (Knowledge Base » Using variables in a shortcode), or in a hack to set the specific date, as you saw in that post you linked to. I hope that helps! |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy
