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™

Redirect Message

s2Member Plugin. A Membership plugin for WordPress®.

Redirect Message

Postby digitalbard » August 24th, 2011, 1:44 pm

I have looked through the forum and don't seem be be able to find an answer here. It seems like a simple thing to do, so maybe I have missed a setting somewhere.

I have 2 protected pages that have level 1 access. If a user tries to view those pages and are not logged in it takes them to the Membership Options page, BUT thats very confusing to those who are members and forget that they need to be logged in to view these pages. Is there a way to add a pop-up or something along the lines of "The page you are trying to view is accessible only by members. Please login to view this page" along with an invitation to join if they are not members. Am I making sense?

Any thoughts?

Thanks

Morag Reid
Digital Bard
User avatar
digitalbard
Registered User
Registered User
 
Posts: 4
Joined: May 19, 2011

Re: Redirect Message

Postby Cristián Lávaque » August 25th, 2011, 2:00 am

Yes, you make sense. Well, instead of protecting the whole page, you could use conditionals in its body. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals

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

Re: Redirect Message

Postby digitalbard » August 25th, 2011, 10:34 am

Hello Cristián,

Once I figured out I needed to disable the membership options page that seemed to work. Now I am getting a message that says

"NOTE: s2Member security restrictions will NOT be enforced until you've configured a Membership Options Page. See: s2Member -> General Options -> Membership Options Page."

Is that OK? :|

Morag
User avatar
digitalbard
Registered User
Registered User
 
Posts: 4
Joined: May 19, 2011

Re: Redirect Message

Postby Cristián Lávaque » August 26th, 2011, 2:03 am

You can have a Membership Options Page (MOP) but not use it. The user would never be sent to the MOP if you just use conditionals instead of the Restriction Options. WP Admin -> s2Member -> Restriction Options

If you don't need the MOP because you handle everything with conditionals, I'm not sure if leaving the MOP unset would affect you. You can test if not having a MOP prevents you from using a conditional successfully.
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 3 guests

cron