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 - 451 through 475 (of 1,909 total)
Author Replies
Author Replies
Posted: Tuesday Feb 5th, 2013 at 3:12 am #40813
Staff Member

I’m sorry to hear that you’re having trouble.

Please review all of the details that you entered in this section of your Dashboard.
See: Dashboard -› s2Member® -› ccBill® Options -› Account Details

The error you reported, would indicate one of two things.

1. One of those configuration values is incorrect.
2. Or, there is an issue with your ccBill account. If you are absolutely sure that all of your configuration values are correct, please report this issue to ccBill support and request a review of your ccBill account.

Please let us know if problems persist :-)

Posted: Tuesday Feb 5th, 2013 at 3:02 am #40812
Staff Member

Thanks for the heads up on this thread :-)

I’m not aware of any issue with s2Member® that would cause this behavior. It sounds to me like you have some mild database corruption though, with respect to Roles/Capabilities. This could have been caused by the installation of other themes, plugins — or from tweaking the default set of Roles/Capabilities provided by WordPress®.

If you’d like to truly reset Roles on your site, this plugin comes with a feature that accomplishes that for you.

Capability Manager Enhanced:
http://wordpress.org/extend/plugins/capability-manager-enhanced/

After resetting your Roles back to the defaults…

Go to: Dashboard -› s2Member® -› General Options -› Membership Levels/Labels
Click the button at the bottom of that section to re-install your s2Member Roles as well.

NOTE: Always a good idea to backup your database and file system first :-)


If you can no longer access your Dashboard at all, please see:
http://codex.wordpress.org/Resetting_Your_Password#Through_MySQL_Command_Line

Posted: Tuesday Feb 5th, 2013 at 2:52 am #40811
Staff Member

Thanks for the follow-up :-)

Your CNAME records aren’t right yet.
It looks like you pointed them to just: CLOUDFRONT.NET
They should be pointed to your CloudFront distribution domain names , respectively.

Example: xxxxxxxxxxxs.cloudfront.net (streaming distribution)
Example: xxxxxxxxxxxd.cloudfront.net (downloads distribution)

Please check the documentation here. You can grab your distribution domain names from the Amazon Console.

Posted: Tuesday Feb 5th, 2013 at 2:27 am #40810
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

That is a serialized array of First Payment Dates, as Unix Timestamps. s2Member® keeps a record of the First Payment Date and Time at each paid Membership Level.

a:3:{s:5:”level”;s:10:”1337166521″;s:6:”level1″;s:10:”1337166521″;s:6:”level2″;s:10:”1350867691″;}

Please see: Knowledge Base » Import (or Mass Update) Users -› First Payment Date(s)

array(
	'level' => '[timestamp of first payment date, regardless of level]',
	'level1' => '[timestamp of first payment date at level #1]',
	'level2' => '[timestamp of first payment date at level #2]',
	'level3' => '[timestamp of first payment date at level #3]',
	'level4' => '[timestamp of first payment date at level #4]'
)

In your example, some of these Levels are missing. That’s normal. It indicates that a particular Member has never had access at some of the higher Membership Levels.


As Eduan pointed out, you can also export your CSV file in a more readable format, so you don’t end up with a serialized array — if you prefer. This is optional of course.

Posted: Monday Feb 4th, 2013 at 8:07 pm #40801
Staff Member

We’ve identified the underlying issue here, and this will be corrected in the next maintenance release. Thank you VERY much for reporting this. In the mean time, please feel free to change the value manually, by editing your final Shortcode. Please set ra="" whatever amount you’d like to charge.

See also: Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes (Explained)

Posted: Monday Feb 4th, 2013 at 7:55 pm #40799
Staff Member

I believe the underlying issue here is with a difference in the CloudFront API, with respect to streaming vs. download distros. The resource identifiers and endpoint URLs should be encoded differently, depending on whether we’re talking with a streaming distribution or a downloads distribution. We’ve found a way to correct this behavior and standardize things within s2Member®.

I’m attaching a PATCH file if you’d like to experiment. Please unzip and upload the attached file, allowing it to override your existing copy of /s2member/includes/classes/files-in.inc.php

Please specify the file name without encoding, like this:

$s2_jw_config["mp4_video_file_name"] ="video with spaces.mp4";

s2Member® will take care of the internal specifics for you.

PATCH: http://d1v41qemfjie0l.cloudfront.net/s2member/uploads/files-in.inc_.php_.zip

Posted: Monday Feb 4th, 2013 at 6:40 pm #40791
Staff Member

The issue has been identified, and s2Member® will be updated to support WordPress® v3.5+ in this regard — in the next maintenance release. In WordPress® v3.4 those two fields had tabindex values of 10 and 20. Apparently this changed in WP v3.5+.

Thanks for reporting this.

Posted: Monday Feb 4th, 2013 at 2:46 pm #40770
Staff Member

Thanks for reporting this important issue.

Please send us a copy of the CSV export file that you’re dealing with and we’ll review it for you. I’m not aware of any problems with this; so I’d like to see the export file so we can help diagnose the issue. Or even just a few lines would be fine. Please send that privately for me. Thanks!

See: s2Member® » Private Contact Form

Posted: Monday Feb 4th, 2013 at 2:43 pm #40769
Staff Member

Thanks for the follow-up :-)

My fault. I missed the dollar sign in what_s2_says. I’ve updated the code sample above.

Posted: Monday Feb 4th, 2013 at 2:39 pm #40767
Staff Member

Thanks for reporting this important issue.

That would lead me to believe that your Pro Form is being modified in a way that is converting this input field into a string, instead of as an array (which is the default behavior).

s2member_pro_paypal_checkout[custom_fields]

I assume this is happening during form submission, right? If so, please post a link to your Pro Form and I’ll see what help I can give you from looking at the HTML output.

Posted: Monday Feb 4th, 2013 at 2:25 pm #40766
Staff Member

Thanks for your reply :-)

We’ve only integrated with bbPress. However, I’ve heard that SimplePress does just fine with s2Member®. Although I have to admit, I have not tested this together with the latest release of s2Member yet.

See: http://simple-press.com/

Posted: Monday Feb 4th, 2013 at 2:01 pm #40764
Staff Member
Not a Pre-Sale question.
Moving this to the Community Forums.

If you have questions about features listed for s2Member Pro, please let us know in the Pre-Sale Questions Forum. If you’re a customer, please log into your account at s2Member.com and post in our Customer Support Forum where a Support Rep will assist you :-)

Otherwise, please post general questions in our Community Forum where others may see it. Thanks! ~ For a list of all available forums, please see: http://www.s2member.com/forums/

Posted: Monday Feb 4th, 2013 at 1:59 pm #40763
Staff Member

Thanks for your reply :-)

Gotchya. Closing this topic and we’ll pick back up in this one.
http://www.s2member.com/forums/topic/jw-player-error-loading-stream/

Posted: Monday Feb 4th, 2013 at 1:56 pm #40762
Staff Member
Thanks for your purchase :-)
~ I got your email, and we can continue there please.
I’m reviewing your email and I will respond shortly.
Posted: Monday Feb 4th, 2013 at 1:53 pm #40761
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

This could be attributed to a setting in your PayPal account.
See: https://www.paypal.com/cgi-bin/webscr?cmd=p/mer/WAX_landing-outside

PayPal Account Optional:

In your PayPal Account … To turn the feature on, simply go to the Profile subtab, click on Website Payment Preferences under the Selling Preferences column, and check the yes/no box under PayPal Account Optional.


Also, please note that “Subscription” Buttons (i.e. recurring charges, or Initial/Trial periods) are not eligible for “PayPal Account Optional”. Only “Buy Now” Buttons will work with PayPal Account Optional.

This is a PayPal limitation.

Posted: Monday Feb 4th, 2013 at 1:47 pm #40760
Staff Member

Yes, unfortunately almost EVERY single wordpres plugin developer doesnt care to proper code their stuff.
I dont think I have ever had a plugin that would delete their settings and wipe their database strings when its removed..

s2Member® will do that for you :-) If Deactivation Safeguards are turned off.
See: Dashboard -› s2Member® -› General Options -› Deactivation Safeguards

However, even with our attempt to remove everything; Users are not removed — for obvious reasons. And, since Users are not removed, neither are their Capabilities (that really is not something we should do either, in my opinion) because it could cause unexpected results.

I know what you’re saying though. Most plugins leave EVERYTHING in your DB; and you end up with a big mess of wp_options table entries that really do nothing at all. The worst part is, many of these get autoloaded by WordPress going foward, even though they mean absolutely nothing once the plugin is deleted.

I see this both as a failure on the part of plugin developers,
and also as a failure on the part of WordPress itself. It would be great if plugins had their own namespace by default, so that (at the very least) they were not creating options entries that would remain after the plugin is deactivated and deleted too. I think deleting a plugin should erase it’s tracks completely.

Posted: Monday Feb 4th, 2013 at 1:40 pm #40759
Staff Member

Excellent. Thank you for confirming this.

Yes, I hope that it does help others.

Posted: Monday Feb 4th, 2013 at 1:37 pm #40757
Staff Member

Thanks for your reply :-)

Yes, that would be fine.
However, please note that is_super_admin() works whether you are running in Multisite mode — or not :-)

Posted: Monday Feb 4th, 2013 at 1:34 pm #40756
Staff Member

Thanks for reporting this important issue.

Yes, I’ve tried success shortcode, with and without full url, it is still sending to the generic s2member success page.

I’m not aware of any issues with this feature. While there has been some confusion about how it works, it is known to work without issue in the latest release of s2Member® (tested today against WordPress® v3.5 and 3.5.1). However, I agree (at the very least), we need a troubleshooting article for this problem. I’ll see if I can begin here and work toward accomplishing that for others.


What seems to cause issue with this feature, is the difference between a NEW User, and an existing User/Member upgrading their account to a paid status. The success="" Attribute is documented with the following details.

Dashboard -› PayPal Buttons -› Shortcode Attributes (Explained)
success="" Success Return URL ( optional ). s2Member handles this automatically for you. However, if you would prefer to take control over the landing page after checkout ( i.e. your own custom Thank-You Page ), you can. If supplied, this must be a full URL, starting with http://. Note, s2Member will NOT use this value if an existing account holder is being modified. s2Member handles account updates ( i.e. billing modification ) in a more dynamic way. Your Success Return URL is only applied to (new) Customers.

So for instance, if you test this as an Administrator, it’s not going to work as expected, because you already have an account; and then you upgrade that account by paying for Membership. The same would be true if you were a Free Subscriber, and then you upgraded to Membership Level #1.

The success="" Shortcode Attribute will ONLY be used for NEW paying customers.

If you want to modify s2Member’s handler for redirects during account modifications, you can apply a filter, and specify a custom URL of your own that handles this much different scenario.

Please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
(NOTE: these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins)
(See also: http://www.s2member.com/kb/hacking-s2member/)

<?php
add_filter('ws_plugin__s2member_redirection_url_after_modification', 'my_modification_redirection_url');
function my_modification_redirection_url()
	{
		return 'http://www.example.com/thanks-for-upgrading/';
	}
&#91;/hilite&#93;

<hr />

Another issue with this feature, is actually a case where it becomes a symptom of a larger problem. If your PayPal® integration is broken in some way, or incomplete; you can have Auto-Return errors that will result in a larger failure  — and in that case nothing will behave as expected; including your success=""

Shortcode Attribute.

If you would like to confirm that you have everything setup properly, please enable s2Member’s logging routines for PayPal®, and then check your paypal-rtn.log file to ensure there were no problems during the Auto-Return from PayPal checkout. See: Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging


Another problem that can result in behavior like this, is the lack of an Auto-Return PDT Identity Key in your s2Member® configuration. We often find that site owners have missed this part of the integration with PayPal®.

See: Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration


Please let us know if problems persist :-)

Posted: Monday Feb 4th, 2013 at 1:16 pm #40748
Staff Member

I have hit a road block. When I click on Members Only in my nav bar, it brings up the s2member registration form, which is good for a new user. However, if someone has already registered, how do i bypass this registration form, and take them directly to the member login page?

On a default WP installation, the registration form is located here:
/wp-login.php?action=register

The default login page is located here:
/wp-login.php

As Randy mentioned, it’s the same file, but with different actions (i.e. it’s dynamic).

It actually sounds like you might have a problem with your navigation menu displaying incorrect links to Users/Members that are already logged into your site. If consulting with your theme developer does not help, you can try the “Menu Items Visibibility Plugin” (compatible with s2Member®).

You will find it in the list we have here:
Knowledge Base » Plugins/Themes (Compatibility w/ s2Member®)


Related articles for theme developers.
See also: http://codex.wordpress.org/Function_Reference/wp_login_url
See also: http://codex.wordpress.org/Function_Reference/wp_logout_url

Posted: Monday Feb 4th, 2013 at 1:10 pm #40747
Staff Member

Thanks for the follow-up :-)

Yes, I’m so sorry. That was my mistake.
It’s NOT notify_url, it’s a Return URL (i.e. return=). I updated my post above.

return=http://www.mysite.com/?s2member_paypal_return=1&s2member_paypal_return_success=http://...
Posted: Monday Feb 4th, 2013 at 1:04 pm #40746
Staff Member

Thanks for your reply :-)

Nothing jumping right out at me there. However, if Users have Capability issues; that will remain — even if you deactivate every plugin including s2Member (because those are part of the WP core framework). They might be added by plugins, but they will remain until they are removed in one way or another.

If you’d like to submit a Dashboard login, I will run diagnostics for you.
See: s2Member® » Private Contact Form

Posted: Monday Feb 4th, 2013 at 12:58 pm #40744
Staff Member

Thanks for reporting this important issue.

It sounds like you might have an issue with links in different places on your site.
Have you seen this article? Please confirm. Thanks!

See: Knowledge Base » Don't Mix www, — and Without!

Posted: Monday Feb 4th, 2013 at 12:56 pm #40743
Staff Member

Thanks for your reply :-)

OK. So just to confirm the following statement please…

You need to remove MP4 from the default inline downloads box in Download Options>Inline File Extensions. As soon as you make that change S2Member will immediately begin protecting the download instead of serving it inline.

What was happening is that s2Member® was serving the file inline (but you wanted it distributed as an actual file “download”). In other words, you wanted a prompt to come up with a File Save dialog window, is that correct?

Just to point out, s2Member® will serve files either way; and either way, the file is still protected. It’s just the difference between how it’s served in a browser (i.e. inline or as an actual download).

Posted: Monday Feb 4th, 2013 at 12:51 pm #40741
Staff Member

Thanks for your reply :-)

Yes, this sounds like it could be a shortcoming in your audio/video player. I can confirm that JW Player v6 can serve videos to iPads and other mobiles devices.

Please see: Knowledge Base » JW Player® w/ s2Stream Shortcodes

Or, you might contact the developer for the existing player that
you’re using and see about adding support for mobile devices.

Viewing 25 replies - 451 through 475 (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.