Page 1 of 1

Redirect Message

PostPosted: August 24th, 2011, 1:44 pm
by digitalbard
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

Re: Redirect Message

PostPosted: August 25th, 2011, 2:00 am
by Cristián Lávaque
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. :)

Re: Redirect Message

PostPosted: August 25th, 2011, 10:34 am
by digitalbard
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

Re: Redirect Message

PostPosted: August 26th, 2011, 2:03 am
by Cristián Lávaque
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.