WordPress.org

Ready to get started?Download WordPress

Forums

Post Levels ~ Bad Bad Baby for Me! (15 posts)

  1. Tek
    Member
    Posted 9 years ago #

    I installed

    http://fortes.com/projects/wordpress/postlevels

    Yet the posts are still showing. =(

    Once again, I see no errors anywhere. Anyone else have this problem?

    Thanks!

  2. Fortes
    Member
    Posted 9 years ago #

    Make sure you're setting the post status to "Private"

  3. Tek
    Member
    Posted 9 years ago #

    Yes. Everything is correct. It still shows.

  4. Fortes
    Member
    Posted 9 years ago #

    Have you set the post_level custom field? Are you logged in to your site (because if so you'll see your private posts)

  5. Tek
    Member
    Posted 9 years ago #

    Yes.
    No.

  6. Fortes
    Member
    Posted 9 years ago #

    Disable the plugin, do you still see the posts? If not, then I'm completely stumped.

  7. rocky2889
    Member
    Posted 9 years ago #

    Well, if you are login already then you will see the post. Logout of the WordPress you will not see the posts.

  8. Tek
    Member
    Posted 9 years ago #

    I am aware of that. thanks.

  9. MaxwellSmart
    Member
    Posted 9 years ago #

    I've got the same problem and I definitely know its not caching as I use seperate machines to verify.

    I thought that 'private' was merely a backup and that the post should not show regardless as long as the plugin is enabled?

  10. Fortes
    Member
    Posted 9 years ago #

    Post levels doesn't work on public posts, only private. This ensures that the protected posts won't be shown if the plug-in is disabled. This is a common source of confusion for people, but it's more secure.

    I'm confused by Tek's problem, since he's saying that the posts are hidden when the plugin is disabled but not when it's enabled. Unless the post_level parameter is incorrectly set, this is an unknown bug.

  11. MaxwellSmart
    Member
    Posted 9 years ago #

    I've hacked the edit page to give me a nifty little drop down box which defaults to level 2 instead of having to add post_level each time.

    But is there someway I can get it to show in the archives and calendar?

    Sorry not very good at all this php stuff....

  12. Fortes
    Member
    Posted 9 years ago #

    You'll have to hack into the PHP source and find where they do the archive / calendar querying. Hopefully future versions of WordPress will provide the hooks required to be able to do this within a plugin.

  13. Tek
    Member
    Posted 9 years ago #

    No. The posts are never hidden.

  14. Fortes
    Member
    Posted 9 years ago #

    If the posts are never hidden, then most likely your post status is set to Public, not Private.

  15. KPIZME
    Member
    Posted 9 years ago #

    DISREGARD: I posted before searching. My aplogies

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.