Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Integrated Event Calendar
This discussion has been closed.
Comments
I have different "categories" of events that get styled in different ways. It would be neat to have those categories set up as a calendar "key" in the sidebar (I probably could have done this, but took the easy route).
I have two links sometimes: one to the forum, and another to the site for more info, though I think the second could be contained in the forum post. What do you think of having an icon for the link to the forum post?
I've seen calendars that show an "edit" icon if you have admin/privileges to edit the event. While I think that can be useful I'd rather have a sidebar option to show/hide such things so you can be logged in and have a decent looking calendar. The idea is if you're logged and have privileges to edit the calendar you would have a css property to display:none. Someone with no privileges to edit the calendar would not be served a calendar output with any editing code hidden away.
If you're thinking of doing it that way of course. I'd rather see it in working form than delayed a year for feature requests.
*waits paitently for more updates*
working on a Gallery extension :S
Similarly this functionality could be used for parties, football practice, and anything really where groups of online users meet offline.
Just my thoughts though...
If you make your new pane essentially a different kind of discussion overview for a specific category/set of categories and set it up with its own theme files as a basis (analogue to discussions.php and discussion.php for the discussions view) then anyone can tailor it to their specific needs. For example, some may like simply a list of upcoming events, others a calendar-view. This way users can choose/change/adapt this simply by dropping in a different theme file. In your add-on you wouldn't have to worry about the exact HTML output so much, just which information you provide for the repeating elements (i.e. discussions with start and end date, author and category) and the order in which it is output (e.g. as list of event-articles, or as date matrix with discussions pulled-in where they match the date). This could be controlled by a settings switch between list and calendar view in the add-on.
The good thing about using vanilla's architecture, is you can then tap into everything else that already exists for it, e.g. a calendar rss-feed is just a normal category topic feed. Extra features can then be modularised as associated add-ons, e.g. things like join/unjoin as suggested by mark_b link users to discussions and are essentially just a duplicate of the built-in bookmarking system with an added "this thread is 'bookmarked' by (=has been joined by) ..." display in the thread.
As different people in the thread have suggested different and multiple uses, it might be worth considering whether the add-on can refer to one or more categories set up in vanilla (perhaps via a checkbox against the relevant categories in the add-on settings, event/party/meet/birthday). The styling for different kinds of events can then be controlled via css classes (class=category) much like the category colour-changer/category icon add-ons already do for normal discussions.
Just some thoughts ... I'd love to see this much more than the gallery ;-P
BTW: you could use microformats to cater for export to iCal and co.
BTW: you could use microformats to cater for export to iCal and co.
How?