So, well, shortly after my first official Plugin, here is already the next one 😀 .
In fact, I had begun this project long before wp-caldav2ics, when I found out that ICS Calendar was the Calendar Plugin which by far best suited my needs from the numerous Plugins in the WP Directory.
The key features are:
- Display multiple Calendars from several .ics Files simultaneously
- Offer great Flexibility in how to display things
- Support custom CSS Files
But, as it had not been updated in 9 years (from now), it would no more work with recent Versions of WordPress or PHP.
So I just fixed the most annoying things and used it for my own Calendar here.
But then, with PHP 7.x, things began to get even worse: now I had not only to deal with minor annoyances, but with Fatal Errors, which prevented the Plugin to work at all.
So I took again a closer look at the other Calendar Plugins out there, but honestly, not one of them came near to what I really wanted.
So I bit the bullet once again and took the time to figure out what went wrong, and why, also looking at Warnings and Notices in the WP Debug log, not just Errors.
And that is the state I have reached now: no more Fatal Errors, nor Warnings or Notices, just working – even with PHP 5.6 up tp 7.2 😉 .
And, as an addition, each Event now has its own Background Color specific to the .ics File where it belongs to, as well as a corresponding Legend below, so it is just obvious which Event belongs to which Calendar !
As a downside, I realized that keeping the Sidebar Widget Functionality would need much more work to be done, and as I didn’t need this for myself, I just disabeled it for the moment (maybe I’ll look into this some time later ?).
Now, the remaining question is: should I try to get this published in the WP Directory ?
If yes, this would of course be best accomplished by overtaking maintainership of the original Plugin, rather than creating a fork.
Additionally, this would also eliminate the need to re-submit the whole thing through the official WP Process, which can be somewhat tedious 😀 – but it can only be done by the current maintainer.
I’m currently trying to reach him and eventually get his ‚ok‘, but that does not seem to be too easy (the mentioned Website isn’t working anymore, no email Address provided..).
So, let’s see if I will have success with that…
In the meantime, anyone interested, can download my current version from here.