This Day In History

This plugin allows administrators to enter a list of historic events. Historic events that occurred this day in past years can then be displayed via the included widget.

Download

You can download this Plugin from  the WordPress Plugin Directory.

Features

You can enter, edit or delete historical (or future if you wish) events via the simple administration page which also lists the events that you have entered.  You can, of course, both filter and sort the list.

The events are displayed via an included widget.  Events are shown chronologically by year if they fall on the same day and month of the current date.

Technical

  • Compatibility: 3.3+
  • xHTML, php5.2 and MySQL 5.0 (strict mode) compliant
  • CSS integration

Notes

You must enter dates in the format YYYY-MM-DD (see the help tabs on the entry screen for more information).

Version History

0.7

  • Added widget option to show or not show the year

0.6

  • Added options page
  • Added option for events per page and date format
  • Removed 255 character limit for event names
  • Change event name input to a textarea
  • Some minor html bug fixes

0.5

  • Fix for editing entries with double quotes (like some html code) – more magic quotes misery

0.4

  • Fix for local (blog) time rather than server time

0.3

  • Fix for miserable magic quotes

0.2

  • Name changed from Today In History
  • CSS layout updated
  • Help text updated
  • Fixed sorting after edit issue

0.1

  • Initial Release

14 Responses to This Day In History

  1. I have installed your plugin and I placed it in the widgets side bar for display. I added events to the history but it does not show up on the site. Is there something in particular I need to do to in order for the calender/events to show? Thank you for the time

    • BC

      No there is nothing special to do after that. It will only show events that occurred on the same day of the year – if there are no events for “today” the widget won’t show at all.

  2. Guinevere

    Hello BrokenCrust, I installed the Plugin and placed in the widget bar. My events show up, however the event that shows up is always for the following day, rather than the current day. When I first installed the plugin I had not updated the correct time zone for my site, so it may have picked up on the UTC time. (I am in UTC -8.) I updated to the correct time zone, but this did not correct the problem. I uninstalled and reinstalled the plugin, but the problem persists. How do I get the plugin to show events for today’s date according to my time zone? Thanks. Gwynne

    • BC

      Thanks for reporting this. I had always meant to add the adjustment for local blog time, but left it “until later” and then promptly forgot all about it. It is now fixed in version 0.4.

      • Guinevere

        Thanks for the update. It works great now. Love the plugin!

  3. Hi BrokenCrust!
    Love the plugin, thanks for the date update! Having a minor issue with adding html tags in the quotes. They show up aok but if I go back to edit the entry afterwards, the html is rendered on the edit page, making it impossible to edit.
    Once again, thanks for the plugin!

    • BC

      This is fixed in version 0.5 and more to do with double quotes not escaping correctly when editing. Thanks for the bug report.

  4. Kayumba

    Hello,
    Your plugin is very good one.
    But…
    1- In administration panel, Can you make that the date of event will appears in european style (DD-MM-YYYY), please.
    2- It’s will be better to have more space for “event name”. It’s very short to write some details of events.
    3-It’s will be great to import/export some .txt file with list of events.
    Waiting for your answer.
    Thanks

    • BC

      In the next version (0.6) there will be an option to change the date format and the input area and maximum length of the event name will be larger.

      For the import and export, it is a nice idea, but it is not something I will implement now because it is too complex in comparison to the rest of the plugin – i.e. it will take all the support effort for this part alone. I might look at it in the future.

  5. How can I manipulate the widget also to show yesterday’s and tomorrow’s events?

    • BC

      You would have to change the query to select the three days. I guess that you’d then need to display each day one after the other rather than all mixed together. The widget isn’t designed to display more than one day so it would be easier to create a new widget to specifically do this.

  6. great plugin. I recently added this plugin to a friend’s website. He is an ‘editor’ user but does not have access to imputing events in the plugin. is there a way to give him access without switching his user type to ‘administrator’? your help is greatly appreciated.

    • BC

      Unfortunately WP still doesn’t have built in functionality to manage capabilities, so you need to use a plugin (such as User Role Editor) to update the Editor role to have the manage_tdih_events capability (in the plugin this is a simple click on a check box).

  7. that worked perfectly. thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

©2012 BrokenCrust | Top | BrokenCrust | My Sites | Twitter