WordPress.org

Ready to get started?Download WordPress

Forums

Posts on future dates? (6 posts)

  1. LynwoodDunseith
    Member
    Posted 10 years ago #

    Ahoy hoy,
    I am trying to post blog entries on dates in the future. I have tried editing the timestamp for the date in the future I want the contnet to be on. However, while the calendar shows an entry on that day, when I click on the date the page comes back with no post.
    What I'm trying to do is post a daily agenda in advance for my instructors to look at. Is this posssible with the current version?
    Any help appreciated,
    Lynwood

  2. Mike Little
    Member
    Posted 10 years ago #

    Hi Lynwood,
    It is not possible in the ucrrent version to display future posts. In fact the calendar should be either.
    There was however a thread on the old b2 board where I believe the participents got it working.
    Mike

  3. Alex King
    Member
    Posted 10 years ago #

    I coulda sworn I'd fixed the calendar once already but future posts are still unaccounted for in the queries. I've fixed it and checked the changes into CVS.
    Mike, please take a look at the changes when you have a moment. I didn't know if I needed to account for $time_difference in those queries. Thanks.

  4. Mike Little
    Member
    Posted 10 years ago #

    Hi Alex,
    Your date for comparison in the query needs to be
    date('Y-m-d H:i:s', (time() + ($time_difference * 3600)))
    Which is used elsewhere in that code to determine the current day.
    I'm not at my ususal machine so I can't commit it to CVS myself.
    But I have tested it.
    You need the same comparison in the tooltip titles query too.
    Mike

  5. Alex King
    Member
    Posted 10 years ago #

    Ok, I've made that change as well in both places.

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    i'm sorry, but i didn't get it. where and how do i have to change what to be able to post blogs in the future?
    thanks a lot
    padEEnottheverybestprogramer...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.