WordPress.org

Ready to get started?Download WordPress

Forums

private poste viewable from main page? (12 posts)

  1. sbakalor
    Member
    Posted 10 years ago #

    I want the private posts to show up on the main page as they do in the edit feature sorta like this
    2004/01/30 @ 06:13:29 [ no comments - Private ]
    Protected: testing ? admin (admin)
    This post is password protected. To view it please login.
    is this possible? Any one that can hack or help?

  2. sbakalor
    Member
    Posted 10 years ago #

    ok this is wierd,
    look at my site
    http://www.hijinks.com/~scott/
    it shows how I want sort of!
    bt when you type the password it doesnt show the post,
    I would also love to be able to let only registered users or some users view these posts.
    Also I have not modified my script only the template.

  3. sbakalor
    Member
    Posted 10 years ago #

    ok I am starting to understand this the post password field is what i want!
    why doesnt it work?
    I type the password and the post doesnt show :-(

  4. sbakalor
    Member
    Posted 10 years ago #

    oh, the test protected password is 123

  5. Cena
    Member
    Posted 10 years ago #

    Are you sure? I'm seeing what looks like a 'test post'...i.e., fdakf fdkjkd kdf, or whatever. :)

  6. sbakalor
    Member
    Posted 10 years ago #

    look at it now
    it should look like this
    1/29/2004
    Protected: test
    Filed under:
    General
    ? admin @ 10:45 am
    This post is password protected. To view it please enter your password below:
    Password:
    Enter your password to view comments
    but when the password is typed it does nothing
    if the password is working for you then what should i do to get it to work for me?!?!

  7. TechGnome
    Moderator
    Posted 10 years ago #

    It looked like it worked for me as well. I do think that WP stores a cookie so that next time you visit, the post is auto-unlocked.... could that be what you are experiencing?
    TG

  8. southerngal
    Member
    Posted 10 years ago #

    Yup, you are experiencing the cookie thing. :) If you have put in the password once, it will keep you logged in. The only way to test it is to use a different browser such as Opera or IE if you are logged in under Mozilla. Or clean out your cookies.

  9. sbakalor
    Member
    Posted 10 years ago #

    no I put in the password and it still wont show the post

  10. Nick Momrik
    Member
    Posted 10 years ago #

    I've posted some posts to a test blog I have and can't get them to show up when logged in either.

  11. southerngal
    Member
    Posted 10 years ago #

    Have you double checked that you published it? When you go into the advanced options, sometimes it keeps it as a draft vs. publishing it.
    You are just putting it as publish, clicking comments open or closed, clicking pings open or closed and putting in a password?
    I have caught myself in a draft with that. So, please double check! :)

  12. Nick Momrik
    Member
    Posted 10 years ago #

    I checked the info right from my database and it was set to 'private' and still not viewable when I was logged in. The admin wasn't even bringing it up when I clicked on the edit screen. I don't use private posts, so it's not an issue for me, but I just wanted to make note that I'm experiencing the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.