Version Description
- multisite (network) support
Download this release
Release Info
Developer | osamaesh |
Plugin | Visitors Traffic Real Time Statistics |
Version | 5.7 |
Comparing to | |
See all releases |
Code changes from version 5.6 to 5.7
- Visitors-Traffic-Real-Time-Statistics.php +1 -1
- WPHitsCounter.php +2 -2
- readme.txt +6 -1
Visitors-Traffic-Real-Time-Statistics.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Visitor Traffic Real Time Statistics
|
|
4 |
Description: Hits counter that shows analytical numbers of your WordPress site visitors and hits.
|
5 |
Author: wp-buy
|
6 |
Author URI: https://www.wp-buy.com/
|
7 |
-
Version: 5.
|
8 |
Text Domain: visitors-traffic-real-time-statistics
|
9 |
Domain Path: /languages
|
10 |
*/
|
4 |
Description: Hits counter that shows analytical numbers of your WordPress site visitors and hits.
|
5 |
Author: wp-buy
|
6 |
Author URI: https://www.wp-buy.com/
|
7 |
+
Version: 5.7
|
8 |
Text Domain: visitors-traffic-real-time-statistics
|
9 |
Domain Path: /languages
|
10 |
*/
|
WPHitsCounter.php
CHANGED
@@ -258,7 +258,7 @@ class WPHitsCounter {
|
|
258 |
$sql = "SELECT COUNT(`hit_id`) AS ct FROM `ahc_hits` WHERE site_id = ".get_current_blog_id()." and DATE(CONVERT_TZ(CONCAT_WS(' ',hit_date,hit_time),'" . AHCFREE_SERVER_CURRENT_TIMEZONE . "','" . $custom_timezone_offset . "')) = '".ahcfree_localtime("Y-m-d")."' AND `hit_ip_address` = %s";
|
259 |
|
260 |
$result = $wpdb->get_results($wpdb->prepare($sql, $this->ipAddress), OBJECT);
|
261 |
-
|
262 |
if ($result !== false) {
|
263 |
|
264 |
return ((int) $result[0]->ct > 0);
|
@@ -751,7 +751,7 @@ class WPHitsCounter {
|
|
751 |
|
752 |
$sql = "INSERT INTO `ahc_daily_visitors_stats` (vst_date, vst_visitors, vst_visits,site_id) values(%s, %d, %d, %d )";
|
753 |
|
754 |
-
$wpdb->query($wpdb->prepare($sql, gmdate("Y-m-d H:i:s"), $visitors, $visits));
|
755 |
|
756 |
$sql = "INSERT INTO `ahc_visitors` (vst_date, vst_visitors, vst_visits,site_id) values(%s, %d, %d, %d)";
|
757 |
//$sql = "UPDATE `ahc_visitors` SET vst_visitors = vst_visitors + %d, vst_visits = vst_visits + %d WHERE DATE(vst_date) = DATE(NOW())";
|
258 |
$sql = "SELECT COUNT(`hit_id`) AS ct FROM `ahc_hits` WHERE site_id = ".get_current_blog_id()." and DATE(CONVERT_TZ(CONCAT_WS(' ',hit_date,hit_time),'" . AHCFREE_SERVER_CURRENT_TIMEZONE . "','" . $custom_timezone_offset . "')) = '".ahcfree_localtime("Y-m-d")."' AND `hit_ip_address` = %s";
|
259 |
|
260 |
$result = $wpdb->get_results($wpdb->prepare($sql, $this->ipAddress), OBJECT);
|
261 |
+
|
262 |
if ($result !== false) {
|
263 |
|
264 |
return ((int) $result[0]->ct > 0);
|
751 |
|
752 |
$sql = "INSERT INTO `ahc_daily_visitors_stats` (vst_date, vst_visitors, vst_visits,site_id) values(%s, %d, %d, %d )";
|
753 |
|
754 |
+
$wpdb->query($wpdb->prepare($sql, gmdate("Y-m-d H:i:s"), $visitors, $visits, get_current_blog_id()));
|
755 |
|
756 |
$sql = "INSERT INTO `ahc_visitors` (vst_date, vst_visitors, vst_visits,site_id) values(%s, %d, %d, %d)";
|
757 |
//$sql = "UPDATE `ahc_visitors` SET vst_visitors = vst_visitors + %d, vst_visits = vst_visits + %d WHERE DATE(vst_date) = DATE(NOW())";
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wp-buy, osamaesh
|
|
3 |
Tags: visitor, traffic, statistics, analytics, stats, online, Visit, WordPress analytics ,visitors online, count visitor, google analytics, analytics, GeoIP, Geo locations, analytics dashboard, visits, chart, browser, blog, today, yesterday, week, month, wp Statistics, year, post, page, sidebar, summary, feedburner, hits, pagerank, google, histats, alexa, live visit, counter, diagram, graph
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 5.9.2
|
6 |
-
Stable tag: 5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -49,6 +49,7 @@ You can use one of the following shortcodes:
|
|
49 |
<p></p>
|
50 |
<ul>
|
51 |
|
|
|
52 |
<li>User online to show how many people are currently viewing your blog</li>
|
53 |
<li>Comprehensive overview page (Dashboard), including browser versions, country stats, hits, exclusions, referrers, searches, search words and visitors</li>
|
54 |
<li>Visits, see how many hits your site gets each day and each week & month</li>
|
@@ -175,6 +176,10 @@ This plugin supports IPv6; however, PHP must be compiled with IPv6 support enabl
|
|
175 |
|
176 |
== Changelog ==
|
177 |
|
|
|
|
|
|
|
|
|
178 |
= 5.6 =
|
179 |
1. Shortcode improvements
|
180 |
|
3 |
Tags: visitor, traffic, statistics, analytics, stats, online, Visit, WordPress analytics ,visitors online, count visitor, google analytics, analytics, GeoIP, Geo locations, analytics dashboard, visits, chart, browser, blog, today, yesterday, week, month, wp Statistics, year, post, page, sidebar, summary, feedburner, hits, pagerank, google, histats, alexa, live visit, counter, diagram, graph
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 5.9.2
|
6 |
+
Stable tag: 5.7
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
49 |
<p></p>
|
50 |
<ul>
|
51 |
|
52 |
+
<li>Multisite (network) support</li>
|
53 |
<li>User online to show how many people are currently viewing your blog</li>
|
54 |
<li>Comprehensive overview page (Dashboard), including browser versions, country stats, hits, exclusions, referrers, searches, search words and visitors</li>
|
55 |
<li>Visits, see how many hits your site gets each day and each week & month</li>
|
176 |
|
177 |
== Changelog ==
|
178 |
|
179 |
+
= 5.7 =
|
180 |
+
1. multisite (network) support
|
181 |
+
|
182 |
+
|
183 |
= 5.6 =
|
184 |
1. Shortcode improvements
|
185 |
|