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 - 951 through 975 (of 1,909 total)
Author Replies
Author Replies
Posted: Monday Jan 14th, 2013 at 8:31 am #37360
Staff Member

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

Please log into your account here at s2Member.com and go to “My Account”. There you will find our recommendation and links to the Quick Cache plugin. Quick Cache will work properly with a default installation, no additional configuration necessary. Quick Cache was developed by us :-)

See also: http://wordpress.org/extend/plugins/quick-cache/

Posted: Monday Jan 14th, 2013 at 8:28 am #37359
Staff Member

Thanks for the follow-up :-)

Here are some additional screenshots for you (click to enlarge please).


It would be great if you can have a look on it or if we can have a team viewer session?

I’m sorry but we provide support through our Customer Support Forums only please.
Please see our policy here for some clarification on this. Thanks!

See: s2Member® » Support Policy

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 8:22 am #37355
Staff Member

Thanks for the follow-up :-)

When users sign up using this form, they are created as users in the wp-admin area but they never get any user information sent to them for to how to login. The payment does go through and I do receive it but I have to manually add the payment info to their user area in the wp-admin.

So checkout is not fully integrated yet, because paid registrations are not being entirely processed properly yet. It sounds to me like s2Member’s post-processing of the transaction is failing. To determine why, please review your PayPal configuration for s2Member, in this section of your Dashboard.

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

Also, please enable logging here, so we can help you determine what the underlying issue is.
Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging

Once logging is enabled, please submit a Dashboard login for us, and we will run diagnostics for you. Please do that privately, using this form: s2Member® » Private Contact Form

Your Shortcode looks good. Thank you.

All I am looking for is the correct way to configure the s@Member settings to accomplish the goal of:
A completely free blog.
A free membership that accesses free pages that are not part of the blog (ie. basic Buddy Press access “inside” the site)
Paid membership levels designed to give members even more value within the site.

A completely free blog, is a blog that does not protect any of it’s content with s2Member. Or at least, very little. That is, most of your content would NOT be protected by s2Member, and thus, it would be available for public viewing, without any Membership Level Restrictions applied to this content at all.

If you have some content that requires registration (even though you’re not charging for it), if you just want to make sure a public visitor is registered before certain content can be viewed, you would protect that content at Membership Level #0, requiring Free Subscribers. Then you would allow Open Registration with s2Member, and make a Free Registration Form available on your site, so that public visitors can register and become Free Subscribers.

Here are the relevant sections in your Dashboard.
See: Dashboard -› s2Member® -› General Options -› Open Registration
See: Dashboard -› s2Member® -› Restriction Options
See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms

Additional content can be protected at higher Membership Levels, where you require payment to access specific content within the site. This is achieved by protecting some of your content at Membership Level #1 or higher, and then making a checkout form available on your site so that public visitors and/or Free Subscribers can purchase.

See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Membership Level # Forms

I also recommend that you watch our online video tutorials.
Please see: s2Member® Videos
Posted: Monday Jan 14th, 2013 at 8:05 am #37354
Staff Member
Thanks for those requests! We appreciate the feedback.
Posted: Monday Jan 14th, 2013 at 8:04 am #37353
Staff Member

Thanks for reporting this important issue.

When I paste the code onto a page it just displays the code on my site.

Do you mean it displays the Shortcode itself? Or some other code?

If it’s displaying the Shortcode itself, that would indicate to me that one of the following is occurring.

  • The ccBill payment gateway is no longer active in your installation of s2Member Pro?
    Please check that here: Dashboard -› s2Member® -› Other Gateways
  • The Shortcode is invalid. Please paste a copy of the Shortcode that you’re using, for us to review with you.
  • You have a theme/plugin that is preventing WordPress from parsing Shortcodes. That is, the do_shortcode() filter is not being applied by WordPress. Please try to reproduce this on a clean installation of WordPress, running no other plugins, and using the default theme. Is it still a problem?

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 7:58 am #37351
Staff Member

Thanks for reporting this important issue.

I get a Error 500/internal server error.

Can you please detail for me, what actions you took to produce this 500 server error? For example, did this occur when you attempted to access the file? If so, please paste the link or Shortcode you’ve integrated so we can understand this better.

There is something you can do to help us. Please unzip and upload this file to your server and open it in a browser. This is a server scanning tool that we use here at s2Member, that will help detect any issues that s2Member might be having in your environment. Please let us know if any issues are discovered by this tool. Download: http://www.s2member.com/r/server-check-tool/

Posted: Monday Jan 14th, 2013 at 7:53 am #37350
Staff Member

Thanks for the follow-up :-)

I’m sorry. I’m out of ideas on this. I’ve been unable to reproduce this in our lab. If problems persist, please send me a Dashboard login, with a new test installation. An installation that has NO Amazon integration yet. This could be related to a server incompatibility, so if I investigate it this on your server, it might shed light on the issue here. Please send that privately. See: s2Member® » Private Contact Form

Something you can do as well. Please unzip and upload this file to your server and open it in a browser. This is a server scanning tool that we use here at s2Member, that will help detect any issues that s2Member might be having in your environment. Download: http://www.s2member.com/r/server-check-tool/

Posted: Monday Jan 14th, 2013 at 7:47 am #37349
Staff Member

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

How can i check whats happens? the loggin routines is on in dashboard, i follwed the instructiosn to configue everything.

If you’ve already enabled logging, you can see what’s happening behind-the-scene, by inspecting s2Member’s log files. Please take a look inside this directory: /wp-content/plugins/s2member-logs/

If you need help understanding log entries, please submit your log files privately using this form, and we will review them for you. See: s2Member® » Private Contact Form

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 7:45 am #37348
Staff Member

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

i understand the use of “-all” but does “all” have the opposite effect?

No it does not. I’m sorry. If you want to give all Custom Capabilities, you will need to list those out in comma-delimited format please.

Posted: Monday Jan 14th, 2013 at 7:43 am #37347
Staff Member

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

AirPlay and Apple TV

I’m sorry but I know absolutely nothing about these services. Hopefully someone else will spot your thread here and chime in for you on this specific area of interest. Anyone?

I will say this however. If you’re trying to support a wide range of devices, I do NOT recommend pseudo streaming through Amazon S3 alone. I would integrate with CloudFront as well, so that you have a true media server, which is going to give you the best reliability and compatibility across a wide range of devices. I recommend CloudFront anytime you’re dealing with audio/video files. Also because there have been numerous reports in our forums about mobile devices not working properly without CloudFront having been integrated, where audio/video streams are concerned.

Please see: Dashboard -› s2Member® -› Download Options -› Amazon® S3/CloudFront CDN Storage
See also: Video » s2Member® File Downloads (Amazon S3/CloudFront/JW Player)

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 7:37 am #37345
Staff Member

Thanks for the follow-up :-)

I logged out and then back in a the test acct. The system didn’t demote to Level 0. Is there a certain time of the day that happens or am I missing something?

Once the EOT Time has been set, give it 30 minutes or so please. s2Member’s Auto EOT System needs to be enabled for this to work, and it will process any EOTs that exist, based on these EOT Times, every 15 minutes. This is powered by WP Cron, by default.

Please see: Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 7:34 am #37344
Staff Member

Thanks for the follow-up :-)

I’m not sure what you mean by “duplicate”, sorry. Please feel free to elaborate so that I understand better.

I would suggest something like this…

for($n = 0; $n <= $GLOBALS&#91;"WS_PLUGIN__"&#93;&#91;"s2member"&#93;&#91;"c"&#93;&#91;"levels"&#93;; $n++)
	echo ($pages&#91;$n&#93; !== array("all")) ? /* Protecting `all` Pages, of any kind? */
	((!in_array("all-pages", $posts&#91;$n&#93;)) /* Protecting Posts of type: `page` ( i.e. `all-pages` )? */
	? '<option value="'.$n.'"'.((in_array($page_id, $pages&#91;$n&#93;)) ? ' selected="selected"' : '').'>'.(($n === $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["levels"]) ? 'Require '.$GLOBALS['WS_PLUGIN__']['s2member']['o']['level'.$n.'_label'] : 'Require '.$GLOBALS['WS_PLUGIN__']['s2member']['o']['level'.$n.'_label'].' ( or higher )').'</option>'."\n"/**/
	: '<option value="" disabled="disabled">Level #'.$n.' ( already protects "all" Posts of this type )</option>'."\n")/**/
	: '<option value="" disabled="disabled">Level #'.$n.' ( already protects "all" Pages )</option>'."\n";

That’s about as far as I can go on custom coding. I’ll be happy to provide you with more leads on where to find certain things, or to share ideas with you, but I can’t debug any custom code that you write. Please see: s2Member® » Support Policy » Within Scope for some clarification on this. Thanks!

Posted: Monday Jan 14th, 2013 at 7:25 am #37343
Staff Member

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

1. Let say I use the following code to restrict the premium content in a post. I create 3 posts by using the code below: test1, test2, test3

[s2If current_user_can(access_s2member_level0)]
Some content for Members who are logged in with an s2Member Level >= 0.
[/s2If]
Is it possible to limit how many premium content show to the member? e.g. If a user view test1, then he can’t view the premium conten in test2 and test3.

Your use of s2Member Conditionals here is correct. No problem there. However, s2Member does not provide any functionality that would make it possible for you to disallow access to one page, because a Member has visited another already. That’s something you would need to custom code unfortunately.

2. I will buy the pro version since I want to use the ccbill addon. If a user join my site as a free user first, can he use ccbill addon to upgrade later? Does he require to choose another username after the upgrade?

Yes, this will work just fine. With s2Member Pro installed, please generate a ccBill Payment Button with s2Member, and introduce this to your Users/Members, or to new customers. If the customer is already logged-in when they click the payment button, s2Member will automatically detect they are an existing user, and their existing account will be updated to a paid status, instead of asking the user to re-register. This is something that occurs automatically, as long as the customer is logged-in when they proceed to checkout.

Posted: Monday Jan 14th, 2013 at 7:20 am #37342
Staff Member

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

s2Member’s Unique IP Restrictions will allow you to say, “I’ll only allow up to 5 unique IPs for each Username that I create”. That’s what this section of your Dashboard is for, with s2Member installed. See: Dashboard -› s2Member® -› Restriction Options -› Unique IP Access Restrictions

However, this is NOT going to lock your entire site down to only 5 IPs, or anything like that. It’s based on per-account access. So each account can be accessed by up to 5 different IPs, every 30 day period; for example.

If you need to restrict access, where only a specific IP address, or a block of IPs is allowed, that’s something you would need to handle with an additional plugin, or perhaps write up something custom and build it as a quick MU plugin. I hope that helps to clarify this better.

Please see: http://codex.wordpress.org/Must_Use_Plugins

Posted: Monday Jan 14th, 2013 at 7:12 am #37341
Staff Member

Details received. Thank you!

It appears from your log files that you are running test transactions against a live account that has been placed into TEST mode? Unfortunately, Authorize.Net returns transaction IDs in this mode, always equal to a value of 0, and s2Member will choke on this, which is why you’re experiencing the issues that you’ve reported here.

I’m very sorry about this. I’m going to report this to Authorize.Net again. This has come up in the past, which is why we suggest in your Dashboard, to setup a developer test account instead. Running test transactions against a live account is really a problem for s2Member, because even in TEST mode, s2Member needs to see, at the very least, a fake transaction ID.

Solutions for you…

1. If you’d like to run test transactions, I recommend that you setup a developer test account with Authorize.Net (free), instead of running test transactions against your live account in TEST mode. This problem does not occur when testing against a developer test account.

Setup developer test account here: https://developer.authorize.net/testaccount/
Log into your developer test account here: https://test.authorize.net/

2. Or, you can simply run your test transactions against your live account, but without s2Member being in Sandbox mode. The problems you’re experiencing are occurring only because you’re in TEST mode.

Please let us know if problems persist :-)

Posted: Sunday Jan 13th, 2013 at 7:10 pm #37314
Staff Member

Thanks for the follow-up :-)

You’ll need to open the window up by clicking the “edit” link
next to one of your Registration/Profile Fields list in that section please.

Posted: Sunday Jan 13th, 2013 at 5:59 pm #37311
Staff Member

Thank you. Details received.

Can you please paste your s2Member Shortcode here for review as well? Or just double-check it please. It appears from your log files that your Shortcode does NOT contain a custom="" attribute, because the IPN log indicates it is missing during post-processing of a transaction, which would explain why emails are not being received either. You should have custom="www.yourdomain.com" in every s2Member Shortcode please.

Posted: Sunday Jan 13th, 2013 at 3:32 pm #37296
Staff Member

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

s2Member provides you with Shortcodes so you can create the Payment Buttons, or Pro Forms. You’ll pop s2Member Shortcodes into a Post or Page and then link your visitors to those pages where the Shortcodes exist (i.e. where the Payment Button or Pro Checkout Form is located).

How you integrate these Buttons/Forms, would be completely up to you. If you’d like to create a drop-down menu on your site that redirects people to certain Posts or Pages based on selection, or if you want to show/hide certain Payment Buttons on a Post or Page, based on something like this, you will need to custom code that.

This is generally accomplished using a couple lines of JavaScript and the onchange event handler attached to SELECT menu. You can search the web for examples of how to create something like this. Some users in our Community Forum have also posted some examples, so you might try searching there as well.

Posted: Sunday Jan 13th, 2013 at 3:22 pm #37295
Staff Member

Thanks for reporting this important issue.

The problem is that even though the user is created, the user is not sent any login information and therefore cannot access the site.

I’m sorry, can you please clarify. The login information is not being sent during Free Registration, or during paid registration? In either case, can you please paste the Shortcode that you’ve used to integrate this registration form that’s not working properly? I’d like to see the underlying Shortcode and we can work from there to help you determine the cause of this on your installation.

How do I configure this to have a page that offers all of the membership options, registers all users (free and paid), creates new users, accepts the paypal payments for paid memberships and still sends the login information to the new member?

NOTE: I just had a thought… Should I be saying no free registrations option and then charge nothing for the first level? (Meaning that the level-0 would then be the read only visitors to the blog, level-1 would be free membership, level-2 would start the paid membership options?)

  • No Level at all (i.e. public visitors) can see anything that’s not protected by s2Member.
  • Level #0 is generally associated with Free Subscribers (i.e. you’ve allowed them to register, so they have an account), but they did NOT pay you, because they registered for free. These folks generally have access to your Login Welcome Page, but not to any paid content on the site.
  • Anything higher than Level #0 generally requires payment, and it will grant access to any content you’ve protected at Level #1 or higher. Just depends on how you’ve protected your content.

With s2Member Pro, I recommend this Pro Form to help you with Free Registration.
Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms

Posted: Sunday Jan 13th, 2013 at 3:14 pm #37293
Staff Member
I suggest this article. You may fully customize your Pro Form using this information.
Pre Sale FAQs » Is it possible to modify s2Member® Pro Form templates?

If you want to get rid of the Additional Info section of your Pro Form, you will need to re-configure any custom Registration/Profile Fields that you’ve added to your installation, by configuring each of these additional Fields to ONLY be shown during Profile Edits, and NOT during registration, if that is your intention.

See: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

Posted: Sunday Jan 13th, 2013 at 3:01 pm #37291
Staff Member

Thanks for your patience.

Here is the JavaScript solution I mentioned, which will actually serve you better, since it won’t get wiped out during future updates to s2Member. Please follow the instructions below, and let me know if you have any trouble. This was tested against WordPress v3.5, but should work on any version of WordPress, at least back to v3.2.

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/)

Posted: Sunday Jan 13th, 2013 at 2:34 pm #37290
Staff Member

Ah. Thanks for reporting back.

So sorry. I wrote that up too quickly. You’re right, it does not work as expected. I will post an updated code sample shortly for you and I’ll see if we can get this into a future release as well.

Posted: Sunday Jan 13th, 2013 at 2:18 pm #37288
Staff Member

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

So if I understand correctly (please correct me if I’m wrong), you want to bypass the Username all together, and use ONLY the email address of the customer as the Username. Is that right?

If so, this is not a feature provided by s2Member. You can search the forums here for some others who have tried this, but it’s not something that we provide support for. Each customer MUST be associated with an Email Address and a Username; because this is an assumption throughout all of s2Member’s source code. s2Member expects that each customer will have both of these values.

Posted: Sunday Jan 13th, 2013 at 2:13 pm #37286
Staff Member

Thanks for the follow-up :-)

Can you please confirm that you ran the tests on the S2 protected login page and that this was done on Word Press 3.5 ?

Yes, my test was run against WordPress v3.5 and WordPress v3.6 alpha.

“Since:
3.5

This is referring to the s2Member version number, which was (in the beginning) based on traditional version numbers instead of the dated format we use now. The last time this s2Member function changed was about 2 years ago.

Please let me know if you find out anything more,
or if you discover a bug. Thanks!

Posted: Sunday Jan 13th, 2013 at 1:50 pm #37283
Staff Member

Thanks for the follow-up :-)

Gotchya. Well unfortunately, this is not possible with a hook/filter, so it will require some changes to the code directly, which might get wiped out during a future upgrade of s2Member. If you can deal with this, no biggy. I’ll outline it below. If you don’t like this solution, you might consider adding a jQuery-driven script to the Post/Page editing station in the Dashboard, that would set that meta-box drop-down value to a default selection. That way you’re not making changes to the s2Member source code directly, but handling this with JavaScript in the Dashboard instead.

If you’d like to make the changes to the source code, here is what you’ll need to do.

Open this source file please:
/s2member/includes/classes/meta-box-security.inc.php

Find these two snippets of code. One for Pages, another for Posts.

<option value="'.$n.'"'.((in_array($page_id, $pages&#91;$n&#93;)) ? ' selected="selected"' : '').'>
<option value="'.$n.'"'.((in_array($post_id, $posts&#91;$n&#93;)) ? ' selected="selected"' : '').'>

Change these to the following:

<option value="'.$n.'"'.((in_array($page_id, $pages&#91;$n&#93;) || (empty($pages&#91;$n&#93;) && $n === 0)) ? ' selected="selected"' : '').'>
<option value="'.$n.'"'.((in_array($post_id, $posts&#91;$n&#93;) || (empty($posts&#91;$n&#93;) && $n === 0)) ? ' selected="selected"' : '').'>

Please let us know if problems persist :-)

Viewing 25 replies - 951 through 975 (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.