'1', 'forum_enabled_userfields' => '0', 'forum_show_reputation' => '1' ]; $settings = get_settings('forum'); foreach ($check_array as $key => $value) { if (!isset($settings[$key])) { $inf_insertdbrow[] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('$key', '$value', 'forum')"; } }