Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Private posts

UserPost

11:52 am
August 2, 2008


June

Member

posts 32

1

Kevin,

As you probably remember I have my blogs set up so that WP subscribers can view posts and non-logged in sees a teaser text.

I noticed today that when I set a post private, like for my eyes only, I still get the teaser text for subscribers and non logged in users. Is it possible to have private posts completely hidden?

1:38 pm
August 2, 2008


Kevin

Admin

posts 2503

2

The complication is that a lot of RS users want the teaser applied to private posts because, for extra security, they set all their exclusive posts private and then let Role Scoper expose those "private" posts to the appopriate users.  That way, if Role Scoper is accidentally deactivated or fails to initialize due to a conflict with some newly installed plugin, WordPress still defaults the posts to non-visible.  I understand that you are using "private" as an additional distinction and would prefer for those posts to be completely hidden even when the "public but exclusive" posts have the teaser applied.  For now, you can make that happen by modifying query_interceptor_rs.php as follows:

change

$list_private[$object_type] = true;

to

$list_private[$object_type] = false;

I need to think about how to add this as an option without confusing those who don't care to deal with it.

 

8:14 am
August 4, 2008


June

Member

posts 32

3

Kevin said:

The complication is that a lot of RS users want the teaser applied to private posts because, for extra security, they set all their exclusive posts private and then let Role Scoper expose those “private” posts to the appopriate users.  That way, if Role Scoper is accidentally deactivated or fails to initialize due to a conflict with some newly installed plugin, WordPress still defaults the posts to non-visible.  I understand that you are using “private” as an additional distinction and would prefer for those posts to be completely hidden even when the “public but exclusive” posts have the teaser applied.  For now, you can make that happen by modifying query_interceptor_rs.php as follows:

change

$list_private[$object_type] = true;

to

$list_private[$object_type] = false;

I need to think about how to add this as an option without confusing those who don't care to deal with it.

 


Thanks kevin, giving it a try!


About the Agapetry forum

Currently Online:

17 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1248

Posts: 5657

Members:

There are 1260 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin