Aiwa Posted October 4, 2012 Share Posted October 4, 2012 To better integrate 3rd Party add-ons with the calendar, it would be extremly helpful to have an API similar to IP.Board's 'classPost' to facilitate calendar event creation and modification. Currently, the only method I see to add an event to the calendar is to manually add the event to the events table and call for a calendar cache rebuild. The problem with doing that, is your app isn't 'upgrade proof' for the calendar and will continue to depend on no changes to the calendar DB fields. If an API was present, internal functions could handle any DB changes that may be required in future upgrades and help keep 3rd party add-ons from going FUBAR with a calendar update... I'm currently writing my own API for it... If you want it when I'm done, I will gladly hand it over... Link to comment Share on other sites More sharing options...
Aiwa Posted October 6, 2012 Author Share Posted October 6, 2012 Would anyone be interested in this? Would IPS Staff be interested in including this in a subsequent Calendar release? It's a new class file which is essentially the /calendar/modules_public/calendar/post.php ripped apart and reassembled in a similar fashion to classPost... Link to comment Share on other sites More sharing options...
Alfa1 Posted October 6, 2012 Share Posted October 6, 2012 Yes, a calendar API would certainly be of use and would allow me to have various advanced functionality created that I need for the calendar. Link to comment Share on other sites More sharing options...
Aiwa Posted October 7, 2012 Author Share Posted October 7, 2012 It's still a little rough, but it works... Facilitates event creation and editing events... I still have quite a bit of commenting and a little bit more logic to throw in there, but the meat of it works... Link to comment Share on other sites More sharing options...
erosion Posted October 10, 2012 Share Posted October 10, 2012 I would definitely be interested in any added functionality for the calendar. Link to comment Share on other sites More sharing options...
Matt Rutherford Posted October 10, 2012 Share Posted October 10, 2012 I'd be interested in anything that allows me to bulk upload calendar events, I have excel sheets with multiple events I'd like to upload. Link to comment Share on other sites More sharing options...
Aiwa Posted October 10, 2012 Author Share Posted October 10, 2012 :) It would allow you to do that... It's 'done' in the sense that it works, but it's not quite finished... It still needs some love in terms of silent error handling... Right now, when it throws an error, it stops script execution... (Thanks MT for pointing that out..) Link to comment Share on other sites More sharing options...
KPDub Posted March 20, 2013 Share Posted March 20, 2013 Did anything happen on this? Link to comment Share on other sites More sharing options...
Aiwa Posted March 26, 2013 Author Share Posted March 26, 2013 It's done and works... It's not ready to be a full on API as it doesn't fail gracefully... Haven't had the time to throw in better error handling after MT pointed it out to me... I've passed the raw API over to IPS. Can't comment on whether or not they are going to include it or not but it would be a valuable addition... Once I'm able to throw in some proper error handling I may consider putting it on the MP until one comes with an official calendar release. Link to comment Share on other sites More sharing options...
Sonya* Posted May 3, 2013 Share Posted May 3, 2013 Aiwa, do you have any feedback, if it will be included? Link to comment Share on other sites More sharing options...
Aiwa Posted May 3, 2013 Author Share Posted May 3, 2013 No. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.