Seite 114 von 159

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

Verfasst: 30.04.2020 21:47
von menz01
S.A.Green hat geschrieben: 30.04.2020 18:06 Hi, I think I came across an error that makes it impossible to update the list of participants. Respectively, I originally had the time zone set in the administration panel to UTC + 2 hours and the city of Prague. I had the same in setting up my personal profile. However, when I returned the time zone to the default UTC in administratuion panel the time zone change only in the settings of my profile, then the list of participants works correctly. You can look at it too, I don't mean it will work for everyone. But even so, it will not be a fix, rather it is just a temporary repair patch and the developer should look at the time zone and check what the problem is or why the "hjw calendar mod" is arguing with this time zone or this settings. Best regards, Scott
[ externes Bild ] [ externes Bild ]
I wanted to look this over but when i look at the "Guest Time Zone" settings i dont have a "UTC" all by itself like in your first pic

***edit** nevermind. i found it

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

Verfasst: 09.05.2020 11:14
von wehnerdd
Hallo, ich bin neu hier. Und stelle grade ein Forum auf die Beine, jetzt suche ich eine art Kalender mit an/abmeldungen zu den Terminen. Deshalb habe ich mir den Kalebder runtergeladen, aber ich bekomme es nicht hin, habe die Kalender ZIP entpackt und ins ext. Verzeichniss hochgeladen, aber unter Erweiterung verwalten wird bei mir im Adminbereich der Kalender nicht angezeigt. Meine PHPBB versin ist 3.3.0 Kann mir da jemand hilfestellung geben?

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

Verfasst: 09.05.2020 12:18
von stefan-franz
Du musst erst im Reiter "Anpassen" im Admin Bereich den Kalender aktivieren.

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

Verfasst: 24.06.2020 22:11
von Mithrandir1978
HJW hat geschrieben: 13.04.2020 19:27 Hallo,

kannst du oder könnt ihr mal diesen main-listener ausprobieren?

http://calendar.zoo-am-ring.de/extensio ... 4.2020.zip

\ext\hjw\calendar\event\main_listener.php
Funktioniert auch bei mir, allerdings ist die Schrift noch etwas zu groß geraten im Vergleich mit dem Rest. Hast ja noch den Zugang zu meiner Seite.

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

Verfasst: 29.06.2020 14:54
von Mike-on-Tour
Ich habe die ver 1.0.3 heruntergeladen und auf meinem Testboard (phpbb 3.3.0 und php 7.4.7) installiert, dabei bekam ich folgende Warnhinweise:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 96: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/controller/main.php on line 267: Trying to access array offset on value of type bool
1[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/event/main_listener.php on line 403: Trying to access array offset on value of type bool
Wenn ich mir das im Code ansehe, finde ich folgende Zeilen:
main.php, Zeile 96:

Code: Alles auswählen

$football = ($row['ext_active'] == 1) ? $this->get_config('football') : false;
main.php, Zeile 267:

Code: Alles auswählen

return $row['config_value'];
und main_listener.php, Zeile 403

Code: Alles auswählen

$football = ($row['ext_active'] == 1) ? $football = $this->get_config('football') : 0;
In main.php, Zeile 96 und in main_listener.php, Zeile 403 wird versucht ein leeres Ergebnis (die Extension 'football/football' ist bei mir nicht installiert) abzufragen ($row['ext_active'] ist in php 7.4 leer) und somit läuft die Abfrage ins Leere bzw. verursacht eine Warnung.
Abhilfe schafft:

Code: Alles auswählen

$football = (!empty($row) && ($row['ext_active'] == 1)) ? $this->get_config('football') : false;
Die in der main.php in Zeile 267 verursachte Warnung ist wohl auf die main.php, Zeile 199 zurückzuführen, dort wird versucht, eine Variable mit dem Namen 'hjw_calendar_week_display' auszulesen, die es aber in der fraglichen Tabelle nicht gibt:

Code: Alles auswählen

$week =($this->get_config('hjw_calendar_week_display') == true) ? $week = date ("W", mktime (0, 0, 0, $month, $day, $year)) : false;
Ändert man diese Zeile ab in:

Code: Alles auswählen

$week =($this->get_config('week_display') == true) ? $week = date ("W", mktime (0, 0, 0, $month, $day, $year)) : false;
funktioniert alles ohne Hinweise

Und noch etwas ist mir aufgefallen:
In der main.php verwendest du in den Zeilen 98 - 109 die Variable $this->user->lang, die ist nach meiner Erinnerung deprecated und ab der nächsten Version von phpbb nicht mehr lauffähig, finde jetzt aber auf die Schnelle die Quelle nicht, vielleicht können unsere phpbb-Gurus etwas dazu sagen.

Ich möchte hier nochmal ausdrücklich betonen, dass ich deine Extension sehr gut finde und meine User sie schätzen gelernt haben, weil sie so ihre Events einfach verwalten können, zudem hat man so jederzeit einen guten Überblick, was im Forum mit Events und Geburtstagen ansteht.
Und ich weiß auch, wieviel Arbeit in einer Extension steckt und wie leicht man Code einbaut, der fehlerfrei zu funktionieren scheint, aber irgendwann aus einer unerwarteten Richtung auf einen einschlägt.

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

Verfasst: 29.06.2020 15:58
von HJW
Hallo,

danke für die Hinweise. Dann muss ich wohl mal mein Xampp auf den neuesten Stand bringen. Unter 7.2 wurden diese Meldungen nicht angezeigt.

$this->user soll demnächst $this->language heißen. Allerdings ist das bei phpbb3 bisher auch nur sehr sparsam umgesetzt worden. Aber kann man ja mal angehen.

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

Verfasst: 29.06.2020 16:05
von Mike-on-Tour
$this->user->lang ist schon unter $this->language erreichbar, ersteres funktioniert wohl aktuell nur noch als eine Art Rückwärtskompatibilität. Ich habe es jetzt überall rausgeworfen.

Ich habe übrigens noch eine Stelle gefunden:
main_module.php, Zeile 46:

Code: Alles auswählen

if (!empty($row) && ($row['ext_active'] == 1))
statt

Code: Alles auswählen

if ($row['ext_active'] == 1)
Und ich habe das auch nur gesehen, weil ich mein Testforum und das scharfe Forum auf 7.4 umgestellt habe und das Testforum alles Warnungen und Fehler anzeigt. Im produktiven Forum ist das auch nicht zu sehen.

ICS-Version ist jetzt eine eigene Erweiterung

Verfasst: 18.07.2020 20:00
von msta
Echt, $this->user->lang is deprecated? Mist, wieder ein Haufen Arbeit^^ :x

So, aber meine ICS-Fähige Version ist jetzt als Fork als Version 1.0 verfügbar: https://mitjastachowiak.de/?/components ... index.html
Das ist jetzt eine komplett eigene Erweiterung und man kann nur durch manuelle Datenbankänderungen migrieren. Wer das machen möchte, bitte bei mir melden. Beide Erweiterungen parallel zu installieren geht nicht, weil einige Tabellen noch gleich heißen.

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

Verfasst: 18.07.2020 23:24
von Crizzo
Das geht schnell, du musst nur als services '@language' einbinden und dann kannst du

Code: Alles auswählen

$this->language
verwenden.

Siehe https://area51.phpbb.com/docs/dev/3.2.x ... _rhea.html

Grüße

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

Verfasst: 03.08.2020 01:00
von Vardaaran
Hallo,

ich nutze diese Erweiterung jetzt schon eine ganze Weile und möchte den Entwicklern ein großes Lob und ein dickes Dankeschön aussprechen!
Was ich mir aber noch wünschen würde: Die Anmeldungen sollte nicht nur nach Datum, sondern zunächst nach Anmeldungstyp (Ja, Vielleicht, Nein) sortiert werden.
Ist es möglich, die Einträge nach dieser Regel zu sortieren?

Vielen Dank im Vorfeld und viele Grüße!