Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Tuesday Jul 24th, 2012 at 7:33 am #20042 | |
|
|
|
|
Hi Hari.
Let me know if this article helps with that: Knowledge Base » Logged in but am considered logged out
The Specific Post/Page restriction is not compatible with the Levels restriction. What do you want to force login for, viewing the pages protected with Spec Page restriction? Or to purchase access to those pages? If you’re going to require registration, then you can sell those individual pages with custom capabilities instead of Spec Page restrictions. Video » s2Member (Custom Capabilities) To create a free registration form in a page, you can use the free registration pro-form: [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms[/hilite]. To add a login form, as an option for those already registered, you could use the s2Member Pro Login Widget. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Pro Login Widget (via PHP)[/hilite] I hope that helps. :) |
|
| Posted: Tuesday Jul 24th, 2012 at 7:24 am #20041 | |
|
|
|
|
Hi JoAnn. I answered the expiration time question in your other thread, but you basically don’t know the expiration date in advance for subscriptions, only for buy-nows. Subscriptions are managed by the gateway and it’s the gateway the one that informs s2Member when the subscription ends (cancellation, lack of payment, etc.). Then s2Member knows the expiration date and handles it based on your EOT behavior setting. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite] Are you selling subscriptions (recurring payments) or buy-nows (one time payment)? |
|
| Posted: Tuesday Jul 24th, 2012 at 7:19 am #20040 | |
|
|
|
|
Jennifer, your form with the payment plan selection doesn’t include a [hilite mono]desc[/hilite] or [hilite mono]ra[/hilite] input tag, so they won’t be in the [hilite mono]$_POST[/hilite] array. Your hack code is adding those to the [hilite mono]$attr[/hilite] array for the [hilite mono]ws_plugin__s2member_pro_paypal_checkout_post_attr[/hilite] hook, which is something else. That hook is at the point of processing the pro-form for checkout. If what you want is to reload the page with the pro-form, now updated with the payment plan’s description and amount, you need to use a different thing. Here’s what you could try in the page itself, without an s2hacks file: [hilite pre_code]array('ra' => '20', 'desc' => 'Student/Senior $20 USD yearly'), 2 => array('ra' => '35', 'desc' => 'Basic $35 USD yearly'), 3 => array('ra' => '50', 'desc' => 'Not-For-Profits $50 USD yearly'), 4 => array('ra' => '75', 'desc' => 'Business $75 USD yearly'), 5 => array('ra' => '100', 'desc' => 'Patron $100 USD yearly'), 6 => array('ra' => '500', 'desc' => 'Benefactor $500 USD yearly'), ); echo ' '; if (isset($_POST['mlevel'])) { (Had to do the [hilite mono]['.'[/hilite] at the beginning of the shortcode to avoid having it parsed here, sorry.) I haven’t tested this, so you may need to fix it a bit, but it should give you an idea of what to try. I hope it helps.
|
|
| Posted: Tuesday Jul 24th, 2012 at 6:27 am #20037 | |
|
|
|
|
Hi Brett. I wasn’t following your ticket, but now that Raam is away for some days I took a look. I don’t think that Raam or Jason saw your email yet, if either one had, they’d have answered here with their findings. I’m glad that notifications started working again, that’d indicate that transactions are now happening without an error like the one you showed in the log entry. So it’s working fine now or do you still need some help with this? If you do, let me know and I’ll go look for the email you sent and see what I can find. :) |
|
| Posted: Tuesday Jul 24th, 2012 at 6:18 am #20036 | |
|
|
|
|
Hi Tom.
Thanks for the kudos! :)
Here’s a tip to fully reset your Amazon S3/CloudFront integration, to then start from scratch: http://www.s2member.com/forums/topic/cloudfront-err-400-unable-to-del-existing/#post-15884 Let me know if that helps! |
|
| Posted: Tuesday Jul 24th, 2012 at 6:13 am #20035 | |
|
|
|
|
Hi JoAnn.
s2Member doesn’t work with the password protection for pages/posts that WP comes with. You’d use the s2Member Levels for content protection. [hilite path]Dashboard -› s2Member® -› Restriction Options[/hilite]
You could enter the end date manually if you want, by editing the user’s profile. This is not necessary, though. s2Member, when you sell a subscription, will be notified by the gateway when the subscription is over.
Yes, the user would be demoted if that’s your EOT behavior setting, but he’d lose access to the content that his s2Member Level provided, not password protected pages, s2Member doesn’t work with those. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]
You can use the Users list to view all users with either of those roles. If you allow free registrations, you’d have a mix of free users and ex-paying users in the Subscriber role, though, and you’d need to do something extra to tell them apart.
If you’re selling subscriptions, instead of buy-nows, then s2Member doesn’t have that information yet. It’s the gateway the one that tells s2Member when a subscription ended, s2Member doesn’t know in advance. If you sell buy-nows, though, the expiration time is set right away, and you can use this. If you’re not getting paid recurringly, you should use buy-now transactions because of this benefit. I hope that helps clarify some things. Let me know if you have more questions. :) |
|
| Posted: Monday Jul 23rd, 2012 at 10:10 pm #20026 | |
|
|
|
|
Hi TJ. I emailed Jason asking him if this is possible. He may reply in a few days because he’s not opening his email every day lately, but I’ll let you know as soon as I hear back from him. :) |
|
| Posted: Monday Jul 23rd, 2012 at 10:06 pm #20025 | |
|
|
|
|
Great! Thanks for the heads up, and I’m glad you were able to fix it. :) |
|
| Posted: Monday Jul 23rd, 2012 at 7:59 am #19983 | |
|
|
|
|
Hi Adam. Are these products in separate sites? If so, then yes, you could probably try doing a user export from one to import into the other one. Password migration would not be possible, though. They’d have to be given one by you or required to create their own again. [hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member Exportation[/hilite] I hope that helps. :) |
|
| Posted: Monday Jul 23rd, 2012 at 7:55 am #19981 | |
|
|
|
|
Hi Peter.
That is not a message s2Member would give. The confirmation email s2Member sends has nothing to do with confirming the account, it’s just giving the user confirmation of the purchase. I’m guessing that that has to do with BuddyPress, since it adds account activation to the registration process. Or it may be some other plugin that alters registration.
Yes, that is correct. And you mention having the Framework installed properly too. The only other thing that comes to mind would be a mismatch in version between the Framework and the Pro add-on. Could you verify that they are both the same version, please? I hope that helps. :) |
|
| Posted: Monday Jul 23rd, 2012 at 7:49 am #19980 | |
|
|
|
|
Hi George. I don’t have BuddyPress installed to check this, so could you post here examples of the URLs that’d be used to post this content? If you can pick from them a part that is unique to them, you could use the URI restriction on them. [hilite path]Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions[/hilite] I hope that helps. :) |
|
| Posted: Monday Jul 23rd, 2012 at 7:47 am #19979 | |
|
|
|
|
Hi Peggy.
Do you mean registered to the webinar or your site?
Log on to the webinar or the site? If it’s the webinar, I’d guess your webinar software does that when they register for it, e.g. GoToWebinar. If it’s the site, are they already members of the site or will you be giving access to protected content to users that aren’t registered to your site?
From this I’m guessing they are registered to your site. I’m pretty sure that there are plugins that add the feature to email your members. Did a couple searches and found a couple that seem like they may do this: |
|
| Posted: Monday Jul 23rd, 2012 at 7:33 am #19977 | |
|
|
|
|
Hi Lisa. Could you verify that you don’t have an extra folder there? Sometimes it happens when unzipping the contents of the plugin. s2Member® » Pro » Install/Upgrade Instructions
Also, make sure that the version of the s2Member Pro matches the one of the s2Member Framework. I hope that helps. :) |
|
| Posted: Monday Jul 23rd, 2012 at 7:27 am #19976 | |
|
|
|
|
Hi Philly. I searched the s2Member files and [hilite mono]sanitize_user[/hilite] is used in a few files. If you want to alter the way usernames are sanitized, I think the best way would be to use the filter available for the output of the function. http://codex.wordpress.org/Function_Reference/add_filter http://wordpress.taragana.net/nav.html?wp-includes/formatting.php.source.html#l276 I hope that helps. :) |
|
| Posted: Monday Jul 23rd, 2012 at 7:16 am #19975 | |
|
|
|
|
Hi Philly. Not sure if it’s specific to you or general. s2Member is just using the wp_lostpassword_url WP function, so if it’s general then it’d be a bug in WP itself. http://codex.wordpress.org/Function_Reference/wp_lostpassword_url s2member-pro\includes\classes\login-widget.inc.php If you do [hilite code][/hilite] in one of your posts, do you get the correct URL? Maybe another plugin is causing this in your installation? You could test deactivating other plugins one by one, checking that URL after each to see if changes. I hope it helps. :) |
|
| Posted: Monday Jul 23rd, 2012 at 7:04 am #19974 | |
|
|
|
|
Cool. :) |
|
| Posted: Sunday Jul 22nd, 2012 at 8:52 pm #19955 | |
|
|
|
|
Great. Glad you found the reason behind it. :) I don’t know if that’s how PayPal calculates terms and s2Member is just following their standard. When it’s a month or a year, it should be probably calculated with a calendar instead of a set number of days. |
|
| Posted: Sunday Jul 22nd, 2012 at 6:19 pm #19950 | |
|
|
|
Even if your subscription is for a single term, it’s still a subscription, not a buy-now, so the Fixed-Term Extensions setting won’t apply to it.
Ah okay, got it.
That’s great! :) That’s a nice events plugin you have there, from what I’ve heard. Nice job! |
|
| Posted: Sunday Jul 22nd, 2012 at 7:36 am #19939 | |
|
|
|
|
Ooooh, it’s just going to be very awesome. Too much for words, you’ll need to see it and play with it to see all the possibilities. :) Can’t say too much about it, though, since it’s not finished. I don’t want to say something that doesn’t end up in the release. Jason is very advanced in the development, the core is finished, he’s working on some missing classes. After that we’ll work on the UI and release a private beta to zap bugs and polish rough spots before the first public release.
Got ya. If I’m not mistaken, this may be possible. It’ll have plenty of logging, so this may be covered already. I can’t confirm it because I haven’t see it yet, but there’s hope. |
|
| Posted: Sunday Jul 22nd, 2012 at 7:27 am #19938 | |
|
|
|
|
:) |
|
| Posted: Sunday Jul 22nd, 2012 at 7:27 am #19937 | |
|
|
|
|
Hi Ralph.
Yes, you can let users register for free leaving registrations open, and they’ll be given s2Member Level 0 (free). [hilite path]Dashboard -› s2Member® -› General Options -› Open Registration[/hilite] s2Member doesn’t have an account approval feature, but what you can do is protect the content at a higher level than the one they’ll get when they register. So protecting the content at Level 1, for example, will hide the content from new registrations. Then, you’d review new registrations and your account approval would consist of manually upgrading their account from level 0 to 1.
You can, even in the free version of s2Member, create custom profile fields to add these to their profiles. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]
What s2Member doesn’t provide are public profiles, so that one user could see the profile of another. You’d need to add this yourself in a WP page, querying user data to display it to others. There are WordPress functions you can use for this. s2Member also has a couple of functions that can help:
s2Member Pro has a User Import tool that you can use to create all their accounts from a CSV file, including the custom profile fields. After creating their accounts, you can email them letting them know about it. [hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member Importation[/hilite] Let me know if that helps and if you have other questions! :) |
|
| Posted: Sunday Jul 22nd, 2012 at 7:11 am #19936 | |
|
|
|
|
Hi Dianne. I haven’t heard from people saying they added BuddyPress and had trouble with their users list. That doesn’t mean it could never happen though. It’s always a good practice to make a full backup of your site before changes, so that you can go back to the working version if something goes wrong. If you don’t know how to do it, you could contact your hosting service and ask them for help with this. I hope that helps! :) |
|
| Posted: Sunday Jul 22nd, 2012 at 7:07 am #19934 | |
|
|
|
|
Hi Darren. Did the user pay a few days before Aug 1st? If so, it seems that the year was calculated from the date it was paid, disregarding the days he had left from his last payment. That’s the behavior with subscriptions, if the user starts the subscription again, then the days left from the previous one will be lost. If you’re using subscriptions, then you’ll need to add some PHP code to your button to calculate the time he has left and add it to the new time he’s paying for. With buy-now transactions, though, you can have the new paid time be added after the time he had left. You’ll find the setting at the bottom of the EOT panel. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]
We’re working to improve this in the new s2Member. |
|
| Posted: Sunday Jul 22nd, 2012 at 6:57 am #19932 | |
|
|
|
|
Oh, not a problem, could happen to anyone. :) |
|
| Posted: Sunday Jul 22nd, 2012 at 6:57 am #19931 | |
|
|
|
|
Hi JB. Those fields you say are not populated, are stored in the usermeta table. Maybe you missed it when you migrated the users? |
|








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
