Community Support Forums — WordPress® ( Users Helping Users ) — 2011-07-03T12:42:20-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10232 2011-07-03T12:42:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22186#p22186 <![CDATA[Re: Force SSL Problems]]> You are VERY welcome.
For future reference, and for the benefit of other readers.
The s2Member Pro Login Widget can be installed at any location you like using the PHP tag method described in this tutorial. There is also a section inside your Dashboard that covers this, under:
s2Member -> API Scripting -> Pro Login Widget via PHP tag.

Reference articles:
viewtopic.php?f=36&t=2610
viewtopic.php?f=36&t=2781

Statistics: Posted by Jason Caldwell — July 3rd, 2011, 12:42 pm


]]>
2011-07-03T07:46:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22173#p22173 <![CDATA[Re: Force SSL Problems]]>
Second, the s2Member Pro Login Widget wasn't an option because of where I wanted to put it -- not in a sidebar, but simply on three or four key pages (home, login, pricing, etc.)

Third, I resolved this using ThemeMyLogin by doing the following:

(1) As you suggested, I searched for all occurrances of "redirect_to" and found that it was contained in the login-form.php, which is in the \templates\ folder of ThemeMyLogin.

(2) Per their instructions, I copied this file into the root of my theme folder. I did this to make changes to it. Doing this overrides the default behavior of ThemeMyLogin.

(3) I simply removed the line completely (for me, it was line 33) ... so this line is gone now:

Code:
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'login' ); ?>" />


(4) Upon testing, it seems to work perfectly. I'll need to do more testing, but I think this resolved the issue.

Again, Jason (and Cristian) thank you so much for your help! Especially on a holiday weekend! You guys are awesome!

Statistics: Posted by BobTabor — July 3rd, 2011, 7:46 am


]]>
2011-07-02T23:39:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22149#p22149 <![CDATA[Re: Force SSL Problems]]> Thanks for reporting this important issue.

I just took a look at your site, and this seems to be related to the "redirect_to" variable being set inside your Login Widget. Please take a look at this troubleshooting video, I think this will help you out:
http://www.s2member.com/login-welcome-p ... cts-video/

Possible solution for you. Use the s2Member Pro Login Widget, as it provides much more flexibility in this regard. In other words, the s2Member Pro Login Widget ( which comes with s2Member Pro ), allows you to configure this when you add the widget.

Statistics: Posted by Jason Caldwell — July 2nd, 2011, 11:39 pm


]]>
2011-07-02T21:10:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22143#p22143 <![CDATA[Re: Force SSL Problems]]>
S2Member Version: 110620

S2Member Pro Version: 110606

Statistics: Posted by BobTabor — July 2nd, 2011, 9:10 pm


]]>
2011-07-02T17:35:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22126#p22126 <![CDATA[Re: Force SSL Problems]]>
What versions are you running of s2Member, s2Member Pro and WordPress?

Statistics: Posted by Cristián Lávaque — July 2nd, 2011, 5:35 pm


]]>
2011-07-02T12:58:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22108#p22108 <![CDATA[Re: Force SSL Problems]]>
First, I'm using ThemeMyLogin to give the user a non-WordPress experience. I know you're not responsible for this product, however (a) I'm hoping you can still point me in the right direction, and (b) it may uncover a small bug in how you handle Welcome page + replacement codes.

(1) I've configured my site to have a Welcome page replacement-code scheme like so:

http://members.learnvisualstudio.net/welcome-%%current_user_level%%

Produces:

http://members.learnvisualstudio.net/welcome-0
http://members.learnvisualstudio.net/welcome-1
etc.

This worked beautifully.

(2) Then, I applied the s2member_force_ssl -> yes to each page that hosts the [ThemeMyLogin] login.

This worked as well . . . I can see that the pages are all SSL.

(3) When a member attempts to login, however, they do not see the Welcome page w/ replacement codes! INSTEAD they go to the WordPress Administration screen!

(Let me give you two scenarios … feel free to try this yourself using example / example … I'll leave this user/pass up until I hear from you.)

So, in this first walkthrough, I have set the Home page's s2member_force_ssl -> yes.

I navigate here:

http://members.learnvisualstudio.net

… which redirects to here …

https://members.learnvisualstudio.net/?s2-ssl=yes

… then I login … and am redirected here ...

https://members.learnvisualstudio.net/wp-admin/

… which is not right.


In this second scenario, the Login page, I did NOT set the s2member_force_ssl -> yes.

http://members.learnvisualstudio.net/login/

… Obviously, not redirected, so I login ...

http://members.learnvisualstudio.net/welcome-4/

… which is the desired behavior.

So …

(1) Am I doing something wrong?
(2) Is there some workaround?

Statistics: Posted by BobTabor — July 2nd, 2011, 12:58 pm


]]>
2011-07-02T09:17:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22093#p22093 <![CDATA[Re: Force SSL Problems]]> Statistics: Posted by BobTabor — July 2nd, 2011, 9:17 am


]]>
2011-07-02T02:18:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22083#p22083 <![CDATA[Re: Force SSL Problems]]> http://www.s2member.com/support/


Do I need an SSL certificate to use PayPal Pro or Authorize.Net?

If you're using s2Member's Pro Forms, then yes. In order to comply with PayPal®, Authorize.Net® and PCI Compliance policies, as set forth by major credit card companies; you will need to host all of your Pro Forms on an SSL enabled site. Please check with your hosting provider to ask about obtaining an SSL certificate for your domain. Please note... when you create Pro Forms using the Form Generators provided by s2Member; you'll be supplied with WordPress Shortcodes, which you'll insert into Posts/Pages of your choosing. These special Posts/Pages will need to be displayed in SSL mode, using links that start with ( https:// ). In other words, when you link to these Posts/Pages, you'll need to make sure your links start with https://.

You can skip the SSL certificate during Development/Sandbox testing. SSL is not required until you officially go live. Once you're live, you can add the Custom Field s2member_force_ssl -> yes to any Post/Page. 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; so long as your server supports the https protocol. This will help you eliminate the dreaded Secure/Insecure errors in Internet Explorer. If your server runs SSL over a special port number, or your server requires the port number to actually be in the URL ( i.e. HOST:port ), you can set s2member_force_ssl -> 443; or to whatever port you need.


:)

Statistics: Posted by Cristián Lávaque — July 2nd, 2011, 2:18 am


]]>
2011-07-01T17:40:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=22051#p22051 <![CDATA[Re: Force SSL Problems]]> Statistics: Posted by BobTabor — July 1st, 2011, 5:40 pm


]]>
2011-06-21T11:49:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=21321#p21321 <![CDATA[Re: Force SSL Problems]]> http://example.com/pro-form/?s2member_force_ssl=yes

And now you can also just do it like this http://example.com/pro-form/?s2-ssl

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — June 21st, 2011, 11:49 am


]]>
2011-06-21T07:38:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10232&p=21297#p21297 <![CDATA[Force SSL Problems]]>
I have spent the entire night trying to figure this out... many hours later, and with no sleep, I'm still ripping my hair out over this, and now my site is not functioning properly.

I have s2member pro, and I'm using pro-forms. I have my SSL certificate installed and working properly on my site.

I'm trying to use the Force SSL feature provided in s2member pro. I cannot figure out how to get this to work.

The instructions say: "You can add the Custom Field s2member_force_ssl = yes to any Post/Page."

This is exactly what I'm trying to do. I read all about using custom fields in wordpress, and no matter how I try to implement this I cannot get it to work.

Could someone please just explain the process in more detail, please? What exactly should I be typing in, and where?

Any help with this is greatly appreciated.

Statistics: Posted by ifanatics — June 21st, 2011, 7:38 am


]]>