PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 2.0.0
MxChat – AI Chatbot & Content Generation for WordPress v2.0.0
3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
← All changes | includes/class-mxchat-addons.php +8 -55 2.0.62.0.0 View file →
@@ -26,55 +26,8 @@
26 26 'url' => 'https://quickdeploywp.com/plugin/mxchat-pinecone/',
27 27 'plugin_file' => 'mxchat-pinecone/pinecone-manager.php',
28 28 'config_page' => 'mxchat-pinecone'
29 29 ),
30 - 'mxchat-forms' => array(
31 - 'title' => __('MxChat Forms', 'mxchat'),
32 - 'description' => __('Create and manage smart forms that automatically trigger during chat conversations. Build custom forms with multiple field types, collect submissions, and export data—all seamlessly integrated with MxChat\'s intent system. No coding required, just intuitive form building for enhanced chat interactions.', 'mxchat'),
33 - 'license' => 'MxChat PRO',
34 - 'accent' => '#fa73e6',
35 - 'url' => 'https://quickdeploywp.com/plugin/mxchat-forms/',
36 - 'plugin_file' => 'mxchat-forms/mxchat-forms.php',
37 - 'config_page' => 'mxchat-forms'
38 - ),
39 -
40 - 'mxchat-woo' => array(
41 - 'title' => __('MxChat WooCommerce', 'mxchat'),
42 - 'description' => __('Enhance your WooCommerce store with AI-powered chat interactions. This add-on enables intelligent product recommendations, order history retrieval, cart management, and seamless checkout assistance—fully integrated with MxChat\'s intent system.', 'mxchat'),
43 - 'license' => 'MxChat PRO',
44 - 'accent' => '#fa73e6',
45 - 'url' => 'https://quickdeploywp.com/plugin/mxchat-woo/',
46 - 'plugin_file' => 'mxchat-woo/mxchat-woo.php',
47 - 'config_page' => 'mxchat-woo'
48 - ),
49 - 'mxchat-theme' => array(
50 - 'title' => __('MxChat Theme Customizer', 'mxchat'),
51 - 'description' => __('MxChat Theme Customizer is a powerful add-on for MxChat Pro that makes it effortless to personalize your chatbot’s appearance. With an intuitive color picker, you can instantly adjust background colors, and interface elements—all with real-time previews. No coding required, just simple, live customization to match your brand’s look.', 'mxchat'),
52 - 'license' => 'MxChat PRO',
53 - 'accent' => '#fa73e6',
54 - 'url' => 'https://quickdeploywp.com/plugin/mxchat-theme/',
55 - 'plugin_file' => 'mxchat-theme/mxchat-theme.php',
56 - 'config_page' => 'mxchat-theme-settings'
57 - ),
58 - 'mxchat-moderation' => array(
59 - 'title' => __('MxChat Moderation', 'mxchat'),
60 - 'description' => __('MxChat Moderation is the ultimate add-on for MxChat, giving you full control over who interacts with your chatbot. Effortlessly block spammers, trolls, or unwanted users using IP and email-based bans—keeping your chat clean, safe, and enjoyable. Say goodbye to disruptive users and hello to a smoother, more secure chatbot experience!', 'mxchat'),
61 - 'license' => 'MxChat PRO',
62 - 'accent' => '#fa73e6',
63 - 'url' => 'https://quickdeploywp.com/plugin/mxchat-moderation/',
64 - 'plugin_file' => 'mxchat-moderation/mx-chat-moderation.php',
65 - 'config_page' => 'mx-chat-moderation'
66 - ),
67 - 'mxchat-intent-tester' => array(
68 - 'title' => __('MxChat Intent Tester', 'mxchat'),
69 - 'description' => __('MxChat Intent Tester is an essential add-on for MxChat Pro, empowering you to optimize your chatbot’s intent recognition. Test user queries against your defined intents, view similarity scores, and fine-tune thresholds to ensure accurate responses. Perfect for admins who want to enhance their chatbot’s performance with precision!', 'mxchat'),
70 - 'license' => 'MxChat PRO',
71 - 'accent' => '#fa73e6',
72 - 'url' => 'https://quickdeploywp.com/plugin/mxchat-intent-tester/',
73 - 'plugin_file' => 'mxchat-intent-tester/mxchat-intent-tester.php',
74 - 'config_page' => 'mxchat-intent-tester'
75 - ),
76 -
77 30 );
78 31 }
79 32
80 33 /**
@@ -80,10 +33,10 @@
80 33 /**
81 34 * Register the stylesheets for the admin area.
82 35 */
83 36 public function enqueue_styles() {
84 - $plugin_version = '2.0.6';
85 -
37 + $plugin_version = '2.0.0';
38 +
86 39 wp_enqueue_style(
87 40 'mxchat-addons',
88 41 plugin_dir_url(__FILE__) . '../css/admin-add-ons.css',
89 42 array(),
@@ -104,9 +57,9 @@
104 57 }
105 58
106 59 $all_plugins = get_plugins();
107 60 $active_plugins = get_option('active_plugins', array());
108 -
61 +
109 62 // Find the addon by iterating through configs
110 63 $config_page = '';
111 64 foreach ($this->addons_config as $slug => $addon) {
112 65 if ($addon['plugin_file'] === $plugin_file) {
@@ -156,9 +109,9 @@
156 109 <?php esc_html_e('Enhance your chatbot with premium & free extensions available through QuickDeployWP, an official distribution platform made by MxChat.', 'mxchat'); ?>
157 110 </p>
158 111 </div>
159 112 <div class="mxchat-addons-grid">
160 - <?php
113 + <?php
161 114 foreach ($this->addons_config as $slug => $addon) {
162 115 $this->render_addon_card($slug, $addon);
163 116 }
164 117 ?>
@@ -168,9 +121,9 @@
168 121 }
169 122
170 123 /**
171 124 * Render individual add-on card
172 - *
125 + *
173 126 * @param string $slug The addon slug
174 127 * @param array $addon The addon configuration array
175 128 */
176 129 private function render_addon_card($slug, $addon) {
@@ -186,10 +139,10 @@
186 139 <div class="mxchat-addon-footer">
187 140 <div class="mxchat-status-indicator <?php echo esc_attr($status_info['status']); ?>">
188 141 <?php echo esc_html(ucfirst(str_replace('-', ' ', $status_info['status']))); ?>
189 142 </div>
190 - <a href="<?php echo esc_url($button_url); ?>"
191 - class="mxchat-action-button"
143 + <a href="<?php echo esc_url($button_url); ?>"
144 + class="mxchat-action-button"
192 145 target="<?php echo esc_attr($button_target); ?>"
193 146 data-action="<?php echo esc_attr($status_info['status']); ?>">
194 147 <?php echo esc_html($status_info['action_text']); ?>
195 148 </a>
@@ -197,5 +150,5 @@
197 150 </div>
198 151 </div>
199 152 <?php
200 153 }
201 -}
154 +}