Plugin Directory

Changeset 878815


Ignore:
Timestamp:
03/20/2014 02:58:58 PM (12 years ago)
Author:
activehelper
Message:

3.4.0

  • Agent to Agent Chat
  • MariaDB connection issue fixed.
  • Security Patch
  • Other small improvements and bug fixes
Location:
activehelper-livehelp/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • activehelper-livehelp/trunk/activehelper-livehelp.php

    r864239 r878815  
    77Plugin URI: http://www.activehelper.com
    88Description: Provide superior service by real time chat with your website visitors and interact them through your website. Create a more efficient connection with your website visitors, increase your sales and customer satisfaction.
    9 Version: 3.2.2
     9Version: 3.4.0
    1010Author: ActiveHelper Inc
    1111Author URI: http://www.activehelper.com
     
    784784                                ' . __('Version', 'activehelper_livehelp') . '
    785785                            </td><td class="b">
    786                                 ' . __('3.2.2', 'activehelper_livehelp') . '
     786                                ' . __('3.4.0', 'activehelper_livehelp') . '
    787787                            </td></tr></tbody></table>
    788788                            <table><tbody><tr><td class="first t">
  • activehelper-livehelp/trunk/readme.txt

    r864239 r878815  
    44Requires at least: 3.2
    55Tested up to: 3.8.1
    6 Stable tag: 3.2.2
     6Stable tag: 3.4.0
    77
    88ActiveHelper LiveHelp is a powerful Live Chat Server Plugin for WordPress.
     
    1010== Description ==
    1111
    12 The most affordable and scalable Live Chat plugin for WordPress. ActiveHelper LiveHelp Live Chat System is perfect for small and medium WordPress sites.
     12The most affordable and scalable Live Chat plugin for WordPress. ActiveHelper LiveHelp Live Chat System is perfect for small and medium WordPress sites. Answer Live chats from any location, Desktop and mobile are included, Windows and Mac, IOS and Android too.
    1313
    1414Monitor in real time your website visitors. Know how many visitors are in the website, who referred, where are from, what keywords we reused to find the website and the visitors navigation history. Know decisive information of your website visitors patterns, conversations and agents service.
     
    2828* Chat Re-branding
    2929* Image for each agent
     30* Agent to Agent chat
    3031* Multi Language WordPress admin panel
    3132* Real-time Chats
     
    3435* Capture Visitor Data
    3536* Chat Queue Line
    36 * Chat Between Agents
    3737* Offline Messages
    3838* Disable chat module in Offline mode
     
    6363* Multi Language Images
    6464* 25 Language Translations.
     65* Agent spellchecker
    6566* Support Panel desktop for Windows and MAC
    6667* Support panel mobile for your iPhone/ipad
    6768* Support panel mobile for your Android phone and tablet
    68 * Support panel mobile for your BlackBerry PlayBook
    6969* Customizable Look & Feel
    7070* Skin Support
     
    253253* Other small improvements and bug fixes
    254254
    255 = 3.2.1 =
    256 * Fixed Missing files
    257 
    258255= 3.2.2 =
    259256* Fixed Missing files on the update
     257
     258= 3.4.0 =
     259* Agent to Agent Chat
     260* MariaDB connection issue fixed.
     261* Security Patch
     262* Other small improvements and bug fixes
    260263
    261264
     
    399402* Other small improvements and bug fixes
    400403
    401 = 3.2.1 =
    402 * Fixed Missing files
    403 
    404404= 3.2.2 =
    405405* Fixed Missing files on the update
     406
     407= 3.4.0 =
     408* Agent to Agent Chat
     409* MariaDB connection issue fixed.
     410* Security Patch
     411* Other small improvements and bug fixes
     412
     413
  • activehelper-livehelp/trunk/server/frames.php

    r726722 r878815  
    3030$department =  htmlspecialchars_decode ($_REQUEST['DEPARTMENT'] , ENT_QUOTES );
    3131
    32 $referer    = $_REQUEST['URL'];
     32$referer    = mysql_real_escape_string(urldecode(trim($_REQUEST['URL'])));
    3333$ip_address = $_SERVER['REMOTE_ADDR'];
    3434$domain_id  = !isset( $domain_id ) ? 0 : (int) $domain_id;
     
    7272}
    7373
    74 if ($department == '') { $department  = $_REQUEST['DEPARTMENT'];  }
     74if ($department == '') { $department  = mysql_real_escape_string($_REQUEST['DEPARTMENT']);}
    7575
    7676// Query to see if panel/Operators are Online
  • activehelper-livehelp/trunk/server/import/javascript.php

    r862410 r878815  
    101101if ($installed == true) {
    102102
    103 $department = $_REQUEST['DEPARTMENT'];
     103$department = mysql_real_escape_string($_REQUEST['DEPARTMENT']);
    104104$tracker_enabled = $_REQUEST['TRACKER'];
    105105$title = $_REQUEST['TITLE'];
    106 $referer = $_SERVER['HTTP_REFERER'];
     106$referer = mysql_real_escape_string($_SERVER['HTTP_REFERER']);
    107107
    108108if ($tracker_enabled == '') { $tracker_enabled = true; }
     
    147147                }
    148148
    149                 $page = urldecode(trim($page));
     149                $page = mysql_real_escape_string(urldecode(trim($page)));
    150150                $path = $row['path'];
    151151                $previouspath = explode('; ', $path);
     
    159159                        $SQL->miscquery($query);
    160160                }
    161                 $query = "UPDATE " . $table_prefix . "requests SET services = '<".str_replace(",", "><", $_REQUEST['services']).">'  WHERE `id` = '$request_id'";
     161                $query = "UPDATE " . $table_prefix . "requests SET services = '<".str_replace(",", "><", mysql_real_escape_string($_REQUEST['services'])).">'  WHERE `id` = '$request_id'";
    162162                $sql_rez = $SQL->miscquery($query);
    163163
     
    175175      $array = parse_url($_SERVER['HTTP_REFERER']);
    176176      $domain_name = $array['host'];
    177       $domain_name = str_ireplace("www.", "",$domain_name);
     177      $domain_name = mysql_real_escape_string(str_ireplace("www.", "",$domain_name));
    178178     
    179179    if  ($domain_name != '') {
  • activehelper-livehelp/trunk/server/import/status.php

    r553176 r878815  
    3636  exit;
    3737}
    38 
    39 
    40 $service_id = $_REQUEST['service_id'];
     38// Get Agent ID
     39$agent_id =0;
     40if (isset($_REQUEST['AGENTID'])){
     41          $agent_id = (int) $_REQUEST['AGENTID'];                             
     42        }
     43 
     44
     45$service_id = mysql_real_escape_string($_REQUEST['service_id']);
    4146
    4247if (!isset($_REQUEST['oUSERID'])){ $_REQUEST['oUSERID'] = null; } else $_REQUEST['oUSERID'] = (int) $_REQUEST['oUSERID'];
    4348
    4449if(isset($_REQUEST['oUSERID'])) {
    45         $query = "SELECT id_domain FROM " . $table_prefix . "domain_user WHERE id_user = ".$_REQUEST['oUSERID']." Limit 1";
     50        $query = "SELECT id_domain FROM " . $table_prefix . "domain_user WHERE id_user = ".mysql_real_escape_string($_REQUEST['oUSERID'])." Limit 1";
    4651        $rows = $SQL->selectquery($query);
    4752        $row = mysql_fetch_array($rows);
     
    6873}
    6974
    70 $department = $_REQUEST['DEPARTMENT'];
     75$department = mysql_real_escape_string($_REQUEST['DEPARTMENT']);
    7176$status_enabled = $_REQUEST['STATUS'];
    72 $userid = $_REQUEST['USERID'];
    73 $ouserid = $_REQUEST['oUSERID'];
     77$userid = mysql_real_escape_string($_REQUEST['USERID']);
     78$ouserid = mysql_real_escape_string($_REQUEST['oUSERID']);
    7479
    7580if ($status_enabled == '') { $status_enabled = 'true'; }
     
    120125        // Counts the total number of support users within each Online/Offline/BRB/Away status mode
    121126        $query = "SELECT DISTINCT `status`, count(`id`) FROM " . $table_prefix . "users WHERE (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`refresh`)) < '$connection_timeout' And id in (" . $users_set . ")";
    122         if($department != '' && $departments) { $query .= " AND `department` LIKE '%$department%'"; }
     127       
     128        if($department != '' && $departments && $agent_id ==0)
     129          { $query .= " and  `answers`='1' and  `department` LIKE '%$department%'"; }
     130        else         
     131        if($agent_id ==0)
     132          { $query .= " and `answers`='1' "; }
     133        else
     134        if($agent_id !=0)
     135        { $query .= " and `answers`='2' and `id`= $agent_id"; }
     136       
     137       /* error_log("department:".$department."\n", 3, "status.log");
     138        error_log("departments:".$departments."\n", 3, "status.log");
     139        error_log("agent_id:".$agent_id."\n", 3, "status.log");
     140        error_log("$query:".$query."\n", 3, "status.log");
     141        */
     142       
    123143        if($userid != '') { $query .= " AND id <> " . $userid; }
    124144        $query .= " GROUP BY `status`";
  • activehelper-livehelp/trunk/server/import/tracker.php

    r726722 r878815  
    4343
    4444//$domainIsValid = true;
    45 $title = $_REQUEST['TITLE'];
    46 $url = $_REQUEST['URL'];
     45//$title = $_REQUEST['TITLE'];
     46//$url = $_REQUEST['URL'];
     47$title = mysql_real_escape_string($_REQUEST['TITLE']);
     48$url = mysql_real_escape_string(urldecode(trim($_REQUEST['URL'])));
     49
    4750$initiate = $_REQUEST['INITIATE'];
    4851$referrer = $_REQUEST['REFERRER'];
    4952$width = $_REQUEST['WIDTH'];
    5053$height = $_REQUEST['HEIGHT'];
     54
    5155$userid = $_REQUEST['USERID'] = (int) $_REQUEST['USERID'];
    5256$service_id = $_REQUEST['service_id'] = (int) $_REQUEST['service_id'];
     
    114118        if ($width != '' && $height != ''&& $url != '') {
    115119
    116                 $page = $_REQUEST['URL'];
     120                //$page = $_REQUEST['URL'];
     121                $page = mysql_real_escape_string(urldecode(trim($_REQUEST['URL'])));
     122
    117123                for ($i = 0; $i < 3; $i++) {
    118124                        $pos = strpos($page, '/');
     
    154160
    155161                    $session = array();
    156                     $session['REQUEST'] = $request_id;
    157                     $session['CHARSET'] = CHARSET;
    158                     $session['USERID'] = $_REQUEST['USERID'];
     162                    $session['REQUEST']  = $request_id;
     163                    $session['CHARSET']  = CHARSET;
     164                    $session['USERID']   = mysql_real_escape_string($_REQUEST['USERID']);
    159165                    $session['DOMAINID'] = $domain_id;
    160                     $session['AGENTID'] = $agent_id;
     166                    $session['AGENTID']  = $agent_id;
    161167                         
    162168                    if (isset($_REQUEST['LANGUAGE'])){
     
    166172                    }
    167173
    168                     $session['SERVICE'] = $_REQUEST['SERVICE'];
     174                    $session['SERVICE'] = mysql_real_escape_string($_REQUEST['SERVICE']);
    169175
    170176                    //$session['ACCOUNT'] = $account;
Note: See TracChangeset for help on using the changeset viewer.