Plugin Directory

Changeset 1437175


Ignore:
Timestamp:
06/15/2016 02:53:24 PM (10 years ago)
Author:
activehelper
Message:

4.2.0

  • Enhanced Push Notification
  • Enhanced mobile support
  • Core Update.
  • Core Security update.
  • Other small improvements and bug fixes.
Location:
activehelper-livehelp/trunk
Files:
5 edited

Legend:

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

    r1422424 r1437175  
    77Plugin URI: http://www.activehelper.com
    88Description: Provide superior service by real time live 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: 4.1.0
     9Version: 4.2.0
    1010Author: ActiveHelper Inc
    1111Author URI: http://www.activehelper.com
     
    807807                                ' . __('Version : ', 'activehelper_livehelp') . '
    808808                            </td><td class="b">
    809                                 ' . __('4.1.0', 'activehelper_livehelp') . '
     809                                ' . __('4.2.0', 'activehelper_livehelp') . '
    810810                            </td></tr></tbody></table>
    811811                            <table><tbody><tr><td class="first t">
  • activehelper-livehelp/trunk/readme.txt

    r1422424 r1437175  
    44Requires at least: 3.2
    55Tested up to: 4.5.2
    6 Stable tag: 4.1.0
     6Stable tag: 4.2.0
    77
    88Wordpress Live Chat plugin. Manage all your wordpress sites from your desktop or mobile.
     
    368368* Other small improvements and bug fixes.
    369369
     370= 4.2.0 =
     371* Enhanced Push Notification
     372* Enhanced mobile support.
     373* Core Update.
     374* Core Security update.
     375* Other small improvements and bug fixes.
     376
    370377Upgrade:
    371378Before to make any upgrade of the ActiveHelper LiveHelp Server is necessary to follow a couple steps in order to avoid loss the working configuration:
     
    600607* Other small improvements and bug fixes.
    601608
     609= 4.2.0 =
     610* Enhanced Push Notification
     611* Enhanced mobile support
     612* Core Update.
     613* Core Security update.
     614* Other small improvements and bug fixes.
     615
  • activehelper-livehelp/trunk/server/push-notify-msg.php

    r1422424 r1437175  
    11<?php
     2
     3/* 
     4Name : Push Notification for Messages
     5Ver  : 4.2
     6*/
    27
    38ob_start( 'ob_gzhandler' );
     
    2934          $query ="  SELECT  lu.device_id , lu.device, lm.id , lm.message ".
    3035                   " FROM " . $table_prefix . "sessions ls , " . $table_prefix . "users lu ,  " . $table_prefix . "messages lm ".
    31                      " WHERE ls.active in(1,2) and ls.id_user =  lu.id  and ".
    32                      " lu.device_id <> '' and ls.id = lm.session and lm.delivered = 0";                 
     36                     " WHERE ls.active  = lu.id and ls.id_user =  lu.id  and ".
     37                     " lu.device_id is not NULL and ls.id = lm.session and lm.delivered = 0 and ((UNIX_TIMESTAMP(NOW()))- (UNIX_TIMESTAMP(lm.datetime)) )< 30";                 
    3338                           
    34     //error_log("SQL : " . $query ."\n" , 3 ,"push_message.log");             
     39    error_log("SQL : " . $query ."\n" , 3 ,"push_message.log");           
    3540
    3641   $rows = $SQL->selectall($query);
     
    4550       $push_device       = $row['device'];     
    4651       
     52     // error_log("push_user_device : " . $push_user_device ."\n" , 3 ,"push_message.log");
     53     
    4754       if($push_user_device <> '' && $message_id <> '')
    4855              {
     
    6269                 $SQL->miscquery($query);
    6370                 
    64             //  error_log("SQL1 : " . $query ."\n" , 3 ,"push_message.log");   
     71                // error_log("SQL1 : " . $query ."\n" , 3 ,"push_message.log");
    6572                 
    6673                 
  • activehelper-livehelp/trunk/server/push-notify.php

    r1422424 r1437175  
    11<?php
     2
     3/* 
     4Name : Push Notification for Chat Request
     5Ver  : 4.2
     6*/
    27
    38ob_start( 'ob_gzhandler' );
     
    3742                 $queryu = "SELECT  id, department, device_id , device ".
    3843                           " FROM ". $table_prefix . "users , ". $table_prefix ."domain_user " .
    39                            " WHERE (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`refresh`)) < '$connection_timeout_mobile' and device_id <>'' and ".
     44                           " WHERE (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`refresh`)) < '$connection_timeout_mobile' and device_id is not NULL and ".
    4045                           " id = id_user and id_domain =" ."$push_id_domain" . " and department = " .  "'$push_department'";
    4146                }
     
    4550                   $queryu = "SELECT  id, department, device_id , device ".
    4651                           " FROM ". $table_prefix . "users , ". $table_prefix ."domain_user " .
    47                            " WHERE (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`refresh`)) < '$connection_timeout_mobile' and device_id <>'' and ".
     52                           " WHERE (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`refresh`)) < '$connection_timeout_mobile' and device_id is not NULL and ".
    4853                           " id = id_user and id_domain =" ."$push_id_domain" ;
    4954                }
     
    5358                $queryu = "SELECT  id, department, device_id , device ".
    5459                           " FROM ". $table_prefix . "users ".
    55                            " WHERE (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`refresh`)) < '$connection_timeout_mobile' and device_id <>'' and ".
     60                           " WHERE (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`refresh`)) < '$connection_timeout_mobile' and device_id is not NULL and ".
    5661                           " id =" ."$push_id_agent" ;
    5762                }                                                         
  • activehelper-livehelp/trunk/sources/livehelp_lib-install.php

    r1422424 r1437175  
    10561056       $database_version = "4.1.0";     
    10571057     }
    1058 
    10591058     
     1059   if ($database_version == "4.1.0") {                 
     1060       $database_version = "4.2.0";     
     1061     }
     1062
    10601063 }
    10611064 
Note: See TracChangeset for help on using the changeset viewer.