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.

Jason (Lead Developer)

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 1,801 through 1,825 (of 1,909 total)
Author Replies
Author Replies
Posted: Monday Feb 20th, 2012 at 5:11 pm #5732
Staff Member

Thanks for the feature request! We are working hard to make some new things possible, and this is certainly on our list. However, right now the only way to use Coupon Codes with s2Member is via Pro Forms. You can integrate Pro Forms with Express Checkout (via PayPal Standard), with PayPal Pro, or with Authorize.Net.

If i have to use the pro-form to use the coupon, can i still use the standard paypal account?

I’m sorry, no. PayPal Standard checkout occurs on the PayPal side, and there is no API for s2Member to connect with. PayPal Express Checkout is possible with Pro Forms, but not PayPal Standard (i.e. PayPal Standard works with Payment Buttons), which are not currently compatible with Coupon Codes.

Your best bet is a PayPal Pro account, or an Authorize.Net account. These more advanced solutions offer a greater degree of flexibility overall. I think you’ll find that “Button” integrations are too limiting for your needs.

Posted: Monday Feb 20th, 2012 at 5:00 pm #5730
Staff Member

Hi Eric. Thanks for your inquiry.

That should do it. It actually sounds like you might have a JavaScript error being introduced within your Dashboard. I did a video tutorial awhile back that walks through ways to debug this on your end. You might take a look here.

Video » s2Member (Option Panels Disappearing?)

Posted: Monday Feb 20th, 2012 at 4:58 pm #5728
Staff Member

@Stephen Webb

I installed the update today and it crashed my site. Internal Server Error on all pages. WP v 3.3.1.

Are you running Apache v1.x? Please upgrade to s2Member v120219 or higher.
See: http://www.s2member.com/changelog/#s2-changes-v120219

Posted: Monday Feb 20th, 2012 at 4:51 pm #5726
Staff Member
See also, docs on that class method you’re using here.
Posted: Monday Feb 20th, 2012 at 4:50 pm #5725
Staff Member

Hi there. Thanks for the heads up on this thread.
In your PHP, set the Paid Subscr. ID to a unique value each time you generate a link please. s2Member will only allow each Paid Subscr. ID to register one time (this is security against duplicate registrations from the same customer). See also: http://php.net/manual/en/function.uniqid.php

$link = c_ws_plugin__s2member_register_access::register_link_gen ("none", uniqid(), $_SERVER["HTTP_HOST"], $_GET["register_level"], false);
Posted: Monday Feb 20th, 2012 at 4:44 pm #5724
Staff Member

If you’re loading your own content, you won’t actually need the templating functionality from WordPress, so you could use /wp-load.php instead, which is the standard way to handle this type of thing.

<?php
include_once "wp-load.php";
if (current_user_can("access_s2member_level1"))
	{ 
		// User is allowed to view, so display something here.
	}
else
	exit("Permission denied!");
?>
Posted: Monday Feb 20th, 2012 at 4:39 pm #5723
Staff Member

Hi there. I’ve just read over this thread.

“Register For This Site” rather than something like registration successful.

With AliPay, registration of a Username/Password occurs after the purchase. So this message would be expected. One the customer completes checkout, they’ll choose a Username and register for paid access. They should also get an email from your installation of s2Member.

I mean I can receive them in Chinese. I don’t really think it’s the Chinese though, because I just tested it again, with all the Chinese removed from the title and email body.

Sorry, I’m not sure I understand exactly. So you are getting the emails? It sounds to me like there could be a mixture of things going on here. I’d start by investigating your server error logs for anything related to email or string parsing. With Chinese characters in the mix, some servers might need tweaks to make this jive with the installed MTA. It sounds like you’re seeing sporadic behavior (some work, some don’t), so looking at the error logs on the server would be the next step that I’d take (i.e. try to make sense of what’s actually the underlying cause).

Some ideas that come to mind…
1. The PHP Mailer class that WordPress depends on is choking on special chars in the “From” name?
2. The PHP Mailer class that WordPress depends on in choking on special chars in the “To” name?
3. There are other plugins installed that are causing PHP errors in your PHP or Apache error logs?

Posted: Monday Feb 20th, 2012 at 4:28 pm #5722
Staff Member

s2If is_user_logged_in() AND current_user_is(annie)

I believe the issue here is related to “annie”. That should be a Role name like:

subscriber
s2member_level1
s2member_level2
s2member_level3
s2member_level4
[s2If is_user_logged_in() AND current_user_is(s2member_level1)]
	...
[/s2If]
Posted: Monday Feb 20th, 2012 at 4:22 pm #5720
Staff Member
This issue was corrected in the release of s2Member v120219.
See: http://www.s2member.com/changelog/#s2-changes-v120219

There is also a video tutorial that covers this issue here:
Video » s2Member® File Downloads (GZIP Conflicts?)

Posted: Monday Feb 20th, 2012 at 4:14 pm #5719
Staff Member

Hi there. Thanks for your inquiry.

Hmm. This doesn’t really sound like it’s related specifically to s2Member. It actually sounds like there could be a plugin conflict, or perhaps even some extra files which were injected into your /wp-content/plugins/s2member/classes/ directory?

If these problems continue, please disable all other plugins, and revert to the default theme for WordPress. If you are still experiencing the same issues, we’ll be happy to run diagnostics on your installation. Please send us a Dashboard login to the site, via this private contact form: http://www.s2member.com/contact/

* There’s no way for me to be sure without seeing the site (and what other plugins/themes you’re running together with s2Member), but I would suspect both of these issues are related to a single underlying cause.

Posted: Monday Feb 20th, 2012 at 3:46 pm #5718
Staff Member

Changelog:

Inside /s2member-pro/includes/gateways/clickbank/clickbank-utilities.inc.php at line #146 find:

if(!$is_sale || c_ws_plugin__s2member_utils_urls::s2member_sig_ok(http_build_query($s2vars)))

Change to:

if(!$is_sale || c_ws_plugin__s2member_utils_urls::s2member_sig_ok(http_build_query($s2vars, null, "&")))

Inside /s2member-pro/includes/gateways/clickbank/clickbank-return-in.inc.php at line #75 find:

$s2vars = c_ws_plugin__s2member_pro_clickbank_utilities::clickbank_parse_s2vars(http_build_query($clickbank), $order["txnType"]);

Change to:

$s2vars = c_ws_plugin__s2member_pro_clickbank_utilities::clickbank_parse_s2vars(http_build_query($clickbank, null, "&"), $order["txnType"]);
Posted: Monday Feb 20th, 2012 at 3:32 pm #5716
Staff Member
In the next release of s2Member, we’ll address this compatibility issue
so future releases are not adversely affected by this INI configuration option.
Posted: Monday Feb 20th, 2012 at 3:31 pm #5715
Staff Member

Investigation completed.

I found that your installation of PHP has a non-default value set in the INI file for:
arg_separator.output = &amp;

Someone has modified your PHP installation in a way that could make it incompatible with several WordPress plugins, so you might ask your hosting company to review this for you. Until then. I’ve added some tweaks to your installation of s2Member to get this working. You should be good now. However, I would recommend reviewing this article, and then change arg_separator.output back the default value of &
http://www.php.net/manual/en/ini.core.php#ini.arg-separator.output

s2Member is now working properly on your installation.

Posted: Monday Feb 20th, 2012 at 2:32 pm #5710
Staff Member

~ Investigating this now.
Thanks for your patience.

Posted: Saturday Feb 18th, 2012 at 3:36 pm #5607
Staff Member

Hi there. Thanks for your inquiry.
I agree. It sounds like there is an email configuration issue on your hosting account. You will need to consult with your hosting provider, and ask them to run tests against your account to ensure the WordPress function wp_mail() is functioning properly.

Also, to answer your question…
Yes. Upgrading to the latest version of s2Member and s2Member Pro is highly recommended.

Also, just to note this…
It sounds like you’ve NOT yet completed the full integration with ccBill. You’ll notice in the instructions provided by s2Member, that you should have User Management disabled on the ccBill side of things. Please review this section of your Dashboard for further information.

Please see: s2Member -> ccBill Options -> Account Details

(click to enlarge screenshot)

Posted: Saturday Feb 18th, 2012 at 3:22 pm #5605
Staff Member

This video tutorial may also be of some assistance.
http://www.s2member.com/videos/F267E93C7B467D64/
~ Please let us know if you continue to have trouble.

Posted: Saturday Feb 18th, 2012 at 3:16 pm #5604
Staff Member

Thanks for the heads up on this thread Raam.
I’m sorry for any confusion. However, actually, that is NOT the case.

s2Member Pro Billing Modification Forms do not depend on the Silent Post integration with Authorize.Net in this regard. You will want to have Silent Post enabled with your integration, so that s2Member can receive payment notifications from Authorize.Net, but upgrading from one Membership Level to another via Pro Forms is not dependent upon this aspect of your integration.

Perhaps you were testing the site in a way that restricted access to only certain IPs? Or anything like that? Perhaps you require a special cookie to access your site during development?

Ultimately, all transactions are processed together using s2Member’s core PayPal processors, which are an internal core functionality for s2Member. If this happens again, please take a look inside your logs directory, for anything that looks odd inside: /s2member-logs/ authnet-api.log or paypal-ipn.log. The Authorize.Net Pro Form processor will make a proxy connection to s2Member’s core IPN handler. If that fails due to some unknown reason, you might have issues.

If you run a transaction like this, and nothing comes into the core IPN handler (i.e. you have no paypal-ipn.log file), something is very wrong.

Posted: Saturday Feb 18th, 2012 at 1:34 pm #5597
Staff Member

A new video tutorial for s2Member has just been released, which covers s2Member’s integration with Amazon S3/CloudFront/JW Player, including a brief tutorial on RTMP streaming.

VIDEO: http://www.s2member.com/videos/BD496E5F2CCAB12A/

Regarding “seek” capabilities in JW Player:
(click here for further details please)

Posted: Saturday Feb 18th, 2012 at 1:03 pm #5592
Staff Member

Thank you. Details received.
~ This will be investigated on Monday.

Posted: Saturday Feb 18th, 2012 at 12:27 pm #5587
Staff Member

Hi Dominik. Thanks for your inquiry.

I’m sorry to hear that. It sounds like you may have a missing element in your ClickBank integration. Please use this private contact form to submit a Dashboard login. We’ll do a quick review of your installation and run diagnostics. See: http://www.s2member.com/contact/

Posted: Saturday Feb 18th, 2012 at 12:14 pm #5585
Staff Member

Thanks for bringing this thread to my attention.

s2Member is not compatible with Apache v1.x.
You will need to upgrade to Apache v2.0+ please.

Regarding the “Notice: Undefined variable” errors that you’re receiving.
Getting those types of errors would indicate to me that your installation of PHP and/or WordPress is running in full DEBUG mode.

See: http://www.primothemes.com/forums/viewtopic.php?f=36&t=2692
These types of “Notices” are to be expected in full DEBUG mode. You can learn more about this here. I would suggest that you contact your hosting company and ask them two things.

1. Please upgrade me to Apache v2.0+.
(Apache v2.0 has been available since 2004)

2. Please put by WordPress installation into production mode, and disable DEBUG mode.

Posted: Friday Feb 17th, 2012 at 11:17 pm #5562
Staff Member

Hi there. We’ve contacted you via email in an attempt to assist with this.
~ Let’s continue this conversation via email please. Thank you :-)

Posted: Thursday Feb 16th, 2012 at 7:49 pm #5415
Staff Member

I think that link you mentioned, which was failing, is within the software application itself, is that correct? I’ll have that updated asap. In the mean time, you can access the Pro Extras ZIP file from within your account at s2Member.com at all times. There you’ll find the latest release of that ZIP.

Posted: Thursday Feb 16th, 2012 at 7:44 pm #5414
Staff Member

Hi Jason. Thank you very much for the follow-up.
Yes, that’s all correct.

Yes, that’s a solid recommendation from PayPal. I’ve seen many site owners do that with positive results. I’ve done that myself in the past when migrating from one site to another. If you have the technical know-how to make that happen, it’s a good way of going about it.

In terms of code, I can provide you with a copy of our central IPN processing script, which is what we recommend in cases where multiple sites are operating on a single PayPal Pro account. This file is distributed in the s2m-pro-extras.zip that’s available in your s2Member.com account. Please see: My Account -> s2m-pro-extras.zip -> paypal-central-ipn-sample.php.

That should give you some ideas about how to write your own proxy IPN handler. You’ll want to make sure that your script sets the “custom” value in the IPN response to the host domain name of your new site, and just set the “item_number” value to 1 (i.e. the Membership Level# associated with their account within s2Member on the new site).

In order for this to work, s2Member will need to have the Paid Subscr. ID value listed for each account in your new site. If it’s a Recurring Profile or Subscription, then s2Member will need the “Subscription ID”, or a “Recurring Profile ID” in the User’s Paid Subscr. ID field, in your new site.

You can import this value for the Paid Subscr. ID with s2Member, or change it manually in the Dashboard in the Users menu. A Transaction ID works also, but only in cases where the original transaction was a “Buy Now” purchase. If the original transaction was a Subscription or a Recurring Profile, s2Member needs to reference the original ID associated with the Subscription or Recurring Profile, because that’s what PayPal is going to send in any future IPNs. The Transaction ID is mostly irrelevant in the case of a Subscription or Recurring Profile.

Note. I got your email regarding access to s2m-pro-extras.zip. I’m taking a look at that now.

Posted: Thursday Feb 16th, 2012 at 2:28 pm #5394
Staff Member

Thank you. OK, I’ve taken a look at your full reply and I’ve also investigated the results that you came up with from your database. It sounds like all of the data that s2Member needs is available in your database, but for some reason, which is yet to be determined, this data is unavailable to s2Member at runtime. At this point I have to assume this is a plugin conflict somewhere.

Here is why I’ve drawn this conclusion.

So far, I’ve been unable to reproduce it on a clean installation. We have many other site owners running s2Member together with ccBill. To my knowledge, this issue has never been reported before.

In the debug log that you ran for me, I find results like this:

Log1 (last): 
Log2 (last): 1329274603
Log3 (last): 1329274603
Log4 (last): 1329274603

This indicates that s2Member’s attempt to pull details from the database failed, through the core WordPress function get_transient(). The first line “Log1 (last)” should be filled with a timestamp value indicating the last time that s2Member’s ccBill DataLink processor ran. However, each time s2Member’s ccBill DataLink processor fires on your installation, it’s unable to collect this information, and so starting at Log2 (last), it must default to: the current time minus 24 hours (i.e. yesterday).

This is abnormal behavior, and between this odd occurrence, and the issues you’re reporting with IPN Signup Vars not being found either, through the get_user_option() function in WordPress, it leads me to believe there exists a plugin conflict on your installation which is affecting the return values of these core WordPress functions. Perhaps through Hooks/Filters implemented inadvertently (or at the wrong time) by another theme or plugin that you’re running.

s2Member’s inability to pull information that it expects to have available in the database is likely to result in the types of issues that you’re reporting. In fact, this is likely to produce all sorts of very strange behaviors, including many failed attempts to process one thing or another internally.

My suggestion would be to disable other plugins on your installation, and/or revert to the default theme for WordPress. You may also want to post a list of all the other plugins you’re running, so we can review those with you. It’s very difficult to debug things like this when there are many other plugins and/or a custom theme in the mix, but we’ll try to help you identify anything that might jump right out at us, as being something that would likely conflict with s2Member in a serious way.

Alternatively, you could setup a test site where you clone your existing site, minus all other plugins, and set your theme to the default theme for WordPress. However, please keep in mind that any plugin conflicts that have existed on your installation, could have also affected your existing database. So, at this point, cloning the site might not correct all of the issues either, if your underlying database has become corrupt in some way. From what I’ve seen so far, I don’t think that’s happened, but just to be aware of this possibility.

Here it is: http://www.s2member.com/forums/topic/eot-not-working/

Thank you very much. I’ve just finished investigating this as well. Totally our fault, and I’m very sorry for this. I’ve spoken to Cristian/Raam about this. It appears your ticket came into our new Customer Support Forum the day after the launch of this new site, and it was escalated to me. I overlooked your ticket and I’m very sorry about that.

I am happy with the support but please understand how unbelievably frustrating it is finding out months and months later that the software was not doing it’s job. It’s at least $1,000 down the drain. Of the 100 or so people I deleted, 4 of them signed up within a day of getting deleted, after getting 3 – 8 months free lunch. So if I seem snotty and frustrated, that’s why.

Yes, please know that we understand why you would be frustrated. However, there are some things beyond our control also. Let’s work together and find out what’s happening on your installation. If it’s something that can be corrected on our end, we’ll certainly make that happen.

At this point however, there appears to be some abnormal functionality on your end, which is something that really can’t plan for. Right now we’re trying to help you find the source of the underlying cause, which I suspect to be a plugin conflict.

As a next step, let’s take a look at your list of other plugins.
Also, which theme have you built your site on please?

Viewing 25 replies - 1,801 through 1,825 (of 1,909 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.