As best I can tell on the ACP Group settings page, you can add extra fields on the screen at appropriate events, you can't actually use the same screen to save any of these new fields to the database. Events are there that look like they should work, such as
core.acp_manage_group_initialise_data
.But these settings are stored to the phpbb_groups table in
/includes/functions_user.php
in function group_create()
on line 2289. The settings are stored starting at line 2426:
Code: Select all
$sql = 'UPDATE ' . GROUPS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . "
WHERE group_id = $group_id";
$db->sql_query($sql);
$sql_ary
is given a defined array starting on line 2380:Code: Select all
$sql_ary = array(
'group_name' => (string) $name,
'group_desc' => (string) $desc,
'group_desc_uid' => '',
'group_desc_bitfield' => '',
'group_type' => (int) $type,
);
I assume if you want to do this you have to write your own interface somewhere else, such as in an ACP controller.