Oh Mann, wirklich schade, daß meine umfangreichen Erläuterungen einfach weg waren, weil ich automatisch ausgeloggt wurde.
Die Rechtevergabe ist bei phpBB leider nicht zentral geregelt, sondern unübersichtlich aufgesplittet.
Der wesentlichste Bereich wäre wohl der hier:
ACP -->
BERECHTIGUNGEN
-->
BERECHTIGUNGS-ROLLEN
-->
Benutzer-Rollen
Da fehlen eindeutig die Rollen für Bots und Gäste, aber nun konkret zur Shoutbox, Beispiel
Volle Funktionalität
:
Diverses
:
Code: Alles auswählen
ACL_U_SHOUTBOX_BBCODE
ACL_U_SHOUTBOX_DELETE
ACL_U_SHOUTBOX_POST
ACL_U_SHOUTBOX_VIEW
Na gut, hier auch noch die deutschen Sprachdateien:
ajax_shoutbox.php
Code: Alles auswählen
<?php
/**
*
* Ajax Shoutbox extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 Paul Sohier <http://www.ajax-shoutbox.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge(
$lang, array(
"AJAX_SHOUTBOX" => "Shoutbox", // "Shoutbox",
"SHOUTBOX_MESSAGE" => "Nachricht hinzufügen", // "Add message",
"ONLY_AJAX" => "Schreiben in der Shoutbox wird leider nur unterstützt, wenn JavaScript aktiviert ist", // "Sorry, posting in the shoutbox is only supported when JavaScript is enabled",
"AJAX_SHOUTBOX_NO_PERMISSION" => 'Keine Berechtigung für die ausgewählte Aktion', // 'No permission for the selected action',
'AJAX_SHOUTBOX_MESSAGE_EMPTY' => 'leere Nachricht', // 'Message empty',
)
);
permissions_ajax_shoutbox.php
Code: Alles auswählen
<?php
/**
*
* Ajax Shoutbox extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 Paul Sohier <http://www.ajax-shoutbox.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge(
$lang, array(
'ACL_U_SHOUTBOX_VIEW' => 'Kann Ajax Shoutbox sehen', // 'Can view ajax shoutbox',
'ACL_U_SHOUTBOX_POST' => 'Kann Beiträge in Ajax Shoutbox schreiben', // 'Can post ajax shoutbox',
'ACL_U_SHOUTBOX_QUOTE' => 'Kann Ajax Shoutbox zitieren', // 'Can quote ajax shoutbox',
'ACL_U_SHOUTBOX_BBCODE' => 'Kann BBCode in Ajax Shoutbox benutzen', // 'Can use BBCode in ajax shoutbox',
'ACL_U_SHOUTBOX_DELETE' => 'Kann eigene Beiträge in der Ajax Shoutbox löschen', // 'Can delete own posts in ajax shoutbox',
'ACL_M_SHOUTBOX_DELETE' => 'Kann Beiträge in der Ajax Shoutbox löschen', //'Can delete posts in ajax shoutbox',
'ACL_M_SHOUTBOX_EDIT' => 'Kann Beiträge in Ajax ShoutBox editieren', // 'Can edit in ajax shoutbox',
)
);
Nach dem Hochladen die Shoutbox deaktivieren (Arbeitsdaten beibehalten, also NICHT löschen, wenn man die Shoutbox schon benutzt hatte) und wieder neu aktivieren, damit die Sprachdateien übernommen werden.
Übrigens habe ich gerade einen "interessanten" Fehler bemerkt. Wenn man in der Shoutbox auf "Absenden" klickt, ohne daß ein Text eingegeben wurde, kommt nicht etwa die erwartete Meldung "leere Nachricht", sondern ein Popup mit der Überschrift "AJAX-FEHLER" und dem Text "Internal Server Error". Danach ist der Absende-Button wech ...
Ach ja, und noch was: Trotz Rechten "Kann eigene Beiträge in der Ajax Shoutbox löschen" bzw. "Kann Beiträge in Ajax ShoutBox editieren" (Häh ? Dazu gibt es zwar den Text, taucht aber bei den Rechten - wie auch die Zitieroption - ja gar nicht auf ?) habe ich dazu keine Möglichkeiten gefunden und BBCode kann auch nur "händisch", also bei Kenntnis der Anweisungen (manuell) eingegeben werden. Völlig unausgereift !