latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 4,826 through 4,850 (of 7,376 total)
Author Replies
Author Replies
Posted: Tuesday Jul 24th, 2012 at 7:33 am #20042

Hi Hari.

I have an update on this question – I restricted the Free Videos using “Page Restrictions”. So for 12 free videos, I restricted 12 pages because each free video is on its own page. But now, if itry to access one page, I have to login, and then if try to access another page, its asking to login again. This seems like its a cookie issue, but my browser is et for cookies. My cookies are working correctly on all other sites. How do we fix this ? It seems silly that a user has to login 12 times to see 12 free videos.

Let me know if this article helps with that: Knowledge Base » Logged in but am considered logged out

The second question still remains – how do we ensure login / register before a Buy transaction. Just to clarify – the Buy operation is being done a Specific Post/Page access product. This by default allows purchases without registration. But we want to force a login or registration.

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'])) {
$mlevel = (int) $_POST['mlevel'];
echo '['.'s2Member-Pro-PayPal-Form level="1" ccaps="" desc="' . $mlevels[$mlevel]['desc'] . '" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.jdaviswebdesign.com" ta="0" tp="0" tt="D" ra="' . $mlevels[$mlevel]['ra'] . '" rp="1" rt="Y" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]';
}
?>
[/hilite]

(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.

First off I want to thank Jason and all those who are responsible for this incredible product. I have been amazed at the functionality and the versatility of the free version and am sure I will feel even more happy with the pro version.

Thanks for the kudos! :)

“Error Message: Unable to delete existing Amazon® CloudFront Origin Access Identity. Unable to delete existing Amazon® CloudFront Origin Access Identity. Bad Request”

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.

I have password protected pages for paid subscribers (one-year subscriptions).

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]

Do I enter paid subscribers as “S2Member Level 1″ and enter the end date?

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.

Then, when the end date comes, S2 downgrades the subscriber from “Level 1″ to “Subscriber” and automatically refuses to give the expired “Subscriber” access to the password protected pages?

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]

Then, I have a S2 provided list of expired “Subscribers”; and a S2 provided list of current subscribers as “S1Member Level 1″? I need to keep a list of expired persons.

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.

How do I get S2 to give me a database of “S2Member Level 1″ by expiration date when I am in the administration panel? I see S2 gives a database by signup date, but I need to have a database by expiration date.

When the “S2Member Level 1″ is about to expire, am I notified? How long before the expiration?

Is the “S2Member Level 1″ notified? What does the email say? How long before the expiration?

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]
[hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member Importation[/hilite]

I hope that helps. :)

Posted: Monday Jul 23rd, 2012 at 7:55 am #19981

Hi Peter.

when new paid members attempt to log in, they are greeted with “Account not confirmed”

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.

wp-content/plugins/s2member-pro/pro-module.php. As I understand it, this is correct. However, it is still not recognized by s2member.

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.

I’m going to give live Webinars, record them, and put on my membership site behind the wall…to be accessed only by the people who registered.

Do you mean registered to the webinar or your site?

The morning of the Webinar, I’ll need to send Webinar registrants the information they’ll need to log on. How can I send an email to these members?

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?

How can I send an email to these members?

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:
http://wordpress.org/extend/plugins/mailz/
http://wordpress.org/extend/plugins/wp-mass-mailer/

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

You should end up with /wp-content/plugins/s2member-pro/pro-module.php, along with several other files and sub-directories. Make sure you don’t accidentally nest two
/s2member-pro/s2member-pro directories together. For example, this is NOT correct:
/wp-content/plugins/s2member-pro/s2member-pro/pro-module.php.

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
[hilite pre_code]
return apply_filters('sanitize_user', $username, $raw_username, $strict);
[/hilite]

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
[hilite pre_code]
echo '' . _x ("forgot password?", "s2member-front", "s2member") . '' . "\n";
[/hilite]

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

This is a non-recurring subscription (acting as a buy now) – and I’m aware of the Fixed-Term Extensions (auto-extend) feature which is enabled.

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.

At first I was thinking what you suggested was happening too, but the customer made the purchase two days ago (July 20) so IF that was the case then there would be quite a few more days missing from their new expiry date (as given above).

I just posted here to see if you had a quick answer for why this may be happening. No worries, I’ll just dive into the code and see if I can figure it out myself. If I can, I’ll post back here so you guys can use whatever I fine in improving the EOT system.

Ah okay, got it.

BTW, we’ve got s2member working quite well on our site (EventEspresso.com) integrated with bbPress and a lot of customization :)

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.

Yes, essentially I would love to know who downloads things and when. For icing on the cake it would be great to know if there were people trying to download who didnt have permission yet.

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.

So, is it possible to allow registration without using Paypal and still require admin approval before allowing access “behind the curtain”?

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.

I am wondering if there is a way to create these fields in s2member Pro? If the Pro version allows for unlimited additional fields, I believe I could use PhpMyAdmin to view your table names, change the field names in my exported sql file to match those of s2member Pro and then import the data, right?

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]

and then displaying them on a “friends” page based on specific restriction fields in order to protect privacy.

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:
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_s2member_custom_fields()
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field()

If that were the case, then I would think there might be a way for previous users to be “already registered” even if it meant ticking a box or whatever in PhpMyAdmin.

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]

Fixed-Term Extensions ( auto-extend )?
This setting will only affect Buy Now transactions for fixed-term lengths. By default, s2Member will automatically extend any existing EOT Time that a Customer may have.

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?

Viewing 25 replies - 4,826 through 4,850 (of 7,376 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.