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.

About: Moty Aharonovitz

Sorry, I've not written a description yet. I'll get to it soon!

My Latest Replies (From Various Topics)

Viewing 13 replies - 1 through 13 (of 13 total)
Author Replies
Author Replies
Posted: Sunday Dec 2nd, 2012 at 8:32 am #33208

Hello there,

So I have everything setup and SSL cert installed. I used s2member_force_ssl = yes on the 3 pages with pro from I have in my site. From your documentation I read:

Once you’re live, you can add the Custom Field s2member_force_ssl = yes to any Post/Page, using the Custom Fields box in your WordPress® editor. s2Member® will buffer output on those special Posts/Pages, converting everything over to https:// for you automatically, and forcing those specific Posts/Pages to be viewed over a secure SSL connection


When I tested my subscription pages that have the s2member_force_ssl = yes, I observe the following:

1. Indeed, the URL changes to have the https prefix as expected – GOOD

2. Contrary to the documentation, the three pages still contain plenty of http-based URL, which make them partially insecure. As a result, the “lock” icon is not displayed in FireFox, Chrome and IE, and explorer pops up the “Only secure content is displayed” message…

What do I need to do in order for s2Member to convert all URLs to use https? The experience I am having right now is not going to encourage my future users to subscribe….

Thanks for your help,


Posted: Sunday Dec 2nd, 2012 at 5:43 am #33201

Please ignore, I figured it out :-)

Posted: Sunday Dec 2nd, 2012 at 5:41 am #33200

Hi Cristian,

I went to the Custom Fields box in the WordPress editor and tried to add the field as specified. However, the dropdown list for the field name does not include a line item called s2Membe_force_ssl. So it is impossible to add the field as you specified above…

What am I doing wrong here?

Thanks for your help,


Posted: Tuesday Nov 27th, 2012 at 7:53 am #32693

Fantastic! Thanks for your help!

Posted: Tuesday Nov 27th, 2012 at 2:42 am #32665

Hi Cristian,

You said:

but s2Member currently only supports one single subscription per user at a time. Do these ccaps exclude the others or do you expect to sell multiple concurrent subscriptions to the same user?

Can you please elaborate on this a bit? Let’s say I have 2 pages A and B, that I want to sell separately, and I define a “buy now” for each, and each of these pages has its own ccap. Can a user purchase access to page A and then also to page B? In other words, does s2Member treat custom capabilities as “additive” from the perspective of the user? (i.e. if I bought access to page A, and then when ahead and bought access to page B, will I have access to BOTH A and B?)


Posted: Friday Nov 23rd, 2012 at 4:49 am #32388

I would second that question!

Posted: Thursday Nov 22nd, 2012 at 11:06 am #32365

Sorry about the barrage of questions :-)

I used PHP conditionals to insert a “logout” link in the theme header once a user is logged in. However, I don’t know how to call the logout action with the proper redirect (i.e. to the home page).

Can you please point me out to the correct syntax I should be using?



Posted: Thursday Nov 22nd, 2012 at 10:49 am #32364

Hi Cristian,

One more question about my login page.

If the user enters “bad” credentials in the login form, he/she is redirected to wp-login.php, which again defeats my purpose of staying within my theme.

How can I rout bad logins to my own login page?



Posted: Thursday Nov 22nd, 2012 at 9:01 am #32352

Thank you.

All my URLs were entered with the “www” prefix. If I login to WordPress backend using the default wp-login form, will it be recognized as a different domain and time me out?

I am not absolutely sure I understand what to do here.

Thanks so much for your guidance.

Posted: Thursday Nov 22nd, 2012 at 8:47 am #32350

Thanks Cristian.

With regards to the free registration form – I found the paypal pro short code and used it. It is working fine. The one question I have is how to add a check box for asking the user whether they’d like to subscribe to the newsletter as well?

With regards to the login form, I created a new shortcode using the php method, and placed it in a new page. This works fine. However the following issues still bother me:

1) The form renders a bit wierd. See an image here:

I tried to tweak the code that generates this form (/includes/classes/, however was not able to get the password input box to have the same width as the Username input box. Can you please let me know what do I need to do in order to get the password box to be identical to the Username box?

2) When I click the “forgot password” link on the Login form, I am being redirected to wp-login.php with action=lostpassword, which is not what I want. I would like this to connect to my own “lost password” page. Is there a shortcode or PHP function that I could use to generate the form within the current “lost password” page? If so, I can make my own page. But then the question remains how to direct the “forgot password” in on the login form to use my own page rather than the wp-login?

3) If the user times out, how do I customize the page they are redirected to? I need them to be notified of a time-out and then redirected to my own login page rather than to wp-login.

Thanks for your help, very much appreciated.


Posted: Thursday Nov 22nd, 2012 at 4:07 am #32314

Just to expand on this a bit: in my own login page I intend to use a shortcode for the s2Member login widget.


Posted: Monday Nov 19th, 2012 at 8:04 am #31964

Thanks for your response, Christian.

As a follow up question regarding your suggestion of using custom capabilities. I already watched that video and thought about this option. However, my understanding was that custom capabilities could only be used for level 1 – meaning that users will have to be paying members in order to buy access to pages, which defeats my objective.

What I really need is a capability for “free” members (non-paying) to be able to purchase access to any page that is protected under membership restriction as a one off transaction, which grants them lifetime access to the pages they purchased. However, users MUST be able to purchase such access WITHOUT being paying subscribers (my plan was to use conditionals to display both “buy this page” AND “become a member” buttons if a level 0 subscriber is detected on a certain page).

In effect, this means that I need to be able to define custom capabilities for level zero, which I thought is not possible. Am I wrong about this?

Thanks for your help,


Posted: Sunday Nov 18th, 2012 at 1:12 pm #31939

In fact, you should check your own support videos. There is one video that sheds some light about this very question of how to establish single-sign-on between s2Members and bbPress. For the benefits of others I post the URL here:

I hope that your answers to my other questions are going to be a bit more researched and informative.

Thanks in advance,


Viewing 13 replies - 1 through 13 (of 13 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.