Seite 104 von 164

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

Verfasst: 15.03.2020 17:22
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

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

Verfasst: 16.03.2020 10:40
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

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

Verfasst: 16.03.2020 20:56
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?

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

Verfasst: 17.03.2020 09:32
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'], '');
			}

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

Verfasst: 17.03.2020 10:17
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');
    			}

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

Verfasst: 17.03.2020 10:43
von Herve_be

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

Verfasst: 17.03.2020 15:27
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?

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

Verfasst: 17.03.2020 16:03
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

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

Verfasst: 17.03.2020 18:19
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.

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

Verfasst: 17.03.2020 22:09
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.