Version Description
- 09-09-2019 =
- Fixed Migration Script which is display as a fatal error with stop execution.
Download this release
Release Info
Developer | dots |
Plugin | Page Visit Counter |
Version | 6.0.1 |
Comparing to | |
See all releases |
Code changes from version 6.0 to 6.0.1
- README.txt +73 -16
- includes/class-page-visit-counter-activator.php +7 -4
- page-visit-counter.php +3 -3
README.txt
CHANGED
@@ -4,7 +4,7 @@ Plugin URI: https://www.thedotstore.com/
|
|
4 |
Author: Thedotstore
|
5 |
Author URI: https://www.thedotstore.com/
|
6 |
Contributors: dots, ketuchetan, chiragpatel, jitendrabanjara1991, niravcse006
|
7 |
-
Stable tag: 6.0
|
8 |
Tags: page counter,page visit, post counter, post visit, wordpress post view, wordpress page view, page visit graph, post visit graph,
|
9 |
Requires at least: 3.0
|
10 |
Tested up to: 5.2.2
|
@@ -16,26 +16,76 @@ License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
|
16 |
This plugin will count the total visits of your sites pages.
|
17 |
|
18 |
== Description ==
|
19 |
-
|
20 |
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
* In these options you can do different setting for page visit counter.
|
25 |
-
* Short Code: There are two shortcuts that you can use to manually add page view count to any content on admin or post/page template created by your theme or plugin that's creating its own display content in a page / post.
|
26 |
-
* Post Type: You can select the post type from the drop down menu for which post views will be counted. If you leave blank on post type, then all pages or all past type posts will be counted.
|
27 |
-
* Exclude IPs (Ip Address): Enter the IP addresses which you want to be excluded from post views count.
|
28 |
-
* Exclude Users: Select users from your project/system to be excluded from post view count.
|
29 |
-
* Show front view counter: Check the box if you want to display counter view on front end.
|
30 |
-
* Choose color for the front end view: select color from color picker to choose the color for display visit pages text on front side as well as in the shortcode.
|
31 |
|
|
|
|
|
32 |
|
33 |
-
|
34 |
-
In this option you can see all pages listing within Page ID, Page Title and Total Count. It will display all pages of your site. If you excluded particular post type from page visit counter then also it will display that post type, posts pages on table but it will not count those pages and "total count" will be "0" for excluded post type, post pages.
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
= Example: =
|
41 |
1. Admin can see all pages counter in table format from admin site in "Page Visit Counter" option.
|
@@ -48,6 +98,8 @@ In this option you can see all pages listing within Page ID, Page Title and Tota
|
|
48 |
3. Use this shortcode to add page/post template (.php) file of your own template: `<?php echo do_shortcode('[pvcp_1']');?>`
|
49 |
4. Use this shortcode to display total sites visit to add page/post template (.php) file of your own template: `<?php echo do_shortcode('[pvcp_website_count]');?>`
|
50 |
|
|
|
|
|
51 |
|
52 |
We always welcome user suggestions. Let us know what you think about this plugin you liked or may have disliked. User's feedback is important for us to improve more our plugins.
|
53 |
|
@@ -102,6 +154,11 @@ It is compatible from 2.1 to 5.0.3 WordPress version.
|
|
102 |
Automatic updates should work great for you. As always, though, we recommend backing up your site prior to making any updates just to be sure nothing goes wrong.
|
103 |
|
104 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
105 |
= 6.0 - 05-09-2019 =
|
106 |
* Individual Wizard
|
107 |
* Change graph with website summary
|
4 |
Author: Thedotstore
|
5 |
Author URI: https://www.thedotstore.com/
|
6 |
Contributors: dots, ketuchetan, chiragpatel, jitendrabanjara1991, niravcse006
|
7 |
+
Stable tag: 6.0.1
|
8 |
Tags: page counter,page visit, post counter, post visit, wordpress post view, wordpress page view, page visit graph, post visit graph,
|
9 |
Requires at least: 3.0
|
10 |
Tested up to: 5.2.2
|
16 |
This plugin will count the total visits of your sites pages.
|
17 |
|
18 |
== Description ==
|
19 |
+
Page visit counter plugin helps you to boost conversion and increase visitor engagement.
|
20 |
|
21 |
+
You can display a real-time page and post visitor counter on all page or specif page.
|
22 |
|
23 |
+
Page visit counter will help increase conversions by transfer visitor to customer, subscribers and reducing bounce rates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
= How it Works =
|
26 |
+
Add a site visitor counter, decide its layout and create wizards for separate tracking of pages/posts using this comprehensive plugin.
|
27 |
|
28 |
+
It also enables site owners to view analytics related to multiple metrics and analyze the traffic intensely.
|
|
|
29 |
|
30 |
+
Plugin Demo : <a href ="http://pagevisitcounter.demo.store.multidots.com/" target="_blank">View Demo</a>
|
31 |
+
|
32 |
+
= Key features =
|
33 |
+
|
34 |
+
* Plugin used for front side post and pages visit counter.
|
35 |
+
* Front-end side, you can display individual page visit count as well as total website count to the bottom of the pages and posts on your WordPress website.
|
36 |
+
* Display page visit counter on page and post
|
37 |
+
* Enable / Disable Page Visit Count for all pages and posts.
|
38 |
+
* Set the background as well as font color to display a page visit counter on the website.
|
39 |
+
* You can exclude by IP, User, and User Role for page coun
|
40 |
+
* Page view with last month with top 10-page graph and all page list.
|
41 |
+
* Post view with last month with top 10 post graph and all post list.
|
42 |
+
* Search by post/page name in page/post list.
|
43 |
+
* Check individual page/post-visit history with its graph.
|
44 |
+
* Enable/Disable individual page visit count through meta box in page and post. Also, you can display today's page visit count
|
45 |
+
* Reset individual page count through meta box in page and post.
|
46 |
+
* You can add custom CSS.
|
47 |
+
* You can see the admin dashboard with a different type of report. As per below
|
48 |
+
* Website site visitors summary like today, yesterday, last week, last year, etc.
|
49 |
+
* Browse and operating system report
|
50 |
+
* Top 10 Country, Post, Page, Referral site and IP list based visitor reports
|
51 |
+
|
52 |
+
[youtube https://www.youtube.com/watch?v=PAF6SBy-PdY]
|
53 |
+
|
54 |
+
= Page Counter Settings: =
|
55 |
+
In these options, you can do different settings for the page visit counter.
|
56 |
+
|
57 |
+
The plugin provides a default setting for the page visit counter.
|
58 |
+
|
59 |
+
* Title: Enter the title which you want to be displayed in front side counter for the wizard.
|
60 |
+
* Post Type: - You can select the post type from the drop-down menu for which post views will be counted. If you leave blank on post type, then all pages or all past type posts will be counted.
|
61 |
+
* Front View Counter: It will use to display all page/posts visit count on the front side without using any wizard/shortcode. By default it is Disable.
|
62 |
+
* Style: You can set different styles with font family, font size, font color, background color, border, border-radius, padding as per your requirement.
|
63 |
+
* Counter View & Position: You can set your page visit counter position as per your requirement on the front side. And also you can specify who is the display page visit counter on the front side. Also, you can manage the post-visit counter icon as per your requirement.
|
64 |
+
* Exclude IPs (Ip Address): Enter the IP addresses which you want to be excluded from post views count.
|
65 |
+
* Exclude Users: Select users from your project/system to be excluded from post view count.
|
66 |
+
* Exclude User Role: Select user role from your project/system to be excluded from post view count.
|
67 |
+
* Exclude Country: Select the country in which you want to be excluded from post view count.
|
68 |
+
* Custom CSS: You can add custom CSS as per your requirement.
|
69 |
+
* Short Code: Total Website Count - It will display the sum of all page/post count.
|
70 |
+
* Short Code: Individual Wizard - It will display individual page/post count.
|
71 |
+
|
72 |
+
== Pro Plugin Overview: ==
|
73 |
+
Need even more features? upgrade to <a href ="https://www.thedotstore.com/page-visit-counter/" target="_blank">Page Visit Counter PRO</a> to get all the advanced features:
|
74 |
+
|
75 |
+
* Multiple Create shortcode and wizard
|
76 |
+
* Visitors Counter is fully customizable. Visitors Counter is fully customizable.
|
77 |
+
* Exclude Page visit counter by User Roles
|
78 |
+
* Exclude Page visit counter by Country
|
79 |
+
* Counter view - Who will see this page visit counter by Guest Only, Registered Users only
|
80 |
+
* Upload Counter Icon
|
81 |
+
* Monthwise Website Visit Counter Report
|
82 |
+
* Yearwise Website Visit Report
|
83 |
+
* Individual Page/Post Graph with 2 Month
|
84 |
+
* Individual Page/Post Graph with 3 Month
|
85 |
+
* Individual Page/Post Graph with 6 Month
|
86 |
+
* Page/Post summary with User Role
|
87 |
+
* Backend Individual wizard setting
|
88 |
+
* Backend Individual wizard Delete
|
89 |
|
90 |
= Example: =
|
91 |
1. Admin can see all pages counter in table format from admin site in "Page Visit Counter" option.
|
98 |
3. Use this shortcode to add page/post template (.php) file of your own template: `<?php echo do_shortcode('[pvcp_1']');?>`
|
99 |
4. Use this shortcode to display total sites visit to add page/post template (.php) file of your own template: `<?php echo do_shortcode('[pvcp_website_count]');?>`
|
100 |
|
101 |
+
= Note: =
|
102 |
+
In the migration process, all existing data converted into the page list. And after that new version provide page count with two different sections as Post(Blog) and Page.
|
103 |
|
104 |
We always welcome user suggestions. Let us know what you think about this plugin you liked or may have disliked. User's feedback is important for us to improve more our plugins.
|
105 |
|
154 |
Automatic updates should work great for you. As always, though, we recommend backing up your site prior to making any updates just to be sure nothing goes wrong.
|
155 |
|
156 |
== Changelog ==
|
157 |
+
|
158 |
+
= 6.0.1 - 09-09-2019 =
|
159 |
+
* Fixed Migration Script which is display as a fatal error with stop execution.
|
160 |
+
|
161 |
+
|
162 |
= 6.0 - 05-09-2019 =
|
163 |
* Individual Wizard
|
164 |
* Change graph with website summary
|
includes/class-page-visit-counter-activator.php
CHANGED
@@ -88,12 +88,12 @@ class Page_Visit_Counter_Activator
|
|
88 |
dbDelta($wizard_sql_data);
|
89 |
}
|
90 |
/* Data Migration Script Start */
|
91 |
-
$pvcp_db_upgrade = get_option('
|
92 |
|
93 |
if (empty($pvcp_db_upgrade)) {
|
94 |
$db_upgrade_flag = self::pvcp_data_migration_script();
|
95 |
if ($db_upgrade_flag == 1) {
|
96 |
-
update_option('
|
97 |
}
|
98 |
}
|
99 |
/* Data Migration Script End */
|
@@ -206,14 +206,17 @@ class Page_Visit_Counter_Activator
|
|
206 |
$wpdb->query("ALTER TABLE $page_visit_history_table ADD COLUMN `type` varchar(255) AFTER `http_referer`");
|
207 |
}
|
208 |
|
209 |
-
|
210 |
if ($get_all_record) {
|
211 |
foreach ($get_all_record as $result) {
|
212 |
$page_id= $result->page_id;
|
213 |
$set_post_type = get_post_type($page_id);
|
214 |
$wpdb->query("UPDATE $page_visit_history_table SET type='$set_post_type' WHERE page_id=$page_id");
|
215 |
}
|
216 |
-
}
|
|
|
|
|
|
|
217 |
|
218 |
$db_upgrade_flag = 1;
|
219 |
return $db_upgrade_flag;
|
88 |
dbDelta($wizard_sql_data);
|
89 |
}
|
90 |
/* Data Migration Script Start */
|
91 |
+
$pvcp_db_upgrade = get_option('pvcp_db_upgrade_1');
|
92 |
|
93 |
if (empty($pvcp_db_upgrade)) {
|
94 |
$db_upgrade_flag = self::pvcp_data_migration_script();
|
95 |
if ($db_upgrade_flag == 1) {
|
96 |
+
update_option('pvcp_db_upgrade_1', 'required');
|
97 |
}
|
98 |
}
|
99 |
/* Data Migration Script End */
|
206 |
$wpdb->query("ALTER TABLE $page_visit_history_table ADD COLUMN `type` varchar(255) AFTER `http_referer`");
|
207 |
}
|
208 |
|
209 |
+
/*$get_all_record = $wpdb->get_results("SELECT page_id FROM $page_visit_history_table"); //db call ok; no-cache ok
|
210 |
if ($get_all_record) {
|
211 |
foreach ($get_all_record as $result) {
|
212 |
$page_id= $result->page_id;
|
213 |
$set_post_type = get_post_type($page_id);
|
214 |
$wpdb->query("UPDATE $page_visit_history_table SET type='$set_post_type' WHERE page_id=$page_id");
|
215 |
}
|
216 |
+
}*/
|
217 |
+
|
218 |
+
$wpdb->query("UPDATE $page_visit_history_table SET type='page'");
|
219 |
+
|
220 |
|
221 |
$db_upgrade_flag = 1;
|
222 |
return $db_upgrade_flag;
|
page-visit-counter.php
CHANGED
@@ -6,10 +6,10 @@
|
|
6 |
* @package Page_Visit_Counter
|
7 |
*
|
8 |
* @wordpress-plugin
|
9 |
-
* Plugin Name:
|
10 |
* Plugin URI: https://www.thedotstore.com/page-visit-counter/
|
11 |
* Description: This plugin will count the total visits of the pages of your site.
|
12 |
-
* Version: 6.0
|
13 |
* Author: Thedotstore
|
14 |
* Author URI: https://www.thedotstore.com/
|
15 |
* License: GPL-2.0+
|
@@ -65,7 +65,7 @@ if ( !function_exists( 'pvc_fs' ) ) {
|
|
65 |
}
|
66 |
|
67 |
if ( !defined( 'PVCP_VERSION' ) ) {
|
68 |
-
define( 'PVCP_VERSION', '6.0' );
|
69 |
}
|
70 |
if ( !defined( 'PVCP_PLUGIN_URL' ) ) {
|
71 |
define( 'PVCP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
6 |
* @package Page_Visit_Counter
|
7 |
*
|
8 |
* @wordpress-plugin
|
9 |
+
* Plugin Name: Page Visit Counter
|
10 |
* Plugin URI: https://www.thedotstore.com/page-visit-counter/
|
11 |
* Description: This plugin will count the total visits of the pages of your site.
|
12 |
+
* Version: 6.0.1
|
13 |
* Author: Thedotstore
|
14 |
* Author URI: https://www.thedotstore.com/
|
15 |
* License: GPL-2.0+
|
65 |
}
|
66 |
|
67 |
if ( !defined( 'PVCP_VERSION' ) ) {
|
68 |
+
define( 'PVCP_VERSION', '6.0.1' );
|
69 |
}
|
70 |
if ( !defined( 'PVCP_PLUGIN_URL' ) ) {
|
71 |
define( 'PVCP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|