On This Day Plugin v 1.0

After some testing, thanks to Tam, I can now release On This Day version 1.0. If you have any issues, let me know. You can download it:

pi.onthisday-1.0.zip

Or on the downloads area on the left.

How does this post make you feel?
  • Excited
  • Fascinated
  • Amused
  • Bored
  • Sad
  • Angry
This entry was posted in Uncategorized by Yoshi. Bookmark the permalink.

33 thoughts on “On This Day Plugin v 1.0

  1. Buggerall! 

    Its not working. Again.  BUT, on the EE forums, there have been some issues with the calendars from EE V1 spitting out funky dates.  I’ve double and tripled checked my server settings based on what Rick said in the forums… I’ll just wait and see what he says in the thread.

  2. No.  It wasn’t yesterday.  Even though I had written something on the 25th in 2000.  *sigh*

  3. I was wondering if it would be possible for you to allow the user to customize output a little further. What I am interested in doing it to replicate the output of MTOnThisDay.

    On my MT blog I have the output set in this format:

    In YEAR:

    ENTRY NAMES

    ENTRY NAMES

    In YEAR:

    ENTRY NAMES

    ENTRY NAMES

    They year links to this day’s archive on that year, the entry names link to the entries themself.

  4. Actually there’s an issue I need to work out with how the days and times are stored within the DB for this plugin. Sometimes it works right, sometimes it doesn’t. I haven’t had a chance to collaborate with Rick on this one yet.

    Hmm. Ok. so basically you want a condensed version of the calendar. Yeah I think I can work that out. Once I work out the times and dates. : )

  5. FYI – I finally have it up and running on my main blog page instead of hidden away and it almost looks like its 12 hours off or so.  Its showing the 21st now, but later tonight it will probably show the 22nd.  I played with offsetting the server time, even though my old host swears my server is in EST with me and it didn’t work. But, I’m changing hosts this weekend and we’ll see if that changes anything.

  6. The dates are stored as timestamps in the database, which can easily extract any day, month, year, second, hour, etc.  Is the timestamp not working for you?  If not, I would think that’d be a bug.

  7. That’s how it was originally planned, but Rick had mentioned that those fields weren’t used anymore. (which are in GMT btw) and that he’s using the unixtime (comment_time i think?) and may drop the use of the other fields. Actually I’m sure he said he was.

    Anyways I’ve always had a problem trying to figure out GMT and all that LOL if you have any ideas, Lynda, let me know! maybe you can improve this plugin!

  8. I think there’s a built in function to find out what the date by timestamp is translated into local time.

    So he’s not using the entry_date field anymore in the weblog titles table?  It’s filled out and looks like a timestamp to me.  I don’t see anything else that holds the entry time info completely, so I’m not sure what he would use in its place.

  9. Yeah, that’s the one he’s using. actually he also had 3 fields for month day and year, those are the ones not being used. If you don’t have them, then I guess he took those out! : )

    But I tested a few things again, and it seems to be working fine. I’m using the decode_date function to do a lot of the processing. But it does seem to be working just fine.

  10. I have the year, date, month fields, but I never use info from them because it has to be brought in by field and doesn’t contain the complete date information anyway.  I usually only use timestamps because they provide the complete date info.

  11. Yeah, for this plugin it would have been nice, but just easier to use the unix_time function along with the timestamp. I think Tam was just having some issues with her server. : )

  12. Yeah, I’m guessing its my idiot webhost. I’m taking advantage of the long weekend to move my files to a new host.  Hopefully that solves the problem.

  13. Hate to be impatiant, but it has been a few weeks, just curious how it’s coming (if at all).

    Today’s word is “big.” Etan has “big” balls for asking again. Big.

  14. Sorry, haven’t done much on this plugin. It’s tough with the dates, mainly because they’re all in GMT, and eventually someone is going to have an issue. This may be a while.

  15. Yoshi:

    I notived there are problems besides the GMT issues and the formatting issues. The plugin doesn’t seem to export entries from 2003 if there were ones in 2002…

  16. Cool Plugin! Just installed it, works like a charm. Only one question: is it possible to show a text saying something like ‘no postings for this day in history’ when there are no postings from previous years?

    I guess it should be possible using {if..}, just can’t get it done myself.

  17. I need to rehash this plugin. I’ll put in conditional pairs as well. Once I figure out the problems with the output for the years and such.

  18. I’m redeveloping my site with EE after years of using pMachine 2.2.1 and this plugin is working brilliantly for me. Thanks for this! You should definitely submit it to the Plugins forum on the official site when you’re done rehashing it.

  19. It seems to be working, but it’s attached to Today’s date, not the date of the individual entry. Anyone know of any way to put this on an individual entry page? For an example of how I’ve currently got it working in pMachine Free, check out http://www.thatlittlebastad.com/more.php?id=1752_…

    If you use the “Before” and “After” buttons you’ll see that the “Also On This Date” changes to be specific to whatever date you’re browsing. That’s what I’d like to be able to do.

  20. I love this plugin, except one little thing – the excerpt doesn’t work for me! I have no clue why. It’s just blank. I copied and pasted the code exactly, so do you know what I’m doing wrong?

  21. Nevermind my last comment, I got it working! I just changed the trackback field from summary to body.

  22. Are there any plans for this great plugin ever being updated/cleaned up/ etc?

    I can’t quite figure out if it is possible (and if so how) to get this plugin to work if one wanted to display entries written in previous years for each archived date.  For example, if a visitor is checking out an entry written on 11/20/04, it would be nice if it displayed all entries written on November 20.  I realize by hand setting the month/day to 11/20 one can do that, but is there a way for it to automatically detect the day the ENTRY was written and thus display a list of previously written entries for THAT entry date?

    Also… I can’t seem to get my “on this day” to work properly unless I nestle it between my {paginate} and {/paginate}.  Am I doing something wrong?

  23. Yes, there is currently planning on updating this plugin. I’m assuming of course that no one else has written another plugin that essentially has the same features. But I’m working on it right now as we speak. :)

  24. Yay!  You will have my eternal gratitude for this one.  I’ve been waiting for a long time for this plugin and no one else seems to want to touch it with a ten foot pole.