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.
Help needed with Countdown Calendar extension
This discussion has been closed.
Comments
You should just replace:
$Context->Dictionary['EnableCalendar'] = 'Enable the gig calendar?';
by:
$Context->SetDefinition('EnableCalendar', 'Enable the gig calendar?');
and:
$diff = $diff + 3600; // Ammendment made due to server being one hour out of synch
by
$Context->Configuration['GigCalendarSynch'] = 3600; ... $diff = $diff + ForceInt($Context->Configuration['GigCalendarSynch'], 0); // Ammendment made due to server being one hour out of synch
Again, sorry for being dumb.
For the other one, I don't know why you need to synch the time, I just supposed it depends of your server and it should be a setting you can easely change
I had to shift the time becuase of the server, it was an hour out, so if the event was in 8 hours time, it was showing up as being 7 hours ;o