Changeset 3356143
- Timestamp:
- 09/04/2025 01:54:32 PM (7 months ago)
- Location:
- chat-bot-alpha-interface/trunk
- Files:
-
- 2 edited
-
chat-bot-alpha_interface.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chat-bot-alpha-interface/trunk/chat-bot-alpha_interface.php
r3354460 r3356143 4 4 * Plugin URI: https://www.npmjs.com/package/alpha-interface 5 5 * Description: Embeds the Alpha Interface chatbot into your site using a custom web component. 6 * Version: 2.0. 26 * Version: 2.0.3 7 7 * Author: alphainterface 8 8 * Author URI: https://alphainterface.ai … … 22 22 wp_register_script( 23 23 'ai-chatbot-module', 24 'https://cdn.jsdelivr.net/npm/alpha-interface@1.0. 0/dist/hash-bot/hash-bot.esm.js',24 'https://cdn.jsdelivr.net/npm/alpha-interface@1.0.1/dist/hash-bot/hash-bot.esm.js', 25 25 [], 26 26 null, … … 47 47 $apiurl = esc_attr( $options['apiurl'] ?? '' ); 48 48 $agent_uuid = esc_attr( $options['agent_uuid'] ?? '' ); 49 $welcome_message = esc_attr( $options['welcome_message'] ?? '' ); 50 $bot_name = esc_attr( $options['bot_name'] ?? 'Chat Bot' ); 49 51 $iconsize = esc_attr( $options['iconsize'] ?? '70' ); 50 52 $chatbotwidth = esc_attr( $options['chatbotwidth'] ?? '300' ); … … 54 56 agent_uuid="'. $agent_uuid . '" 55 57 apiurl="' . $apiurl . '" 58 welcome_message="' . $welcome_message . '" 59 bot_name="' . $bot_name . '" 56 60 iconsize="' . $iconsize . '" 57 61 chatbotwidth="' . $chatbotwidth . '" … … 118 122 </tr> 119 123 <tr> 124 <th scope="row">Welcome Message</th> 125 <td><input type="text" name="ai_chatbot_settings[welcome_message]" value="<?php echo esc_attr( $options['welcome_message'] ?? "Hi! \n I'm an AI assistant trained on documentation, help articles, and other content. \n \n Ask me anything!" ); ?>" class="regular-text" /></td> 126 </tr> 127 <tr> 128 <th scope="row">Bot Name</th> 129 <td><input type="text" name="ai_chatbot_settings[bot_name]" value="<?php echo esc_attr( $options['bot_name'] ?? '' ); ?>" class="regular-text" /></td> 130 </tr> 131 <tr> 120 132 <th scope="row">Icon Size</th> 121 133 <td><input type="number" name="ai_chatbot_settings[iconsize]" value="<?php echo esc_attr( $options['iconsize'] ?? '70' ); ?>" /></td> -
chat-bot-alpha-interface/trunk/readme.txt
r3354460 r3356143 4 4 Requires at least: 5.0 5 5 Tested up to: 6.8 6 Stable tag: 2.0. 26 Stable tag: 2.0.3 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 30 30 31 31 == Changelog == 32 = 2.0. 2=33 * Removed chat_id32 = 2.0.3 = 33 * UI change, Chatbot name, Welcome message, FAQ 34 34 35 35 == Source Code ==
Note: See TracChangeset
for help on using the changeset viewer.