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: Caroline Nieuviarts

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


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Disable redirection for restricted post

By:  Caroline Nieuviarts in: Community Forum

voices: 3
replies: 19

4 years, 8 months ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Disable redirection for restricted post

By:  Caroline Nieuviarts in: Community Forum

voices: 3
replies: 19

4 years, 8 months ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Tuesday May 8th, 2012 at 5:36 pm #12952

I still am not sure about the previous question, but I can say that the redirection from a protected page to the Membership Options page happens if the page/post is protected. If you leave it unprotected and instead protect the content using a conditional in the body, then the person won’t be redirected from the page, instead he’ll be shown what you determined in the conditionals. Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals

Thank you for your patience ;-)
I understand that if i leave unprotected, there is no redirection. But I want to use page/post protection box in admin to identify which page i want to have content protection and which one i don’t.
But i want to script my own protection method rather than generating a redirection

Posted: Tuesday May 8th, 2012 at 10:01 am #12907

In fact, i’m just looking for a way to disable the automatic redirection in order to use my custom scripting to protect what i want in the page

Posted: Sunday May 6th, 2012 at 1:42 pm #12771

The problem is that i use custom post type and the content i’m protecting is not within the article but is photos that are linked to the article. With the solution you suggest i cannot use the page restriction box when editing an article to protect an custom post on the fly.
To be noticed : i’m aware of php coding so if you have a solution that need to code a few lines, it’s OK
Regards

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