diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 535d1a6b..b821ef98 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -3497,12 +3497,13 @@ else # 150512-2225 - Fixed SQL for permissions # 150603-2000 - Modified for chat settings # 150608-1127 - Added manual dial filer and search options for ALT/ADDR3 numbers, Added manual dial override field campaign option +# 150609-1207 - Fixes for chat settings # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time -$admin_version = '2.12-487a'; -$build = '150608-1127'; +$admin_version = '2.12-488a'; +$build = '150609-1207'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -6002,6 +6003,7 @@ if ($ADD==1111) if ($SSallow_chats > 0) {$achHTML = "";} echo ""._QXZ("Get Call Launch").": $NWB#inbound_groups-get_call_launch$NWE\n"; +/* Don't give an option (yet). This is clearly for phones only. if ($SSallow_emails>0 || $SSallow_chats > 0) { echo ""._QXZ("Group Handling").": $NWB#inbound_groups-group_handling$NWE\n"; } else - {echo "\n";} + { +*/ + echo "\n"; +# } echo "\n"; echo "\n"; } @@ -6080,6 +6085,9 @@ if ($ADD==1811) if ($SSallow_chats > 0) {$achHTML = "";} echo ""._QXZ("Get Call Launch").": $NWB#inbound_groups-get_call_launch$NWE\n"; + + echo "\n"; + echo "\n"; echo "\n"; } @@ -6150,6 +6158,9 @@ if ($ADD==18111) if ($SSallow_chats > 0) {$achHTML = "";} echo ""._QXZ("Get Call Launch").": $NWB#inbound_groups-get_call_launch$NWE\n"; + + echo "\n"; + echo "\n"; echo "\n"; } @@ -24585,6 +24596,14 @@ if ($ADD==3811) echo ""._QXZ("Fronter Display").": $NWB#inbound_groups-fronter_display$NWE\n"; + echo ""._QXZ("Group Handling").": $NWB#inbound_groups-group_handling$NWE\n"; + /* Commenting this out because it is handled by the Email Account section and is redundant here echo "In-Group Call Handle Method: $NWB#inbound_dids-call_handle_method$NWE\n"; echo "In-Group Agent Search Method: $NWB#inbound_dids-agent_search_method$NWE\n"; @@ -25312,6 +25331,14 @@ if ($ADD==3911) echo ""._QXZ("Fronter Display").": $NWB#inbound_groups-fronter_display$NWE\n"; + echo ""._QXZ("Group Handling").": $NWB#inbound_groups-group_handling$NWE\n"; + /* Commenting this out because it is handled by the Email Account section and is redundant here echo "In-Group Call Handle Method: $NWB#inbound_dids-call_handle_method$NWE\n"; echo "In-Group Agent Search Method: $NWB#inbound_dids-agent_search_method$NWE\n"; @@ -25335,7 +25362,7 @@ if ($ADD==3911) echo ""._QXZ("Uniqueid Status Prefix").": $NWB#inbound_groups-uniqueid_status_prefix$NWE\n"; - echo ""._QXZ("Download customer chat files").": "._QXZ("Download").", "._QXZ("unzip, and place unzipped vdchat_customer folder in htdocs folder on web server, or a server or location of your choosing, location MUST be on a server with Vicidial installed specific to your system. Enter the URL of the final location in the Chat URL setting under the System Settings.")."\n"; + echo ""._QXZ("Download customer chat files").": "._QXZ("Download")." $NWB#inbound_groups-download_chat_files$NWE\n"; echo "\n"; echo "\n"; @@ -30345,7 +30372,7 @@ if ($ADD==311111111111111) echo ""._QXZ("Allow Chats").": $NWB#settings-allow_chats$NWE\n"; - echo ""._QXZ("Chat Timeout in seconds").": $NWB#campaigns-chat_timeout$NWE\n"; + echo ""._QXZ("Chat Timeout in seconds").": $NWB#settings-chat_timeout$NWE\n"; echo ""._QXZ("Chat URL").": $NWB#settings-chat_url$NWE\n"; @@ -31399,7 +31426,7 @@ if ($ADD==1000) echo "
\n"; echo ""; - $stmt="SELECT group_id,group_name,queue_priority,active,call_time_id,group_color,user_group from vicidial_inbound_groups $whereLOGadmin_viewable_groupsSQL order by group_id;"; + $stmt="SELECT group_id,group_name,queue_priority,active,call_time_id,group_color,user_group from vicidial_inbound_groups where group_handling='PHONE' $LOGadmin_viewable_groupsSQL order by group_id;"; $rslt=mysql_to_mysqli($stmt, $link); $ingroups_to_print = mysqli_num_rows($rslt); diff --git a/agc_2-X/trunk/www/vicidial/help.php b/agc_2-X/trunk/www/vicidial/help.php index 74a1d9af..a4bf7dfb 100644 --- a/agc_2-X/trunk/www/vicidial/help.php +++ b/agc_2-X/trunk/www/vicidial/help.php @@ -47,6 +47,7 @@ # 150429-1232 - Added new user API restrictions # 150513-2310 - Added POP3 Auth Mode # 150608-1154 - Added manual dial override field entry and updated manual dial search and filter entries +# 150609-1204 - Added chat-related entries # require("dbconnect_mysqli.php"); @@ -54,7 +55,7 @@ require("functions.php"); ############################################# ##### START SYSTEM_SETTINGS LOOKUP ##### -$stmt = "SELECT use_non_latin,enable_queuemetrics_logging,enable_vtiger_integration,qc_features_active,outbound_autodial_active,sounds_central_control_active,enable_second_webform,user_territories_active,custom_fields_enabled,admin_web_directory,webphone_url,first_login_trigger,hosted_settings,default_phone_registration_password,default_phone_login_password,default_server_password,test_campaign_calls,active_voicemail_server,voicemail_timezones,default_voicemail_timezone,default_local_gmt,campaign_cid_areacodes_enabled,pllb_grouping_limit,did_ra_extensions_enabled,expanded_list_stats,contacts_enabled,alt_log_server_ip,alt_log_dbname,alt_log_login,alt_log_pass,tables_use_alt_log_db,call_menu_qualify_enabled,admin_list_counts,allow_voicemail_greeting,svn_revision,allow_emails,level_8_disable_add,pass_key,pass_hash_enabled,disable_auto_dial,country_code_list_stats,enable_languages,language_method,enable_third_webform FROM system_settings;"; +$stmt = "SELECT use_non_latin,enable_queuemetrics_logging,enable_vtiger_integration,qc_features_active,outbound_autodial_active,sounds_central_control_active,enable_second_webform,user_territories_active,custom_fields_enabled,admin_web_directory,webphone_url,first_login_trigger,hosted_settings,default_phone_registration_password,default_phone_login_password,default_server_password,test_campaign_calls,active_voicemail_server,voicemail_timezones,default_voicemail_timezone,default_local_gmt,campaign_cid_areacodes_enabled,pllb_grouping_limit,did_ra_extensions_enabled,expanded_list_stats,contacts_enabled,alt_log_server_ip,alt_log_dbname,alt_log_login,alt_log_pass,tables_use_alt_log_db,call_menu_qualify_enabled,admin_list_counts,allow_voicemail_greeting,svn_revision,allow_emails,level_8_disable_add,pass_key,pass_hash_enabled,disable_auto_dial,country_code_list_stats,enable_languages,language_method,enable_third_webform,allow_chats FROM system_settings;"; $rslt=mysql_to_mysqli($stmt, $link); if ($DB) {echo "$stmt\n";} $qm_conf_ct = mysqli_num_rows($rslt); @@ -105,6 +106,7 @@ if ($qm_conf_ct > 0) $SSenable_languages = $row[41]; $SSlanguage_method = $row[42]; $SSenable_third_webform = $row[43]; + $SSallow_chats = $row[44]; } ##### END SETTINGS LOOKUP ##### ########################################### @@ -736,8 +738,10 @@ if ($SSqc_features_active > 0)

- - - + 0) { @@ -745,9 +749,22 @@ if ($SSallow_emails > 0)

- Allow Emails"); ?> - - + 0) + { +?> +
+
+
+ - + + +

@@ -1321,7 +1338,7 @@ if ($SSoutbound_autodial_active > 0)

- - + -
@@ -2136,7 +2153,12 @@ if ($SSqc_features_active > 0)

- - + - + +
+
+
+ -
@@ -2593,6 +2615,11 @@ if ($SSqc_features_active > 0)
- +
+
+
+ - + @@ -4735,6 +4762,21 @@ FR_SPAC 00 00 00 00 00 - - +
+
+
+ - + +
+
+
+ - + +
+
+
+ - +