EventCalendar 3.0

UPDATE: Version 3.1 is now available.


EventCalendar 3.0 is now available. Use WordPress to manage future events as an online calendar. Display upcoming events in a dynamic calendar, on a listings page, or as a list in the sidebar. You can subscribe to the calendar from iCal (OSX) or Sunbird.

Choose one WordPress category as the ‘event’ category, and then add posts for dates in the future. Add the calendar or event list functions to your template, or just use the ‘Event Category’ page to list your forthcoming events.

Latest version: 3.0.4
Released on: 4th February, 2006.

Download it here: http://blog.firetree.net/wp-content/plugins/eventcalendar30.zip

EventCalendar 3.0 is compatible with WordPress 1.5.2. No hacks or source code editing are required. It sort of works with WordPress 2.0, but a patch is required. Details here, or in the readme.txt. If you have any questions or comments, then please subscribe to the mailing list.


  1. Upload to your plugins folder: wp-content/plugins/
  2. Activate the plugin on the plugin screen.
  3. Change settings on the Event Calendar Options screen. You must choose which Wordpress category to use for events. Do this before you change the template.
  4. Add ec3_get_calendar() or ec3_get_events() to your template.

Event Calendar Screenshot

Display Events in a SIDEBAR CALENDAR

Add the following code to your sidebar.php:

    <?php ec3_get_calendar(); ?>

If you are using an older template, then you should check that your HTML header contains the following tag: <?php wp_head(); ?>

Caution: The Event Calendar must be unique. If you try to show more than one calendar on a page, then only the first will be displayed.

Display Events on a FULL PAGE

Your events are all in the same WordPress category, so you can see them all on the normal ‘Event Category’ page. By default you will also see events on your front page just like normal posts, once their date arrives.

If you want to use the category page for listings then go to the ‘Event Calendar Options’ page and set Show events as blog entries: to Keep Events Separate. This keeps event posts off the front page, and converts the category page into a more useful form.

Event List Screenshot

Display Events in a SIDEBAR LIST

You can show an abbreviated version of the full page event listing on every page of your site. The template function: ec3_get_events() shows a list of upcoming events. Add the following code to your sidebar.php:

  <li><?php _e('Events'); ?>
    <?php ec3_get_events(5); ?>

The function takes several parameters:

  • limit. The maximum number of future events to list.

  • template_event (OPTIONAL) DEFAULT=<a href="%LINK%">%TITLE% (%TIME%)</a>. A template for the formating of each event. The following placeholders are available:

    • %TITLE% – the title of the event.
    • %LINK% – the URL of the event post.
    • %TIME% – the time of the event.
    • %AUTHOR% – the post’s author.
  • template_day (OPTIONAL) DEFAULT=%DATE%:. A template for the formatting of a header for each day. If you don’t want this header, then set this to an empty string. The following placeholders are available:

    • %DATE% – The date of the post.
    • %SINCE% – Time until the event (Only available when Dunstan’s ‘Time Since’ plugin is active).
  • date_format (OPTIONAL). A PHP date format string used to calculate the value of %DATE%. If this option is not provided, then WordPress’ normal date format is used.

Here’s an example that uses all of the parameters:

    ec3_get_events(3,'%DATE%: <a href="%LINK%">%TITLE%</a>','','j F');
  ?> </li>

Subscribe to the vCalendar

The vCalendar feature is now fully integrated into the plugin. This allows you to view the event calendar in iCal, Sunbird and other modern calendar applcations. You can now subscribe to the calendar at the address http://your.site.url/?ec3_vcal

Set Options:

The ‘Event Calendar Options’ page is in the administration area. Click on ‘Options’, and then click on the ‘Event Calendar’ tab. The following settings are available:


  • Event category: Set the category you use for upcoming events.

  • Show events as blog entries: Set this to ‘Keep Events Separate’ in order to use the Event Category page to show future events, in date order. Events do not appear on front page.

Calendar Display:

  • Number of months: How many monthly calendars should be drawn by the ec2_get_calendar() function. This is useful for looking forward to upcoming events.

  • Show all categories in calendar: Choose whether the calendars should show all posts, or just events.

  • Show day names as: Day names in calendar can be abbreviated down to 3 letters (‘Mon’, ‘Tue’, etc.) or just one letter (‘M’, ‘T’, etc.).

  • Show Event Calendar logo: Normally, a little ‘EC’ logo is shown on the calendar.

  • Position of navigation links: The navigation links are more usable when they are above the calendar, but you might prefer them below it for aesthetic reasons.

  • Popup event lists: When you hover the mouse over a calendar day, a popup usually appears listing the events (and other posts) on that day. Some ‘Nicetitles’ scripts are not written to work well with others, so you might want to use this option to disable the Event Calendar popups if you have trouble.

The first day of the week is set on WordPress’ ‘General Options’ screen.

How to make an Event Post

An event post is a normal blog post that is assigned to the ‘Event’ category.

In order to set the date, you need to go to the ‘Advanced’ editing screen and scroll down until you find the ‘Edit time:’ field. Select the ‘Edit timestamp’ checkbox, set the date and time of your event and click ‘Save’. These controls are only available if your user level is 5 or higher.

If you subscribe to the vCalendar using iCal or Sunbird, then you can set the duration of the event in hours by creating a new custom field: ‘duration’.

New Features

The main new feature is a piece of JavaScript (AJAX) wizardry that allows you to flip backwards and forwards through the calendar without refreshing the entire page. The ‘Forthcoming Events’ list is also far more flexible. Many many other requested features have been added.

  • Live Calendar updating without the need to refresh the whole page. (Thanks to Jon Abad for the inspiration of his LiveCalendar.)

  • Keep Events Separate mode. Keeps event posts off the front page. Turns the Event category page into a properly ordered listing of forthcoming events. This feature is off by default. Activate it on the Event Calendar Options page.

  • Custom Popup replaces the usual tooltip with a popup that lists each event on its own line. The popup is always positioned below the calendar, to ensure that you can still see the whole month.

  • There is no need to edit your CSS files. All essential stylesheet definitions are now part of the plugin.

  • Plus many more minor usability issues.

Planned features

Some enhancement haven’t made it into this first release, but they are planned for the future:

  • Multiple-day events.

  • Repeating events (good for birthdays).

Frequently Asked Questions

Q: Can I disable your headers on pages with no calendar?

A: Yes. Remove the filter before your template’s call to wp_head():

< ?php remove_filter('wp_head','ec3_action_wp_head'); ?>

Q: Can I supply my own CSS?

A: Yes. To disable the plugin’s CSS, just insert the following code before your template’s call to wp_head():

< ?php global $ec3; $ec3->nocss=true; ?>

Comments Feed

  1. John said,

    19 July, 2005 @ 02:26

    I would love to see an option to set up recurring events.

  2. Joe said,

    19 July, 2005 @ 21:24

    Good job…!!!! Really love your work…

  3. Chris Mahnken said,

    21 July, 2005 @ 19:09

    I’d love to be able to separate Event Dates and Post Dates. An event usually takes place in the future, and I’d like to be able to have people read about the event long before it occurs. Would it be possible (as a default or an option) use a custom field to set the Event Date separately from the Post Date?

  4. Karl Bedingfield said,

    22 July, 2005 @ 08:37

    Hey Alex,

    I have been away for a bit so only now getting upto date with your revision.

    I notice on the Calender month navigation of V3 it no longer just shows months relevant to events. On mine it is showing August even though there are no posts (events or regular posts) and so when user clicks they get my 404. On the older version I am pretty sure it just showed future months relevant to events.

    Great work by the way :)

    Also are there any plans to be able to list events that last longer than a day? Like ‘Fri 22 – Sun 24 July’

    Thanks again Karl

  5. Karl Bedingfield said,

    22 July, 2005 @ 08:51

    Chris Mahnken

    You can read future posts – see here in my sidebar and what’s on page: http://www.elyonline.co.uk/

    Regards Karl

  6. matthias said,

    22 July, 2005 @ 18:27

    the vcal file seems to be buggy, it gives me a Warning: Invalid argument supplied for foreach() in /home/httpd/sites/5uper.net/htdocs/wp-content/plugins/eventcalendar3.php on line 1115

    any ideas?

  7. matthias said,

    22 July, 2005 @ 18:39

    ok i fixed the problem described above; actually you have to set the event category first in the eventcalendar-options of the wp-admin panel. sorry.

    but some other things that i found buggy:

    1. the name of the vcal file cannot start with a digit – our sitename is 5uper.net, the vcal file is called upernet.vcs
    2. the file http://your.site.url/?ec3_vcal cannot be directly subscribed from apple ical, the program gives back a “error, could not subscribe; the data downloaded is not valid” – if i download the calendar from the browser and doubleclick it, everything works fine. i think the problem is the mimetype, as a “file upernet.vcs” gives me back a “awk script text” as mimetype.
    3. as a future feature, it would be cool to select what goes into the vcs file! that means eg. the_excerpt or the_content in the detail field of the entry, the blog post_url in the url field

    all in all a cool plugin! thumbs up!

  8. Shawn said,

    22 July, 2005 @ 21:08

    I’m using it and its great, that’s what I call “big pimpin, spendin G’s” good work!

  9. Jim said,

    23 July, 2005 @ 17:24

    The script rocks!

    Do you have any idea how I can get it to display the year in %DATE% though? this would be really helpfull.

    Many thanks.

  10. alex said,

    23 July, 2005 @ 21:23

    Karl: Multi-day events is number one of the planned features list. (Look at the bottom of the article).

    matthias: Thanks for the feedback on vCalendars. I’ll fix the bugs you’ve found as soon as I can, but it’ll be a few days. I’ll add your suggested features to the ‘to-do’ list.

    jim: To show the year, either change your default date format in WordPress (on the General Options page), or set the 4th parameter of ec3_get_events() to some thing other than 'j F' – the format is the same as for the WordPress option.

  11. Karl Bedingfield said,

    24 July, 2005 @ 12:41

    Did you not my comment on the calender? It does not appear to work. When I click on the next calender month all I get is my August archives page whereas the previous version worked just fine (v2)

    Any ideas?


  12. Jack said,

    25 July, 2005 @ 07:34

    hi this is wat it shows in my page when i activate the plugin.. any idea?

    Fatal error: Call to undefined function: get_category() in /home/imu/public_html/m103/wp-content/plugins/eventcalendar3.php on line 982

  13. alex said,

    25 July, 2005 @ 18:57

    Karl: Sorry, yes I did see that. I am away from my computer for a few days. I’ll fix the bug next week. Thanks for reporting it.

    Jack: You need to upgrade your version of WordPress. That is such a common problem, that I should probably get the plugin to tell you!!

  14. Shoshana Zakar said,

    26 July, 2005 @ 01:48

    When I added the code

    …to the sidebar, it no longer validated as valid xhtml 1.0 transitional. Is this normal?

  15. A Serendipitous Intention » Blog Archive » EventCalendar 3.0 for WordPress said,

    26 July, 2005 @ 02:56

    […] Thanks to Scott for pointing this out. WordPress has a new plugin available: EventCalendar 3.0. It looks like a cool way to manage events with WordPress that also uses iCal. This is not something I would use as this site is already cluttered enough, but I thought I would share in case others of you are interested. […]

  16. Beel said,

    26 July, 2005 @ 04:11

    I finally got switched over from v2 to v3 and like the improvements. I am having trouble, hoever, with turning the evemts category page “into a properly ordered listing of forthcoming events” and have selected “Keep Events Separate”. http://www.stjohnsboulder.org/category/events/

    A suggestion for consideration. The site I am administering has a category “events” with a subcategory of “children”. It would be nice if the one could pull from events, only those in the subcategory of “children” to display on the children’s page. Just a thought.

    Great work. Look forward to the mult-day addition!

  17. Jack said,

    26 July, 2005 @ 09:39

    hi thx for the reply and i’ve upgraded my wordpress.. i’ve installed it in my page (http://m103.imucampus.com) but it turn out weird. i’m still a newbie in wordpress…may i know how to fix that?

  18. Rasmus said,

    26 July, 2005 @ 14:11

    Any idea of when the multiple dates feature will be implemented? Are we talking weeks, months or a year?

    Thanks in advance – it’s a great plugin :)

  19. Jack said,

    27 July, 2005 @ 17:55

    hey i’ve fixed it juz ignore my last msg thanks

  20. josh said,

    28 July, 2005 @ 00:49

    Is it possible to display my calendar on a page instead of in the sidebar? If so how would I go about doing this?

    Thanks, josh

  21. Louis A S Holbrook said,

    28 July, 2005 @ 11:20

    Nice app :) but on implementing on my wordpress installation ( I get a problem with the xmlhttp-request (IE5). responseXML says that the XML-declaration is invalid when I try to browse from month to month. The XML document structure on http://agitato.artports.net/wordpress/?rc3_xml=2005_8 seems to be concurrent to that in http://www.sinusbild.com/blogxx/?rc3_xml=2005_8 (the one link I found mentioned in one of these discussions that demonstrates the calendar) EXCEPT for one leading whitespace in the document (before the <?xml ..bit). Is that it? Any other hints? Thx 4 all help!

  22. designtech11 said,

    29 July, 2005 @ 21:35

    This is an amazing plugin! Thanks so much for your hard work.

    I had a quick question about the iCal connectivity. Are there any details on how I can create events in iCal and then publish them to the wordpress site? I’m new at this, so any feedback on this would be greatly appreciated!

    Thanks in advance…designtech11

  23. alex said,

    31 July, 2005 @ 14:52

    matthias: Thanks for the vCalendar code you’ve contributed. I’ve checked it in, and it will be in the next release.

    I can’t reproduce your problem with iCal. It works fine for me. Can you give me a link to a calendar that iCal won’t load? What version of iCal are you using? (Mine is v1.5.5, running on Panther.)

  24. alex said,

    31 July, 2005 @ 14:52

    Shoshana: The code you wrote didn’t make it into your comment. But the answer is – no that’s not normal. The code generated by EventCalendar3 validates as XHTML for me. Can you point me to an example where it breaks?

    Beel: I’ve not tried making sub-categories of the event cat. Obviously it doesn’t work. I’ll add support for sub-categories to the wish-list, but I have no idea how hard or easy it will be. Don’t hold your breath.

    Rasmus: I’m busy right now. I won’t add new features for weeks or months probably. Sorry.

    designtech11: Sorry, but you can’t make posts from iCal, you can just view your WordPress posts.

  25. alex said,

    31 July, 2005 @ 14:52

    Louis: I Assume you mean “ec3″ and not “rc3″?

    I don’t see the extra space that you talk about. Is is still there on this page?…


    Does your problem only occur with IE5?

  26. alex said,

    31 July, 2005 @ 15:08

    I’ve just released EventCalendar v3.0.1. This improves the vCalendar function, fixes incompatibity with Futureposts plugin (I hope) and fixes some HTML errors on the Options page.

  27. Louis A S Holbrook said,

    31 July, 2005 @ 15:37

    Alex: Actually I fixed it. It was a space in an included file somewhere in my install. Sorry 4 wasting your time :( But since the MS js XML thingy is so fragile and spaces can sneak in lots of hard-to-find-places in wp if one is as clumsy as I am, maybe Itd be an idea to strip leading whitespace in js before its passed to the parser? (Didnt test it with other browsers yet) Very cool app though!! Thanx alot for making it.

    Are you considering making vcalendar imports of some sort as well btw? Do you have any tips on better backend handling for calendarish posts other than the category with post date as event date (durations etc would be nice)? I’ve looked around but havent found anything yet. Not completely in scope now i know, but since youre working on calendaring and wp there is a slight chance youd know ;)

  28. alex said,

    31 July, 2005 @ 16:45

    Louis: I have considered doing vCalendar imports, but that’s quite a big job. It would be another whole plugin I think. Don’t hold your breath.

    You already can set the duration of an event: Set the ‘duration’ custom field to the duration in hours. There’s no special GUI for this – you have to use the normal ‘advanced editing’ screen.

    I’ve plans to add support for repeating and multi-day events.

  29. Karl Bedingfield said,

    31 July, 2005 @ 21:28

    Hi Alex,

    I just wondered if 3.01 should have fixed the calender issue, if so it does not work with me.

    I only opt to show events dates but the previous/next buttons show for months without events. As I sais before previous verions (2.00) always wrked as should do.

    Keep up the great work :)


  30. alex said,

    31 July, 2005 @ 22:21

    Karl: I don’t think it makes sense to miss out months with no posts. I see your point, but I think skipping months in a live calendar would confuse more people than it would help.

    If you want to forego the live calendar, and just have the old “reload the whole page” functionality, then just comment out or remove the line that includes the script ec3.js. It’s on line 190 in function ec3_action_wp_head(). You will still get all the other improvements in behaviour.

  31. Karl Bedingfield said,

    1 August, 2005 @ 06:44

    Hi Alex,

    Thanks for the reply.

    I see what you are saying and that does make sense. I don’t think the script works on my site, instead of flipping though the calender all that happens when I click on September (for example) is that it takes me to the archive page for September or if no events exist for September my 404 page. Any ideas?

  32. alex said,

    1 August, 2005 @ 08:07

    Karl: Hmm. You shouldn’t get a 404. Can you point me to an example. I will certainly fix the non-javascript parts so they work as the used to.

  33. Karl Bedingfield said,

    2 August, 2005 @ 06:18

    Hi Alex,

    Here you go: http://www.elyonline.co.uk/archive-index/

    Any ideas why the javascript don’t work for me?

    All the best Karl

  34. Darrell Schulte said,

    2 August, 2005 @ 15:00

    Have you disabled the Democracy Plugin to find out if there’s a conflict. You may want to upgrade Democracy as well and see if problems persist.

  35. Shari said,

    4 August, 2005 @ 12:28

    Hi there… this plugin added a strange “0” category to my archives list on my pages, as well as in my administration panel. Deactivating the plugin and removing the code from my .php files did not remove the “0” category and it is bugging the heck out of me. Please help me get rid of it. Thanks.

  36. alex said,

    4 August, 2005 @ 14:52

    Shari: Sorry you’re having trouble. I can’t see how the plugin could have added a category. Have you tried to just remove it using the Manage > Categories page in the Admin area?

    I’ve looked at your page, and I don’t see the extra category. Have you already managed to fix your problem?

  37. Shari said,

    7 August, 2005 @ 10:26

    Hi Alex… thanks for your reply. It isn’t in the Categories, per se, its in the Archives. If you look at my Archives, at the very bottom, just before “Technical”, you will see a “0”. In the admin panel, when I click on Manage Posts, up where it says “Show Month”, there is a “0” in the box instead of a month. The most recent posts are displayed, but the unexplained/unasked-for zero is still making me a little crazy. Would be really thankful if you could figure out how to get rid of it. I can send screenshots of the Admin Panel if it would help.

  38. Angela said,

    7 August, 2005 @ 23:55

    I’m new at this. I’ve installed the calendar and I like it a lot, but I do have one tweak i’d like to make.

    On the front page, my events show the most current event first but on the Events page (actually a Category archive page) it shows the most current event last. What do I change to get it to display the most current event first on the Events page? In other words, instead of showing events both on the front page and on an Events page, I want to do both. I have a feeling that I can’t but I thought I’d ask anyway.


  39. Gilbert said,

    8 August, 2005 @ 16:08

    Hi Alex,

    I’m getting a slight problem when going into the options page…

    Fatal error: Cannot redeclare class ec3_options in /services/http/users/p/pasae/wp-content/plugins/eventcalendar3.php on line 34

    I’m running wp I’ve tried having only this plugin activated, and I’ve also deactivated/reactivated it with no results. It seems that the whole file is getting included again?? shrug

  40. Gilbert said,

    8 August, 2005 @ 21:15

    Hi Alex,

    Nevermind, I fixed my problem. It had something to do with my server. =)

  41. alex said,

    9 August, 2005 @ 11:03

    Angela: To show the closest events first on the Events category page, just set “Show events as blog entries:” to “Keep Events Separate” on the Options page.

    You can help me here: That’s actually in the documentation, and written on the Options page itself. Obviously you still missed it. How do you think I could have worded it better so that you would have spotted it? (If I can improve it, then it will help new users like you from missing it.)

  42. Angela said,

    9 August, 2005 @ 16:58

    Alex, the text under the “show events as blog entries” threw me. Here’s the text:

    “Keep Events Separate: the Event Category page shows future events, in date order. Events do not appear on front page. “

    I thought setting to “Keep Events Separate” would move the Events off the front page but it doesn’t. My events show on the front page with closest events first AND on the Events page with closest events first. Getting rid of the sentence “Events do not appear on the front page” would make it clearer.

    Hope this helps. My site’s working the way I want it to work now.


  43. Dave said,

    10 August, 2005 @ 18:27

    I am having trouble getting future events that take place in future months to display when I click the “next month” button on the calendar. When I display the events below that simply as a list, the future events show up, but if I only display one month of the calendar on the page, and try to navigate to the next month, the future events do not show up. I think when the options are set to display only one month, it also decides to only read the events for that month. When you navigate to the next month, the page doesn’t refresh, and only the previous months dates are available.

    How can I display only one month, but make all future dates available when i browse between months?

  44. Ken Martin said,

    11 August, 2005 @ 15:49

    Thanks for the fantastic work, Alex. I’m going to play with this today. I have a few thoughts as I read what EC3 is and does:

    • I would like so see a checkbox in the admin/options to not use your css file. Not because you haven’t done beautiful work; you have. Just because I do my own, and I hate to struggle through debugging rules you’ve made when making my own in the templates main css file. If this already exists, forgive me… I haven’t installed it yet. I could alter yours in place, but then I have to swap files around every time you upgrade.

    • I would like to see, and would be happy to contribute to (based on your work), a full page calendar function. Kind of a standard printable calendar, with time/name on the date.

    • Can multiple instances of your plug in be run? One website I’m using this on has events in general, and would like to have a birthday calendar, too. Would multiple instances be good, or did someone mention above the idea of event sub-categories.

    • Thank you so much for “Keep Events Separate”. I was about to try to hack that this weekend. :)

  45. Ken Martin said,

    11 August, 2005 @ 15:51

    I’m sorry. One more thing. Could you class the td when there’s an event? (Again, apologies if you’re doing this in EC3 now.)

  46. Bronze said,

    11 August, 2005 @ 16:40

    Great plugin!!! Worked perfectly!

  47. warmac said,

    11 August, 2005 @ 17:00

    my question would be, whats the point of having an event calendar plugin when you already have a category called event calendar, people can still click on the category and it will show all the events you list, seems like this plugin just repeats the info and takes up space no ?

  48. Lindsay Graham said,

    11 August, 2005 @ 20:51

    Styles not working in Firefox? IE5 looks fine, but no changes made to the style sheet ec3.css seem to dispay when in Firefox.

    Any ideas?

    The site, under construction: http://www.the-slack.com/dconstruction



  49. Bradley said,

    11 August, 2005 @ 21:32

    Wow, fantastic job! I’ve used EC2 already a few times and loved that, but now with an options page in WP! Great stuff.

    In EC2, I managed to mangle enough code to get the titles of the events to show up, but I can’t seem to do it with EC3. Here’s what I did for EC2 to get it working. Here’s where I was “getting close” with EC3, around line 598 of eventcalendar3.php:

    if($calendardays[$dayid]->isevent) echo ' class="eventday"'; echo ">$date->daynum";

    It’s got to be something like adding another line below that like:

    echo ">$title->post_title";

    But I just know enough to keep me out of trouble. ;-)

    Any thoughts?

    Thanks again for all of your work. Best wishes.

    • Bradley
  50. Lindsay Graham said,

    11 August, 2005 @ 21:34

    Never mind. Figured it out: my was commented out.

  51. Ian Stokes-Rees said,

    12 August, 2005 @ 16:19

    I love event calendar and can’t wait to update to v3. One thing I’d like to request (and it is actually kind of a big one!) is to be able to have multiple calendars. That probably isn’t an easy proposition, but it sure would be nice. (Imagine: Meetings, Room Usage, Conference, External Events, Birthdays, Team A, Team B, etc.)

    Thanks for this. It is great.

  52. Edelholz said,

    13 August, 2005 @ 14:35

    Hey alex, I really like your calendar. But I’m wondering about one thing… whenever I click on next or prev. month, that month is displayed, but there are no posts nor events marked – even though there are some. Is that a bug or a feature? ;) I’d very much appreciate a response by mail, thank you. My blog is http://klangbuero.ath.cx . And don’t get scared just because it’s German =)

  53. ryan said,

    13 August, 2005 @ 19:52

    I too am getting the 404 error. To replicate the error, go to my site at http://roadtrippin.us

    As you will see, I have been remiss in posting this month. I made a test event for september so click on sep up top.

    Now try clicking back to august. You’ll get a 404 (screwy template I know but that’s the error I get on 404s)

    Also, the calendar is taking FOREVER to load on my site.

  54. Jason said,

    14 August, 2005 @ 08:13

    Hi there. I’d like to first thank you for creating this great plug-in. :)

    I have a question, however. I’m in the process of attempting to optimize my site and was wondering, since I have “Keep Events Separate” enabled (not needing to display them on the front page), if there was a way not to load the plug-in on the pages it is not used. May save around 20k or so. Thanks!

  55. How Bowers said,

    14 August, 2005 @ 13:45

    Any plans to have this generate .ics files instead of .vcs? iCal can’t subscribe to the files this makes.

  56. alex said,

    14 August, 2005 @ 21:19

    I’ve been away, but I’m back now. I’ll try to answer all your recent questions in the next couple of days.

  57. Shari said,

    15 August, 2005 @ 08:16

    This may have gotten lost in the shuffle:

    “Hi Alex… thanks for your reply. It isn’t in the Categories, per se, its in the Archives. If you look at my Archives, at the very bottom, just before “Technical”, you will see a “0″. In the admin panel, when I click on Manage Posts, up where it says “Show Month”, there is a “0″ in the box instead of a month. The most recent posts are displayed, but the unexplained/unasked-for zero is still making me a little crazy. Would be really thankful if you could figure out how to get rid of it. I can send screenshots of the Admin Panel if it would help.”

    It really is driving me nuts… thanks…

  58. Michael Rodriguez-Torrent said,

    16 August, 2005 @ 22:05

    The chunk of code to display the logo (or not) does not validate as XHTML compliant. See starting at line 619 in eventcalendar3.php. The solution is to move the div outside the link tag and move the style (display:none) to the div tag.

    I’ve posted a patch here: http://themikecam.com/blog/2005/08/16/fix-for-eventcalendar-xhtml-validation/

  59. warmac said,

    17 August, 2005 @ 07:36

    this is the text that replaces the post event text

    window.document.getElementById(’post-26′).parentNode.className += ‘ adhesive_post’; the event is here

    not sure why its doing that, is it because i exluded the calendar category from the sidebar list ?

  60. lafrance said,

    17 August, 2005 @ 23:36

    Hello! i am really a newbee and cant understand were in my theme i put this dd ec3_get_calendar() or ec3_get_events() to your template. Comments Template Header Template Main Template leftcolumn.php Page Template rightcolumn.php

  61. Kyle Pointer said,

    18 August, 2005 @ 22:05

    Wonderfull! :0)

  62. » plug-ins, weekly download, broadband said,

    19 August, 2005 @ 07:32

    […] I recently added a couple of plug-ins: Comment Count, WP-Scrobbler, Event Calendar, and a few others I haven’t installed yet. I’m literally going ape shit with adding them. […]

  63. Joey Horne said,

    21 August, 2005 @ 08:36

    I was able to install the plug-in without a hitch and everything seems to be working, except after copying and pasting the appropriate code for a sidebar event listing, it does not appear that the correct styles are being applied. A screenshot: http://ossa.unchost.org/troubleshoot/events.png. (The site is largely unfinished as of yet, if you would decide to visit the site directly).

    Is this the way the events are supposed to be styled, or is something amiss?

    Thanks so much!

  64. alex said,

    21 August, 2005 @ 20:13

    Ken Martin:

    • Writing your own CSS: Yes, I’ll add an option to control the headers in a future version.

    • Full page calendar: That’s already on my to do list. I reckon that simply adding the option to list post titles in the calendar would be enough. The rest can be done with CSS. What do you think?

    • Multiple instances of the EC plugin: It would be great to have multiple calendars, possibly integrated with WP’s sub-category feature. I haven’t thought at all about how it would work though.

    • Good suggestion. I’ll class the ‘td’ when there’s an event in the next release.

    Bradley: Yes someone else asked about ‘big’ calendars. It’s on my to do list. You’d need to add the same functionality to the Javascript too!

    Ian Stokes-Rees: Yes multiple calendars would be good, but don’t hold your breath. See my response to Ken Martin, above.

    How Bowers: iCal works fine for me with the vCalendar format that EC3 generates. What version of iCal are you using?

    Michael Rodriguez-Torrent: Thanks for reporting that. I’ll make sure everything is properly XHTML in the next release.

    Joey Horne: I agree, it doesn’t look very good. You can completely customise the HTML that ec3_get_events() generates. It’s in the documentation. Try playing with the 3rd and 4th parameters.

  65. Ludek Rolecek said,

    21 August, 2005 @ 22:28

    As someone said – it’s almost esential to separate event date from post publishing date. Please add this feature.

    I’m not convinced that “There is no need to edit your CSS files. All essential stylesheet definitions are now part of the plugin.” is good thing. I’d rather have code and style separate.

    And last: i’d rather have css class “eventday” applied to than to inside day’s .

  66. Ludek Rolecek said,

    21 August, 2005 @ 22:37

    Some characters were cut from my previous post, so there is last sentence again:

    And last: i’d rather have css class “eventday” applied to [td] than to [a] inside day’s [td].

    And yet another request: we have the option to display events/post only from defined category – that’s great thing. But when i click on month above calndar (i.e. August 2005) i’ll get list of ALL posts from that month. I’d like to get only post from selected category, if this option is set for calendar.

    My english is not very good – i hope you undestood my comments. And many thanks for your great job!

  67. alex said,

    21 August, 2005 @ 23:02

    Ludek Rolecek: If you think it’s essential that post publishing date should be preserved, then sharpen your PHP-pencil and write your own plugin. Sorry, but that’s not on the agenda here.

    By contract, I’ve already agreed that the “ tags should have a class for days with events. (Read my last comment). So at least you’ll be happy there.

    Finally, thanks for spotting the month link bug. I’ll fix that.

  68. Richard Brown said,

    22 August, 2005 @ 06:57


    This is a great plugin, I am just not sure I am using it right!

    If you take a look at http://www.tremonthouse.co.uk/booking.htm you will see the site I am hoping to use it for. It is a B & B site and it has three rooms available for bookings. I am hoping to simply show the title of each post, which on any given day will be Room 1 booked, room 2 booked ot room 3 booked! However, in the calendar it simply shows that something is happening that day – no text.

    What am I doing wrong? Or am I asking it do something it cannot do?



  69. alex said,

    22 August, 2005 @ 08:04

    Richard Brown: Right now it can’t do what you want. However, several other people have asked for that feature, and I’ve put it on my ‘to do’ list. Give it a week and then check back for a new version.

  70. Steve said,

    22 August, 2005 @ 15:55

    Any word on how to display events in future months on the calendar?

  71. alex said,

    22 August, 2005 @ 19:36

    Steve: Eh? Is the section “How to make an Event Post” unclear? Or do you have some other problem? Perhaps you could give me a URL to look at?

  72. alex said,

    22 August, 2005 @ 21:40

    Steve: OK. Your problem is a misconfigured “WordPress Address”. You have to set that in Options->General.

    You have a post on 18th August, and it appears in the calendar correctly, yes? Now click on it – and you’ll see that you get a 404. That’s because it’s looking for index.php, rather than index2.php which you have set. The dynamic calendar is failing for the same reason. When it tries to contact the server to get the next month’s events it’s getting a 404.

    Once you’ve fixed it so that the link to 18th August works OK, then the rest of the functionality should work too.

  73. Steve said,

    22 August, 2005 @ 21:55

    Thanks a lot, Alex. I had the index.php renamed intentionally until I was ready to launch, and had no idea that would affect only future months on the calendar. I made a change to test and it works beautifully.

  74. Bobby said,

    23 August, 2005 @ 22:36

    thanks for you hard work.

    my problem is that when the page is loaded Event Calendar is there for an instant with the proper dates highlighted, and then the regular livecalendar comes up.

    The event list appears correctly.

    The only calendar call I have in my sidebar.php is to ec3:

    any thoughts?

  75. Bobby said,

    23 August, 2005 @ 22:41

    I forgot to include the URL…take a look http://www.regenesispodcast.com/rgtest/

  76. Bobby said,

    23 August, 2005 @ 22:51

    okay…one more post. I deleted livecalendar.php from my plugins and now ec3 works…will this effect anything?

  77. claire said,

    24 August, 2005 @ 00:03

    thanks for the plugin, it is working nicely on our site. just one quick question. i have implemented this in the sidebar..

    %TITLE%’); ? >

    …but for some reason it is still pulling up an event that happened on 22nd august (it’s now 24th). the main wordpress time/date is set to my local time and the calendar is moving forward at the right time.

    this feature worked on my previous server so i guess it’s something to do with the way my host is set up. can you suggest how i would correct it?

  78. claire said,

    24 August, 2005 @ 00:04

    sorry, the code above is the sidebar code to list the next five events. i’m not sure how to make it display correctly.

  79. alex said,

    24 August, 2005 @ 08:28

    Bobby: If you don’t want the livecalendar, then you have to deactivate the plugin or remove the livecalendar.php file. You can’t use both livecalendar and EventCalendar.

    claire: Sorry, but I can’t read what you wrote. Try again, putting your code inside back-ticks.

  80. theHawke said,

    25 August, 2005 @ 00:02

    Hey, Not sure if I should bug you or the sunbird folks about this.

    Anyway, my blog is set up under the main site (I have 2 blogs). So when I post an event and then go into sunbird to subscribe to my blog calender and then try to update the event, I get the following error:

    Publishing the calendar file failed. Status Code: 403: forbidden

    My URL is http://unfilterednewsnetwork.com/Gay_Agenda_Blog/?ec3_vcal

    If this is something to talk to Mozilla Sunbird about, then well, sorry for wasting your time.

  81. alex said,

    25 August, 2005 @ 08:47

    theHawke: Your URL works for me. I get a vCalendar with one event on 24th September. The error message from Sunbird suggests that you were trying to publish a calendar, rather than subscribe to one. Could that be your problem.

    By the way, I use Markdown. You need to enclose URLs and code inside backticks: `

  82. Antonio said,

    25 August, 2005 @ 13:33

    Hi Alex, great plugin! Thanks for that!

    I have the same problem like “Shoshana Zakar” validating XHTML. The W3C-Validator says: “Error Line 209 column 276: document type does not allow element “div” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag.” ...le='display:none'> 

    I think, this div has to do with the logo. I went into the js-file and commented out the following lines with ‘//’ … without any effect: div=document.createElement('div'); div.className='ec3_ec'; div.align='right'; // keeps IE happy a.appendChild(div);

    shrug I have no clue what to do next. I’d really like to use this fantastic plugin but I also want my page to validate XHTML :)

    It would be superb, if you could help me with that. :)

  83. Antonio said,

    25 August, 2005 @ 13:35

    uh? somehow the code line was cut: ...le='display:none'][div class='ec3_ec'] [/div][/a][/td][/tr] (> and < replaced by [ and ])

  84. alex said,

    25 August, 2005 @ 13:59

    Antonio: Thanks for the bug report. That bug will be fixed for the next release. Hopefully in the next couple of days.

  85. alex said,

    25 August, 2005 @ 22:34

    I’ve just released v3.0.2. This fixes a bug where month links showed all posts when ‘only show events’ was on. The logo now validates as XHTML (sorry about that).

    In addition, I’ve added a couple of little features for power users who want to customise the headers that the plugin emits. This enables you to write your own CSS. See the new Frequently Asked Questions section (on this page) for details.

    Finally, there are two new CSS classes: ec3_postday and ec3_eventday attached to the calendar’s TD elements on days of interest. CSS wizards should be happy.

  86. Richard Brown said,

    27 August, 2005 @ 09:32


    Thanks for the continuing work on this plugin. I don’t suppose the new version will show details of the appointment in the calendar yet, please?


    For an example see: http://www.tremonthouse.co.uk/booking.htm

  87. alex said,

    27 August, 2005 @ 10:20

    Richard Brown: That’s on my list of things to do, but I haven’t done it yet. I’m concentrating on fixing bugs before adding new features.

  88. Alf said,

    27 August, 2005 @ 20:48

    Hi, Still impressed by your piece of work, but a bit struggling to tweak it like I want… which is to have the popups in the calendar show only the date of the event, not the time. How do I change this?

    Maybe for a future version it would be possible to choose from the admin panel what to show in popups, event-list titles and so on? Thank you for all help.

  89. Alf said,

    27 August, 2005 @ 21:51

    Oh, one more thing,

    I’m using only one category for all my posts, events or not. In the calendar the links to the posts look like http://www.galleritexas.no/?m=yyyymmdd while in the events list they look like http://www.galleritexas.no/?p=nn

    This is confusing and even give me a layout headache because the template for pages and posts are slightly different. How can I make the event list point to the same place as the calendar?

    Thank you for your effort.

  90. alex said,

    28 August, 2005 @ 00:24

    Alf: You can’t customise the text in popups. You can customise the event list – just set the values you want in the parameters to ec3_get_events(). Customisations like this belong in the template (rather than the Options screen) because you might want to vary them from page to page.

    The links from the calendar days look different because the ARE different. Calendar days link to days, not posts. It must be that way – try making more than one post in a single day!

  91. weller-dave said,

    28 August, 2005 @ 00:34

    Is there any way to make the links that the plugin creates adjust to non standard blog setups? For example: I have a blog that I’m creating for an organization (from this point on, all directories are relative to the main wordpress directory). The index.html redirects the viewer to home/welcome (a page created using WPs write page admin section). The normal index.php has been moved to home/index.php. I also use the following in my permalinks setup: ‘/%year%/%monthnum%/%day%/%category%/%postname%/’. As a result, the links created by ec3 won’t work on my site. I had to replace any ‘index.php’ occurences returned from ‘date->day_link()’ with ‘home/’.

    So, is there any way to modify ec3 to use permalinks as defined in Options? If not, I’d like to request that as a feature (as time permits), possibly as a checkbox in the Options for ec3? Something like ‘use permalinks?’.

    That aside, I love the ease of use of this plugin – great job!

  92. alex said,

    28 August, 2005 @ 01:07

    weller-dave: Calendar days link to days not posts. There’s no such thing as a permalink to a day. The Event list links do use permalinks, because they are linking to posts.

    I would have thought the best solution to your problem would be to leave WordPress alone to do its thing. Just use mod_rewrite to add in the other addresses you want, rather than moving WordPress files around. You current solution will break other plugins, not just EventCalendar, and it will make it harder for you to upgrade.

  93. weller-dave said,

    28 August, 2005 @ 11:29

    alex: Doh! Can’t believe I didn’t notice that. Not enough caffeine. Interestingly I just messed around with using links in the same general format as permalinks (instead of ‘home/?m=20050923&cat=1′ I used ‘home/2005/09/23/?cat=1′, and it worked).

    I just checked for a mod-rewrite-like solution for mathopd, no such luck. There are, however, a few solutions that don’t involve moving the same index.php, though, so I might try those.

    I actually followed the instructions on the WordPress website, and had noted that upgrades would be affected (I’d have to move the index.php file to home/index.php), but other than that, it shouldn’t be a problem.

    Thanks for the quick answer!

  94. Michael Clark said,

    28 August, 2005 @ 23:48

    Great tool! I’m enjoying using it. Two suggestions:

    1. Sort the events by time on each date. They appear in the order of the records, and sometimes I enter a new event at an earlier time than a post I made earlier.

    2. A full page calendar, with the same information form the pop-up in the table cells.

    Thanks very much for your hard work. Mike

  95. Shari said,

    29 August, 2005 @ 08:42

    I would just like to mention that the problem I posted about has nothing (most likely) to do with Event Calendar. Sorry for the misunderstanding. Apparently, it is because there is a string of zeros somewhere in some of my posts. I still don’t have any answers on how to fix it, but I did want to let people know that the EC did not cause nor (as far as I can see) contribute to it.


  96. alex said,

    29 August, 2005 @ 09:47

    Michael Clark: Thanks for the suggestions.

    1. It already does sort the events by time. It works for me, I just double-checked. If that’s not working for you, then you’ve found a bug. Can you show me an example?

    2. Full page calendar is already on the to-do list. Thanks!

    Shari: Thanks for letting me know. I was really stumped by your problem.

  97. Michael Clark said,

    29 August, 2005 @ 13:02

    I upgraded to 3.02, and you’re right, the posts are sorted by time on each day. Thanks for a reality check.

    I edited eventcalendar.php, line 723 to be: $date_format=’l, F j’) which results in the listing as “Saturday, September 10:” Is this going to break anything? So far, I haven’t seen any problems. Example URL: http://www.showbizradio.net/upcoming-events/ . Thanks, Mike

  98. alex said,

    29 August, 2005 @ 19:14

    Michael Clark: The change you made is harmless, but seems a bit pointless. Why change the default parameter value rather than just providing a different parameter? I would leave the plugin alone and change you template’s call to ec3_get_events() to:

    ec3_get_events(5,'<a href="%LINK%" rel="nofollow">%TITLE% (%TIME%)</a>',
                   '%DATE%:','l, F j');

    That way you can upgrade the plugin without having to worry about reimplementing your change every time.

  99. Justin Dohrmann said,

    29 August, 2005 @ 23:19

    Alex.. I have no problem subscribing to the vCal on my site, but my friends are all having trouble. I believe they are recieving a message like “Data downloaded from http://low-quality.net/?ec3_vcal is not valid.”

    They are using OSX Panther (iCal 2) and I am still using iCal 1.5.5. Don’t know if that makes a difference.

    Thanks for the hard work and awesome plugin.

  100. alex said,

    30 August, 2005 @ 14:25

    Justin Dohrmann: You mean 10.4 (Tiger) don’t you? I have 10.3 (Panther) and it’s running iCal v1.5.5. So iCal v2 comes with Tiger and that can’t load the old vCalendar format. Oh dear!

    Thanks for the bug report. I’m getting a box with Tiger on it later this week, so I’ll try and fix it this weekend.

  101. Justin Dohrmann said,

    31 August, 2005 @ 01:38


    Yeah everyone has Tiger and you and I are the last people on earth using Panther!

    Good luck!

  102. Sharleen said,

    2 September, 2005 @ 17:33

    Hello and thank you for providing this very wonderful calendar. I am new to blogging, but it became obvious early on that a calendar that looked “forward” and not just “backward” was really key to what I wanted for my blog.

    I have been able to install the plugin and even to get it to display in my sidebar, all was easy and hassel free thus far. What I am unsure of and in need of assistance with is the the 4th line in the installation isntruction: “# Add ec3getcalendar() or ec3getevents() to your template.”

    Which template, the “Main Template” when under the Manage option of Dashboard? And if so, where in the page, does it’s location matter?

    Sorry if this is an annoying question.. I just want to make sure all is installed properly.

    thanks in advance


  103. Moshu said,

    2 September, 2005 @ 18:35

    I’ve followed the instructions and I installed the EventCalendar for a friend – everything works perfectly, as stated! Great. However, I couldn’t find an answer for a small issue: if monthly archives links are also displayed on the blog (as usually the default setup is in many themes) – the future events show up in the archive page when clicking on those links, like October 2005. Is there any workaround for preventing this? Thanks.

  104. David Ellenwood said,

    4 September, 2005 @ 23:07

    Hello, I’ve installed your plugin as part of a site that I’m setting up as a customized CMS. I will be using the events calandering most heavily and your solution is a perfect fit. However, I found that if I set the “Keep Events Separate” option and also try to keep content on static pages in WP, Event Calendar’s addition to WP’s query statement on line(s) 1055 and 1056 of eventcalendar3.php forgets to exclude those static pages, so all of my static pages come up as 404’s–the query returns no posts. I think I have corrected the issue by simply adding "&& !$wp_query->is_page" to the end of the elseif statement on line(s) 1034 & 1035. Just commenting on the possible bug and my possible fix for your info. Let me know if you see something with my solution that will cause problems later.

    Thanks for a great plugin,


  105. alex said,

    4 September, 2005 @ 23:16

    David Ellenwood: Thanks for that report. I don’t use pages myself, so I’ve never tested that. I’ll apply your fix.

  106. How Bowers said,

    5 September, 2005 @ 06:17

    Sorry for not responding again sooner.

    Just to back up some of the other folks, I’m having trouble subscribing using iCal 2 in Panther. I can still download the file and import it fine, but I can’t subscribe to it.

    In the meantime, I’m also using WP-iCal from Garrick Van Buren to give me the functionality I need. I combo of your two plug-ins would be powerfull indeed.

  107. Julie said,

    8 September, 2005 @ 19:23

    Hey Alex,

    I just installed the new version and I believe I’m having the same problem mentioned above. I added in some events, like family members birthdays and such and when I go to that month they don’t show up on the calendar, just in the archives. Is there a way to fix that or is it a bug?

    Julie p.s. – my blog is up at http://julie.beautiful-mess.net/word/

  108. alex said,

    9 September, 2005 @ 00:13

    Julie: Your blog isn’t using EventCalendar right now, so I can’t diagnose the problem for you. I’m not sure I understand your description of the problem. If you want me to have a look, you’ll have to turn the plugin back on and then give me an example of a post that’s not behaving in the way you think it should.

  109. Michael Clark said,

    10 September, 2005 @ 22:35

    1. Is it possible for EventCalendar to only show future events? In the “sidebar list” view it is still showing events even after the date of the event has passed by. I don’t mind seeing past events in the “sidebar calendar” but it isn’t useful to have old events on the list. Example: http://www.showbizradio.net/upcoming-events/

    2. Is it possible for the “sidebar list” view to have the body of the post in the text that is output? That would allow me to have one post for each date, with the content of the post similar to: http://www.showbizradio.net/2005/09/10/september-10-2005/ And in the generic upcoming show list http://www.showbizradio.net/upcoming-events/ the body of the post would show up instead of me having to have multiple posts on each day.

    This is a very cool plug-in. Thanks for your help, and the time you’ve spent on it. I appreciate you help, Mike

  110. alex said,

    11 September, 2005 @ 00:02

    Michael Clark:

    1. The list is supposed to show all events for today (even if their time has passed) and then future events, in date order. You shouldn’t see any events from yesterday or earlier.

      Your example page seems to be working correctly. I only see future events in the list on that page. Have I misunderstood you somewhere?

    2. You mean like this?… http://www.showbizradio.net/category/upcoming/

      The formatting of your category page isn’t quite correct for the effect you want, but you just need to fix your template.

      Perhaps you found the ‘Keep Events Separate’ option after you wrote this comment?

  111. Brooner said,

    11 September, 2005 @ 01:45

    Hi, probably something very simple that i’ve missed but am just wondering why my posts arent found by their second category, the main category which is what the events are listed in will show all the events when clicked on, but any child categories return “no posts match your criteria”.

    example can be found by clicking any of the child categories on this page: http://orienteering.eusu.ed.ac.uk/wp/index.php?m=200509&cat=10 (“Event” is the parent category that the calender shows events for).

  112. alex said,

    11 September, 2005 @ 10:11

    Brooner: Sorry, what you are trying to do just isn’t supported right now.

    You have posts that are in two different categories, the ‘Event’ category and (e.g.) the ‘Social’ category. Only the Event category has the special magic that allows forthcoming posts to be visible. When you search by another category, then you get a normal WordPress search, so future events don’t show up.

  113. maggie said,

    11 September, 2005 @ 17:11

    Hi! How can I integrate the search-function from wordpress? The search-function doesn’t works with the EventCalendar.

    Please, can you help me.

    Regards, Maggie

  114. alex said,

    11 September, 2005 @ 17:46

    maggie: Sorry, search doesn’t work with the EventCalendar right now. I’ll put it on the ‘to-do’ list.

  115. Riff said,

    12 September, 2005 @ 02:11

    Found a cross-plugin bug between EventCalendar 3.0.2 and ViewLevel 2.0.0 :

    If you create an event that is also user-level restricted, the event will be shown on the Events sidebar calendar and list, even though it will not appear on the Events full page. IOW, ViewLevel correctly filters restricted posts from being viewed by catergory, but does not filter EventCalendar from listing them in the sidebar previews.

    Not sure which side needs the code tweaked so the two interact correctly, but luckily they’re both your own. :)

  116. Maddalena said,

    12 September, 2005 @ 17:36

    I have a problem with the .vcs file: all dates that fall after Daylight Savings Time (October 30 here in Italy) are moved by iCal one hour ahead. WordPress displays the correct time. Example: http://www.nuovesettimanebarocche.it/w/?ec3_vcal

    Am I doing something wrong, or is this a known issue?

    Thank you so much for this great plugin!

  117. Micki said,

    13 September, 2005 @ 04:31

    Alex, I simply wanted to post a thanks. I love this plugin and had no problems with it.

    Also, for some this post may be helpful: http://wordpress.org/support/topic/27491

    It includes info on *making the calendar full page *putting the event titles into the calendar body *displaying future posts *changing the post seperator *displaying filtered posts to get multiple subsets of the posts

    My site is in its testing stages, so I’m not sure how long I’ll have this up, but for now you can see the end result at : http://poetology.com/?cat=7

  118. heather said,

    13 September, 2005 @ 19:13

    cool plugin! thank you ! i’m testing it on a demo server, so sorry no link.

    but! re: data not valid with iCal 2.0, on Mac OS Tiger!

    i checked my error logs, and found that the problem was NOT on the server. and as others did, i noticed i was able to download and open the file with no errors into iCal 2.0 on Tiger. BUT I was not able to subscribe. i compared other calendars i could subscribe to and saw many differences in the data, but notably, the version number.

    for the laugh, i just changed version 1.0 to version 2.0. and it worked. but it got a funny name for the file, just ‘?ec3_vcal’ . so i added another line to give the vCal file a name! (pulling from variable already present).

    so where you see this: echo “VERSION:1.0\r\n”;

    change it to this: echo “VERSION:2.0\r\n”; echo “X-WR-CALNAME:$name\r\n”;

    it works! no problem, so far. please try it out and tell alex here if you find trouble so he can fix it.

    as for the time zone issue, there’s a load of information that could be added to the vCal file… i’m not sure which you need, but you could hard-code some of it. or maybe get it out of wordpress settings?

  119. Nate Thames said,

    13 September, 2005 @ 20:28

    I am having an unusual display problem. My website has a static front page and then the blog on the /blog/ subdirectory.

    The calendar installed just fine, but for some reason the text is larger on the front page than the main blog page. Any clue how to make it match the blog page?

    Front: http://www.kuyd.org Blog: http://www.kuyd.org/blog

  120. alex said,

    13 September, 2005 @ 21:23

    Micki: Thanks for your support. It’s nice not to have a problem to answer…

    heather: Wow! Thanks for troubleshooting that for me. I was thinking of dropping the iCal support because I didn’t have time to investigate that problem. I’ve added in your change, and it’ll be in the next release.

    I’ve tried to troubleshoot the timezone issue before. A previous version put the timezone in, but iCal choked on it, so I took it out and just set it to Z (localtime?). It seemed like an iCal problem, but I never got to the bottom of it.

    Nate Thames: Look at the HTML code for your front page! It has a stray HTML tag before the DOCTYPE declaration. That’s flipping the display over into quirks mode. Eliminate that stray tag, and I bet your display problems will disappear.

  121. alex said,

    13 September, 2005 @ 21:37

    Sharleen: I’ve answered you by e-mail.

    Moshu: You’ve not described your problem very clearly, so I hope I’ve understood correctly. I think you need to set the “Show events as blog entries”option to “Keep Events Separate”, on the EventCalendar Options page.

    Maddalena: I remember this now. I think the problem is with your server. The times in the vCal are set to the server’s local time. If the server doesn’t have daylight savings set up properly, then the times will be an hour off.

    You may not want (or may not be able) to change the setup of your server’s timezone. I tried a a better solution than this once, but Apple’s iCal didn’t understand it. Sorry.

  122. heather said,

    13 September, 2005 @ 21:46

    cool! i’m glad i could help out.

    i was wishing there was some way to ‘validate’ the vCal file… there’s probably more information that could be added, for example the timezone info from WP… (though, as you suggest it won’t solve the problem of being an hour off)

    i’ll see if i can make any other additions to the iCal support. don’t give up on it! ;)

  123. GaryP said,

    14 September, 2005 @ 03:36

    Since these are all ‘future’ dated they do not appear when searched for. Any way to fix that?


  124. Xander said,

    15 September, 2005 @ 16:25

    I had a problem similar to what weller-dave describes above, although I’m not quite sure if it is the same. I have permalinks turned on, and the link generated by ec3 was pulling up a 404. (e.g. index.php?m=20050914 etc). I couldn’t sort out what was going wrong there, and didn’t want to muck with modrewrite, so I did a very very simple modification to the ec3 plugin itself. I found the function daylink() and modified it so that it would spit out index.php/2005/09/14/?cat=x, which works perfectly. It should be easy to sort out how to do that once you see the function – just remove the ?m= and throw in some . ‘/’ and change & to ? and you’re set.

    Still new at this so if this is painfully obvious, or utterly pointless – whoops. It just happens to be the info I had been searching for for a while now so I thought I would share. Great plugin, thanks alex!

  125. Kara said,

    16 September, 2005 @ 13:12

    Everything seems to be working with EventCalendar, except that when I click the link to view the next month, it goes to that month’s archive instead of just advancing the calendar in the sidebar. You can see it here: http://www.estate5.org/terralux.org/

    Great plugin, thanks!

  126. alex said,

    16 September, 2005 @ 14:00

    Sharleen: I’d guess the ‘header’ template is the one you want. I’m not the best place to come for general advice on using WordPress. Try the wiki.

    Xander: Hmm. I can’t predict what your permalink structure is going to be, so index.php?m... seems to be the safest choice. Why can’t it find index.php? Have you been moving files around or is your ‘WordPress address’ set up wrong?

    Kara: The directory wp-content/plugins/eventcalendar3 doesn’t exist, so the plugin can’t find its files. I expect you’ve created another level between plugins and eventcalendar3 – get rid of that and your problem should be fixed.

    Gary P: That’s a known problem. It’s on my TO DO list.

  127. Lisa Boyd said,

    16 September, 2005 @ 18:02

    Hey Alex,

    This is an awesome plugin! Thanks so much for sharing your work. Is there an announcement list I can get on to know when the next version comes out? I can’t wait for the repeating events support!! That’ll be truly awesome!

    Thanks again for your hard work! Lisa B.

  128. hiten said,

    18 September, 2005 @ 08:18

    I can’t get this working? It appears in my plugin list as active but when i go to options i can’t see the event tabs or anything? Am I missing something?

  129. alex said,

    18 September, 2005 @ 11:52

    Lisa Boyd: Thanks for the positive feedback. I am planning to do the repeating events in th next few weeks. The closest thing to an announcement list is the RSS feed for this post.

    hiten: I’m sorry to hear that you’re having trouble. The first thing to try is disable all of your other plugins, to see if one of them is causing the problem. Look at the HTML produced for one of your blog’s pages (say index.php) – do you see the header tags produced by EC3. (It writes some CSS and some other tags into every page’s header.) Let me know what you find.

  130. heather said,

    19 September, 2005 @ 16:55

    i’m planning on trying to get multiple instances of this plugin running. i need festivals and events separate as different event ‘types’… but i still need categories… like ‘music festival’, versus ‘music event’

    so! i was thinking of maybe using the tagging systems available for wordpress, with delicious style keywording. like http://www.neato.co.nz/ultimate-tag-warrior/

    has anyone else done this?

  131. alex said,

    19 September, 2005 @ 17:04

    heather: I suggest that you don’t try to get multiple calendar’s on the same page. Too much of the CSS and Javascript depends upon unique element IDs. It would of course be possible, but I fear that you’d have to rewrite virtuallly everything.

    A more manageable task would be to get different types of events to display in different colours. You could base this on tags or on other WP categories.

    Let me know how you get on, and good luck!

  132. heather said,

    19 September, 2005 @ 21:13

    oh, hm… i’m not actually going to use two calendar thingys on the same page. those will be on separate pages. though listings from both ‘types’ will be on the same page. that should not pose too much of a problem.

    i need to be able to separate the two types… so hm… don’t know if i can do it w/o sub categories.

    i’m also concerned about the listing future posts, here’s hoping that tagging system will work. i have no clue how WP handles future posts.

    i’ll tell you if i have any luck.

  133. Kara said,

    23 September, 2005 @ 14:29

    Thanks for helping with my previous question. I’m also wondering if it is possible to change the display order of the days of the week so that Sunday is first and Saturday is last?

  134. Darrell Schulte said,

    23 September, 2005 @ 14:48


    In Administration, look under General > Options and look for “Weeks in the calendar should start on:” — change that to Sunday and you should be good, to go.

  135. alex said,

    23 September, 2005 @ 14:57

    Kara: That’s a normal WordPress setting. Just change the first day of the week on the Options->General screen. It’s the last option on the page.

  136. Dean Shareski said,

    24 September, 2005 @ 01:47

    The calendar is a great plugin but the Events category doesn’t display in the sidebar?

  137. alex said,

    24 September, 2005 @ 02:13

    Dean Shareski: You seem to be using nested categories. If you can’t see a category listed in the sidebar, then that’s a problem with your template, not with a plugin.

    You also seem to be assigning posts to more than one category. That doesn’t work very well with EventCalendar right now. I recommend that you put your event posts in the Events category, and in no other category.

    Hope that helps.

  138. Dean Shareski said,

    24 September, 2005 @ 05:11

    Not sure what you mean about nested categories. Also why would all other categories show up? I’ll look at the template for something obvious. Thanks for your quick reply.

  139. Ryan said,

    25 September, 2005 @ 16:19


    It has been asked several times but never addressed here – the next month links do not show posts that show up normally, unless more than one month is displayed.

    For instance, if I go to November on the calendar, no events show up. However, if I display 3 months at once, the one event listed in november shows up.

  140. alex said,

    25 September, 2005 @ 18:21

    Ryan: I have no idea what you mean. I go to your blog: http://www.eventsquarterly.com/blog/ and flick forward a couple of months, and there’s your event in November. Perhaps I’ve not understood you- please describe your problem more precisely. What browser are you using? Where else has your question been asked?

  141. Eric Wabant said,

    25 September, 2005 @ 19:44

    Hi, Great plugin and I wish I could get it running. With IE 6.02 or Firefox 1.07 I have a problem when going to the previous or next month. I created an event for Sep 30th and one for October 5th

    in IE clicking Aug or Oct the spinner starts and the following error message appears: line: 376 Char: 5 Error: ‘null’ is null or not an object Code: 0

    in FF clicking Aug the spinner starts but it tries to load July, when clicking Oct, the spinner starts and tries to load November

    please advise, regards Eric

  142. Glenn said,

    25 September, 2005 @ 21:59

    I’m just wondering if you’ll have an option to create a “recurring event”? Something that happens, every week/month/year?

    Good job, regardless–it looks really spiffy and I love how you can hover over the date in the calendar and get the title-blurb!

  143. Daniel Ryan said,

    25 September, 2005 @ 22:44

    just a little tip, i use .htaccess to make my site default to a splash page besides index.php so for people to subscribe in iCal they have to use http://www.wdanielryan.com/index.php?ec3_vcal. Hope this is of help to anyone.

  144. brenton said,

    26 September, 2005 @ 01:41

    to echo everyone else: incredibly great tool. it rocks.

    my little teensy problem (at http://doesyourdogbite.com/blog) is that the ‘month’ links (which i have below my calendar) don’t work. in other words, i click on Oct >>, it says “javascrpit:ec3.go_next()” in the status bar, but nothing happens when i click. i could’ve sworn it worked earlier, but apparently i’ve done something to make it quit working. this is a problem for me in IE 6 and Firefox 1.x.

    a clue might be that previously, i seem to remember that ‘events’ (which is my events category) was not showing as a category on the sidebar, but now it is–and it definitely shows “Keep Events Separate” in the options/EventCalendar interface.

    i didn’t see anyone else with this issue, but maybe i missed it. just the fact that you have responded to others emboldens me to ask for your help . . .


  145. Mike said,

    26 September, 2005 @ 02:38

    First off… Thanks for an awesome plugin! I am having some difficulty though. All works OK except all events show up on calendar not just the category assigned in the options. The assigned category does not display on main page as desired but all events from any category appear on calendar.

    Thanks again for this fantastic plugin Mike

  146. Mike said,

    26 September, 2005 @ 02:56

    Further to that… Events do appear as expected using ec3getevents() but ec3getcalendar() displays all posts as links on the calendar. It also appears that when I add a new event it does not show up on calendar but does show on ec3getevents list. Could it be a caching thing with IE? Tried to refresh but you never know. Ah yes, just checked on another machine and is there as expected so I guess calendar is working from cache. Any way to force refresh?

    Thanks, Mike

  147. jw said,

    26 September, 2005 @ 15:46

    My XHTML validates, but the CSS “ec3.css” does not. …wondering what I’m doing wrong.


  148. Andre said,

    26 September, 2005 @ 15:55

    Excellent plugin! This accomplishes so much of what I had previously hacked together – and it’s actually easy to understand, too! Just wondering if you’ve had any success with the planned “events spanning multiple days” feature yet – that would be very handy. If you need assistance, I would be glad to offer.

  149. Eric Wabant said,

    27 September, 2005 @ 04:57

    Hi Alex,

    I still have the same problem and I am not able to solve it. Tried lots of things as taking out all plugins etc, and finally visiting all the pages listed here over and checking their sources to find similarities, … It seems that all sites running ec3 don’t use a plugin that adds info to the header, none were using Bad Behaviours (one that did use BB also manage to use Extended Live Archive without errors for me a property is never recognized). I have more info gathered from the firefox javascript console that might help:

    Error: month_xml.childNodes[0].getAttribute is not a function Source File: http://www.sunnymead.org/eleanore/blog/wp-content/plugins/eventcalendar3/ec3.js Line: 400 document.getElementById(month_xml.childNodes[0].getAttribute('id'));

    I don’t know enough to understand why on my site ec3 doesn’t work when on others it works perfectly. I really would like to use your plugin as it is the only one that fills what I consider an important feature missing in wordpress.

    Regards, Eric

  150. Richard Jenkins said,

    27 September, 2005 @ 15:00

    I’m having the same (or a similar) problem as Dean Shareski. The Events category doesn’t show in the Sidebar when there are only future events.

    Is there any fix for this?

    Thanks, Richard

  151. drdoug said,

    27 September, 2005 @ 23:36

    I REALLY like this plugin but I’m having a bit of a problem with the vcal bit of it. I can’t seem to make sunbird download it. sunbird just sits there trying to refresh forever without giving any errors or anything. any ideas?

    Also, does the plugin have or will it have the functionality to allow sunbird to write to the server so I can update the calendar from sunbird or other calendar program?

  152. Dean Shareski said,

    28 September, 2005 @ 04:58

    I’ll add one more issue to my problems. I’m not sure what I’ve done now, but events are not even listed below in the sidebar as the used. in fact, my future events do not appear as a popup on hover. I have not disabled it in the control panel either.


    I’m wondering about reinstalling the plugin. That wouldn’t affect my current event posts? Is it worth a try?

  153. jeb said,

    28 September, 2005 @ 12:31

    This is an excellent plug-in that’s saved me tons of work on my own. Thanks for making it available.

    I really like the javascript calendar functionality on the home page. It’s attractive and useful.

    I would like to modify the javascript somehow so that when I click on the month, I get a month listing that starts from the earliest date in the month to the latest, rather than the normal order from latest to earliest for an archive posting. The archive order is appropriate for an archive, but looks bass ackwards for a calendar listing. Can you give me any pointers about what to modify to change this link so that archived calendar listings are called in ascending date order?

    In any event, I appreciate the time and effort you’ve shared.


  154. GaryP said,

    28 September, 2005 @ 20:55

    The calendar is working great! Was wondering if anyone knows of a plugin that allows you to ‘duplicate’ and existing post?

    Many events repeat each month. I would like to duplicate it and just change the date, etc rather than having to recreate it from scratch each time.


  155. merlos said,

    29 September, 2005 @ 16:43

    [Richard Jenkins wrote] I’m having the same (or a similar) problem as Dean Shareski. The Events category doesn’t show in the Sidebar when there are only future events. Is there any fix for this? [/Richard Jenkins wrote] I had the same problem, so I added a past event in the Events categry; the category were displayed on the sidebar and all works fine; now I can post future events without problems This is a little workaround for who is experiencing the same problem I wait for a fix Many tks Giovanni Mellini aka merlos

  156. anja said,

    30 September, 2005 @ 14:58

    @ merlos: this has nothing w/ this plugin. you will have to fiddle with list_cats in your sidebar. wp hides empty categories by default, so you have to change one of the parameters for list_cats to have it display all categories (set the hide_empty one to ‘false’).

    see http://codex.wordpress.org/Template_Tags/list_cats for more details.

    hope this helps, anja

    PS: i love this plugin. it was exactly what i needed. thank you, alex!!!!

  157. Dejan said,

    30 September, 2005 @ 21:10

    great plugin! i’d like to to include PAST events on the events list / what should i do? thanks, sd

  158. josh leo said,

    30 September, 2005 @ 21:46

    hi, I was wondering if this plugin works to make events into an actual ful page calendar (with blocks) with the events listed on the dates? much like what is found here: http://grcmc.org/calendar/index.php but obviously wordpress

  159. Kara said,

    1 October, 2005 @ 19:16

    The calendar is displaying the current month correctly in the sidebar for the home page and category archives, but when I go into an individual archived post, it displays the month and year that the post was created. (See http://www.terralux.org/2001/11/03/earth-changes/ for an example, calendar shows as November 2001) Is there a way to fix that?

  160. Jacob said,

    2 October, 2005 @ 06:37

    I had trouble implementing the future posts page, but managed after I realized I needed runphp or phpexec plugin.

    But I’m writing to see if anyone has implemented the multi-month view from left to right. I’d love to have three months of the small calendars running across the top or bottom of a webpage.

    I’m not a complete PHP newbie, but I prefer not to fool around too much. Any suggestions on where to look and how to do it?

  161. Les Peel said,

    2 October, 2005 @ 11:03

    Promising plugin, great effort. By adopting wp for future Events I hoped to also get feeds generated, but feeds don’t show any future events. Timestamp over-worked maybe, or wp newbie… Any suggestions to get ec3 future Events to show in feeds, or what have I missed?

  162. Les Peel said,

    3 October, 2005 @ 04:50

    Re feeds for ‘Events’ – OK after some tests, some hazy realisations: Future event posts (timestamps modified for future) can only be viewed using one nominated special ec3 ‘events’ category? Wp feed generator ignors future timestamps? Should I attempt to modify the wp feeds code..?

  163. Harvey said,

    3 October, 2005 @ 13:10

    This plug-in is cool! I’m planning to use it for my Japanese music site.

    What I would like to be able to do, is Mark the Calendar on a future date, for an Event that has already been posted on the blog.

    Example, the blog post goes up 1/1/2004, and the post is discussing an event that will occur on 1/5/2004. The calendar, would be marked at 1/5/2004, and have a mouse over pop-up that would refer to the post that went up on 1/1. If possible… clicking on the date would link to the related post as well.

    One thing I have that is causing me trouble is that, I can label my posts “PUBLISHED”, and them give them a Future Date… This gets them on the Event Calendar correctly.

    However, if I do this, the posts aren’t published on the blog (of course, cause they’re set to be pushlished in the future).

    Is there anyway I can set them to be published in the future, yet, still have them appear on the blog?

    Thanks for any help!

  164. tito said,

    6 October, 2005 @ 21:37


    I have my blog set to use your plugin fo “Upcoming Events” in my sidebar using this code:


    This seems to work, except that it also includes events that have already occured (in this case, displaying an Oct. 5th event today, Oct. 6th). Is this by design and is there a way to change it so that only events in the future show up in the list?

    http://blackmarketkidneys.com/blog is the url of the site.

  165. stoi said,

    9 October, 2005 @ 06:52

    is it possible to have the calendar along with the events inside a page only ?

  166. milo said,

    9 October, 2005 @ 09:13

    how to set the calendar to begin on Sunday as in S M T W TH F S

  167. tito said,

    11 October, 2005 @ 18:19

    Mine seems to work, it just takes a little bit longer for the event to have passed before it does not show up in the sidebar…

    (The Oct. 5ht event showed into the 6th, but by the 7th, it was not displayed)

  168. djspaceinvader said,

    11 October, 2005 @ 23:11

    great plugin – i’ve been using it for a couple of months as a calendar for my dj gigs.

    i’m having a problem with .vcs subscription though. it worked fine before, i’m not sure what i changed to make it stop working, because i didn’t notice it until recently. if you go to my news section ( http://www.djspaceinvader.com/news/ ) and click “subscribe to vcalendar” and take a look at the file, you’ll see what’s happening. basically it’s pulling in all of my other page elements, instead of just generating the vcal code, which is causing ical to get confused and just not display any of the events. i’ve been wrestling with it for a while, but being a php newbie (and kind of a wordpress newbie) i just can’t figure out how to avoid this.

    any idea how to make this work? or at least where to start looking? i can’t even figure out why because i don’t fully understand how the file is generated…

    thanks ^_^

  169. John C said,

    12 October, 2005 @ 19:14

    I wish you’d add something like Chris Mahnken’s suggestion from 21 July 2005 as a high priority to the planned features list.

    Overloading the post date to also represent the event date means that pre-announced events need two posts — one for the announcement (“RSVP for the dinner”) and one for the calendar (“Dinner tonight”). That leads to keeping two posts updated with any changes, and can result in redundant search results (depending on settings).

    Don’t get me wrong, I think EventCalendar is really nice. Nice work.

  170. heather said,

    13 October, 2005 @ 16:59

    @ milo:

    In Administration, look under General > Options and look for “Weeks in the calendar should start on:” — change that to Sunday.

    (i got the answer from an earlier comment on this page. )

  171. heather said,

    13 October, 2005 @ 18:15

    hello alex, i saw you mention the upcoming 3.1 release… i’m sorry, i must ask about it, because i’m very desperate at this stage… i can’t find any way to do what i need to with future posts… I’m considering going back to HTML :(

    mostly, i’m interested in the listings page rather than the sidebar calendar dispplay (at this stage). can you tell me if the next release will have the following functionality: (and i’ll have something to look forward to)

    1. multiple categories

    2. date archives under each sub-category

    3. customize display of listing (instead of just ul )

    4. month headings/grouping (like it does with posts on same day)

    5. define number of days in future, like the next 90 days (three months) as the NearFuture posts plugin works

    actually with 2+ 3 i think i can work-around it with customized category-X.php pages!

    i tried playing around with the category-X.php, and i noted that one can use query_posts to create custom events listings… and i can even separate out sub-categories, but it only works on the main ‘event category’ page. i posted the example here: http://wordpress.org/support/topic/46841

    thanks for a great plugin!

  172. Dean Shareski said,

    14 October, 2005 @ 06:41

    I’m no CSS wizard but can’t seem to make the css for event. .eventlistday li to take effect. I’ve changed it but it seems the main style sheet overides this. It’s probably a very simple thing. Hoping you can help.


  173. Paul Reid said,

    15 October, 2005 @ 07:07

    A few newbies have asked questions here about where to add the code below, but no-one seems to reply. I know how to add to the sidebar.php. But which template should ec3_get_calendar()be added too.

    Can someone please explain where to add these details:

    1. Add ec3_get_calendar() or ec3_get_events() to your template.

    == Display Events in a SIDEBAR CALENDAR ==

    Add the following code to your sidebar.php:

    Thanks for your time.

  174. heather said,

    15 October, 2005 @ 17:33

    hello paul,

    just like the sidebar code, which is in between <? php … and ?> tags, you can place the call to the get events or get calendar function in any template ‘outside’ of the loop.

    here you can see an example of how you have 10 events appear at the top of your index page. i have edited it into the default WP template for the index page: http://pastebin.com/394508

    can you give a more specific example of where you want it to appear?

  175. webmacster87 said,

    15 October, 2005 @ 17:42

    I, too, am having the iCal error. I’m using the latest Mac OS X Tiger with the latest iCal.

    For some stupid and strange reason, iCal 2 only permits subscribing to .ics files. For iCal support to work, the plugin needs to be able to generate a .ics file. The file markup is probably very similar, if not identical, to the .vcs markup. Perhaps you could offer a http://your.site.url/?ec3ical link as well as a http://your.site.url/?ec3vcal link in the plugin?

    I wish you good luck and hope this gets fixed soon–I love this plugin. :D

  176. webmacster87 said,

    15 October, 2005 @ 17:45

    Additional notes, because I just found some corrections to myself:

    You don’t even need to output a .vcs file! All vCal-enabled apps can use .ics files–why iCal won’t use .vcs, no one knows.

    Additionally, if you need some advice on outputting a .ics file, borrowing some code from this plugin might help you: http://garrickvanburen.com/?p=2

  177. heather said,

    15 October, 2005 @ 17:57

    @josh leo,

    you asked ‘if’ the events calendar makes a full page calendar view… not yet.. and alex mentions it above (he’s working on it :)

    but several people have tried hacks, modifications and extensions to get this.

    if you’re handy with wordpress and CSS, you may be interested to read; http://wordpress.org/support/topic/27491

  178. heather said,

    15 October, 2005 @ 18:20


    i downloaded your iCal file and confirmed it is as you say- apparently ‘printing’ the top part of your event HTML page before the iCal calendar begins.

    first, i have to ask the obvious, did you try to overwrite or reinstall the eventcalendar plugin? and at any point did you edit the plugin or modify it in some way?

    second, you said you want to know how it works, look for the line in the event calendar which reads:

    // Generate the vCalendar

    first the php code ‘echos’ (puts it into the file) the top part of the file, which identifies it’s format as a vcs file. then it goes into the database, pulls out the neccessary information about event names, dates, etc. and then it echos the values in a language that a program like iCal can understand:

    echo “SUMMARY:$entry->post_title\r\n”; which comes out like: SUMMARY:dj space invader on thumpfunk

    but for some reason, you are getting the top part of your events template before the vcs file begins. my guess is, the plugin needs to be reinstalled.

  179. Aleksey said,

    15 October, 2005 @ 23:37

    It appears that the author of the plugin did not respond in two or three weeks now. I’ll try to summarize my experience with the plugin nevertheless, along with some requests of what I’d like to see implemented.

    The EventCalendar 3.0.2 is on my sample blog site that I am putting together. It is on the right sidebar. On the left sidebar is the version of the standard WP’s calendar thatI hacked together. Please note that it uses completely different id’s and classes from the original, and hence there’s no conflict here with running two calendars at once.

    Also, please note that I have no events yet, so it’s just the pure calendar. The relevant configuration is “Keep events separate” and “Show all posts”.

    1/ When loaded with the start (index) page, the EventCalendar shows everything correctly. However when I go to the previous month (September) it does not show any posts at all, even though I have them on 28th and 29th of September.

    2/ Same as above. Additional thing is that the link in the table’s caption (September 2005) is now using some format that does not work on my site. The original link (October 2005) was perfectly correct. This link structure was configured using the WP admin panel. Obviously, EventCalendar knows of it as it does use it the first time around, but then it switches to some other link scheme.

    These two items above make the use of the EventCalendar not possible on my site, even though I do like what it can offer me if it worked.

    3/ The popups don’t work with my complex CSS layout design that employs z-index. It works in Opera 8.5, but does not in Firefox 1.0.6 or Internet Explorer 6. In these the popups are shown behind the actual content boxes that I have, such as the calendar itself. It is difficult to spot. If you go to September, and point to mouse at the 29th when I have 11 test posts, then you could see it clearly. For other post days it’s one post only, and the popup is completely hidden behind the calendar.

    4/ I would really want to have the ‘title=””‘ parameter in in addition to where you have it. The thing is that I color the boxes where I have posts, and I would like the info shown when the mouse is in the box area as well, not just when the mouse is pointed at the link directly.

    5/ I would really want to have the ‘title=’ parameter for the Next Month and Previous Month links, both and as explained above.

    6/ Be advised that the moving cursor box does not work in Internet Explorer. That’s how IE works, and is hardly your bug. I have the same behaviour in my tables. :)

    Thank you.

  180. Aleksey said,

    15 October, 2005 @ 23:39

    I stand corrected: The EventCalendar is on the left, and my calendar is on the right side. Sorry for confusion!

  181. alex said,

    16 October, 2005 @ 15:18

    Sorry guys. I’m really busy right now. I have 50 of your comments to answer. I’m hoping to do it in the next few days. Thanks for your patience.

  182. Ian Stokes-Rees said,

    17 October, 2005 @ 02:11

    Events Calendar is great, but I have a few problems with it:

    1) The next() and prev() functions don’t work; and, 2) I can’t put the calendar on a word press “Page” (I only want it to appear in one place, not on the sidebar for every page). I’m trying with PHPexec but it seems wordpress is escaping some of the HTML which EC3 produces.

    Any suggestions greatly appreciated.

  183. Aleksey said,

    17 October, 2005 @ 12:00

    Alex, nice to have you back. Regarding the item (2) in my previous post: The URL scheme you use should work fine as I see it now. Basically it is the original, or ‘default”, or ‘internal’ WP’s URL scheme. Now, what does not quite works is that it appears you do not differentiate between ‘WordPress URI’ and ‘Blog URI’. It appears that you always use the former, while you should be using the latter. Please take a look at WP 1.5.2’s ‘wp-includes/template-functions-general.php’ lines 71-76. The way it is now, the links you generate on my site point to /wp/index.php?, while they should point to /index.php? as per my configured ‘Blog URI’. Hope that helps.

  184. Ann said,

    19 October, 2005 @ 10:56

    Would you please consider in your next version adding parameter options to ec3_get_calendar()? What I’d like to do is change the calendar display options for different pages — specifically, I want to enable the calendar to display events only on the events category page, but on all other pages I want the calendar to display entries as well as events. Adds a bit of flexibility, imo… and only simple changes to implement. I’ll likely be adding this into the ec3_get_calendar() function myself but I’d also really love it if you threw it into your next version so I can upgrade without having to worry about changing anything again…

  185. Ann said,

    19 October, 2005 @ 11:15

    Found a bug (I think). Here are the steps to reproduce:

    Go to options: – Set display blog entries: Keep events separate – Select a SUBCATEGORY as the event category Go to blog: – Display the event category PARENT category page

    Results in a 404 for me, even if there are other non-event posts in there.

  186. spacewalk said,

    22 October, 2005 @ 00:09

    Installation question: eventcalendar3.php obviously goes in the plugins directory. But where does the eventcalendar3 directory go? This contains the .js files, the various “shadow” pngs, etc. Does this directory also go into the plugins directory?

  187. Ken said,

    22 October, 2005 @ 23:34


    Thanks for this very useful plugin. The “event category” seems to be a great solution to the problem of viewing future dated posts.

    Would it be possible, with some modification, to designate multiple categories as “event categories” ? I would like to allow several categories that display future posts, and keep a few others that fuction in the default manner.

    Have you considered this problem? I am not sure how difficult it would be to implement, but any suggestions would be greatly appreciated.

    I am currently using WordPress 1.5.2 at the URL posted in your URI comment field.

    Thanks again.

  188. heather said,

    25 October, 2005 @ 12:25


    this is where the directory goes: /wp-content/plugins/eventcalendar3

    i found that confusing too!

    @ ken:

    above, alex says he may be working on multiple categories. i think a few people have asked for it! i needed multiple categories, so i used a ‘parent’ category as my events category, and ‘child’ categories, to display separate categories. at least it helps to manage listings. mind you, if you’re using custom category templates (eg, category-X.php) this only works on the parent category page, and will not allow you to have a special category templates for the child categories.

  189. Alex Lee said,

    28 October, 2005 @ 15:57


    Downloaded and got it running on WordPress 1.5.2 – Apache – Windows. Excellent, excellent, excellent! Can’t wait for what’s next.

    Thanks much..

  190. Koen said,

    3 November, 2005 @ 10:27


    At http://www.paxchristi.be/website/wordpress/?cat=7 you can find the calendar of this website for a peace-NGO that I’m building. Is it correct that only events AFTER tomorrow are shown? Wouldn’t it be better to show events from TODAY on? Is there any way to achieve this?



  191. Tim said,

    3 November, 2005 @ 18:08

    Love the plugin. But it seems to be breaking my template. :) I checked, and I do have the in my header, but it still seems to break. With no events listed, it appears normally, but events, when added, stretch the calendar outside of the sidebar. Perhaps because I’m using a WPG2 template?

  192. Darrell Schulte said,

    4 November, 2005 @ 18:24

    Hey, heather, thanks for the fix for the valid ics file. Made that change to make it work with iCal 2.0.3. Then, I ran into the deal with the hour being off in iCal. Short of messing with the iCal file format, I simply just changed

    DATEFORMAT(postdategmt,’%Y%m%dT%H%i%sZ’) as dtstart


    DATEFORMAT(DATEADD(postdategmt, INTERVAL 1 HOUR),’%Y%m%dT%H%i%sZ’) as dt_start

    in eventcalendar3.php.

    I figure I’ll have to switch it back after DST reverts…

  193. IOOI said,

    7 November, 2005 @ 11:58


    Do you have any idea why it causes IE abnormal ?

    when I move mouse quickly between 2 days on calendar ( fast move but with its tooltips coming out ), IE coredump!! poping up a abnormal messagebox. it happens especially when there’s many events one day, say, 10 events.

    Thanks, IOOI

  194. IOOI said,

    7 November, 2005 @ 12:22


    I created a parent catogery “Events” and sub catogery of it like “lunch”, “movie”. But not as you said, it doesn’t regard the posts under “lunch”, “movie” as an envent… though i don’t use customer catogery templates..

    btw, I like this plugin so much! Hope it can be better!


  195. Nick said,

    7 November, 2005 @ 19:25


    I’m having something strange happen with regard to calendar posts and pages. If I choose “Keep events separate”, then my Pages don’t show up. However, if I choose “events are normal posts”, I get pages mixed in with my events calendar when I use the ec3getcalendar(); function in the page body (not in the sidebar). Has anyone else encountered this problem? Is there a fix?


  196. John V said,

    9 November, 2005 @ 00:41

    “A more manageable task would be to get different types of events to display in different colours. You could base this on tags or on other WP categories.”

    How manageable? Has anyone done this? I’ve got the sidebar calendar showing one kind of event now, but would like to start adding a separate “kind” of event and have it show up as a different color. My calendar is only showing posts in my “events” category and they’re set up as “keep events separate” so I think I have to keep it that way, right? I don’t want all my posts in the calendar. But I have no experience with Tags, would they help make this possible?

  197. CandyBarDance :: Country Western Dance Instructor in Raleigh, NC » Events Calendar said,

    10 November, 2005 @ 07:24

    […] I have added an events calendar to the site. EventCalendar 3.0 was coded by a talented individual named Alex Tingle (although I hacked it a bit to show events that last more than one day ) So just look for dates marked in red on the calendar to get info about upcoming dance events.   […]

  198. Gwensonic said,

    11 November, 2005 @ 05:30

    This plugin works perfectly on my site, thanks! I have one small question…

    Display Events in a SIDEBAR LIST

    My question is, is it possible to show only “todays” events in the sidebar?something like :

    I’m sure it’s something easy but this is my first time trying PHP. Thanks in advance and here’s the site URL http://www.kinsaletimes.com/

  199. Gwensonic said,

    11 November, 2005 @ 05:34

    Sorry, my attempt at code didn’t show in my post… php ec3getevents(today);

  200. Ken said,

    11 November, 2005 @ 22:25


    I want to thank Heather for the suggestion to use child categories to simulate multiple event categories. It has been working well for me.

    I am confused about something else.

    Up at the top of this page, under the heading “Display Events on a FULL PAGE” it says. “By default you will also see events on your front page just like normal posts, ONCE their date arrives.” The problem I am having, is that my front page is displaying event posts, BEFORE their post date arrives. If you look at the URL http://sonicarts.public-information.org you can have a look.

    My “Event” category is Syllabus, and I have “Show events as blog entries” set to “Events are normal posts.” I am using WordPress 1.5.2, with a modified Kubirck template.

    I have changed two files,

    one in classes.php that changes $q[‘order’]=’DESC'; to $q[‘order’]=’ASC';

    And then, in the first line of home.php, I have added a query_posts(‘order=DESC’); into the

  201. Ken said,

    11 November, 2005 @ 22:33


    In reference to my previous comment, the last line should say:

    into the opening

  202. Gwensonic said,

    12 November, 2005 @ 05:26

    I’m feeling lonely, no one here for a few days… Hey Alex are you still alive? It must seem like an avalanche of posts screaming your way but unfortunately you wrote a great plugin. It must feel like a curse now, but what an amazing cross to bear… If you need a vacation come visit us in Ireland! Just use my email address (I’m not kidding, you and yours are most welcome!)

    My question, to anyone in the know, is it possible to show only “todays” events in the sidebar? I realise this may be a total newbie dumbass question but I haven’t been able to answer it for myself after trawling the forums till my eyes bleed…

    Henry Gwensonic

    “My Kingdom for a horse!”

  203. Jeff M. said,

    13 November, 2005 @ 08:28

    I have a question about formatting a list output. For me the default event list displays as:

    14 January Free Ski Day (8:00am) Big Club Meeting (7:00pm)

    Is it possible to customize the format to display the list as:

    Saturday January 14, 2005 Free Ski Day (8:00am) Big Club Meeting (7:00pm)

    Or even this if possible:

    January 2005 Saturday 14 – Free Ski Day (8:00am) Saturday 14 – Big Club Meeting (7:00pm)

    February 2005 Sunday 05 – Test Post

    I tried playing with the custom format but could not come anywhere close to achieving this.

  204. Ken said,

    13 November, 2005 @ 19:39


    I Just wanted to try one more time. My last comment was deleted. Maybe it was to long? Or should I not include code in the comment?

    Anyway. I have “Events are normal posts” selected in the EC 3.0 options, but contrary to what I expected from the documentation, I am seeing FUTURE dated event posts on my home page. It seems like I should only be seeing event posts dated up until the current date. My home page is http://sonicarts.public-information.org

    Does anyone have any thoughts on this? They would be much appreciated.

    P.S. Thanks Heather for your help on my question RE: multiple event categories. It works great.

  205. alex said,

    13 November, 2005 @ 20:51

    Comments are now closed, because I can’t keep up with support requests as blog comments. If you need help, then please subscribe to the new mailing list.