Upcoming Events v0.1

NOTICE: This is the URL specifically for version 0.1 of this plugin. For all posts related to this plugin, please see the upcoming-events category.

Some of you may have noticed a new section in my sidebar labeled “Upcoming Events” for the past week or so. Up until today, it said it was “Powered by a yet-to-be-released plugin.” Well, today is the day I release it! I set up an account at wp-plugins.org and got everything but the ability to edit the wiki. My intention was to have that page be the “Plugin URI,” but I decided to go ahead and release it now. Once I get the ability to edit the wiki, I’ll be making that the plugin’s main site.

So what does this plugin do? Pretty much what you see in my sidebar. I have a feed from my Google Calendar, a feed for Bugzilla Development, a feed for my Army Drills, and a feed for the Detroit Lions schedule. It takes all of those iCal feeds and comes up with what the next, in my case, 7 events are. This is configurable in that you can choose how many events, days, or weeks to display.

So how do you get your hands on it? Easy, simply download it. Once you’ve done that, extract the archive into your Word Press plugins directory (by default, wp-content/plugins) and activate it using the normal Plugin Activation screen inside the Word Press administrative interface.

Any bugs should be filed using my bugzilla install.

UPDATE 28-Nov-2006: My bugzilla install is now the place to file bugs instead of trac at wp-plugins.org.

UPDATE 29-Nov-2006: New version (0.2) released.

UPDATE 6-Dev-2006: Added notice about the upcoming-events category. Also, version 0.3 is out now

28 Replies to “Upcoming Events v0.1”

  1. Jake,

    Very nice plugin!! I have been looking for a feature to this sort of thing, but how could you get the upcoming events to become “linked” in case you wanted to view more information on the event?

    I think this would be very nice if you could incorporate the additional event info into a custom “events” page because the calendar in itself may not be as appealing as with the current WordPress theme.

    I will try it out .. thanks for your contributions!!

    Brad

  2. When I install your plugin I recivied an error:

    Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/l/i/n/linea3/html/wordpress/wp-content/plugins/upcoming-events/ical.class.php on line 21

    Can you help me?
    Thanks !!! 🙂

  3. Jenseeka:
    Currently I don’t have a .zip download for this plugin. I suppose I can make one in the near future.

    Brad:
    Thank-you. Currently, the closest thing on my TODO list is a popup when you mouse over the event that provides more information about the event. Think of it kinda like a title tag on steroids. In the future I could probably do a seperate page.

    emeff:
    I’ll have to look into what it takes to make that happen. I currently don’t use widgets on my site.

    Carlos:
    I’m not sure off the top of my head what the problem is. If I had to guess, I’d say it’s a PHP version issue. I have 5.1.4 installed on my machine and it’s possible that I used php 5 functions without thinking about it.

    Bug List

  4. I am running php 4.x also and have found the fix to your problems…. Most of it has to do with the declaration of private/public variables and functions. In PHP4, you can’t do that. So, just comment out any variables being declared public or private. Also, remove the “public” before the function parse_ics()

    That will fix it… However, I can’t find the form which allows me to add a new ics url. Hmm…

  5. BTW, Jake, I’d love to update a few more bugs I found in your code, but I’m not sure where your svn repository is located at. The wiki is still not working, and all I can find is the code in the browser at dev.wp-plugins.org. Where’s the source (if you want to share)?

  6. emeff:
    I just added widget capability which will be included in the 0.2 release.

    nate:
    The source code can be found at http://dev.wp-plugins.org/browser/upcoming-events which is the SVN repository I’m using. The list of current bug reports/feature requests is also currently located in trac at wp-plugins.org. I’m considering moving them to my own Bugzilla install as I find trac quite limiting, but for now I’ll continue working out of trac.
    It’s possible that I’m using more PHP 5 specific code other than just the public/private stuff in ical.class.php. That may be causing the “Upcoming Events” to not show up in the Options page. At some point I’ll have to make an install somewhere with PHP 4 to test this plugin.

  7. Hi Jake,

    I’m having the same parse error everyone has been getting, but I don’t think I’m savvy enough to do the fix that Nate suggested. Will you be rereleasing this any time soon and if so can I get an email notification? Thanks again for this – its a much needed plugin.

  8. I actually have a new post for version 0.2. If you’re using the default theme, there’s some sample code at the bottom of the admin page to insert into wp-content/themes/default/sidebar.php wherever you want the event list to appear. You’ll probably want the default code which is:

    <li>
      <h2>Upcoming Events</h2>
      <?php ue1_get_events(); ?>
    </li>
    
  9. Hi Jake,

    I’m having the same parse error everyone has been getting, but I don’t think I’m savvy enough to do the fix that Nate suggested. Will you be rereleasing this any time soon and if so can I get an email notification? Thanks again for this – its a much needed plugin.

  10. Very nice plugin!! I have been looking for a feature to this sort of thing, but how could you get the upcoming events to become “linked” in case you wanted to view more information on the event?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.