• Resolved valuxes

    (@valuxes)


    Scheduling posts is working for me, only too well…

    I was shocked to discover today that even though I schedule a post to be published at a later date, a reader can still view the post if he/she knows the url, which can be more or less easily guessed since I follow a pretty consistent permalink structure.

    This effectively makes the schedule post feature useless as far as scheduling press releases under NDA (Non Disclosure Agreement) which stipulates that a press release cannot be published until a certain date and a certain time — usually midnight or some unearthly hour when we should be sleeping :).

    So, what I am resorting to doing now to prevent accidental viewing of a scheduled post is to append it with some gobbledygook characters so the permalink cannot be guessed. Then, go in later, after publication, and edit out the offending characters. Not an elegant solution at all since I’m changing permalink…

    Anyone has a solution / plugin for this? Thanks in advance!

Viewing 15 replies - 1 through 15 (of 32 total)
  • Doesn’t do that here…

    I was half convinced you were right, so i went and created a post (scheduled), then opened up ie (i develop under firefox) and plonked the scheduled post URL into the address bar, immediately i got my site with a 404 page not found…

    Did you test this logged out? or get another user to confirm?…

    I’m on 2.8.2 …

    Please log out and post should give a 404 error.

    Can you confirm if that was the problem valuxes?

    And what if you need logged out users to be able to se scheduled posts?

    I need them to be able to see them if the know the url, currently they are getting a 404 error.

    How can I avoid this?

    Thread Starter valuxes

    (@valuxes)

    t31os_, hpguru,

    Once I logged out, it gives 404 — pheeew!

    Thanks, guys.

    V

    Thread Starter valuxes

    (@valuxes)

    anabelle,

    It’s working as it should: scheduled posts should stay hidden until the date/time desired.

    V

    I know it’s working as it should, but I want to override that behaviour and let logged out users visit future posts if they know the url.

    How can this be done?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Can’t. Otherwise everyone would be able to see the posts, and at that point, you may as well just … post it. Yannow?

    I’m using the date as a Tour date for my band, so i’d love I post a post as future when the show is in the future And in past when the show has already passed.

    I know the upcoming posts, and the gig plugin do this. But I rather do it without plugins.

    Also “Can’t” is not a common answer when talking about wordpress, I know this can be done, I just don’t know how.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Good point. You CAN, but you can’t the way you’re saying.

    See, the best I can think of is that you’d have to edit the loop on your front page, such that it wouldn’t show posts that were posted after ‘now’, and then you’d have to edit your previous/next link code to do the same. And then you’d actually publish your posts and they’d be ‘hidden.’

    Except I can’t fathom what good that would do, and it’s a LOT of extra work to ‘hide’ posts that you want people to see.

    Why are you trying to hide them?

    I’m not trying to hide them, I guess i didn’t make myself clear.

    I already created a custom loop with “post_satus=future” I don’t need pagination yet so I’ll keep it simple.

    The “future” loop is working ok, except that when a visitor clicks on a link, they get a 404 error.

    I just want to avoid the 404 and allow visitors to see future posts using the permalink.

    Im okay with past posts showing up, thats the idea, to keep al info about a show in a single post.

    So after the show passed I could add videos and photos of how was it. Keeping the date accurate

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    I’m not trying to hide them, I guess i didn’t make myself clear.

    Clearly πŸ˜€

    What are you trying to achieve with this?

    If you’re planning to have one post for each event, and update the post where the event is updated (news, etc), then … why not just post that? You could use catagories like ‘Upcoming’ ‘Current’ and ‘Past’ and then filter by that. Heck, get fancy and use a jslider or something to cycle through what’s coming up. Then change the category when it changes status.

    I guess if I understood your end goal, I (and others) might have a better suggestion.

    I’ll put it in one sentence.

    I need logged out users to be able to see future posts if they know the permalink instead of getting a 404 error.

    Thats all.

    Thank you!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    So … you don’t want posts to show up on the front page of your blog, but you do want them available? Or is there something specific about the post dates that requires them to be ‘future’ posts?

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Scheduling post allows viewing if url known’ is closed to new replies.