Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-13T04:39:25-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6393 2011-05-13T04:39:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14834#p14834 <![CDATA[Re: block all by default - list exceptions]]> Thanks for the great question.
~ and thanks for the heads up Cristián.

Yes, this is possible.
Until we have this integrated into the UI panel for s2Member,
you can use this Filter/hack to accomplish what you need to.

1. Protect "all" Pages, or "all" Posts using s2Member's UI panel in the Dashboard.
2. Now, create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_filter 
("ws_plugin__s2member_check_post_level_access_excluded", "my_post_page_exclusions");
add_filter ("ws_plugin__s2member_check_page_level_access_excluded", "my_post_page_exclusions");
function my_post_page_exclusions ($excluded = false)
    {
        $excluded_posts = array (3345, 49343); /* Comma-delimited Post IDs to exclude. */
        $excluded_pages = array (3004, 39494); /* Comma-delimited Page IDs to exclude. */
        /**/
        if (($excluded_posts && is_single ($excluded_posts)) || ($excluded_pages && is_page ($excluded_pages)))
            return ($excluded = true);
    }
?>

Statistics: Posted by Jason Caldwell — May 13th, 2011, 4:39 am


]]>
2011-05-12T18:41:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14779#p14779 <![CDATA[Re: block all by default - list exceptions]]> https://wordpress.org/extend/plugins/we ... ng-system/

Let me know if it helps. :)

Statistics: Posted by Cristián Lávaque — May 12th, 2011, 6:41 pm


]]>
2011-05-12T16:55:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14765#p14765 <![CDATA[Re: block all by default - list exceptions]]>
Cristián Lávaque wrote:
Not that I know...

Tags is probably what I'd use, since you can tag posts in bulk... Same for categories.


how would one tag 1000+ posts?

Statistics: Posted by arthomas — May 12th, 2011, 4:55 pm


]]>
2011-05-12T01:55:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14694#p14694 <![CDATA[Re: block all by default - list exceptions]]> great work guys!

Statistics: Posted by arthomas — May 12th, 2011, 1:55 am


]]>
2011-05-12T01:07:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14691#p14691 <![CDATA[Re: block all by default - list exceptions]]>

Statistics: Posted by Cristián Lávaque — May 12th, 2011, 1:07 am


]]>
2011-05-12T00:42:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14690#p14690 <![CDATA[Re: block all by default - list exceptions]]> just saying... really not complaining.

Statistics: Posted by arthomas — May 12th, 2011, 12:42 am


]]>
2011-05-12T00:27:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14689#p14689 <![CDATA[Re: block all by default - list exceptions]]>
Tags is probably what I'd use, since you can tag posts in bulk... Same for categories.

Statistics: Posted by Cristián Lávaque — May 12th, 2011, 12:27 am


]]>
2011-05-11T23:51:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6393&p=14686#p14686 <![CDATA[block all by default - list exceptions]]>
Is it possible to block all posts, and just list the few exceptions?
I only want to allow a few posts, all other should be protected, it would be much easier to just list the 5 posts that are allowed, instead of having to list or tag all the protected.

In other words, instead of the default being everything allowed and having to list what I want blocked, is it possible to do it in just the opposite way?

Statistics: Posted by arthomas — May 11th, 2011, 11:51 pm


]]>