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 - 2,526 through 2,550 (of 7,376 total)
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

Should note sometimes everything works swimmingly with new subscibers getting processed & registered automatically and some days it does not.

should i send you the log file?

Yeah, logs would be good. s2Member® » Private Contact Form

Do I need to create/replace new PayPal buttons would that help?

I’m not sure that they it would, but I’d still try it just in case.

I do not have another plug-in for anything Paypal or subscription related. So I’m not sure how to solve this issue:
http://www.thecontrariancorner.com/paymentreturn/paypalexpress

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.

OK After uplaoding the PHP file to the WP directory, open the file in your browser.
http://thecontrariancorner.com/?s2member_paypal_notify=1
into my browser get a blank page which i think is supposed to happen.

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.

Why not just adapt it and use the international language tag to get the right button from paypal.

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

If I use the accept=”paypal” the options to preselect a credit card, but the user is taken directly to express checkout.
This solves the SOLO issue as there is no preselecting :)

Cool. :)

You are correct. It is the S3Flowshield plugin that offers 30 days return policy. I bought these two plugins the same day, so – my bad! :)
How ever, I read in another post that you actually did/do refund people who bought this and could not use it at all with Proforms, so a thumbs up for that! I will how ever keep the plugin and not ask for a refund, as the pro forms do have some, but very limited, functionality for non-paypal pro customers (i.e. I can use express checkout, and users can create their own credentials when signing up).

Got ya.

Youre welcome. And like I said, Im looking forward to being able to use this for direct payment on our website – I can only hope its a priority with Jason and Co. to make this work with Paypal Website Payments etc.
I hope you also got something from this, as I am sure there will be other people like ourselves, who cannot get Paypal pro who will look for a solution. And the way I use the pro forms for express checkout is not the best in terms of ease of use for our customers, but it will suffice for now.

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! :)

And so i’ll just use %%ccaps%% in the email template and that’s it?

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

Strange… yesterday i double checked the tax calculations and it was working again for all but two provinces. Today i checked again just to make sure and it’s calculating all @ zero again. At least the purchase amount is showing up now tho…

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]

Thanks Cristian.

No problem. :)

Posted: Wednesday Dec 19th, 2012 at 8:32 am #35030

Thanks for the log entries.

5 => ‘Signup Confirmation Email sent to: “xxxxxx” ; “Webmaster” .’,

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

Would it be easier to just refund the original subscription and then have them upgrade using the modification form? Is that possible?

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.

Thanks so much for the help!!!

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]

Here you can specify URIs ( or word fragments found in URIs ) that are restricted to certain Membership Access Levels. Control over URIs is a little more complex. This section is intended for advanced webmasters only. That being said, here are the basics… A REQUEST_URI, is the portion of a URL that comes immediately after the domain. This is a URL http://www.example.com/path/to/file.php, and this is the URI: /path/to/file.php. In other words, a REQUEST_URI is the full path to a real ( or virtual ) directory and/or file on your domain.

In the fields below, you can provide a list ( one per line ) of URIs on your site that should be off-limits based on Membership Level. You can also use word fragments instead of a full URI. If a word fragment is found anywhere in the URI, it will be protected. Wildcards and other regex patterns are NOT supported here, and therefore you don’t need to escape special characters or anything. Please note, these ARE caSe sensitive. You must be specific with respect to case sensitivity. The word fragment some-path/ would NOT match a URI that contains some-Path/. A few Replacement Codes are also supported here.

Posted: Wednesday Dec 19th, 2012 at 8:17 am #35026

Hi George.

What versions of WP and s2Member Pro do you have?

ALso, I have no logs in the s2members-logs folder, just an .htaccess file

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]
// Start date is blank or in the past - bring it to today.
if (empty($cFields['start_date']) || (strtotime($cFields['start_date']) < strtotime('today'))) { $cFields['start_date'] = date('Y-m-d'); // yyyy-mm-dd [/hilite] When you echoed “fields updated” in your test, did it echo or it didn’t happen?

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.

It is my first contact with S2member and I want to get things right.
I don’t know whether to set the buttons up as buy it now or subscriptions?

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]

We have to setup S2 to copy the membership system of our organisation, as all of our non-digital administration is set up to process membership and renewals in this manner.

I recommend you read this article related to that: Knowledge Base » How to Migrate to s2Member Pro from Other Software.

When they try to login after membership expiry, a message such as “Your membership has expired. Please follow this link to our >Membership Options Page<”.

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.

Once they have then made their selection from the 3 x payment level options (Full, Associate or Student), they will need to be presented with their account details and only be allowed to pay once they have placed a tick in the checkbox, declaring that they are correct and agreeing to our terms.

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]

This needs to happen both at initial registration and at subsequent renewals.

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]

We also need to set the membership renewal date to 1st Jan for all memberships. I have found this thread containing code which seems to allow a set membership expiry date:

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!

Viewing 25 replies - 2,526 through 2,550 (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.