Support » Fixing WordPress » eventCalendar2 plugin problem (sorta)

  • I’m testing the eventCalendar2 plugin at the following site:

    The only problem I have is that when you click on “mar >>” to see the upcoming month, the calendar will appear but the page says, “Sorry, no posts matched your criteria.”

    How do I get the future posts to appear when someone clicks on the upcoming month?



Viewing 7 replies - 1 through 7 (of 7 total)
  • Anybody have any ideas?

    I’m using the EventCalendar2 located at with the optional hack for v1.2.1. I can’t seem to get future posts to appear when you click on the upcoming month. Although the posts appear when you click on the specific date on the calendar, I would like to see all of the posts for the upcoming month appear in the main comment section.

    Or, perhaps someone could point me to a blog that already has this feature in place. Either way, feedback is always appreciated.

    Oh yeah, one more thing. It would appear as if the search feature is only returning results from the current month. If I do a keyword search for a post in March, no results are returned.



    I have the same problem.

    Also – the button to go back to teh previous month disappears.

    An additional question – are there any other good calendar styles? I really hate the “normal” one that comes with WP – but i”ve seen good ones around, just not compiled in a list anywhere.

    Thanks for any help.

    i really like to know how to build it into 1.5?
    i don’t want to use another script next to WP but a intergrated one.

    for more info check here

    ehm anybody got a idea for this, i got it working well some parts of it on my local test site it’s the part were you need to mod the wp-blog-header.php which needs help i think

    Hi – Seems like the evencalendar2 is really popular. I am also having a headache getting it to work. I have mod_rewrite on, so only past events are shown. Also, I have no idea how to get future events shown on the calendar. Any help would be really appreciated. Many thanks 🙂

    It seems that the instructions for hacking the wp-blog-header.php file are only good for version 1.2 of WP.

    I checked the author’s site, and it states he is no longer providing support for the mod.

    If anyone who is familiar with both versions 1.2 and 1.5 could identify where the hack would go in the new versions, it would be much appreciated.

    The current instructions (1.2) read:

    To hack wp-blog-header.php, add these two lines after line 229: (Don't
    forget to replace X with your event category ID.)

    *** 427,432 ****
    --- 427,434 ----
    $now = gmdate('Y-m-d H:i:59');

    if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
    + $get_event_calendar_hack=True;
    + if ((empty($cat) || $cat != 'X') && (strlen($m)<8) && ($day=='') && (empty($p) || ($p == 'all'))) # !! Replace X !!
    if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {
    $where .= " AND post_date_gmt <= '$now'";

    With the hack in place, future posts are shown if you ask for their specific
    date (click on a calendar day) OR if you ask for the events category.

    Unfortunately, line 229 looks nothing like this in 1.5. Line 196 is closer:

    if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
    if ( get_settings('gzipcompression') )

    , but my experimentation has failed so far. Anyone have a solution for this problem?

    I’m the author of the EventCalendar2 plugin. I’ve just updated it so that it works with WP1.5. I’ve also added the ability to publish the ‘event’ category as an online calendar.

    Details on the codex or here:

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘eventCalendar2 plugin problem (sorta)’ is closed to new replies.