From af511827e1d90a8d28ffee9ed30addf337ee3e0b Mon Sep 17 00:00:00 2001 From: Gudule Lapointe Date: Fri, 7 Jan 2022 15:42:22 -0400 Subject: [PATCH] correct config instructions for Search services (web and in-world) --- admin/admin-init.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/admin/admin-init.php b/admin/admin-init.php index 2fabbcc6..ba69f06f 100644 --- a/admin/admin-init.php +++ b/admin/admin-init.php @@ -310,9 +310,20 @@ function w4os_process_actions($args = array()) { 'name' => __('Avatar profile', 'w4os'), 'description' => __('The base URL for avatar web profiles.', 'w4os'), ), + 'SearchURL' => array( + 'name' => __('Search Service', 'w4os'), + 'description' => __('Search service used by the viewer. Search can be provided by the simulator core (limited), or by an external service for additional functionalities (like events). Requires OpenSimSearch.Modules.dll.', 'w4os'), + 'third_party_url' => (get_option('w4os_provide_search')) ? '' : 'https://github.com/GuduleLapointe/flexible_helper_scripts', + 'os_config' => [ + 'OpenSim.ini' => [ + '[Search]' => [ 'SearchURL = %1$s' ], + // '[GridInfoService]' => [ 'search = %1$s' ], + ], + ], + ), 'search' => array( - 'name' => __('Search', 'w4os'), - 'description' => __('Search service used by the viewer. Search can be enabled on the simulator itself, or handled by an external service for additional functionalities.', 'w4os'), + 'name' => __('Web Search', 'w4os'), + 'description' => __('Web tab of viewer search windows. Relevant if you have a search page providing content from the grid.', 'w4os'), 'third_party_url' => (get_option('w4os_provide_search')) ? '' : 'https://github.com/GuduleLapointe/flexible_helper_scripts', 'os_config' => [ 'Robust.HG.ini' => [