Ich habe nach der schönen Vorlage von olympuswiki.naderman.de eigene Berechtigungen hinzugefügt. Nur leider kann ich diese nicht im ACP sehen.
Etwas genauer:
Ich habe in die Tabelle phpbb_acl_options die Berechtigungen eingetragen, wie z.B.:
Code: Alles auswählen
INSERT INTO phpbb_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('u_add_foo', 1, 0, 0);
INSERT INTO phpbb_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('u_edit_foo', 1, 0, 0);
(permissions_*.php)
Code: Alles auswählen
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
$lang['permission_cat']['foocat'] = 'Tab Text';
$lang = array_merge($lang, array(
'acl_u_add_foo' => array('lang' => 'add foo Text', 'cat' => 'foocat'),
'acl_u_edit_foo' => array('lang' => 'edit foo Text', 'cat' => 'foocat'),
));
Den cache habe ich natürlich (bereits schon mehrmals) geleert.
Fehlt noch was? Habe ich etwas übersehen?