[BETA][3.2][3.3] Kalender
Re: [BETA][3.2][3.3] Kalender
Hello. I hope it's ok to post in English?
Thank you for this calendar extension, it is a great addition to any forum.
I have the same problem as mentioned by @youngrichkid and @gopher earlier this year. My timezone is set to UTC+1. The entries in the Weekly Overview (and in the main calendar) are correct , but the date in the Upcoming Dates is showing the day before...
[ externes Bild ]
I see in the main.php file that the code is trying to use the user_timezone or the board_timezone but not sure why it's not using them...?
[ externes Bild ]
Also, would it be possible to have the option to set recurring events in the ACP (Date List)?
Many thanks in advance.
Thank you for this calendar extension, it is a great addition to any forum.
I have the same problem as mentioned by @youngrichkid and @gopher earlier this year. My timezone is set to UTC+1. The entries in the Weekly Overview (and in the main calendar) are correct , but the date in the Upcoming Dates is showing the day before...
[ externes Bild ]
I see in the main.php file that the code is trying to use the user_timezone or the board_timezone but not sure why it's not using them...?
[ externes Bild ]
Also, would it be possible to have the option to set recurring events in the ACP (Date List)?
Many thanks in advance.
-
HJW
- Mitglied
- Beiträge: 1313
- Registriert: 20.04.2007 20:48
- Wohnort: 45481 Mülheim an der Ruhr
- Kontaktdaten:
Re: [BETA][3.2][3.3] Kalender
I don't know why that is. If it's always this one day, you could do the following:
main_listener line 1709
replace
with
main_listener line 1713
replace
with
main_listener line 1709
replace
Code: Alles auswählen
$date = $this->user->format_date(strtotime(trim($event_date, ' :')));Code: Alles auswählen
$date = $this->user->format_date(strtotime(trim($event_date, ' :')) + 86400);replace
Code: Alles auswählen
$date = date($this->config['default_dateformat'],strtotime(trim($event_date, ' :')));Code: Alles auswählen
$date = date($this->config['default_dateformat'],strtotime(trim($event_date, ' :')) + 86400);Re: [BETA][3.2][3.3] Kalender
Thank you, for your fast response.
After further testing and using “Calendar input with time”, I have realised there is a difference of 1 hour in the “Upcoming Dates” and also in the event box that is added to the post. In the Weekly Overview and main calendar they are correct.
The guest user, anonymous user and UCP are all set to UTC+1 & Europe/London.
The server timezone is the only one I haven’t checked yet. I will check the timezone setting at the host (IONOS) but not sure if I can change that?
I will also try your suggested changes and report back here.
Many thanks again. I have just spent the last couple of hours reading through this whole thread. Your dedication and support is truly amazing.
Please refrain from using the full quote button or quoting the whole previous post in the future, that clutters your post and reduces readability, I deleted the full quote.
Mike-on-Tour
After further testing and using “Calendar input with time”, I have realised there is a difference of 1 hour in the “Upcoming Dates” and also in the event box that is added to the post. In the Weekly Overview and main calendar they are correct.
The guest user, anonymous user and UCP are all set to UTC+1 & Europe/London.
The server timezone is the only one I haven’t checked yet. I will check the timezone setting at the host (IONOS) but not sure if I can change that?
I will also try your suggested changes and report back here.
Many thanks again. I have just spent the last couple of hours reading through this whole thread. Your dedication and support is truly amazing.
Please refrain from using the full quote button or quoting the whole previous post in the future, that clutters your post and reduces readability, I deleted the full quote.
Mike-on-Tour
Re: [BETA][3.2][3.3] Kalender
I've confirmed with IONOS that the server timezone is different, currently set to CEST which is UTC+2 so this must be the cause of the 1 hour difference I'm seeing. Unfortunately as we are on shared hosting they can't/won't change the timezone so I'm looking in to moving to a dedicated server.
In the meantime, are you able to tell me which file(s) contains the code for the box that is added to a post when an event is added (see screenshot)?
[ externes Bild ]
If I can remove this for now and disable Upcoming Dates it will be a good temporary workaround.
Many thanks.
In the meantime, are you able to tell me which file(s) contains the code for the box that is added to a post when an event is added (see screenshot)?
[ externes Bild ]
If I can remove this for now and disable Upcoming Dates it will be a good temporary workaround.
Many thanks.
-
HJW
- Mitglied
- Beiträge: 1313
- Registriert: 20.04.2007 20:48
- Wohnort: 45481 Mülheim an der Ruhr
- Kontaktdaten:
Re: [BETA][3.2][3.3] Kalender
The file:
ext\hjw\calendar\styles\prosilver\template\event\viewtopic_body_postrow_post_content_footer.html
the box:
If you only want to change the time by one hour, replace 86400 with 60*60 or 3600.
.
ext\hjw\calendar\styles\prosilver\template\event\viewtopic_body_postrow_post_content_footer.html
the box:
Code: Alles auswählen
{% if postrow.CALENDAR_ENTRY.LINK %}
<a href="{{ postrow.CALENDAR_ENTRY.LINK }}">
<div class="participants">
<div class="cal-day">
{{ lang('CALENDAR_ENTRY') }}
</div>
{{ postrow.CALENDAR_ENTRY.EVENT }}<br>
<span class="eventbg" style="
{% if postrow.CALENDAR_ENTRY.COLOR %}color:#{{ postrow.CALENDAR_ENTRY.COLOR }};{% endif %}
{% if postrow.CALENDAR_ENTRY.BCOLOR %}background-color:#{{ postrow.CALENDAR_ENTRY.BCOLOR }};{% endif %}
{% if postrow.CALENDAR_ENTRY.BIG %}font-weight:bold;{% endif %}
">
{{ postrow.CALENDAR_ENTRY.NAME }}
</span><br>
{% if postrow.CALENDAR_ENTRY.DATE %}{{ postrow.CALENDAR_ENTRY.DATE }}<br>{% endif %}
{% if postrow.CALENDAR_ENTRY.TEXT %}{{ postrow.CALENDAR_ENTRY.TEXT }}{% endif %}
</div>
</a>
{% endif %}
.
Re: [BETA][3.2][3.3] Kalender
That’s great, thank you.
Re: [BETA][3.2][3.3] Kalender
Hallo,
ich habe hier einen Fehler im Kalender festgestellt.
Ich habe einen Termin im November mit Startzeit 18:00 Uhr und Endzeit 00:00 Uhr eingegeben.
Angezeigt wird aber als Startzeit dann 19:00 Uhr.
Editiere ich den Kalendereintrag, dann steht da als Startzeit die richtige 18:00 Uhr drin.
Hat der Kalender da Probleme mit Sommerzeit und Winterzeit?
Aktuell haben wir ja noch Sommerzeit, zum Termin ist aber Winterzeit.
ich habe hier einen Fehler im Kalender festgestellt.
Ich habe einen Termin im November mit Startzeit 18:00 Uhr und Endzeit 00:00 Uhr eingegeben.
Angezeigt wird aber als Startzeit dann 19:00 Uhr.
Editiere ich den Kalendereintrag, dann steht da als Startzeit die richtige 18:00 Uhr drin.
Hat der Kalender da Probleme mit Sommerzeit und Winterzeit?
Aktuell haben wir ja noch Sommerzeit, zum Termin ist aber Winterzeit.
-
HJW
- Mitglied
- Beiträge: 1313
- Registriert: 20.04.2007 20:48
- Wohnort: 45481 Mülheim an der Ruhr
- Kontaktdaten:
Re: [BETA][3.2][3.3] Kalender
Wo wird der Fehler angezeigt? Bei mir ist das im Kalender und in der Wochenübersicht o.k.
Allerdings ist der Fehler bei den nächsten Terminen.
Allerdings ist der Fehler bei den nächsten Terminen.
Re: [BETA][3.2][3.3] Kalender
Ja, im Kalender ist die Uhrzeit richtig, in den nächsten Terminen dagegen falsch.
Und auch im Kalendereintrag im zugehörigen Beitrag ist die Uhrzeit falsch.
Und auch im Kalendereintrag im zugehörigen Beitrag ist die Uhrzeit falsch.
-
HJW
- Mitglied
- Beiträge: 1313
- Registriert: 20.04.2007 20:48
- Wohnort: 45481 Mülheim an der Ruhr
- Kontaktdaten:
Re: [BETA][3.2][3.3] Kalender
Ersetze mal die main_listener.php Datei mit dieser hier:
https://calendar.killifisch.info/extens ... stener.zip
https://calendar.killifisch.info/extens ... stener.zip