display_vars
option:Code: Select all
'type' => 'custom',
'function' => [$this, 'get_forum_select_template'],
Code: Select all
public function get_forum_select_template()
{
return '<select name="esffs_exclude_ids">' . make_forum_select(...) . '</select>';
}
phpbb_insert_config_array()
: https://github.com/phpbb/phpbb/blob/rel ... ns_acp.phpCode: Select all
$display_vars['vars'] = phpbb_insert_config_array($display_vars['vars'], $my_config, ['after' => 'board_index_text']);
array_splice()
juggling, but I wouldn't recommend it.core.acp_board_config_edit_add
$key
.
Code: Select all
return '<select name="config[esffs_exclude_ids]">' . make_forum_select(...) . '</select>';