| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Plugin Name: AI ChatBot - WPBot |
| 4 | 4 | * Plugin URI: https://www.wpbot.pro/ |
| 5 | 5 | * Description: ChatBot is a native WordPress ChatBot plugin to provide live chat support and lead generation |
| 6 | 6 | * Donate link: https://www.wpbot.pro/ |
| 7 | - * Version: 8.7.4 | |
| 7 | + * Version: 8.8.1 | |
| 8 | 8 | * @author QuantumCloud |
| 9 | 9 | * Author: ChatBot for WordPress - WPBot |
| 10 | 10 | * Author URI: https://www.wpbot.pro/ |
| 11 | 11 | * Requires at least: 5.5 |
| @@ -47,9 +47,9 @@ | ||
| 47 | 47 | } |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | if ( ! defined( 'QCLD_wpCHATBOT_VERSION' ) ) { |
| 51 | - define('QCLD_wpCHATBOT_VERSION', '8.7.4'); | |
| 51 | + define('QCLD_wpCHATBOT_VERSION', '8.8.1'); | |
| 52 | 52 | } |
| 53 | 53 | if ( ! defined( 'QCLD_wpCHATBOT_REQUIRED_wpCOMMERCE_VERSION' ) ) { |
| 54 | 54 | define('QCLD_wpCHATBOT_REQUIRED_wpCOMMERCE_VERSION', 2.2); |
| 55 | 55 | } |
| @@ -107,8 +107,13 @@ | ||
| 107 | 107 | // Built-in Chat Sessions & Analytics module. |
| 108 | 108 | // Defers to the Pro addon automatically when it's active. |
| 109 | 109 | require_once( QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/chat-sessions/wpbot-chat-sessions.php' ); |
| 110 | 110 | |
| 111 | +// Load Automator addon if it exists | |
| 112 | +if ( file_exists( QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'addons/automator/wpbot-automator.php' ) ) { | |
| 113 | + require_once( QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'addons/automator/wpbot-automator.php' ); | |
| 114 | +} | |
| 115 | + | |
| 111 | 116 | /** |
| 112 | 117 | * Main Class. |
| 113 | 118 | */ |
| 114 | 119 | |
| @@ -262,8 +267,17 @@ | ||
| 262 | 267 | |
| 263 | 268 | add_submenu_page( 'wpbot-panel', esc_html('General Settings'), esc_html('General Settings'), 'manage_options','wpbot', array($this, 'qcld_wb_chatbot_admin_page_settings') ); |
| 264 | 269 | add_submenu_page( 'wpbot-panel', esc_html('AI Settings'), esc_html('AI Settings'), 'manage_options','wpbot_openAi', 'wpbot_openAi_setting_func' ); |
| 265 | 270 | add_submenu_page( 'wpbot-panel', esc_html('AI Actions'), esc_html('AI Actions'), 'manage_options','wpbot_ai_actions', 'wpbot_Ai_actions_func' ); |
| 271 | + | |
| 272 | + if ( class_exists( '\WPbot_Automator\Core\Plugin' ) && method_exists( '\WPbot_Automator\Core\Plugin', 'render_admin_page' ) ) { | |
| 273 | + add_submenu_page( 'wpbot-panel', esc_html('Automator'), esc_html('Automator'), 'manage_options', 'wpbot-automator', array( '\WPbot_Automator\Core\Plugin', 'render_admin_page' ) ); | |
| 274 | + } | |
| 275 | + | |
| 276 | + if ( function_exists( 'qc_wpbot_cs_tabbed_wrapper' ) ) { | |
| 277 | + add_submenu_page( 'wpbot-panel', esc_html('Chat Sessions'), esc_html('Chat Sessions'), $capability, 'wbcs-botsessions-page', 'qc_wpbot_cs_tabbed_wrapper' ); | |
| 278 | + } | |
| 279 | + | |
| 266 | 280 | $hook = add_submenu_page( 'wpbot-panel', esc_html('Simple Text Responses'), esc_html('Simple Text Responses'), $capability,'simple-text-response', array($this, 'qcld_wb_chatbot_admin_str') ); |
| 267 | 281 | add_action( "load-$hook", [ $this, 'screen_option' ] ); |
| 268 | 282 | |
| 269 | 283 | add_submenu_page( 'wpbot-panel', esc_html('User Data'), esc_html('User Data'), 'manage_options','email-subscription', array($this, 'qcld_wb_chatbot_admin_page1') ); |
| @@ -644,8 +658,9 @@ | ||
| 644 | 658 | 'is_stream_enabled' => ( get_option('is_stream_enabled', '1') == '1' ? '1' : '0' ), |
| 645 | 659 | 'qcld_openai_append_content' => get_option('qcld_openai_append_content'), |
| 646 | 660 | 'openrouter_enabled' => (get_option('qcld_openrouter_enabled')=='1'? get_option('qcld_openrouter_enabled') : '0'), |
| 647 | 661 | 'gemini_enabled' => (get_option('qcld_gemini_enabled')=='1'? get_option('qcld_gemini_enabled') : '0'), |
| 662 | + 'claude_enabled' => (get_option('qcld_claude_enabled')=='1'? get_option('qcld_claude_enabled') : '0'), | |
| 648 | 663 | 'grok_enabled' => (get_option('qcld_grok_enabled')=='1'? get_option('qcld_grok_enabled') : '0'), |
| 649 | 664 | 'qcld_gemini_prepend_content' => get_option('qcld_gemini_prepend_content'), |
| 650 | 665 | 'qcld_gemini_append_content' => get_option('qcld_gemini_append_content'), |
| 651 | 666 | 'qcld_openrouter_append_content' => get_option('qcld_openrouter_append_content'), |
| @@ -3846,9 +3861,9 @@ | ||
| 3846 | 3861 | add_action( 'plugins_loaded', 'wp_chatbot_lang_init'); |
| 3847 | 3862 | |
| 3848 | 3863 | $wpbot_feedback = new Qcld_Wp_Usage_Feedback( |
| 3849 | 3864 | __FILE__, |
| 3850 | - '[email protected]', | |
| 3865 | + '[email protected]', | |
| 3851 | 3866 | false, |
| 3852 | 3867 | true |
| 3853 | 3868 | |
| 3854 | 3869 | ); |
| @@ -4103,9 +4118,9 @@ | ||
| 4103 | 4118 | <strong><?php esc_html_e('conversations', 'chatbot'); ?> </strong><?php esc_html_e('with if else logic', 'chatbot'); ?> <strong>. </strong><?php esc_html_e('Conversations or forms can be', 'chatbot'); ?> <strong><?php esc_html_e('eMailed', 'chatbot'); ?></strong> <?php esc_html_e('to you and', 'chatbot'); ?> <strong><?php esc_html_e('saved in the database', 'chatbot'); ?></strong>. |
| 4104 | 4119 | </p> |
| 4105 | 4120 | <h4><?php esc_html_e('Conversational Form Builder Free or Pro version works with the WPBot Free or Pro versions.', 'chatbot'); ?></h4> |
| 4106 | 4121 | <a class="FormBuilder" href="https://wordpress.org/plugins/conversational-forms/" target="_blank"><?php esc_html_e('Download Free Version', 'chatbot'); ?></a> |
| 4107 | - <a class="FormBuilder" href="https://www.quantumcloud.com/products/conversations-and-form-builder/" target="_blank"><?php esc_html_e('Grab the Pro version', 'chatbot'); ?></a> | |
| 4122 | + <a class="FormBuilder" href="https://www.quantumcloud.net/products/conversations-and-form-builder/" target="_blank"><?php esc_html_e('Grab the Pro version', 'chatbot'); ?></a> | |
| 4108 | 4123 | <h4><?php esc_html_e('What Can You Do with it?', 'chatbot'); ?></h4> |
| 4109 | 4124 | <p><?php esc_html_e('Conversation Forms allows you to create a wide variety of forms, that might include:', 'chatbot'); ?></p> |
| 4110 | 4125 | <ul> |
| 4111 | 4126 | <li><?php esc_html_e('Create menu or button driven conversations', 'chatbot'); ?></li> |