Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
Countdown Calendar
This discussion is related to the Countdown Calendar addon.

Countdown Calendar
0
This discussion has been closed.
Comments
It does however produce the following error when previewing a comment...
Warning: fopen(extensions/Calendar/cal.txt): failed to open stream: No such file or directory in /forum/extensions/Calendar/default.php on line 26
Line 26 is
$fp = fopen('extensions/Calendar/cal.txt', 'rb');
What is the 'rb' parameter???
Also the readme says... Surely the above is not correct?
Isn't this the line to adjust position?
$Panel->AddList('Gig Calendar', 200);
In any case, this add-on is a dud unless it's fixed. Not that I have any gigs to list but I do have a use for it.
Posted: Friday, 9 March 2007 at 2:26PM (AEDT)
Yes the file is there, correct capitalisation, permissions seem OK, especially if read-only is required.
Even with permission set to 777, still the same error.
Posted: Friday, 9 March 2007 at 6:23PM (AEDT)
which seemed to fix it.
Posted: Saturday, 10 March 2007 at 8:17AM (AEDT)
This is what I changed it to:
$fp = fopen($Configuration['APPLICATION_PATH'].'/extensions/Gigs/cal.txt', 'rb'); // Reads the text file
It's Labour Day weekend down under (Melbourne Victoria) so my wife has organised all of my free time!
We're going off to yum-cha right now.
Posted: Sunday, 11 March 2007 at 11:22AM (AEDT)
I think, judging from your URL, you have an older version?
The folder is not Gigs in my version, it's Calendar.
Anyway, this is another extension I've added to my don't bother with list.
Posted: Sunday, 11 March 2007 at 4:01PM (AEDT)
Posted: Monday, 12 March 2007 at 9:49AM (AEDT)
Posted: Sunday, 18 March 2007 at 7:46PM (AEDT)
if($Context->Session->User->Preference('CalendarEnabled') && isset($Head))
$curdate = ($curdate - 54000);
It must be getting the time from the server instead of the local computer's clock.
Posted: Monday, 19 March 2007 at 4:47PM (AEDT)
--------------------------------------------------------
REQUESTS - ESSENTIAL
--------------------------------------------------------
1) in the 'cal.txt' file, put some example text that makes it absolutely clear what the user is supposed to enter, and in what format. I suggest something like:
"Event Title", MM/DD/YY 24:00, "Venue, Location", "http://www.eventurl.com/"
2) yes, please DO change the name from 'Gig Calendar' to 'Countdown Calendar' - including the name in preferences, etc. It is a bit confusing, when we must search the add-on site for 'countdown calendar' but end up with a 'gig calendar' listed. Also, 'gig' is a very specific use for your countdown calendar. Keeping the name generic means it will suit a larger number of uses.
--------------------------------------------------------
REQUESTS - HIGHLY DESIRABLE
--------------------------------------------------------
3) Make an interface in Admin for adding events, rather than manually editing the cal.txt file.
4) Make the calendar able to accept dates in formats other than US only - ie., DD/MM/YY, DD/MM/YYYY, YYYY-MM-DD, etc.
5) Make the calendar multi-lingual (ie., make it compatible with the LanguageSelector add-on by Max_B). Right now, all your interface text seems to be hard-coded into the script.
Once again, many many thanks, and keep up the good work!
Make this setting actually work so its position in the panel can be adjusted:
$Panel->AddList('Gig Calendar', 200);
Currently this is redundant code, removing it has no effect at all.
Posted: Tuesday, 20 March 2007 at 12:26PM (AEDT)