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,426 through 1,450 (of 1,909 total)
Author Replies
Author Replies
Posted: Wednesday May 30th, 2012 at 9:25 am #14933
Staff Member

Thanks for the heads up on this request for support.

So I would have to manually cancel the user before they upgrade/downgrade?

Regarding this limitation that exists in the PayPal® ERP service itself…
The limitation affects a customer’s ability to cancel their own paid subscription. That is, with the ERP service, your customer has no PayPal account to log into, in which to cancel future charges. Therefore, the customer’s only method of cancelling a subscription that was paid for through the ERP service, is to contact the site owner directly. Again, this is a limitation of the PayPal ERP service itself, and it’s one of the reasons why we recommend using PayPal Pro instead, or even PayPal® Standard (without ERP enabled), would also avoid this concern.

If a customer upgrades/downgrades their paid subscription, you will need to manually cancel any existing charges that were previously associated with a former paid subscription. While it’s true that s2Member sends all of the data through the upgrade/downgrade process, in order for PayPal to make the changes required; since the customer is not actually associated with any account at PayPal, the upgrade/downgrade process will not cancel and/or modify existing charges on the PayPal® side of things, it must be done manually.

Posted: Wednesday May 30th, 2012 at 8:47 am #14929
Staff Member
Thanks for the heads up on this.
We’ll have this resolved in the next maintenance release.
Posted: Saturday May 26th, 2012 at 2:34 am #14670
Staff Member

I felt I should clarify this statement…

Note, having Quick Cache $_GET requests cached, would not affect performance of this file anyway, because it’s NOT a cacheable file (i.e. it’s NOT an XML/HTML file).

It’s not a cacheable file (in the eyes of Quick Cache). The Quick Cache plugin only deals with WordPress page caching, from XML/HTML output. It will not cache any request for a JavaScript file, regardless of configuration.

Posted: Saturday May 26th, 2012 at 2:15 am #14669
Staff Member

Thanks for the heads up on this request for support.

As an interim solution I have used Quick Cache Options and set the Get Request setting to false – an option which it says should always be set to true! This however has improved the speed for now … eagerly awaiting a more permanent solution.

Yes, I would set this to TRUE, do NOT cache $_GET requests.
That will cause you all sorts of problems, and it can lead to major issues on a membership site that is dynamic by it’s very nature. Caching $_GET requests, means that any variables in the URL (which might produce dynamic output, based on who is viewing the site), are not going to work as expected, because they’re being cached.

Regarding this file. It seems to be loading pretty fast at present. I noticed the average time is listed at 3.15 seconds, but this file is loading much faster than that. Note, having Quick Cache $_GET requests cached, would not affect performance of this file anyway, because it’s NOT a cacheable file (i.e. it’s NOT an XML/HTML file).

http://ginomai.org/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_js_w_globals=1&qcABC=1&ver=120517-1059650489

If problems persist, please post a list of any MU plugins that your site currently operates with. The /s2member-o.php file, is designed to load s2Member’s dynamic JavaScript is a highly efficient manner, by only loading the s2Member plugin (i.e. s2member-o.php = s2Member Only). We’ve run extensive tests against this file for performance, so if it continues to cause you problems, we’d love to hear more about them.

Posted: Saturday May 26th, 2012 at 1:57 am #14668
Staff Member
Button encryption does not work in Sandbox mode.

This was reported last year, and I reported it to PayPal, but they’ve never fixed it.
http://www.primothemes.com/forums/viewtopic.php?f=36&t=309&p=28461#p28461

Going into LIVE mode, should resolve button encryption issues from the Sandbox.

Posted: Saturday May 26th, 2012 at 1:54 am #14667
Staff Member

Thanks for the heads up on this request for support.

If problems persist, please enable s2Member’s logging routines, and post any failure messages you get here in the forum, for us to review with you. That is, the failure messages (along with the log data). Please remember to X out any private details (i.e. sensitive information) before posting.

Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging

Posted: Thursday May 24th, 2012 at 6:19 am #14456
Staff Member

Hi there. Thanks for the heads up on this request for support.

Regarding Facebook. Yes, I would just sidestep s2Member in any custom integration that you do. From my experience with Facebook, it’s best to create a Free Subscriber account within WordPress, based on the data provided by the Facebook API. This allows the potential customer into the site with a Username/Password.

Once logged in, if they buy something, s2Member will automatically upgrade their existing Free Subscriber account within WordPress, to a paid Membership Level.

So for instance, you might use this WordPress function, in concert with your Facebook integration.
http://codex.wordpress.org/Function_Reference/wp_create_user

The default Role in WordPress, is the “subscriber” Role. So wp_create_user() should be the only function call you need to complete the integration with Facebook. If you need to make adjustments after creating the User. You might do something like this.

<?php
$user_id = wp_create_user(username, password, email);
$user = new WP_User($user_id);
$user->set_role('s2member_level1'); // Give them paid Membership access for free?
$user->set_role('subscriber'); // Take it away?
?>
Posted: Thursday May 24th, 2012 at 5:43 am #14453
Staff Member
This thread may be of some interest to you.
We posted a patch for this a few days, making it possible to use multiple forms.
http://www.s2member.com/forums/topic/customer-cant-buy-a-post-and-a-membership/#post-10411
Posted: Thursday May 24th, 2012 at 3:06 am #14411
Staff Member

Thanks for the heads up on this request for support.

Whenever tax may apply, s2Member Pro Forms will collect some location-specific details that need to be considered before your Pro Tax Configuration is parsed (i.e. before sending the customer to Express Checkout). Since pro tax calculations can include location-specific details, s2Member Pro forms need to know where your customer is located, before sending the customer to Express Checkout.

As Cristian mentioned, Express Checkout is a bit different from PayPal Standard. It’s up to s2Member Pro, to calculate the tax (as you’ve configured with s2Member), because PayPal Standard tax calculations do NOT get applied during Express Checkout (e.g. it’s up to your shopping cart system – s2Member Pro).

While I can understand your desire to reduce these fields when you’re running only a flat percentage rate, it’s not something s2Member Pro is capable of in the current release. That is, the location-specific fields will always appear, if tax may apply. If you empty your tax configuration file for s2Member Pro, and add the flat rate to the total cost, they will dissapear though.

Or, you could try implementing your own custom Pro Form template if you prefer.
Pre Sale FAQs » Is it possible to modify s2Member® Pro Form templates?

Posted: Thursday May 24th, 2012 at 2:28 am #14403
Staff Member
Hi there. Thanks for your inquiry.

Please email a formal request, with all of the details (i.e. your client’s details, and your own account details), via our private contact form. s2Member® » Private Contact Form

Posted: Thursday May 24th, 2012 at 2:12 am #14397
Staff Member
Yes, this is possible.

Here’s an example of how one might go about it.

Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
( these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins )

<?php
add_action('ws_plugin__s2member_during_ip_restrictions_ok_no', 'my_redirect');
function my_redirect(){
	wp_redirect('http://www.example.com/ips-limit-message/'); exit;
}
?>
Posted: Thursday May 24th, 2012 at 2:08 am #14395
Staff Member

Thanks for bringing this to my attention.

I was not aware of this. Thank you. I see there are several workarounds posted here:
http://php.net/manual/en/features.http-auth.php

I’m adding this to our TODO list, so that we can attempt to create a reliable alternative for this particular scenario. Until then, any feedback that you can provide will be welcome.

Regarding the s2Member code that handles this, you might want to have a look at this file/method, if you make an attempt to create a workaround. See: /s2member/includes/classes/files-in.inc.php, starting at line #476, look for static method “check_file_remote_authorization”.

~ This thread will be updated when a workaround is available.

Posted: Thursday May 24th, 2012 at 2:00 am #14394
Staff Member

Thanks for the heads up on this request for support.

Uhh, yes… confusing. PayPal is becoming ridiculous when it comes to account mix/match issues. One account has one API, and another account has another, sometimes even depending on the date that you signed up with them. Needless to say, we’ve had our issues trying to keep up with all of the undocumented changes, and weird account/API conflicts.

Regarding Payflow Pro.

The latest release of s2Member Pro now supports PayPal Payments Pro (Payflow Edition), making it possible to integrate with both PayPal Pro accounts, and also with PayPal Pro accounts that were sold under the Payflow Edition.

I suggest that you contact PayPal directly, and ask them to setup a PayPal Pro (Payflow Edition) account, so that your account will have access to both the PayPal Pro API, and also to the Payflow API, under a single account. In the U.S., this is referred to as PayPal Pro (Payflow Edition). While this might not be listed on the site, I’ve been told that it’s possible to acquire this type of account over the phone. If you find that it’s NOT, please let us know, and provide any feedback that you can. It will be much appreciated!

Posted: Tuesday May 22nd, 2012 at 8:29 am #14178
Staff Member

Thanks for the heads up on this request for support.

Please use the updated instructions here, regarding s2-o.php.
Pre Sale FAQs » How can I prevent s2Member® Pro from loading it’s default CSS?
Posted: Tuesday May 22nd, 2012 at 7:49 am #14175
Staff Member

Hi there. Thanks for reporting this important issue.

While I’m not aware of any bug that would cause this, we’ll be happy to investigate it for you. Please submit a Dashboard login and FTP access to your server through our private contact form. Please make sure the installation that you submit, is running s2Member only, with a default installation of WordPress (i.e. no other plugins with potential conflicts).

s2Member® » Private Contact Form

Posted: Monday May 21st, 2012 at 9:06 pm #14122
Staff Member

Thanks again for the follow-up.
We’ve identified the issue, and this will be corrected in the next maintenance release. Until then, I’m attaching a patch file that you can use now, if you’d like. Please unzip and upload the attached file, allowing it to override your existing copy of /s2member/includes/classes/registrations.inc.php

Patches an existing installation of s2Member v120517
http://d1v41qemfjie0l.cloudfront.net/s2member/uploads/registrations.inc_.php_.zip
Posted: Monday May 21st, 2012 at 5:27 am #14059
Staff Member

Thanks for the follow-up.
~Investigating this now.

Posted: Sunday May 20th, 2012 at 6:44 am #14013
Staff Member

Hi there. Thanks for the heads up on this request for support.

I did not expect the new admin account to be the recipient of level 4 characteristics in our custom software, I expected it to receive level 9 characteristics, as that would be logical, since level 9 is now the highest level.

So, are you claiming that s2Member is designed this way? If so, why is it designed this way?

No, you are correct. A new administrative account should recieve the highest Membership Level automatically, so long as your “administrator” Role is configured with the proper s2Member capabilities. s2Member handles this automatically, as seen in this file: /s2member/includes/classes/roles-caps.inc.php
foreach(array("administrator", "editor", "author", "contributor", "bbp_moderator") as $role)
	{
		if(($role = &get_role($role)))
			for($n = 0; $n <= $GLOBALS&#91;"WS_PLUGIN__"&#93;&#91;"s2member"&#93;&#91;"c"&#93;&#91;"levels"&#93;; $n++)
				$role->add_cap("access_s2member_level".$n);
	}

If problems persist, I recommend that you run s2Member’s Role reset utility. That will scan all of your existing s2Member and administrative Roles, and put them where they need to be, based on the number of Membership Levels you’re currently running with. You will find this utility in the Dashboard, under: s2Member -> General Options -> Membership Levels/Labels (see bottom of this section please).

Posted: Sunday May 20th, 2012 at 6:04 am #14011
Staff Member

Thank you. Details received.

I just took a quick look at your installation, and I find that your Dashboard is failing to load this JavaScript dependency file required by s2Member.

http://www.tuckerandpartners.com/?ws_plugin__s2member_menu_pages_js=353735218&ver=120514-120514-1270379238

I suspect this is related to an issue that’s been reported in the past. Some hosting companies use mod_security, which can cause this problem. Please see this detailed article for further information, and possible solutions.

Knowledge Base » Mod Security, Random 503/403 Errors
See also, the original article: http://www.primothemes.com/forums/viewtopic.php?f=36&t=14787

Posted: Thursday May 17th, 2012 at 7:56 pm #13827
Staff Member
UPDATE: s2Member® Pro v120517 fixes this additional issue.
s2Member® Unified Changelog » v120517
Posted: Thursday May 17th, 2012 at 7:33 pm #13825
Staff Member

Hi there. Thanks for the heads up on this request for support.

Yes, s2Member/BuddyPress work very well together in a multisite environment.
I’ve not tested against the Genesis theme however.

Regarding Custom Registration/Profile Fields.
Yes, fields created with s2Member, can be integrated into registration forms introduced by BuddyPress. However, what Cristian means is that you can’t bring custom registration/profile fields created with BuddyPress, or another plugin, into registration/checkout forms introduced by s2Member. In other words, s2Member integrates with other plugins, but not all plugins return that favor. Therefore, it’s best to create your custom registration/profile fields with s2Member, for the best compatibility with BuddyPress.

Regarding the checkout process.
I think there is some confusion here between “checkout” and “registration”. With PayPal Standard Button integration, you introduce a payment button to a customer first. When they return from checkout, they complete the registration in whatever form you’d like to provide. BuddyPress is fine, or you can use the default WordPress registration page if you prefer.

With s2Member Pro Forms, checkout and registration occur at the same time. In this case, BuddyPress registration is NOT used. Instead, you use an s2Member Pro Form, and customize that. Once the combined checkout/registration process is completed, the user can log in and gain access to any additional functionality made possible by BuddyPress. For example, after the initial checkout/registration process, you might redirect the user to their BuddyPress Profile.

Posted: Thursday May 17th, 2012 at 7:13 pm #13822
Staff Member

Thanks for the heads up on this request for support.

The first line in your error report, you can safely ignore. That’s a common warning that’s associated with Mailchimp chiclets (causes no problems, just a developer notice).

Resource interpreted as Script but transferred with MIME type text/html: "http://websharks-inc.us1.list-manage.com/subscriber-count?b=31&u=8c67d547-edf6-41c5-807d-2d2d0e6cffd1&id=19e9d213bc". admin.php:37

The others, indicate a parse error in PHP, but it’s difficult to tell from the short clip here, just what’s going on exactly. You might take a quick look at your PHP error log for further details. If problems persist, please post a Dashboard login for me, and I’ll run diagnositics on your installation. Please use this private contact form to submit those details. s2Member® » Private Contact Form

Uncaught SyntaxError: Unexpected token < /ww/home/:1 Uncaught ReferenceError: ws_plugin__s2member_paypalButtonGenerate is not defined admin.php:398 onclick [/hilite]

Posted: Thursday May 17th, 2012 at 7:00 pm #13820
Staff Member

Thanks for the heads up on this request for support.

A duplicate IPN error, indicates that s2Member already processed the return-data for this transaction, after the sale, in real-time. s2Member will ONLY process the return-data ONE time for each transaction. You might see an error like this if you attempt to bookmark a sale confirmation page.

Posted: Thursday May 17th, 2012 at 6:56 pm #13819
Staff Member

Thanks for reporting this important issue Sam.

It sounds like a conflict in the global namespace. You can try changing references to $config, in the JW Player code sample, to something like $s2_jw_config, just to keep things separated better. I’ll have this updated in the next maintenance release, in an effort to avoid issues like this.

Posted: Thursday May 17th, 2012 at 6:52 pm #13818
Staff Member

Thanks for the heads up on this request for support.

While I completely the understand the desire for this, s2Member really needs to stick with a standard here. The $_SERVER["REMOTE_ADDR"] is an environment variable that servers need to be configured with. I’m aware that some servers are NOT properly configured, but there are ways to deal with this at the server/hosting level.

I posted some additional details regarding this issue here, along with a popular workaround.
http://www.primothemes.com/forums/viewtopic.php?t=6380&p=14606#p14618

Viewing 25 replies - 1,426 through 1,450 (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.