[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.
Sycend
Mitglied
Beiträge: 4
Registriert: 10.10.2017 16:28

Re: [BETA][3.1][3.2] Kalender

Beitrag von Sycend »

Hallo HJW,

großes Lob für deinen guten Support.

Wie müsste ich Vorgehen wenn ich weitere Auswahlmöglichkeiten als Ja/Nein/Evtl, zur Teilnahme an Events hinzufügen möchte?

Schöne Grüße
Sycend
HJW
Mitglied
Beiträge: 1291
Registriert: 20.04.2007 20:48
Wohnort: 45481 Mülheim an der Ruhr
Kontaktdaten:

Re: [BETA][3.1][3.2] Kalender

Beitrag von HJW »

Sycend hat geschrieben:Wie müsste ich Vorgehen wenn ich weitere Auswahlmöglichkeiten als Ja/Nein/Evtl, zur Teilnahme an Events hinzufügen möchte?
Ich hatte eigentlich gedacht, dass mit ja, nein und vielleicht alles abgedeckt ist. Zumal man ja noch Erläuterungen dazu geben kann. Aber wenn es denn sein muß:
In der ext\hjw\calendar\styles\prosilver\template\event\viewtopic_body_postrow_post_content_footer.html

Code: Alles auswählen

<select name="part" size="1" class="<!-- IF postrow.S_ROW_COUNT is odd -->bg2<!-- ELSE -->bg1<!-- ENDIF -->" >
	<option value= "" selected="selected"> </option>
	<option value= "yes" > {L_CALENDAR_YES}</option>
	<option value= "no" > {L_CALENDAR_NO}</option>
	<option value= "mb" > {L_CALENDAR_MB}</option>
	<option value= "iwo" > {L_CALENDAR_IWO}</option>
</select>
in der ext\hjw\calendar\language\de\calendar.php

Code: Alles auswählen

	'CALENDAR_IWO'				=> 'So weit kommt\'s noch',
in der ext\hjw\calendar\event\main_listener.php Zeile 226 und Zeile 274 bzw nach dem ersten Einfügen Zeile 275

Code: Alles auswählen

	$number['yes']	= 0;
	$number['no']	= 0;
	$number['mb']	= 0;
	$number['iwo']]	= 0;
Gast0753

Re: [BETA][3.1][3.2] Kalender

Beitrag von Gast0753 »

Vielen Dank für die vielen Lösungsvorschläge ;--)))

Kurze Anmerkung: Der Abschnitt

Code: Alles auswählen

input {
    font-size: 1.2em;
    border: 3px solid #ecd5d8;
    border-radius: 5px;
}
existiert in der "calendar.css" zumindest bei mir nicht

Weitere Anmerkung bezüglich neuem Verzeichnis:
Die Datei "calendar.css" kann nicht kopiert werden - sagt zumindest mein PC ...

Betreff Zeile 6:
Habe momentan auch keinen Plan woran es liegen könnte - zumal ich eh Laie bin ;--)))

Werde mich am WE mal etwas eingehender mit dem Kalender beschäftigen und mich bei Bedarf ggf. nochmal melden ;--)))

mfG, Räuberpapa
Benutzeravatar
CommanderPS
Mitglied
Beiträge: 34
Registriert: 17.04.2015 20:40

Re: [BETA][3.1][3.2] Kalender

Beitrag von CommanderPS »

Hallo Hermann Joseph,

mit großer Freude habe ich zur Kenntnis genommen, dass du die Mail-Funktion für den Kalender nun doch noch realisiert hast.
An dieser Stelle nochmals vielen Dank für diese tolle Arbeit. Leider funktioniert bei mir die Benachrichtigung aber nicht.
Im ACP bekomme ich folgende Fehlermeldungen:

Bereich "Veranstaltungstypen":

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 457: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 457: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 457: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 457: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 457: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 457: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Bereich "Terminliste":

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 783: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 783: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 783: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 783: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 783: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 783: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 783: Undefined index: ACP_CALENDAR_0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Bereich "Feiertage":

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/hjw/calendar/acp/main_module.php on line 954: Undefined index: ACP_CALENDAR_1
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Ich verwende phpBB in der Version 3.2.1 und die entsprechende Version 0.9.0 des Kalenders.
Leider kenne ich mich mit PHP nicht aus. Es wäre also super, wenn du mir einen Tipp geben könntest, was das Problem verursachen könnte.

Gruß Gerhard
HJW
Mitglied
Beiträge: 1291
Registriert: 20.04.2007 20:48
Wohnort: 45481 Mülheim an der Ruhr
Kontaktdaten:

Re: [BETA][3.1][3.2] Kalender

Beitrag von HJW »

Hallo Gerhard,

mein Fehler: Bevor man etwas löscht, sollte man erst mal schauen, ob das irgend wo anders noch gebraucht wird. :oops:

Füge mal in die ext/hjw/language/de/info_acp_calendar.php folgende zwei Zeilen ein:

Code: Alles auswählen

	'ACP_CALENDAR_0'						=> 'Nein',
	'ACP_CALENDAR_1'						=> 'Ja',
das gleiche gilt für die anderen installierten Sprachen.
Fisch.666
Mitglied
Beiträge: 49
Registriert: 21.04.2005 23:34

Re: [Beta] Kalender

Beitrag von Fisch.666 »

Hi,

ich hatte jetzt mal Zeit und mir das hier angeschaut:
Fisch.666 hat geschrieben:was mir gerade aufgefallen ist (calendar 0.7.6):

Wenn "Kalender den Gästen anzeigen?" aktiviert ist und man als Gast auf http://example.com/forum/calendar/ browst wird nur eine leere, weiße Seite angezeigt. Sollte hier nicht ggf. eine Anzeige "Sie haben keine Berechtigungen" oder ähnliches angezeigt werden?
Ich weiß nicht ob das so 100% korrekt ist, aber ich konnte jetzt erreichen dass die Login-Maske in diesem Fall angezeigt wird wenn ich folgende Modifikation mache:

ext/hjw/calender/styles/prosilver/template/calendar_body.html

Suche:

Code: Alles auswählen

        <!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->
Ersetze:

Code: Alles auswählen

        <!-- INCLUDE overall_footer.html -->
<!-- ELSE -->
        <!-- INCLUDE login_body.html -->
<!-- ENDIF -->
Damit wird das die Login Maske von phpBB angezeigt und nach dem Login landet man zurück auf dem Kalender Index.

Getestet ist das mit Kalender 0.9.0 und phpBB 3.2.1
HJW
Mitglied
Beiträge: 1291
Registriert: 20.04.2007 20:48
Wohnort: 45481 Mülheim an der Ruhr
Kontaktdaten:

Re: [BETA][3.1][3.2] Kalender

Beitrag von HJW »

Fisch.666 hat geschrieben:

Code: Alles auswählen

<!-- INCLUDE overall_footer.html -->
<!-- ELSE -->
        <!-- INCLUDE login_body.html -->
<!-- ENDIF -->
Danke, ich habe das so übernommen.
Fisch.666
Mitglied
Beiträge: 49
Registriert: 21.04.2005 23:34

Re: [BETA][3.1][3.2] Kalender

Beitrag von Fisch.666 »

Hey, vielen Dank.

Noch eine Anmerkung zum ersten Post in diesem Thread:
HJW hat geschrieben:Demo:
http://calendar.zoo-am-ring.de/calendar
Öffne ich den Link erhalte ich ein:
No route found for "GET /calendar"
Da fehlt wohl ein Slash am Ende, denn folgender Link funktioniert:

http://calendar.zoo-am-ring.de/calendar/
HJW
Mitglied
Beiträge: 1291
Registriert: 20.04.2007 20:48
Wohnort: 45481 Mülheim an der Ruhr
Kontaktdaten:

Re: [BETA][3.1][3.2] Kalender

Beitrag von HJW »

Danke, habe den Link geändert.
CoolCheffe
Mitglied
Beiträge: 198
Registriert: 17.12.2015 18:50

Re: [BETA][3.1][3.2] Kalender

Beitrag von CoolCheffe »

Melmac hat geschrieben:Hi,

schau mal nach, in welchem Format die Sprachdateien der Extension auf dem Server gespeichert wurden: UTF-8 ohne BOM wäre korrekt.
Je nach verwendetem Editor (falls Du die Files in einem geöffnet haben solltest) oder FTP-Client, mit dem Du sie hochgeladen hast, kann sich ihre ursprüngliche Formatierung geändert haben, entweder automatisch beim Speichern oder beim Hochladen.
Ich möchte das nochmal aufgreifen. Ich habe meine Einstellungen in FZ und im Notepad ++ genau so eingestellt, waren auch noch nie anders, trotzdem stimmen die Umlaute nicht, und es werden 2 ? dafür angezeigt.

Kann man das auf irgendeine Art ändern ?

Gruß CC
Liebe Grüße CC
Antworten

Zurück zu „Extensions in Entwicklung“