[BETA][3.2][3.3] Kalender

In diesem Forum können Extension-Autoren ihre Extensions vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
menz01
Mitglied
Beiträge: 44
Registriert: 02.02.2018 03:07

Re: [BETA][3.2][3.3] Kalender

Beitrag von menz01 »

HJW hat geschrieben: 15.03.2020 16:29 No idea. Maybe check the time zone setting in the User Control Panel.
my timezones are correct. and not sure what that has to do with why guestbooks are not even working at all.... i know on a previous board i had an issue where the user would sign the guestbook and it would be 3 hours off but this is different. a user signs the guest book and it does not show up at all it remains blank
Herve_be
Mitglied
Beiträge: 44
Registriert: 24.07.2019 11:23

Re: [BETA][3.2][3.3] Kalender

Beitrag von Herve_be »

Hi,
I've upgraded phpBB to version 3.3.0 : the Calender works fine
except the Hide button does not react anymore
can you help ?
Thanks
menz01
Mitglied
Beiträge: 44
Registriert: 02.02.2018 03:07

Re: [BETA][3.2][3.3] Kalender

Beitrag von menz01 »

Herve_be hat geschrieben: 16.03.2020 10:40 Hi,
I've upgraded phpBB to version 3.3.0 : the Calender works fine
except the Hide button does not react anymore
can you help ?
Thanks
i believe your question was answerd here:

viewtopic.php?p=1401969#p1401969

i have 2 questions for you. you say the calendar is working on PHPBB 3.3, which mine is too. so...
1) are your users able to add themselves to the guestbook for events and can you see the participants that did?
2) do you know what PHP version for host server is using?
Herve_be
Mitglied
Beiträge: 44
Registriert: 24.07.2019 11:23

Re: [BETA][3.2][3.3] Kalender

Beitrag von Herve_be »

Hi,
menz01 hat geschrieben: 16.03.2020 20:561) are your users able to add themselves to the guestbook for events and can you see the participants that did?
I don't use the calender for guests registration, I use it to inform members about events.
menz01 hat geschrieben: 16.03.2020 20:562) do you know what PHP version for host server is using?
7.2

In viewtopic.php?p=1401969#p1401969 you say to replace

Code: Alles auswählen

$ dc = ($ cookie <> date ("j"))? 'on': 'off';
I don't fin that statement in hjw / calendar / event / main_listener.php
this is the code I find (I use Calender 0.9.5)

Code: Alles auswählen

			$url .= ($i) ?  '&' : '?';

			$dc = ($dc == '' && $cookie <> date("j")) ? 'on' : '';

			if ($dc == 'on')
			{
				$calendar	= true;
				$d_action	= append_sid($url . 'dc=off');
				setcookie($this->config['cookie_name'] . '_calendar_on_header', 0,  time()+60*60*24, '/', $this->config['cookie_domain'], '');
			}

			if ($cookie == date("j"))
			{
				$calendar	= false;
				$d_action	= append_sid($url . 'dc=on');
			}

			if ($dc == 'off')
			{
				$calendar	= false;
				$d_action	= append_sid($url . 'dc=on');
				setcookie($this->config['cookie_name'] . '_calendar_on_header', date("j"),  time()+60*60*24, '/', $this->config['cookie_domain'], '');
			}
Benutzeravatar
Galixte de EzCom
Mitglied
Beiträge: 3
Registriert: 20.08.2018 22:37
Kontaktdaten:

Re: [BETA][3.2][3.3] Kalender

Beitrag von Galixte de EzCom »

  1. OPEN: ./ext/hjw/calendar/event/main_listener.php
  2. FIND (line 339):

    Code: Alles auswählen

    			$dc = ($dc == '' && $cookie <> date("j")) ? 'on' : '';
  3. REPLACE WITH:

    Code: Alles auswählen

    			if ($dc =='')
    			{
    				$dc = ($cookie <> date ("j")) ? 'on' : 'off';
    			}
  4. FIND AND DELETE:

    Code: Alles auswählen

    			if ($cookie == date("j"))
    			{
    				$calendar	= false;
    				$d_action	= append_sid($url . 'dc=on');
    			}
stefan-franz
Mitglied
Beiträge: 417
Registriert: 24.02.2019 13:22

Re: [BETA][3.2][3.3] Kalender

Beitrag von stefan-franz »

Wenn 2 wiederkehrende Termine an einem Tag sind (in unserem Fall ein Online Event am Mittwoch um 19:30 und einer um 20:30) dann wird der 20:30 Termin erst angezeigt und dann erst der 19:30 Termin.

Kann man das irgendwie ändern, dass es richtig aufsteigend sortiert wird?
Lg Stefan Franz
menz01
Mitglied
Beiträge: 44
Registriert: 02.02.2018 03:07

Re: [BETA][3.2][3.3] Kalender

Beitrag von menz01 »

Galixte de EzCom hat geschrieben: 17.03.2020 10:17
  1. OPEN: ./ext/hjw/calendar/event/main_listener.php
  2. FIND (line 339):

    Code: Alles auswählen

    			$dc = ($dc == '' && $cookie <> date("j")) ? 'on' : '';
  3. REPLACE WITH:

    Code: Alles auswählen

    			if ($dc =='')
    			{
    				$dc = ($cookie <> date ("j")) ? 'on' : 'off';
    			}
  4. FIND AND DELETE:

    Code: Alles auswählen

    			if ($cookie == date("j"))
    			{
    				$calendar	= false;
    				$d_action	= append_sid($url . 'dc=on');
    			}
Well that code change did fix the ability to turn the events display on or off on the main page so thank you very much for explaining the changes that needed to be made and the line numbers with it.

that code change did NOT fix my issue where users cannot register in the guest book for posts with the guestbook on them. if a user goes to a post and attempts to register a Yes, No or Maybe and then clicks "enter" the screen refreshes but the guest book still says "Until now no registrations" and does not display that the user just tried to register
HJW
Mitglied
Beiträge: 1291
Registriert: 20.04.2007 20:48
Wohnort: 45481 Mülheim an der Ruhr
Kontaktdaten:

Re: [BETA][3.2][3.3] Kalender

Beitrag von HJW »

stefan-franz hat geschrieben: 17.03.2020 15:27 Wenn 2 wiederkehrende Termine an einem Tag sind (in unserem Fall ein Online Event am Mittwoch um 19:30 und einer um 20:30) dann wird der 20:30 Termin erst angezeigt und dann erst der 19:30 Termin.

Kann man das irgendwie ändern, dass es richtig aufsteigend sortiert wird?
Wird in der nächsten Version möglich sein. Dauert nicht mehr lang.
HJW
Mitglied
Beiträge: 1291
Registriert: 20.04.2007 20:48
Wohnort: 45481 Mülheim an der Ruhr
Kontaktdaten:

Re: [BETA][3.2][3.3] Kalender

Beitrag von HJW »

1.0.1
Termine können mit Uhrzeit eingegeben werden. Muss im ACP eingeschaltet werden.
Es gibt einige neue Einstellmöglichkeiten im ACP.
Z.B. lassen sich jetzt Wochenvorschau und/oder Nächste Termine für kleinere Bildschirme ausschalten, unabhängig von der Einstellung für den PC.

Wie immer: Vor dem Update Datenbank sichern.
Antworten

Zurück zu „Extensions in Entwicklung“