[ViewLevel] recent posts list keeps on showing hidden posts title..

Alex Tingle alex at firetree.net
Wed Nov 16 16:14:56 UTC 2005


Hi Jasper,

I can't really help you, because the problem lies in another plugin.

> When I make a certain post not visible for ordinary public it doesn't 
> show
> up unless you are logged in, which is exactly what I want. But in the
> section recent posts the post's title is still indicated... How can I 
> remedy
> that? Because when they click on it they will get nothing and will 
> start
> wondering eventually. Especially people who are logged on whom I didn't
> provide with the necessary level to see that particular post... I 
> don't want
> to just get rid of the recent posts list so any other suggestion will 
> be
> welcome.

There's no single solution to this problem. When a WP feature of plugin 
reads the posts table, your 'hidden' posts will be there.

The ViewLevel plugin hides them from the 'loop', but other code is 
unaffected. Each problem needs to be dealt with specially. So in your 
case the 'recent posts' plugin needs to be modified to understand 
viewlevels.

I suggest that you contact the author of the recent posts plugin, and 
ask if they are interested in supporting viewlevels. It should be 
simple for them to do it, and I can tell them what they need to do.

-Alex

--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net  +44-7901-552763




More information about the ViewLevel mailing list