Title: eventCalendar2 plugin problem (sorta)
Last modified: August 18, 2016

---

# eventCalendar2 plugin problem (sorta)

 *  [seldomstatic](https://wordpress.org/support/users/seldomstatic/)
 * (@seldomstatic)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/)
 * I’m testing the eventCalendar2 plugin at the following site:
 * [http://www.socalhiphop.com/blog](http://www.socalhiphop.com/blog)
 * 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?
 * Thanx
 * -SeldomStatic

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [seldomstatic](https://wordpress.org/support/users/seldomstatic/)
 * (@seldomstatic)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-140788)
 * Anybody have any ideas?
 * I’m using the EventCalendar2 located at [http://wiki.wordpress.org/?pagename=EventCalendar2](http://wiki.wordpress.org/?pagename=EventCalendar2)
   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.
 * Thanx
 * -SS
 *  [Avian](https://wordpress.org/support/users/avian/)
 * (@avian)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-140810)
 * 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.
 *  [sybold](https://wordpress.org/support/users/sybold/)
 * (@sybold)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-141023)
 * 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 [http://wiki.wordpress.org/EventCalendar2](http://wiki.wordpress.org/EventCalendar2)
 *  [sybold](https://wordpress.org/support/users/sybold/)
 * (@sybold)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-141026)
 * 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
 *  [oce](https://wordpress.org/support/users/josepo/)
 * (@josepo)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-141031)
 * 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 🙂
 *  [elbuzzard](https://wordpress.org/support/users/elbuzzard/)
 * (@elbuzzard)
 * [21 years ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-141108)
 * 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'))
   gzip_compression(); }
 * , but my experimentation has failed so far. Anyone have a solution for this problem?
 *  [alex_tingle](https://wordpress.org/support/users/alex_tingle/)
 * (@alex_tingle)
 * [21 years ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-141118)
 * 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: [http://blog.firetree.net/2005/05/24/eventcalendar2/](http://blog.firetree.net/2005/05/24/eventcalendar2/)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘eventCalendar2 plugin problem (sorta)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 6 participants
 * Last reply from: [alex_tingle](https://wordpress.org/support/users/alex_tingle/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/eventcalendar2-plugin-problem-sorta/#post-141118)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
