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
I love the layout of this eventlist plugin.. fantastic work! Just one question: is there a zip download?
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
Sounds great – but love to see it as a widget …
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 !!! 🙂
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
My server is running PHP 4.x, and I get the same error that Carlos received.
*sniffs* Would like to use this too.
Have the same problem as Carlos and Jordan. php is ver. 4.3.1.0
I get the same error too…
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…
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)?
Oh, and even in the code, I can’t find the location of the form which I can add an iCal url. It’s not in the options… *shrug*
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.
Jenseeka:
It looks like RedAlt makes a download interface for everything at wp-plugins.org which provides ZIP file downloads.
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.
Shekira:
I think I fixed all the PHP 4 related errors and will be release v0.2 today. This version will also contain the ability to be used as a widget.
I got the same problem. I am running PHP 4.3.11.
I noticed that you download link is still to 0.1. Could you update the download like to 0.2. Or maybe have a download area for those on PHP 5 and others on PHP4.
http://jacob.steenhagen.us/upcoming-events-0.2.tar.gz
Ok I’ve installed the 0.2 version. It fixed the problem with the admin pages.
I am using the default theme. Now how do I get to appear in the sidebar?
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:
What if I don’t have a content/default/sidebar.php location?
My bad, I meant to say wp-content/themes/default/sidebar.php. Sorry about that. I’m going to correct the above comment so as to avoid confusion.
Really nice plugin thank you!
hi there, seems my trackbacks does not work. thanks a lot for this great plugin, appears on my “must-have” list 😉
best,
michael
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.
Great plugin, thanks Jake!
My server is running PHP 4.x, and I get the same error that Carlos received.
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?