Changeset 1437175
- Timestamp:
- 06/15/2016 02:53:24 PM (10 years ago)
- Location:
- activehelper-livehelp/trunk
- Files:
-
- 5 edited
-
activehelper-livehelp.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
server/push-notify-msg.php (modified) (4 diffs)
-
server/push-notify.php (modified) (4 diffs)
-
sources/livehelp_lib-install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
activehelper-livehelp/trunk/activehelper-livehelp.php
r1422424 r1437175 7 7 Plugin URI: http://www.activehelper.com 8 8 Description: 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.09 Version: 4.2.0 10 10 Author: ActiveHelper Inc 11 11 Author URI: http://www.activehelper.com … … 807 807 ' . __('Version : ', 'activehelper_livehelp') . ' 808 808 </td><td class="b"> 809 ' . __('4. 1.0', 'activehelper_livehelp') . '809 ' . __('4.2.0', 'activehelper_livehelp') . ' 810 810 </td></tr></tbody></table> 811 811 <table><tbody><tr><td class="first t"> -
activehelper-livehelp/trunk/readme.txt
r1422424 r1437175 4 4 Requires at least: 3.2 5 5 Tested up to: 4.5.2 6 Stable tag: 4. 1.06 Stable tag: 4.2.0 7 7 8 8 Wordpress Live Chat plugin. Manage all your wordpress sites from your desktop or mobile. … … 368 368 * Other small improvements and bug fixes. 369 369 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 370 377 Upgrade: 371 378 Before to make any upgrade of the ActiveHelper LiveHelp Server is necessary to follow a couple steps in order to avoid loss the working configuration: … … 600 607 * Other small improvements and bug fixes. 601 608 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 1 1 <?php 2 3 /* 4 Name : Push Notification for Messages 5 Ver : 4.2 6 */ 2 7 3 8 ob_start( 'ob_gzhandler' ); … … 29 34 $query =" SELECT lu.device_id , lu.device, lm.id , lm.message ". 30 35 " 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"; 33 38 34 //error_log("SQL : " . $query ."\n" , 3 ,"push_message.log");39 error_log("SQL : " . $query ."\n" , 3 ,"push_message.log"); 35 40 36 41 $rows = $SQL->selectall($query); … … 45 50 $push_device = $row['device']; 46 51 52 // error_log("push_user_device : " . $push_user_device ."\n" , 3 ,"push_message.log"); 53 47 54 if($push_user_device <> '' && $message_id <> '') 48 55 { … … 62 69 $SQL->miscquery($query); 63 70 64 //error_log("SQL1 : " . $query ."\n" , 3 ,"push_message.log");71 // error_log("SQL1 : " . $query ."\n" , 3 ,"push_message.log"); 65 72 66 73 -
activehelper-livehelp/trunk/server/push-notify.php
r1422424 r1437175 1 1 <?php 2 3 /* 4 Name : Push Notification for Chat Request 5 Ver : 4.2 6 */ 2 7 3 8 ob_start( 'ob_gzhandler' ); … … 37 42 $queryu = "SELECT id, department, device_id , device ". 38 43 " 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 ". 40 45 " id = id_user and id_domain =" ."$push_id_domain" . " and department = " . "'$push_department'"; 41 46 } … … 45 50 $queryu = "SELECT id, department, device_id , device ". 46 51 " 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 ". 48 53 " id = id_user and id_domain =" ."$push_id_domain" ; 49 54 } … … 53 58 $queryu = "SELECT id, department, device_id , device ". 54 59 " 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 ". 56 61 " id =" ."$push_id_agent" ; 57 62 } -
activehelper-livehelp/trunk/sources/livehelp_lib-install.php
r1422424 r1437175 1056 1056 $database_version = "4.1.0"; 1057 1057 } 1058 1059 1058 1059 if ($database_version == "4.1.0") { 1060 $database_version = "4.2.0"; 1061 } 1062 1060 1063 } 1061 1064
Note: See TracChangeset
for help on using the changeset viewer.