Plugin Directory

Changeset 2993945


Ignore:
Timestamp:
11/10/2023 01:33:42 PM (2 years ago)
Author:
onwebchat_dev
Message:

Support for AI chatbots

Location:
onwebchat
Files:
4 added
4 deleted
4 edited
3 copied

Legend:

Unmodified
Added
Removed
  • onwebchat/tags/3.3.0/css/onwebchat.css

    r1908224 r2993945  
    3737    display: inline-block;
    3838    margin-top: 10px;
    39     color: #656565;
     39    color: #353535;
     40    font-weight: 400;
    4041}
    4142
     
    6162
    6263.chatid-div {
    63     margin-top: 20px;
     64    margin-top: 5px;
    6465    margin-bottom: 10px;
    65     color: #656565;
     66    color: #353535;
    6667}
    6768
    6869.chatid-text-field {
    6970    margin-left: 84px;
    70     width: 305px;
     71    width: 600px;
    7172}
    7273
     
    7980    margin-left: 15px;
    8081    margin-right: 4px;
     82    font-size: 16px;
     83    margin-right: 20px;
    8184}
    8285
     
    8487    position: relative;
    8588    top: 100px;
     89    font-size: 14px;
    8690}
    8791
     
    132136    height: 28px;
    133137}
     138
  • onwebchat/tags/3.3.0/onwebchat.php

    r2490869 r2993945  
    55Description: live chat service that helps you communicate with your website's visitors.
    66Author: onWebChat
    7 Version: 3.2.0
     7Version: 3.3.0
    88Author URI: https://www.onwebchat.com
    99*/
     
    1515
    1616
    17 define('ONWEBCHAT_SMALL_LOGO', plugins_url( 'images/onwebchat-logo.png' , __FILE__ ));
     17define('ONWEBCHAT_SMALL_LOGO', plugins_url( 'images/onwebchat-logo.gif' , __FILE__ ));
    1818define('ONWEBCHAT_SERVER_URL','https://www.onwebchat.com/get-chatid.php');
    1919
     
    165165            ));
    166166
     167
     168       
     169
    167170            if ( is_wp_error( $response ) ) {
    168171                $error_message = $response->get_error_message();
     172             
    169173
    170174            } else {
     175
     176           
    171177                // If no chatId returned
    172                 if($response['body'] == '-1') {
     178                if($response['body'] == '') {
    173179                    // display an error for wrong credentials
    174                     onwebchat_login_error(true);
    175 
     180                     onwebchat_login_error(true);
     181                     
    176182                } else {
    177183
     
    228234    ?>
    229235    <div>
    230         <h2 style="font-size:22px; color:#59808c">onWebChat <?php ($isConnected == true) ? print 'Settings' :  print 'Activation'; ?> </h2>
     236
     237
     238
     239       
     240        <h1 style="font-weight: 400;margin-top:34px">onWebChat <?php ($isConnected == true) ? print 'Settings' :  print 'Activation'; ?> </h1>
    231241
    232242        <form action="admin.php?page=onwebchat_settings" method="post">
     
    259269                </div>
    260270
     271
    261272                <div style="width: 560px; height: 10px; border-bottom: 1px solid #bfbfbf; text-align: center; margin-top:30px">
    262                     <span class="header-or" style="font-size: 23px; background-color: #f1f1f1; padding: 0 10px;">
     273                    <span class="header-or" style="color:#656565;font-size: 21px; background-color: #f1f1f1; padding: 0 10px;">
     274                   
    263275                        OR
     276                   
    264277                    </span>
    265278                </div>
     
    267280
    268281                <h3 class="header-2">Paste your onWebChat Chat Id</h3>
    269                 <div class="chatid-div">
     282                <div class="password-div">
    270283                    <strong>Chat Id:</strong> <input class="chatid-text-field" type="text" name="chatId" value="<?php echo $chatId; ?>"/>
    271284                </div>
     
    274287
    275288                <div class="new-account-link">
    276                     <span class="info-star">*</span> If you don't have an account on onWebChat live chat service, you should create one <a href="https://www.onwebchat.com/signup.php" target="_blank">here</a>
    277                 </div>
    278 
     289                    Create your account with onWebChat live chat service if you haven't yet, by clicking <a href="https://www.onwebchat.com/signup.php" target="_blank">here</a>
     290                </div>
    279291
    280292                <?php
     293
     294                    $html = '<input class="button button-primary" style="margin-left: 230px;" type="submit" value="Activate"/>';
     295                    echo $html;
    281296            }
    282297
     
    309324                $chatId = $chatId['text_string'];
    310325
    311                 //TODO get correct value
     326                // get correct value
    312327                $onwebchatApi = get_option('onwebchat_plugin_option_api_code');
    313328                $onwebchatApi = str_replace('\\','',$onwebchatApi);
    314329                ?>
    315                 <!--                <div class="hide-div">-->
    316                 <!--                    <strong>Hide Chat Widget:</strong> <input type="checkbox" id="plugin_text_checkbox" name="onwebchat_plugin_option_hide" value="1" --><?php //checked( $options, 1 ); ?><!-- />-->
    317                 <!--                </div>-->
    318 
    319 
     330               
     331
     332                <br><br><br>
    320333
    321334                <div class="hide-div">
     
    336349
    337350                <div id="help">
    338                     <span>You can insert multiple pages seperated by space. You can insert a part of the page or URL. e.g. &nbsp; index pric contact.php blog/</span>
    339                 </div>
    340 
    341                 <h3 class="header-2">Write your onWebChat Chat API code</h3>
     351                    <span>Add multiple pages by separating them with a space. Feel free to include either a section of the page or the entire URL. e.g. &nbsp; index price contact.php blog/</span>
     352                </div>
     353
     354                <br>
     355                <h3 class="header-1-p2">Enter Your Custom onWebChat JavaScript API Code Below</h3>
    342356                <div class="chatid-div">
    343357                    <strong>onWebChat API:</strong>
     
    358372                <input class="chatid-text-field-hide" type="text" name="isSecondPage" value="1"/>
    359373
    360                 <div class="new-account-link"> <span>*</span> To connect to onWebChat Operator Console click <a target="_blank" href="https://www.onwebchat.com/login.php">here</a> </div>
     374                <div class="new-account-link">Click <a target="_blank" href="https://www.onwebchat.com/login.php">here</a> to access the onWebChat Operator Console  </div>
     375               
    361376                <?php
    362 
    363 
    364             }
    365 
    366             // Display the Save Button
    367             $html = '<input class="button button-primary" style="margin-left: 230px;" type="submit" value="Save Changes"/>';
    368             echo $html;
     377                    // Display the Save Button
     378                    $html = '<input class="button button-primary" style="margin-left: 230px;" type="submit" value="Save Changes"/>';
     379                    echo $html;
     380
     381            }
     382
     383           
    369384            ?>
    370385        </form>
     
    376391        function onwc_select_change() {
    377392            var e = document.getElementById("pages-select");
     393            if (!e) {
     394                console.warn("Select element not found");
     395                return;
     396            }
    378397            var selected = e.options[e.selectedIndex].value;
    379398            if (selected == 1){
     
    512531        }
    513532    } else if($pagesSelect == 4) {
    514         //TODO we hide chat widget from all pages
     533        //hide chat widget from all pages
    515534        $hideWidget = true;
    516535    }
     
    526545 ***********************************************************************/
    527546function onwebchat_login_error($contition = false) {
     547   
     548   
     549
    528550    if($contition) {
    529551        ?>
     552
    530553        <div class="error">
    531             <p><strong>Wrong credentials!</strong> Please enter correct <u>email and password</u> <strong>OR</strong> a valid <u>Chat Id</u>.</p>
     554            <p><strong>Invalid Credentials!</strong> Ensure you enter the correct email and password, <strong>OR</strong> provide a valid Chat ID</p>
    532555        </div>
    533556        <?php
     
    546569
    547570?>
     571
  • onwebchat/tags/3.3.0/readme.txt

    r2952559 r2993945  
    1 === Live Chat - Live support by onWebChat ===
     1=== Live Chat & AI Bot Support ===
    22Contributors: onwebchat_dev
    3 Tags: live chat, ai chatbot, free chat software, wordpress live chat, ai bot plugin, support plugin, online support
    4 Tested up to: 6.3
     3Tags: live chat, ai chatbot, ai bot, free chat software, wordpress live chat, support plugin, online support
     4Tested up to: 6.4.1
    55Requires PHP: 5.4
    6 Stable tag: 3.2.0
     6Stable tag: 3.3.0
    77License: GPLv2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
    99Text Domain: onwebchat-live-chat
    1010
    11 Monitor your website's visitors and enhance your customer service with our free live chat plugin.
     11Enhance customer service with our live chat plugin, now featuring AI chatbot support for 24/7 visitor engagement.
    1212
    1313== Description ==
    1414
    15 Stop losing your hesitant customers! Install onWebChat live chat module in less than a minute and provide the best customer support to make your customers happy.
     15Don't let hesitant customers slip away! Install the onWebChat live chat plugin in under a minute to provide exceptional customer support and boost customer satisfaction.
    1616
    17 **Exciting Update:** We're currently in the development phase of an AI chatbot, aiming to further enhance the user experience and automate responses! This feature will be available soon, so stay tuned.
     17**New** Elevate your customer service even further with our AI chatbot—designed to enhance user experience and automate responses. Support your visitors 24/7!
    1818
    19 onWebChat live chat plugin for WordPress provides an easy way to integrate your WordPress website with our innovative live chat system. It is compatible with WooCommerce websites.
    20 
    21 Chat with your website visitors in real-time in just one click, monitor your website traffic and increase your conversions with live chat triggers.
     19Our live chat plugin seamlessly integrates with WordPress and WooCommerce websites, allowing you to Chat with website visitors in real-time, monitor web traffic and boost your conversions.
    2220
    2321We permanently offer a 100% free live chat plan.
    24 Plus, we are giving you a 1-month free trial of our Premium Plan with simply signing up on our live chat service! See our plans [here](https://www.onwebchat.com/chat-pricing.php "onWebChat plans").
     22Plus, we are giving you a 1-month free trial of our Premium Plan with simply signing up on our live chat service! Explore our plans [here](https://www.onwebchat.com/chat-pricing.php "onWebChat plans").
    2523
    2624Don't hesitate, start now! It takes less than a minute, to get started, just install onWebChat live chat plugin and [sign up for our service on www.onwebchat.com](https://www.onwebchat.com/signup.php "onWebChat sign up page")
     25**Special Offer:** Enjoy a 1-month free trial of our Premium Plan by simply signing up for our live chat service! Plus, test out our AI chatbot with 50 free bot credits. [See our plans here.](https://www.onwebchat.com/signup.php "onWebChat sign up page")
    2726
    2827http://www.youtube.com/embed/YihmL6BpEvc
    2928
    3029
    31 **onWebChat Live Chat Features &amp; Benefits**
     30Key Features & Benefits:
    3231
    33 <li>Fully customizable live chat widget (colors, size, position, texts)</li>
    34 <li>Real-time visitor monitoring - keep track of your visitors</li>
    35 <li>AI chatbot - soon available</li>
    36 <li>Live Chat Triggers - automatically initiate chat with visitors</li>
    37 <li>Departments - forward new chats to the right operator</li>
    38 <li>Chat Rating - allow your visitors to rate your chats</li>
    39 <li>Typing Insights - see what your visitors are typing in real time</li>
    40 <li>Android app available - chat with your visitors on the go</li>
    41 <li>Live Chat Operators can start a chat with any visitor</li>
    42 <li>Transfer chats between live chat operators</li>
    43 <li>Chat/operators statistics and metrics</li>
    44 <li>Geolocation data from visitors</li>
    45 <li>Block/unblock visitors</li>
    46 <li>Live Chat shortcuts (canned responses)</li>
    47 <li>Set animations to the livechat widget</li>
    48 <li>Draggable live chat widget</li>
    49 <li>Live Chat attention grabbers (images)</li>
    50 <li>Send emoticons</li>
    51 <li>Full chat transcript history</li>
    52 <li>Send chat transcript to email</li>
    53 <li>Multiple live chat operators </li>
    54 <li>Show / hide live chat widget on selected pages</li>
    55 <li>Install live chat widget on multiple websites</li>
    56 <li>Live chat widget language customization</li>
    57 <li>Sound / Desktop notifications for new chats</li>
    58 <li>Sound notification for new visitors</li>
    59 <li>Offline live chat form, when you are not online</li>
    60 <li>Pre-Chat form</li>
    61 <li>Hide/show live chat widget on mobiles</li>
    62 <li>Easy File Sharing with your visitors</li>
    63 <li>Javascript chat api</li>
    64 <li>Visitor consent (GDPR compliance)</li>
    65 <li>SSL/Data security</li>
    66 <li>Free plan available permanently!</li>
     32<li>**Real-Time Monitoring:** Track your visitors' behavior.</li>
     33<li>**AI Chatbot:** 24/7 automated customer support.</li>
     34<li>**Customizable Widget:** Tailor the chat widget’s appearance.</li>
     35<li>**Live Chat Triggers:** Engage users automatically.</li>
     36<li>**Department Routing:** Direct chats to the right operator.</li>
     37<li>**Chat Ratings:** Let visitors rate your support.</li>
     38<li>**Typing Insights:** See what visitors are typing in real-time.</li>
     39<li>**Mobile Support:** Android app available.</li>
     40<li>**Transferability:** Easily switch chats between operators.</li>
     41<li>**Metrics & Analytics:** Measure performance.</li>
     42<li>**Data Security:** GDPR-compliant and SSL-secured.</li>
    6743
    68 **onWebChat live chat improves your customer satisfaction, and allows them to:**
     44...and many more!
    6945
    70 <li>Talk with you directly with no cost</li>
    71 <li>Send you a message (email) when you are offline</li>
    72 <li>No need to open external application - livechat is available within your webpages</li>
    73 <li>Send/receive files easily using live chat widget</li>
    74 Your customers will love it!
     46Enhance Customer Experience:
     47<li>Free direct chats</li>
     48<li>Offline email messaging</li>
     49<li>In-page chat integration</li>
     50<li>Easy file sharing</li>
    7551
    76 You need any assistance? Have any questions? Feel free to chat with us on [onWebChat](https://www.onwebchat.com "onWebChat Home Page")
     52Your customers will love the convenience!
     53
     54**Need Assistance?**
     55
     56Have questions? Chat with us directly on [onWebChat](https://www.onwebchat.com "onWebChat Home Page")!
     57
    7758
    7859== Installation ==
    7960
    80 1. Install and activate the onWebChat live chat plugin.
    81 2. [Create](https://www.onwebchat.com/signup.php "onWebChat Sign Up") an account on onWebChat live chat service.
    82 3. Connect plugin to your onWebChat account, using your email and password.
    83 4. Live chat widget is already on your website!
     61**1. Install the Plugin:** Activate the onWebChat live chat plugin on your WordPress site.
     62**2. Sign Up:** [Create an account](https://www.onwebchat.com/signup.php "onWebChat Sign Up") with onWebChat.
     63**3. Connect:** Link the plugin to your onWebChat account using your email and password.
     64**4. You're Live:** The chat widget appears on your site instantly!
    8465
    85 *If you cannot connect to your live chat account using email/password, please connect using the Chat Id (you can find it at Operator Console or registration email)
     66Note: If you encounter issues connecting via email/password, use your Chat ID found in the Operator Console or registration email.
    8667
    8768== Frequently Asked Questions ==
    8869
    89 = When will AI chatbots be available? =
     70= How can I integrate the AI chatbot into my website? =
    9071
    91 Our AI chatbots are on the horizon! For a sneak peek, try out our beta AI bot now at www.onwebchat.com!
     72If you haven't joined onWebChat yet, simply sign up for an account. Once registered, you'll gain access to the Premium plan and receive 50 AI bot credits to start using our AI chatbot. Integration is effortless, just provide some training data (questions-answers), and you're ready to test your AI chatbot on your website!
    9273
    93 = Do I need to pay for using onWebChat? =
     74= How is the AI chatbot priced? =
    9475
    95 We offer a forever Free plan. No payment is required to sign up. When you sign up, you get for free the Premium Plan for 1 month. After the 1-month trial period, if you don't want to process a payment, the system will automatically downgrade your live chat account to the Free Plan.
    96 Please visit our  [pricing page](https://www.onwebchat.com/chat-pricing.php "onWebChat pricing page") for more info.
     76You can try our beta AI bot with 50 free bot credits that we provide with registration. In general, to use the AI chatbot, you'll need to be on our Premium plan with at least one operator. Pricing starts at $5 for 100 chat dialogues, with lower prices available if you want to buy more chatbot credits.
    9777
    98 = Do I have to install any extra software? =
     78= Can the AI bot understand questions, even those with errors, in any language? =
    9979
    100 No, you only need to install this plugin and sign up for onWebChat livechat service.
     80Absolutely! Our AI chatbot excels at understanding questions, even those with mistakes. It leverages your data to provide accurate and freshly crafted responses, akin to human communication. Additionally, it offers multilingual support, allowing it to converse with your visitors in their preferred language, regardless of the language of your data.
    10181
    102 = How can I change the appearance of the live chat widget on my page? =
     82= Is onWebChat Free? =
    10383
    104 You can change/modify all your widget settings from your [onWebChat Operator Console](https://www.onwebchat.com/login.php "onWebChat Operator Console").
     84Yes, we offer a no-cost Free Plan. Additionally, new sign-ups enjoy 1-month access to our Premium Plan. To learn more, visit our [pricing page](https://www.onwebchat.com/chat-pricing.php "onWebChat pricing page").
    10585
    106 = Can I translate any text on the live chat widget? =
     86= Do I need additional software? =
    10787
    108 Yes, all texts are translatable and you can set your own language and texts according to your preferences.
     88No extra software required. Simply install this plugin and register on onWebChat.
    10989
    110 = Can I initiate a chat before the visitor does? =
     90= How can I customize the chat widget? =
    11191
    112 Yes, simply click on a visitor from the visitors' list.
     92Adjust widget settings via your [onWebChat Operator Console](https://www.onwebchat.com/login.php "onWebChat Operator Console").
     93
     94= Is the chat widget translatable? =
     95
     96Absolutely! You can customize the language and text to your liking.
     97
     98= Can I hide the chat widget when offline? =
     99
     100Yes, you can proactively reach out to visitors listed on your console.
    113101
    114102= Can I hide live chat widget when I am offline? =
    115103
    116 Yes, in order to do that, you just need to unmark "use offline form" located on your live chat Operator Console. The live chat widget will be hidden when all operators are offline or have select "invisible" status. If you select to use offline form, the offline form will be shown.
     104Certainly. Just deselect "use offline form" in your Operator Console.
    117105
    118106= Is there a white-label option? =
    119107
    120 Yes, on Premium Plan you can hide onWebChat logo from your chat window.
     108Yes, our Premium Plan allows you to remove the onWebChat logo.
    121109
    122 = Can I track visitors to my website? =
     110= Can I monitor visitor activity? =
    123111
    124 Yes, you can see your visitors live with visitor monitoring. You can see their status, country, operating system, page, time on your website and more. When you chat with a visitor you can also see all pages he has visited.
     112Absolutely. Monitor real-time visitor activity, including geolocation, browsing behavior, and more.
    125113
    126 = Can I transfer the chat to another operator? =
     114= Can chats be transferred between operators? =
    127115
    128 Yes, you can transfer the chat to another connected operator. The chat should be active and the visitor on your website.
     116Yes, active chats can be handed off to other available operators.
    129117
    130118= Can I invite visitors to chat? =
    131119
    132 Yes, you can use two types of greetings to engage visitors on your website: Triggers - Automated messages that triggers when certain conditions are met and manual – operator clicks on a visitor on visitors list to chat with him.
     120Yes, employ automated Triggers or manually click on a visitor to initiate a chat.
    133121
    134 = How safe is our data? =
     122= How secure is our data? =
    135123
    136 We take data security very seriously. All communication between you and your webvisitors are encrypted on an SSL (Secure Socket Layer). This ensures that all chat messages remain private and integral.
     124We prioritize security with SSL encryption, ensuring all chat communications are secure.
    137125
    138 = In which languages is onWebChat available? =
     126= What languages are supported? =
    139127
    140 At the moment onWebChat Operator Console is available in the following languages: English, Swedish, German, French, Italian, Spanish, Portuguese, Slovenian, Greek and Turkish. Of course, you can set live chat widget texts in any language you want.
     128Our Operator Console supports multiple languages including English, Swedish, German, French, Italian, Spanish, Portuguese, Slovenian, Greek, and Turkish. You can customize the chat widget in any language.
    141129
    142130= I'm not able to connect to my live chat account using email/password. Why? =
    143131
    144 There are cases where outbound connections are blocked (for example, by a firewall). In this case, you can connect to our service by copying/pasting your onWebChat Chat ID from the Operator Console into the plugin form.
     132If your connection is blocked (e.g., by a firewall), use your Chat ID from the Operator Console to connect.
    145133
    146134== Screenshots ==
    147 1. Live Chat Operator Console home page
    148 2. Live Chat Operator chatting with a visitor
    149 3. Operator visitor monitoring
    150 4. Install onWebChat live chat widget on WordPress website
     1351. Operator Console homepage
     1362. Chatting with a visitor
     1373. Monitoring visitors in real-time
     1384. onWebChat live chat widget on WordPress website
    151139== Changelog ==
     140
     141= onWebChat Live Chat (Chat version 3.3.0) =
     142* AI chatbot support
    152143
    153144= onWebChat Live Chat (Chat version 3.2.0) =
  • onwebchat/trunk/css/onwebchat.css

    r1908224 r2993945  
    3737    display: inline-block;
    3838    margin-top: 10px;
    39     color: #656565;
     39    color: #353535;
     40    font-weight: 400;
    4041}
    4142
     
    6162
    6263.chatid-div {
    63     margin-top: 20px;
     64    margin-top: 5px;
    6465    margin-bottom: 10px;
    65     color: #656565;
     66    color: #353535;
    6667}
    6768
    6869.chatid-text-field {
    6970    margin-left: 84px;
    70     width: 305px;
     71    width: 600px;
    7172}
    7273
     
    7980    margin-left: 15px;
    8081    margin-right: 4px;
     82    font-size: 16px;
     83    margin-right: 20px;
    8184}
    8285
     
    8487    position: relative;
    8588    top: 100px;
     89    font-size: 14px;
    8690}
    8791
     
    132136    height: 28px;
    133137}
     138
  • onwebchat/trunk/onwebchat.php

    r2490869 r2993945  
    55Description: live chat service that helps you communicate with your website's visitors.
    66Author: onWebChat
    7 Version: 3.2.0
     7Version: 3.3.0
    88Author URI: https://www.onwebchat.com
    99*/
     
    1515
    1616
    17 define('ONWEBCHAT_SMALL_LOGO', plugins_url( 'images/onwebchat-logo.png' , __FILE__ ));
     17define('ONWEBCHAT_SMALL_LOGO', plugins_url( 'images/onwebchat-logo.gif' , __FILE__ ));
    1818define('ONWEBCHAT_SERVER_URL','https://www.onwebchat.com/get-chatid.php');
    1919
     
    165165            ));
    166166
     167
     168       
     169
    167170            if ( is_wp_error( $response ) ) {
    168171                $error_message = $response->get_error_message();
     172             
    169173
    170174            } else {
     175
     176           
    171177                // If no chatId returned
    172                 if($response['body'] == '-1') {
     178                if($response['body'] == '') {
    173179                    // display an error for wrong credentials
    174                     onwebchat_login_error(true);
    175 
     180                     onwebchat_login_error(true);
     181                     
    176182                } else {
    177183
     
    228234    ?>
    229235    <div>
    230         <h2 style="font-size:22px; color:#59808c">onWebChat <?php ($isConnected == true) ? print 'Settings' :  print 'Activation'; ?> </h2>
     236
     237
     238
     239       
     240        <h1 style="font-weight: 400;margin-top:34px">onWebChat <?php ($isConnected == true) ? print 'Settings' :  print 'Activation'; ?> </h1>
    231241
    232242        <form action="admin.php?page=onwebchat_settings" method="post">
     
    259269                </div>
    260270
     271
    261272                <div style="width: 560px; height: 10px; border-bottom: 1px solid #bfbfbf; text-align: center; margin-top:30px">
    262                     <span class="header-or" style="font-size: 23px; background-color: #f1f1f1; padding: 0 10px;">
     273                    <span class="header-or" style="color:#656565;font-size: 21px; background-color: #f1f1f1; padding: 0 10px;">
     274                   
    263275                        OR
     276                   
    264277                    </span>
    265278                </div>
     
    267280
    268281                <h3 class="header-2">Paste your onWebChat Chat Id</h3>
    269                 <div class="chatid-div">
     282                <div class="password-div">
    270283                    <strong>Chat Id:</strong> <input class="chatid-text-field" type="text" name="chatId" value="<?php echo $chatId; ?>"/>
    271284                </div>
     
    274287
    275288                <div class="new-account-link">
    276                     <span class="info-star">*</span> If you don't have an account on onWebChat live chat service, you should create one <a href="https://www.onwebchat.com/signup.php" target="_blank">here</a>
    277                 </div>
    278 
     289                    Create your account with onWebChat live chat service if you haven't yet, by clicking <a href="https://www.onwebchat.com/signup.php" target="_blank">here</a>
     290                </div>
    279291
    280292                <?php
     293
     294                    $html = '<input class="button button-primary" style="margin-left: 230px;" type="submit" value="Activate"/>';
     295                    echo $html;
    281296            }
    282297
     
    309324                $chatId = $chatId['text_string'];
    310325
    311                 //TODO get correct value
     326                // get correct value
    312327                $onwebchatApi = get_option('onwebchat_plugin_option_api_code');
    313328                $onwebchatApi = str_replace('\\','',$onwebchatApi);
    314329                ?>
    315                 <!--                <div class="hide-div">-->
    316                 <!--                    <strong>Hide Chat Widget:</strong> <input type="checkbox" id="plugin_text_checkbox" name="onwebchat_plugin_option_hide" value="1" --><?php //checked( $options, 1 ); ?><!-- />-->
    317                 <!--                </div>-->
    318 
    319 
     330               
     331
     332                <br><br><br>
    320333
    321334                <div class="hide-div">
     
    336349
    337350                <div id="help">
    338                     <span>You can insert multiple pages seperated by space. You can insert a part of the page or URL. e.g. &nbsp; index pric contact.php blog/</span>
    339                 </div>
    340 
    341                 <h3 class="header-2">Write your onWebChat Chat API code</h3>
     351                    <span>Add multiple pages by separating them with a space. Feel free to include either a section of the page or the entire URL. e.g. &nbsp; index price contact.php blog/</span>
     352                </div>
     353
     354                <br>
     355                <h3 class="header-1-p2">Enter Your Custom onWebChat JavaScript API Code Below</h3>
    342356                <div class="chatid-div">
    343357                    <strong>onWebChat API:</strong>
     
    358372                <input class="chatid-text-field-hide" type="text" name="isSecondPage" value="1"/>
    359373
    360                 <div class="new-account-link"> <span>*</span> To connect to onWebChat Operator Console click <a target="_blank" href="https://www.onwebchat.com/login.php">here</a> </div>
     374                <div class="new-account-link">Click <a target="_blank" href="https://www.onwebchat.com/login.php">here</a> to access the onWebChat Operator Console  </div>
     375               
    361376                <?php
    362 
    363 
    364             }
    365 
    366             // Display the Save Button
    367             $html = '<input class="button button-primary" style="margin-left: 230px;" type="submit" value="Save Changes"/>';
    368             echo $html;
     377                    // Display the Save Button
     378                    $html = '<input class="button button-primary" style="margin-left: 230px;" type="submit" value="Save Changes"/>';
     379                    echo $html;
     380
     381            }
     382
     383           
    369384            ?>
    370385        </form>
     
    376391        function onwc_select_change() {
    377392            var e = document.getElementById("pages-select");
     393            if (!e) {
     394                console.warn("Select element not found");
     395                return;
     396            }
    378397            var selected = e.options[e.selectedIndex].value;
    379398            if (selected == 1){
     
    512531        }
    513532    } else if($pagesSelect == 4) {
    514         //TODO we hide chat widget from all pages
     533        //hide chat widget from all pages
    515534        $hideWidget = true;
    516535    }
     
    526545 ***********************************************************************/
    527546function onwebchat_login_error($contition = false) {
     547   
     548   
     549
    528550    if($contition) {
    529551        ?>
     552
    530553        <div class="error">
    531             <p><strong>Wrong credentials!</strong> Please enter correct <u>email and password</u> <strong>OR</strong> a valid <u>Chat Id</u>.</p>
     554            <p><strong>Invalid Credentials!</strong> Ensure you enter the correct email and password, <strong>OR</strong> provide a valid Chat ID</p>
    532555        </div>
    533556        <?php
     
    546569
    547570?>
     571
  • onwebchat/trunk/readme.txt

    r2952559 r2993945  
    1 === Live Chat - Live support by onWebChat ===
     1=== Live Chat & AI Bot Support ===
    22Contributors: onwebchat_dev
    3 Tags: live chat, ai chatbot, free chat software, wordpress live chat, ai bot plugin, support plugin, online support
    4 Tested up to: 6.3
     3Tags: live chat, ai chatbot, ai bot, free chat software, wordpress live chat, support plugin, online support
     4Tested up to: 6.4.1
    55Requires PHP: 5.4
    6 Stable tag: 3.2.0
     6Stable tag: 3.3.0
    77License: GPLv2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
    99Text Domain: onwebchat-live-chat
    1010
    11 Monitor your website's visitors and enhance your customer service with our free live chat plugin.
     11Enhance customer service with our live chat plugin, now featuring AI chatbot support for 24/7 visitor engagement.
    1212
    1313== Description ==
    1414
    15 Stop losing your hesitant customers! Install onWebChat live chat module in less than a minute and provide the best customer support to make your customers happy.
     15Don't let hesitant customers slip away! Install the onWebChat live chat plugin in under a minute to provide exceptional customer support and boost customer satisfaction.
    1616
    17 **Exciting Update:** We're currently in the development phase of an AI chatbot, aiming to further enhance the user experience and automate responses! This feature will be available soon, so stay tuned.
     17**New** Elevate your customer service even further with our AI chatbot—designed to enhance user experience and automate responses. Support your visitors 24/7!
    1818
    19 onWebChat live chat plugin for WordPress provides an easy way to integrate your WordPress website with our innovative live chat system. It is compatible with WooCommerce websites.
    20 
    21 Chat with your website visitors in real-time in just one click, monitor your website traffic and increase your conversions with live chat triggers.
     19Our live chat plugin seamlessly integrates with WordPress and WooCommerce websites, allowing you to Chat with website visitors in real-time, monitor web traffic and boost your conversions.
    2220
    2321We permanently offer a 100% free live chat plan.
    24 Plus, we are giving you a 1-month free trial of our Premium Plan with simply signing up on our live chat service! See our plans [here](https://www.onwebchat.com/chat-pricing.php "onWebChat plans").
     22Plus, we are giving you a 1-month free trial of our Premium Plan with simply signing up on our live chat service! Explore our plans [here](https://www.onwebchat.com/chat-pricing.php "onWebChat plans").
    2523
    2624Don't hesitate, start now! It takes less than a minute, to get started, just install onWebChat live chat plugin and [sign up for our service on www.onwebchat.com](https://www.onwebchat.com/signup.php "onWebChat sign up page")
     25**Special Offer:** Enjoy a 1-month free trial of our Premium Plan by simply signing up for our live chat service! Plus, test out our AI chatbot with 50 free bot credits. [See our plans here.](https://www.onwebchat.com/signup.php "onWebChat sign up page")
    2726
    2827http://www.youtube.com/embed/YihmL6BpEvc
    2928
    3029
    31 **onWebChat Live Chat Features &amp; Benefits**
     30Key Features & Benefits:
    3231
    33 <li>Fully customizable live chat widget (colors, size, position, texts)</li>
    34 <li>Real-time visitor monitoring - keep track of your visitors</li>
    35 <li>AI chatbot - soon available</li>
    36 <li>Live Chat Triggers - automatically initiate chat with visitors</li>
    37 <li>Departments - forward new chats to the right operator</li>
    38 <li>Chat Rating - allow your visitors to rate your chats</li>
    39 <li>Typing Insights - see what your visitors are typing in real time</li>
    40 <li>Android app available - chat with your visitors on the go</li>
    41 <li>Live Chat Operators can start a chat with any visitor</li>
    42 <li>Transfer chats between live chat operators</li>
    43 <li>Chat/operators statistics and metrics</li>
    44 <li>Geolocation data from visitors</li>
    45 <li>Block/unblock visitors</li>
    46 <li>Live Chat shortcuts (canned responses)</li>
    47 <li>Set animations to the livechat widget</li>
    48 <li>Draggable live chat widget</li>
    49 <li>Live Chat attention grabbers (images)</li>
    50 <li>Send emoticons</li>
    51 <li>Full chat transcript history</li>
    52 <li>Send chat transcript to email</li>
    53 <li>Multiple live chat operators </li>
    54 <li>Show / hide live chat widget on selected pages</li>
    55 <li>Install live chat widget on multiple websites</li>
    56 <li>Live chat widget language customization</li>
    57 <li>Sound / Desktop notifications for new chats</li>
    58 <li>Sound notification for new visitors</li>
    59 <li>Offline live chat form, when you are not online</li>
    60 <li>Pre-Chat form</li>
    61 <li>Hide/show live chat widget on mobiles</li>
    62 <li>Easy File Sharing with your visitors</li>
    63 <li>Javascript chat api</li>
    64 <li>Visitor consent (GDPR compliance)</li>
    65 <li>SSL/Data security</li>
    66 <li>Free plan available permanently!</li>
     32<li>**Real-Time Monitoring:** Track your visitors' behavior.</li>
     33<li>**AI Chatbot:** 24/7 automated customer support.</li>
     34<li>**Customizable Widget:** Tailor the chat widget’s appearance.</li>
     35<li>**Live Chat Triggers:** Engage users automatically.</li>
     36<li>**Department Routing:** Direct chats to the right operator.</li>
     37<li>**Chat Ratings:** Let visitors rate your support.</li>
     38<li>**Typing Insights:** See what visitors are typing in real-time.</li>
     39<li>**Mobile Support:** Android app available.</li>
     40<li>**Transferability:** Easily switch chats between operators.</li>
     41<li>**Metrics & Analytics:** Measure performance.</li>
     42<li>**Data Security:** GDPR-compliant and SSL-secured.</li>
    6743
    68 **onWebChat live chat improves your customer satisfaction, and allows them to:**
     44...and many more!
    6945
    70 <li>Talk with you directly with no cost</li>
    71 <li>Send you a message (email) when you are offline</li>
    72 <li>No need to open external application - livechat is available within your webpages</li>
    73 <li>Send/receive files easily using live chat widget</li>
    74 Your customers will love it!
     46Enhance Customer Experience:
     47<li>Free direct chats</li>
     48<li>Offline email messaging</li>
     49<li>In-page chat integration</li>
     50<li>Easy file sharing</li>
    7551
    76 You need any assistance? Have any questions? Feel free to chat with us on [onWebChat](https://www.onwebchat.com "onWebChat Home Page")
     52Your customers will love the convenience!
     53
     54**Need Assistance?**
     55
     56Have questions? Chat with us directly on [onWebChat](https://www.onwebchat.com "onWebChat Home Page")!
     57
    7758
    7859== Installation ==
    7960
    80 1. Install and activate the onWebChat live chat plugin.
    81 2. [Create](https://www.onwebchat.com/signup.php "onWebChat Sign Up") an account on onWebChat live chat service.
    82 3. Connect plugin to your onWebChat account, using your email and password.
    83 4. Live chat widget is already on your website!
     61**1. Install the Plugin:** Activate the onWebChat live chat plugin on your WordPress site.
     62**2. Sign Up:** [Create an account](https://www.onwebchat.com/signup.php "onWebChat Sign Up") with onWebChat.
     63**3. Connect:** Link the plugin to your onWebChat account using your email and password.
     64**4. You're Live:** The chat widget appears on your site instantly!
    8465
    85 *If you cannot connect to your live chat account using email/password, please connect using the Chat Id (you can find it at Operator Console or registration email)
     66Note: If you encounter issues connecting via email/password, use your Chat ID found in the Operator Console or registration email.
    8667
    8768== Frequently Asked Questions ==
    8869
    89 = When will AI chatbots be available? =
     70= How can I integrate the AI chatbot into my website? =
    9071
    91 Our AI chatbots are on the horizon! For a sneak peek, try out our beta AI bot now at www.onwebchat.com!
     72If you haven't joined onWebChat yet, simply sign up for an account. Once registered, you'll gain access to the Premium plan and receive 50 AI bot credits to start using our AI chatbot. Integration is effortless, just provide some training data (questions-answers), and you're ready to test your AI chatbot on your website!
    9273
    93 = Do I need to pay for using onWebChat? =
     74= How is the AI chatbot priced? =
    9475
    95 We offer a forever Free plan. No payment is required to sign up. When you sign up, you get for free the Premium Plan for 1 month. After the 1-month trial period, if you don't want to process a payment, the system will automatically downgrade your live chat account to the Free Plan.
    96 Please visit our  [pricing page](https://www.onwebchat.com/chat-pricing.php "onWebChat pricing page") for more info.
     76You can try our beta AI bot with 50 free bot credits that we provide with registration. In general, to use the AI chatbot, you'll need to be on our Premium plan with at least one operator. Pricing starts at $5 for 100 chat dialogues, with lower prices available if you want to buy more chatbot credits.
    9777
    98 = Do I have to install any extra software? =
     78= Can the AI bot understand questions, even those with errors, in any language? =
    9979
    100 No, you only need to install this plugin and sign up for onWebChat livechat service.
     80Absolutely! Our AI chatbot excels at understanding questions, even those with mistakes. It leverages your data to provide accurate and freshly crafted responses, akin to human communication. Additionally, it offers multilingual support, allowing it to converse with your visitors in their preferred language, regardless of the language of your data.
    10181
    102 = How can I change the appearance of the live chat widget on my page? =
     82= Is onWebChat Free? =
    10383
    104 You can change/modify all your widget settings from your [onWebChat Operator Console](https://www.onwebchat.com/login.php "onWebChat Operator Console").
     84Yes, we offer a no-cost Free Plan. Additionally, new sign-ups enjoy 1-month access to our Premium Plan. To learn more, visit our [pricing page](https://www.onwebchat.com/chat-pricing.php "onWebChat pricing page").
    10585
    106 = Can I translate any text on the live chat widget? =
     86= Do I need additional software? =
    10787
    108 Yes, all texts are translatable and you can set your own language and texts according to your preferences.
     88No extra software required. Simply install this plugin and register on onWebChat.
    10989
    110 = Can I initiate a chat before the visitor does? =
     90= How can I customize the chat widget? =
    11191
    112 Yes, simply click on a visitor from the visitors' list.
     92Adjust widget settings via your [onWebChat Operator Console](https://www.onwebchat.com/login.php "onWebChat Operator Console").
     93
     94= Is the chat widget translatable? =
     95
     96Absolutely! You can customize the language and text to your liking.
     97
     98= Can I hide the chat widget when offline? =
     99
     100Yes, you can proactively reach out to visitors listed on your console.
    113101
    114102= Can I hide live chat widget when I am offline? =
    115103
    116 Yes, in order to do that, you just need to unmark "use offline form" located on your live chat Operator Console. The live chat widget will be hidden when all operators are offline or have select "invisible" status. If you select to use offline form, the offline form will be shown.
     104Certainly. Just deselect "use offline form" in your Operator Console.
    117105
    118106= Is there a white-label option? =
    119107
    120 Yes, on Premium Plan you can hide onWebChat logo from your chat window.
     108Yes, our Premium Plan allows you to remove the onWebChat logo.
    121109
    122 = Can I track visitors to my website? =
     110= Can I monitor visitor activity? =
    123111
    124 Yes, you can see your visitors live with visitor monitoring. You can see their status, country, operating system, page, time on your website and more. When you chat with a visitor you can also see all pages he has visited.
     112Absolutely. Monitor real-time visitor activity, including geolocation, browsing behavior, and more.
    125113
    126 = Can I transfer the chat to another operator? =
     114= Can chats be transferred between operators? =
    127115
    128 Yes, you can transfer the chat to another connected operator. The chat should be active and the visitor on your website.
     116Yes, active chats can be handed off to other available operators.
    129117
    130118= Can I invite visitors to chat? =
    131119
    132 Yes, you can use two types of greetings to engage visitors on your website: Triggers - Automated messages that triggers when certain conditions are met and manual – operator clicks on a visitor on visitors list to chat with him.
     120Yes, employ automated Triggers or manually click on a visitor to initiate a chat.
    133121
    134 = How safe is our data? =
     122= How secure is our data? =
    135123
    136 We take data security very seriously. All communication between you and your webvisitors are encrypted on an SSL (Secure Socket Layer). This ensures that all chat messages remain private and integral.
     124We prioritize security with SSL encryption, ensuring all chat communications are secure.
    137125
    138 = In which languages is onWebChat available? =
     126= What languages are supported? =
    139127
    140 At the moment onWebChat Operator Console is available in the following languages: English, Swedish, German, French, Italian, Spanish, Portuguese, Slovenian, Greek and Turkish. Of course, you can set live chat widget texts in any language you want.
     128Our Operator Console supports multiple languages including English, Swedish, German, French, Italian, Spanish, Portuguese, Slovenian, Greek, and Turkish. You can customize the chat widget in any language.
    141129
    142130= I'm not able to connect to my live chat account using email/password. Why? =
    143131
    144 There are cases where outbound connections are blocked (for example, by a firewall). In this case, you can connect to our service by copying/pasting your onWebChat Chat ID from the Operator Console into the plugin form.
     132If your connection is blocked (e.g., by a firewall), use your Chat ID from the Operator Console to connect.
    145133
    146134== Screenshots ==
    147 1. Live Chat Operator Console home page
    148 2. Live Chat Operator chatting with a visitor
    149 3. Operator visitor monitoring
    150 4. Install onWebChat live chat widget on WordPress website
     1351. Operator Console homepage
     1362. Chatting with a visitor
     1373. Monitoring visitors in real-time
     1384. onWebChat live chat widget on WordPress website
    151139== Changelog ==
     140
     141= onWebChat Live Chat (Chat version 3.3.0) =
     142* AI chatbot support
    152143
    153144= onWebChat Live Chat (Chat version 3.2.0) =
Note: See TracChangeset for help on using the changeset viewer.