Re: [Beta] Kalender
Verfasst: 24.02.2016 21:06
Ok funzt. Danke
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Ich habe jetzt mal zusätzlich zum Hook up den HJW dazu gepackt da ich die Anzeige oben drüber gut finde.gn#36 hat geschrieben:Ich habe eine Mini-Erweiterung geschrieben, die die Hookup Erweiterung mit HJWs Kalender kombiniert. Wenn ein Datum im Hookup festgesetzt wird, dann wird dieser Termin in den Kalender eingetragen, mitsamt dem Status und den Kommentaren aller Teilnehmer.
Download: https://github.com/gn36/phpbb-ext-hjw-b ... master.zip
Bugs bitte eintragen: https://github.com/gn36/phpbb-ext-hjw-bridge/issues
Hookup Erweiterung: viewtopic.php?f=149&t=234636
Bitte ausführlich testen, falls ihr daran Interesse habt.
Warning: file_exists(): open_basedir restriction in effect. File(./../theme/calendar.css) is not within the allowed path(s): (//customers/4/a/5/duwirstvermisst.de//httpd.www://customers/4/a/5/duwirstvermisst.de//httpd.private://customers/4/a/5/duwirstvermisst.de//tmp:/customers/duwirstvermisst.de/duwirstvermisst.de:/var/www/diagnostics:/usr/share/php) in /customers/4/a/5/duwirstvermisst.de/httpd.www/cache/twig/c/a/ca9c428a40329432b2a0964bdbcc876d8d8bdbb57afb13e6c96c0d0869da8225.php on line 23 Warning: file_exists(): open_basedir restriction in effect. File(./../theme/quick_language.css) is not within the allowed path(s): (//customers/4/a/5/duwirstvermisst.de//httpd.www://customers/4/a/5/duwirstvermisst.de//httpd.private://customers/4/a/5/duwirstvermisst.de//tmp:/customers/duwirstvermisst.de/duwirstvermisst.de:/var/www/diagnostics:/usr/share/php) in /customers/4/a/5/duwirstvermisst.de/httpd.www/cache/twig/7/5/752b4f40a9ca2449735d6259f82e6a47150e05965db702a5c1835d2af199b74b.php on line 23
config/services.yml
Code: Alles auswählen
- @template
- @config
tags:
Code: Alles auswählen
- @template
- @config
- @dispatcher
tags:
event/main_listener.php
:Code: Alles auswählen
/* @var \phpbb\config\config */
protected $config;
Code: Alles auswählen
/* @var \phpbb\event\dispatcher_interface */
protected $phpbb_dispatcher;
Code: Alles auswählen
public function __construct( \phpbb\controller\helper $helper, \phpbb\auth\auth $auth, \phpbb\template\template $template,
\phpbb\config\config $config)
{
$this->helper = $helper;
$this->template = $template;
$this->auth = $auth;
}
Code: Alles auswählen
public function __construct( \phpbb\controller\helper $helper, \phpbb\auth\auth $auth, \phpbb\template\template $template,
\phpbb\config\config $config, \phpbb\event\dispatcher_interface $phpbb_dispatcher)
{
$this->helper = $helper;
$this->template = $template;
$this->auth = $auth;
$this->phpbb_dispatcher = $phpbb_dispatcher;
}
Code: Alles auswählen
$sql_ary = array(
'POST_ID' => $request->variable('participants_id', '', true),
'USER_ID' => $user_id,
'NUMBER' => (int)($request->variable('group', '', true)),
'PARTICIPANTS' => utf8_normalize_nfc($request->variable('part', '', true)),
'COMMENTS' => utf8_normalize_nfc($request->variable('comments', '', true)),
'DATE' => date("Y-n-j-H-i"),
);
Code: Alles auswählen
/**
* Perform additional actions when new participants are added or modify the data
*
* @event hjw.calendar.viewtopic.modify_participants_list
* @var array sql_ary SQL data to be entered into participants table
* @since 0.7.6
*/
$vars = array(
'sql_ary',
'user_id',
);
extract($this->phpbb_dispatcher->trigger_event('hjw.calendar.viewtopic.modify_participants_list', compact($vars)));
@since 0.7.6
).Herzlichen Dank, jetzt funktioniert es richtig.HJW hat geschrieben:Ich habe den Fehler inzwischen gefunden und beseitigt.
Neue Version 0.7.5
Fehler bei der Anzeige der Geburtstage in den nächsten Terminen beseitigt.
Warning: file_exists(): open_basedir restriction in effect. File(./../theme/calendar.css) is not within the allowed path(s): (//customers/4/a/5/duwirstvermisst.de//httpd.www://customers/4/a/5/duwirstvermisst.d ... /share/php) in /customers/4/a/5/duwirstvermisst.de/httpd.www/cache/twig/c/a/ca9c428a40329432b2a0964bdbcc876d8d8bdbb57afb13e6c96c0d0869da8225.php on line 23 Warning: file_exists(): open_basedir restriction in effect. File(./../theme/quick_language.css) is not within the allowed path(s): (//customers/4/a/5/duwirstvermisst.de//httpd.www://customers/4/a/5/duwirstvermisst.d ... /share/php) in /customers/4/a/5/duwirstvermisst.de/httpd.www/cache/twig/7/5/752b4f40a9ca2449735d6259f82e6a47150e05965db702a5c1835d2af199b74b.php on line 23
Warning: file_exists(): open_basedir restriction in effect. File(./../theme/quick_language.css) is not within the allowed path(s): (//customers/4/a/5/duwirstvermisst.de//httpd.www://customers/4/a/5/duwirstvermisst.de//httpd.private://customers/4/a/5/duwirstvermisst.de//tmp:/customers/duwirstvermisst.de/duwirstvermisst.de:/var/www/diagnostics:/usr/share/php) in /customers/4/a/5/duwirstvermisst.de/httpd.www/cache/twig/7/5/752b4f40a9ca2449735d6259f82e6a47150e05965db702a5c1835d2af199b74b.php on line 23