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 - 901 through 925 (of 1,909 total)
Author Replies
Author Replies
Posted: Tuesday Jan 15th, 2013 at 1:03 pm #37597
Staff Member

Thanks for your reply :-)

Now, I attempt to put that shortcode on this page before the main content. The form shows up, but the rest of the content is also there. I also set the widget option to not protect this page.

It sounds like you’re going about this wrong. A Pro Form would normally go into a Post or Page by itself. This Post or Page should NOT be protected by s2Member, because it needs to remain publicly accessible so that public visitors can use it to complete checkout.

The content that you’re protecting should be somewhere else entirely. You might provide links to this content from your Login Welcome Page, as configured with s2Member.

The easiest way to think about this, is as follows…

Put your Pro Form on your Membership Options Page:
Dashboard -› s2Member® -› General Options -› Membership Options Page

Put links to your protected content, for Members, on your Login Welcome Page:
Dashboard -› s2Member® -› General Options -› Login Welcome Page

I recommed this video tutorial if you are having trouble.
Video » s2Member / General Options Overview

I’ve also taken the above shortcode, put it on the page and then set the widget form to allow access for level 1 users. When I do that the above form goes away and replaced by a different form charging 1.50 for access. I do not see any other forms created that would allow for that.

I’m sorry. I really have no idea where the $1.50 is coming from either. The shortcode you posted is charging $2.50. It sounds like you might have another shortcode in there somewhere by mistake.

Please let us know if problems persist :-)

Posted: Tuesday Jan 15th, 2013 at 12:55 pm #37595
Staff Member

Thanks for reporting this important issue.

Please log into your account at s2Member.com and update your “Primary Domain” from this page.
http://www.s2member.com/profile/

The s2Member software itself does not contain any routines that would prohibit you from testing your site in a staging server or from any other kind of development server. If s2Member is not functioning properly in your development environment, it is not because of your Primary Domain listed at s2Member.com.

Please let us know if problems persist :-)

Posted: Tuesday Jan 15th, 2013 at 12:49 pm #37594
Staff Member

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

Import/Export functionality is a feature provided by s2Member® Pro. You will need to look over the documentation in your Dashboard regarding the format of your CSV import file. Regardless of what platform you’re coming from, you will need to construct a CSV import file to the specs detailed here please.

See: Dashboard -› s2Member® -› Import/Export -› User/Member Importation

Posted: Tuesday Jan 15th, 2013 at 12:45 pm #37593
Staff Member

Thanks for reporting this important issue.

Is there any way you can keep the old version active until we update? It’s so frustrating and I know we have lost new members who give up and click away from the page.

I’m not sure I understand exactly. s2Member does NOT automatically update your WordPress installation. As with all plugins in WordPress, updates are made available in your Dashboard (i.e. you are notified an update is available), but nothing results from these notifications. You must perform the update yourself.

Posted: Tuesday Jan 15th, 2013 at 12:15 pm #37587
Staff Member

Thanks for the follow-up :-)

He bounced the file back to me with a question about the First Payment Date.

In the First Payment Date field rather than a date there are variations of data like this:

a:2:{s:5:”level”;s:10:”1342051396″;s:6:”level2″;s:10:”1342051396″;}

This is to be expected. You didn’t mess anything up. When you see data like this, what you’re looking at are multiple values for one database column, in PHP’s serialized string format. See: serialize() if you want the details. s2Member’s default export format is designed to support all features of re-importation. Thus, you get ALL of the data that s2Member has for this column. If there are multiple values, you will get a serialized string like this. There are only a couple of columns in your export file where this is applicable. First Payment Date is one of these. The other is related to any Custom Fields that you might have configured with s2Member. If you have no Custom Registration/Profile Fields, all you’re dealing with in this regard, is First Payment Date(s).

a:2:{s:5:”level”;s:10:”1342051396″;s:6:”level2″;s:10:”1342051396″;}
Regarding the First Payment Date(s), please check the documentation on this import/export column in your Dashboard under this section where we provide full details.
See: Dashboard -› s2Member® -› Import/Export -› User/Member Importation
If you would like a cleaner version (i.e. one which is more readable, please select that option when you do your export). s2Member provides a drop-down menu giving you this option.


The SQL returns a different set of data with fewer columns.

The example that I provided pulls details from the `wp_users` table. Other details for each user can be found in the `wp_usermeta` table. This is a WordPress standard. Here is an example query that will give you all details from the `wp_usermeta` table.

SELECT `wp_usermeta`.* FROM `wp_usermeta`

See also: http://codex.wordpress.org/Database_Description#Table:_wp_usermeta

Posted: Tuesday Jan 15th, 2013 at 11:47 am #37582
Staff Member

Thanks for your reply :-)

This works fine being a registered free subscriber, but can you set it up so if a person wants to bypass free registration and go straight to the purchase button on the membership options page they can without previously being registered at all?

I’m not sure I completely understand. I think what you’re asking is if it’s possible for a public visitor (not logged-in at all yet), to pay through a PayPal Button. If so, then yes. A customer does not need to be logged in before purchase. By default, a customer goes to PayPal to complete checkout, and upon returning from checkout, they will be granted permission to register for an account at your site.

Also can you modify the page( you see after purchase) that says “go back and login”? or link to another welcome page?

With s2Member® Pro installed, yes.
You can use the success="http://..." Shortcode Attribute.
See: Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes (Explained)
This is the easiest way (recommended). Create a Page yourself, and specify its URL in this Shortcode Attribute.

Or, you may create a custom template of your own. Please see:
Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration
In this section, click the “Auto-Return Page Template ( optional customizations )” link for full details.

Posted: Tuesday Jan 15th, 2013 at 11:36 am #37581
Staff Member

Thanks for your patience.

This Page (/1769-2/) on your site is protected at Membership Level #1 (or higher), so it’s not going to work as a Thank-You page for new customers. Please make this Page available for public access, then try your test again.

See Page: Thank-You /1769-2/ (Requires Membership Level #1, as configured with s2Member).

I believe the page you are seeing that is blank, is your Membership Options Page. s2Member is protecting Page /1769-2/, so if a brand new customer (who has not logged-in yet — they just finished checkout), is redirected to that Page, s2Member will redirect them again, to your Membership Options Page.

On your installation, your Membership Options Page is empty, so all you’re seeing is your header/footer.

See also: Dashboard -› s2Member® -› General Options -› Membership Options Page

Please let us know if problems persist :-)

Posted: Tuesday Jan 15th, 2013 at 11:17 am #37580
Staff Member

Thanks for your reply :-)

Reviewing your log files. One moment please.

Posted: Tuesday Jan 15th, 2013 at 11:13 am #37579
Staff Member

Thanks for your reply :-)

The code sample I provided in that thread is showing an example of how you might close Open Registration on your site dynamically through code, based on some condition that you have on-site.

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_check_register_access", "my_function");
function my_function($users_can_register)
	{
		if($something_allows_a_user_to_register)
			return /* Yes, they can register. */ "1";
			
		else /* Whatever s2Member says already. */
			return $users_can_register;
	}
?>

See Also: s2Member/Options_Forces
See Also: Hooks/Filters in this class package

Open Registration? See: Dashboard -› s2Member® -› General Options -› Open Registration

Posted: Tuesday Jan 15th, 2013 at 10:46 am #37577
Staff Member

Thanks for your patience.

I just took a look at your installation. It appears there must have been confusion at some point, because you have two WordPress installations in the FTP space that you sent privately for us. One of these installations has s2Member/s2Member Pro installed, and the other did not. What is strange is the way s2Member was being picked up in the Dashboard, but the s2Member shortcodes were not being processed on-site, simply because the plugin was not installed. I won’t try to guess why this was the case, because it might be due to symlinks on your server, I really don’t know.

In either case, I uploaded /s2member/ and /s2member-pro/ for you.
/www/wp-content/plugins/s2member
/www/wp-content/plugins/s2member-pro

Shortcodes are now functional.

Please let us know if problems persist :-)

Posted: Tuesday Jan 15th, 2013 at 9:23 am #37572
Staff Member

Details received. Thank you!

~ Investigating now.

Posted: Monday Jan 14th, 2013 at 8:53 pm #37551
Staff Member

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

I’m sorry, but we are unable to provide support for custom code or general WordPress funtionality. Please see our policy here for some clarification on this. Thanks! s2Member® » Support Policy » Within Scope

If you have a specific question that pertains to s2Member, we’ll be happy to help (i.e. a particular hook/filter, or something related to s2Member’s functionality is fine). We just can’t offer support for custom code that integrates with something we do not provide.

Posted: Monday Jan 14th, 2013 at 6:51 pm #37541
Staff Member

Thanks for your reply :-)

That Shortcode looks good, and I just tested it on a clean installation of WordPress and it produces a ccBill payment button without issue. If problems persist, please send us a Dashboard login and we’ll take a look for you :-)

Please use this private contact form: s2Member® » Private Contact Form

Posted: Monday Jan 14th, 2013 at 6:47 pm #37539
Staff Member

Thanks for your patience.

OK. I ran some tests against your WordPress installation. I also integrated your installation with two different S3 Buckets, 4 different CloudFront distributions. It’s not a server compatibility issue, because all my tests succeeded. I was able to stream & download audio/video content without issue, using s2Member from your server.

The only other thing I can suggest is that you enable logging on your S3 Buckets from the Amazon Console and hopefully something will pop up and shed light on this. Or, you might want to contact Amazon and see if they can provide you with any further specifics about why your requests are failing.

Is there anything abnormal about your own IP address during your tests? CloudFront signed URLs include your IP address, and if for some reason your IP address is not a match during playback, that could cause an issue I suppose.

Also… the reason I asked about other software accessing your Bucket/Distro at Amazon, is because Amazon has multiple versions of their API. I’ve been told that if a software application accesses your Bucket/Distro using a newer version of the API than s2Member uses, it could throw your Bucket/Distro out of compatibility mode, causing all sorts of strange issues for you. To test for this as a possibility, I would create a brand new Bucket, a brand new Access Key ID too, and test that against s2Member, just in case this has something to do with your problem.

s2Member uses AWS API version: 2010-11-01

Posted: Monday Jan 14th, 2013 at 4:16 pm #37527
Staff Member

Thanks for your reply :-)

OK. The PayPal button on that page is a hosted PayPal button stored at PayPal.com. You will need to log into your PayPal account and be sure the custom value has been defined. Or, you can generate a shortcode with s2Member to correct this problem.

See: Dashboard -› s2Member® -› PayPal® Buttons -› Membership Level # Buttons
Or see this KB article: http://www.s2member.com/kb/using-paypal-created-buttons/

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 3:56 pm #37524
Staff Member

Details received. Thank you!

~ I will investigate this as soon as possible and get back with you here.

Posted: Monday Jan 14th, 2013 at 3:41 pm #37522
Staff Member

Thanks for your reply :-)

I understand, thank you. As I mentioned before, s2Member’s Conditionals can help you with this. What you need is a “condition” whereby this button you’re speaking of, reacts one way to public visitors, and another way for existing customers that have already paid you. So I believe your solution is to use s2Member’s Advanced PHP Conditionals, integrating those with the button you mentioned, and force that button to redirect to a page of your choosing when it’s being clicked by someone who is NOT yet a paid customer.

s2Member does not protect JavaScript events, not with any point-and-click functionality in the Dashboard. Conditionals can certainly be used for this however. This is something you may need assistance from a developer with.

I suggest that you explore this area of your Dashboard please.
Dashboard -› s2Member® -› API / Scripting

Posted: Monday Jan 14th, 2013 at 3:34 pm #37521
Staff Member

Thanks for your reply :-)

OK. So as I understand it, you want to receive payment, but you don’t want a customer to actually become a user of your site, you just want them to gain access to something specific.

Most s2Member Pro Forms are designed to make a public visitor, a Member of your site (e.g. you are not just asking them to pay for something, you are also giving them an account at your site). We refer to this as Membership Functionality, and this is s2Member’s primary objective as a plugin overall.

However, s2Member does provide an additional layer of functionality, called “Specific Post/Page Access”, and this does NOT make a customer a Member of your site (e.g. no registration details during checkout).

Please see: Dashboard -› s2Member® -› Restriction Options -› Specific Post/Page Access Restrictions
See also: Dashboard -› s2Member® -› PayPal® Pro Forms -› Specific Post/Page (Buy Now) Forms

There is a video tutorial here that may assist you.
Video » s2Member (Specific Posts/Pages)

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 3:24 pm #37519
Staff Member

Thanks for your patience.

I just reviewed your installation, and I also ran some tests for you.

When I run a test transaction to implement recurring charges, I receive this error.

Error #1. User authentication failed.
NOTE: This test was performed with your s2Member -> PayPal Options -> PayFlow Integration configured. Assuming your account is operating under the PayFlow API for recurring billing service, one would assume the details you’ve configured in this section of the Dashboard are incorrect, according to PayPal.

I then ran the same test, but this time assuming your account was operating with DPRP (Recurring Billing service under the standard PayPal Pro API). But I get this error, indicating your account does not have DPRP enabled.

Error #11586. DPRP is disabled. DPRP is disabled for this merchant.

Conclusion…

Since you have already contacted PayPal, and you’ve said that PayPal HAS enabled Recurring Billing for your account (e.g. you are paying extra money each month for Recurring Billing service with PayPal), then I must assume that Recurring Billing IS enabled for your account. I can see from s2Member’s communication with the PayPal Pro API, that Recurring Billing (DPRP) is NOT enabled for the regular PayPal Pro API, so it must be enabled under the PayFlow API. That would seem logical to me, assuming they DID actually enable this for you.

So… this brings us back to the error that s2Member receives when it attempts to create a recurring billing profile under the PayFlow API: Error #1. User authentication failed.. That error comes from the PayFlow API, and it means the details that you’ve configured with s2Member, are not valid according to PayPal.

I suggest that you review the details that you have configured in this section your Dashboard and try again.
See: Dashboard -› s2Member® -› PayPal® Options -› PayFlow® Integration

If you verify all of those details are correct, but you still get the same error (Error #1. User authentication failed), I recommend that you contact PayPal once again, and ask them this question please.

Question For PayPal…
I would like to add the “Recurring Billing” service to my account so that I can charge my customers on a recurring basis. When you enable the Recurring Billing service for my account, should my developers integrate with the old DPRP service through the PayPal Pro API, or should they integrate with the PayFlow API?

If I should integrate with the PayFlow API, may I please have the following credentials for my developer.
PayFlow® API Username.
PayFlow® API Password.
PayFlow® API Partner.
PayFlow® API Vendor.

If the details they provide are the same as you already have entered for s2Member. Stop them, and tell them these credentials are not working properly for you. Ask them to please check your PayFlow API credentials and/or provide you with new ones.

Take those credentials and enter them here please:
Dashboard -› s2Member® -› PayPal® Options -› PayFlow® Integration
On the other hand, if PayPal tells you NOT to use the PayFlow API for Recurring Billing, please remove the details you have entered here, so that s2Member will NOT try to use the wrong API for your account.

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 2:44 pm #37514
Staff Member

Thanks for your reply :-)

So upon logging into your site, you want to redirect the user immediately to PayPal.com. Is that correct?

Posted: Monday Jan 14th, 2013 at 2:42 pm #37513
Staff Member

Thanks for the follow-up :-)

@ hbgi

Please see this KB article for full details.
http://www.s2member.com/kb/disable-file-download-confirmations/

Posted: Monday Jan 14th, 2013 at 2:40 pm #37512
Staff Member

Thanks for your reply :-)

I’m not sure I understand completely, so feel free to elaborate until I do :-)

You could integrate s2Member’s Conditionals there, that might help you here. Allowing you to protect certain components of a Post or Page, or whatever. However, Conditionals do NOT work with s2Member’s “Specific Post/Page Access”, only with Membership Level Access; so you might want to consider what’s most important for you in that respect.

See: Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals
See also: Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

Posted: Monday Jan 14th, 2013 at 2:36 pm #37510
Staff Member

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

Hi! I’m new here and I couldn’t find a search function for the forum so may be you can direct me to the right thread?

Please use the search box at the top of the site.

While I consider myself a semi-experienced WordPress customizer you totally lost me :-(
I also saw that JW now offers a WordPress plugin? Does that make the whole thing obsolete?

I understand. This is THE most advanced aspect of s2Member. The JW Player plugin will not help you with this, please use the code samples provided by s2Member in your Dashboard for this. You will need to copy/paste the code samples we provide, into a Post/Page and this will produce a JW Player with your protected audio/video.

The video tutorial here covers this in great detail for you.
See: Video » s2Member® File Downloads (Amazon S3/CloudFront/JW Player)

If you have specific questions about something that we covered in that video, I’m happy to help.

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 2:23 pm #37506
Staff Member

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

I’m sorry, I’m not sure I understand the question. Can you please re-phrase? Thanks!

Posted: Monday Jan 14th, 2013 at 2:16 pm #37504
Staff Member

Thanks for the follow-up :-)

Well in that case, the Post/Page you’re protecting is actually the “Create Competitor” page. So if you protect that with s2Member’s Specific Post/Page Restrictions, upon clicking a link that leads to that page, a visitor would be taken to your Membership Options Page, as configured for s2Member; where they checkout and gain access.

Please see: Dashboard -› s2Member® -› General Options -› Membership Options Page
See also: Dashboard -› s2Member® -› Restriction Options -› Specific Post/Page Access Restrictions

Viewing 25 replies - 901 through 925 (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.