PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Force SSL shortcode: s2member_force_ssl = yes

s2Member Plugin. A Membership plugin for WordPress®.

Force SSL shortcode: s2member_force_ssl = yes

Postby bodhed » September 11th, 2011, 5:16 pm

Hi folks,

I'm new to s2Member and pretty inept at coding so forgive me if I've missed something out obvious but i just can't get the Force SSL shortcode to work on my Signup page. I have s2MemberPro 110731, the theme is Thesis 1.8. I've entered the code directly on the page:

[s2member_force_ssl = yes]

But it just ends up showing as text on the page i.e. the code isn't working! Am I entering the code wrongly?

This is a great plugin but I just can't get this little bit to work so far... Interestingly, I managed to successfully complete a signup paying via Visa without the SSL code working i.e. only normal http unsecured.

Thanks in advance.

bodhed
User avatar
bodhed
Registered User
Registered User
 
Posts: 4
Joined: September 11, 2011

Re: Force SSL shortcode: s2member_force_ssl = yes

Postby Eduan » September 11th, 2011, 6:10 pm

Could you post the code x'ing out ay personal information?
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Force SSL shortcode: s2member_force_ssl = yes

Postby bodhed » September 11th, 2011, 8:37 pm

hi eduan,

by posting code do you mean posting the Page Source code, i.e. going to View Page Source when I'm on the page? Sorry, I'm not the most of experienced coders! If you mean what did I put on the page, all I've put in is:

[s2member_force_ssl = yes]

I've even tried just the shortcode on an empty page... Not sure why it's not playing ball. The shortcode goes straight into text when I click over from HTML to Visual editor in Wordpress so I guess it's just not recognising the code.

However, I worked out an inelegant solution creating a new page and using a 301 redirect to:

https://www.mysite.com/signup/?s2-ssl=yes

Seems to work ok but is a bit clumsy.

Thanks,

bodhed
User avatar
bodhed
Registered User
Registered User
 
Posts: 4
Joined: September 11, 2011

Re: Force SSL shortcode: s2member_force_ssl = yes

Postby bodhed » September 11th, 2011, 8:48 pm

oh I just had a look at some other shortcodes that DO work on my site and the Visual editor displays them as just text anyway so ignore my comment about that above...
User avatar
bodhed
Registered User
Registered User
 
Posts: 4
Joined: September 11, 2011

Re: Force SSL shortcode: s2member_force_ssl = yes

Postby Eduan » September 12th, 2011, 8:26 am

Okay...
Glad you found the answer...
I told you about the putting the code here because I might be able to solve the code for you, but seeing how you already made it...
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Force SSL shortcode: s2member_force_ssl = yes

Postby bodhed » September 12th, 2011, 11:35 am

thanks eduan. actually after noticing that the https remains when navigating back to other pages i installed the 'WordPress HTTPS' plugin which puts a Force SSL tickbox on each post/page so you can force https whilst the unchecked pages always force http. Works great, no longer have those silly 301 redirects and is actually easier than putting the s2member shortcode in...
User avatar
bodhed
Registered User
Registered User
 
Posts: 4
Joined: September 11, 2011

Re: Force SSL shortcode: s2member_force_ssl = yes

Postby Eduan » September 13th, 2011, 1:03 am

Great! :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Force SSL shortcode: s2member_force_ssl = yes

Postby Cristián Lávaque » September 16th, 2011, 2:39 am

I just wanted to comment that s2Member's s2member_force_ssl = yes is used as a custom field for the post/page. There should be a Custom Fields panel below the editor, if there isn't, go to the Screen Options tab in the top-right and enable it. There you add the field s2member_force_ssl and give it the value yes.

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron