Version Description
New: GDPR compliance help New: WD library updated Fixed: Bugs when exporting event
Download this release
Release Info
Developer | webdorado |
Plugin | Calendar by WD – Responsive Event Calendar |
Version | 1.5.62 |
Comparing to | |
See all releases |
Code changes from version 1.5.61 to 1.5.62
- calendar.php +23 -23
- changelog.txt +203 -0
- readme.txt +40 -33
- spidercalendar_upcoming_events_widget.php +4 -5
- wd/README.md +1 -1
- wd/assets/css/deactivate_popup.css +22 -1
- wd/assets/css/img/close.svg +16 -0
- wd/assets/img/fmc_main_plugin.png +0 -0
- wd/assets/js/deactivate_popup.js +62 -10
- wd/config.php +5 -1
- wd/includes/overview.php +3 -0
- wd/templates/display_deactivation_popup.php +3 -2
- wd/templates/display_overview_support.php +18 -2
- wd/templates/display_subscribe.php +4 -1
- wd/wd.php +1 -1
calendar.php
CHANGED
@@ -3,12 +3,15 @@
|
|
3 |
Plugin Name: Spider Event Calendar
|
4 |
Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
|
5 |
Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
|
6 |
-
Version: 1.5.
|
7 |
Author: WebDorado
|
8 |
Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
9 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
11 |
-
|
|
|
|
|
|
|
12 |
// LANGUAGE localization.
|
13 |
function sp_calendar_language_load () {
|
14 |
load_plugin_textdomain('sp_calendar', false, basename(dirname(__FILE__)) . '/languages');
|
@@ -17,12 +20,11 @@ function sp_calendar_language_load () {
|
|
17 |
add_action('init', 'sp_calendar_language_load');
|
18 |
add_action('init', 'sp_cal_registr_some_scripts');
|
19 |
function sp_cal_registr_some_scripts () {
|
20 |
-
|
21 |
-
wp_register_script("
|
22 |
-
wp_register_script("
|
23 |
-
wp_register_script("calenndar_function_upcoming", plugins_url("elements/calendar_function.js", __FILE__), array(), $wd_spider_calendar_version);
|
24 |
if (isset($_GET['page']) && $_GET['page'] == "Uninstall_sp_calendar") {
|
25 |
-
wp_enqueue_script("sp_calendar-deactivate-popup", plugins_url('wd/assets/js/deactivate_popup.js', __FILE__), array(),
|
26 |
$admin_data = wp_get_current_user();
|
27 |
wp_localize_script('sp_calendar-deactivate-popup', 'sp_calendarWDDeactivateVars', array(
|
28 |
"prefix" => "sp_calendar",
|
@@ -515,50 +517,46 @@ function spider_widget_styles_scripts () {
|
|
515 |
}
|
516 |
|
517 |
function spider_calendar_themes_admin_styles_scripts () {
|
518 |
-
global $wd_spider_calendar_version;
|
519 |
wp_enqueue_script("jquery");
|
520 |
-
wp_enqueue_script("standart_themes", plugins_url('elements/theme_reset.js', __FILE__), array(),
|
521 |
wp_enqueue_script('wp-color-picker');
|
522 |
wp_enqueue_style('wp-color-picker');
|
523 |
if (isset($_GET['task'])) {
|
524 |
if ($_GET['task'] == 'edit_theme' || $_GET['task'] == 'add_theme' || $_GET['task'] == 'Apply') {
|
525 |
-
wp_enqueue_style("parsetheme_css", plugins_url('style_for_cal/style_for_tables_cal.css', __FILE__), array(),
|
526 |
}
|
527 |
}
|
528 |
|
529 |
}
|
530 |
|
531 |
function spider_widget_calendar_themes_admin_styles_scripts () {
|
532 |
-
global $wd_spider_calendar_version;
|
533 |
wp_enqueue_script("jquery");
|
534 |
-
wp_enqueue_script("standart_themes", plugins_url('elements/theme_reset_widget.js', __FILE__), array(),
|
535 |
wp_enqueue_script('wp-color-picker');
|
536 |
wp_enqueue_style('wp-color-picker');
|
537 |
if (isset($_GET['task'])) {
|
538 |
if ($_GET['task'] == 'edit_theme' || $_GET['task'] == 'add_theme' || $_GET['task'] == 'Apply') {
|
539 |
-
wp_enqueue_style("parsetheme_css", plugins_url('style_for_cal/style_for_tables_cal.css', __FILE__), array(),
|
540 |
}
|
541 |
}
|
542 |
}
|
543 |
|
544 |
function spider_calendar_admin_styles_scripts () {
|
545 |
-
|
546 |
-
wp_enqueue_script("
|
547 |
-
wp_enqueue_script("
|
548 |
-
|
549 |
-
wp_enqueue_style("spcalendar-jos", plugins_url("elements/calendar-jos.css", __FILE__), array(), $wd_spider_calendar_version, false);
|
550 |
if (isset($_GET['page']) && $_GET['page'] == "Uninstall_sp_calendar") {
|
551 |
-
wp_enqueue_style("sp_calendar_deactivate-css", plugins_url("wd/assets/css/deactivate_popup.css", __FILE__), array(),
|
552 |
}
|
553 |
}
|
554 |
|
555 |
function spider_calendar_event_category_admin_styles_scripts () {
|
556 |
-
|
557 |
-
wp_enqueue_script("
|
558 |
-
wp_enqueue_script("calendar-setup", plugins_url("elements/calendar-setup.js", __FILE__), array(), $wd_spider_calendar_version, false);
|
559 |
wp_enqueue_script('wp-color-picker');
|
560 |
wp_enqueue_style('wp-color-picker');
|
561 |
-
wp_enqueue_style("spcalendar-jos", plugins_url("elements/calendar-jos.css", __FILE__), array(),
|
562 |
}
|
563 |
|
564 |
add_filter('admin_head', 'spide_ShowTinyMCE');
|
@@ -1283,6 +1281,7 @@ function spider_calendar_export () {
|
|
1283 |
header("Content-length: " . filesize($tmp_file));
|
1284 |
header("Pragma: no-cache");
|
1285 |
header("Expires: 0");
|
|
|
1286 |
readfile($tmp_file);
|
1287 |
}
|
1288 |
foreach ($files as $file) {
|
@@ -1407,6 +1406,7 @@ function spidercal_add_plugin_meta_links ($meta_fields, $file) {
|
|
1407 |
}
|
1408 |
|
1409 |
function spidercal_activate ($networkwide) {
|
|
|
1410 |
if (function_exists('is_multisite') && is_multisite()) {
|
1411 |
// Check if it is a network activation - if so, run the activation function for each blog id.
|
1412 |
if ($networkwide) {
|
3 |
Plugin Name: Spider Event Calendar
|
4 |
Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
|
5 |
Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
|
6 |
+
Version: 1.5.62
|
7 |
Author: WebDorado
|
8 |
Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
9 |
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
11 |
+
if( ! defined( 'SPCALENDAR_VERSION' ) ) {
|
12 |
+
define( 'SPCALENDAR_VERSION', "1.5.62");
|
13 |
+
}
|
14 |
+
|
15 |
// LANGUAGE localization.
|
16 |
function sp_calendar_language_load () {
|
17 |
load_plugin_textdomain('sp_calendar', false, basename(dirname(__FILE__)) . '/languages');
|
20 |
add_action('init', 'sp_calendar_language_load');
|
21 |
add_action('init', 'sp_cal_registr_some_scripts');
|
22 |
function sp_cal_registr_some_scripts () {
|
23 |
+
wp_register_script("Canlendar_upcoming", plugins_url("elements/calendar.js", __FILE__), array(), SPCALENDAR_VERSION);
|
24 |
+
wp_register_script("calendnar-setup_upcoming", plugins_url("elements/calendar-setup.js", __FILE__), array(), SPCALENDAR_VERSION);
|
25 |
+
wp_register_script("calenndar_function_upcoming", plugins_url("elements/calendar_function.js", __FILE__), array(), SPCALENDAR_VERSION);
|
|
|
26 |
if (isset($_GET['page']) && $_GET['page'] == "Uninstall_sp_calendar") {
|
27 |
+
wp_enqueue_script("sp_calendar-deactivate-popup", plugins_url('wd/assets/js/deactivate_popup.js', __FILE__), array(), SPCALENDAR_VERSION);
|
28 |
$admin_data = wp_get_current_user();
|
29 |
wp_localize_script('sp_calendar-deactivate-popup', 'sp_calendarWDDeactivateVars', array(
|
30 |
"prefix" => "sp_calendar",
|
517 |
}
|
518 |
|
519 |
function spider_calendar_themes_admin_styles_scripts () {
|
|
|
520 |
wp_enqueue_script("jquery");
|
521 |
+
wp_enqueue_script("standart_themes", plugins_url('elements/theme_reset.js', __FILE__), array(), SPCALENDAR_VERSION);
|
522 |
wp_enqueue_script('wp-color-picker');
|
523 |
wp_enqueue_style('wp-color-picker');
|
524 |
if (isset($_GET['task'])) {
|
525 |
if ($_GET['task'] == 'edit_theme' || $_GET['task'] == 'add_theme' || $_GET['task'] == 'Apply') {
|
526 |
+
wp_enqueue_style("parsetheme_css", plugins_url('style_for_cal/style_for_tables_cal.css', __FILE__), array(), SPCALENDAR_VERSION);
|
527 |
}
|
528 |
}
|
529 |
|
530 |
}
|
531 |
|
532 |
function spider_widget_calendar_themes_admin_styles_scripts () {
|
|
|
533 |
wp_enqueue_script("jquery");
|
534 |
+
wp_enqueue_script("standart_themes", plugins_url('elements/theme_reset_widget.js', __FILE__), array(), SPCALENDAR_VERSION);
|
535 |
wp_enqueue_script('wp-color-picker');
|
536 |
wp_enqueue_style('wp-color-picker');
|
537 |
if (isset($_GET['task'])) {
|
538 |
if ($_GET['task'] == 'edit_theme' || $_GET['task'] == 'add_theme' || $_GET['task'] == 'Apply') {
|
539 |
+
wp_enqueue_style("parsetheme_css", plugins_url('style_for_cal/style_for_tables_cal.css', __FILE__), array(), SPCALENDAR_VERSION);
|
540 |
}
|
541 |
}
|
542 |
}
|
543 |
|
544 |
function spider_calendar_admin_styles_scripts () {
|
545 |
+
wp_enqueue_script("Calendar", plugins_url("elements/calendar.js", __FILE__), array(), SPCALENDAR_VERSION, false);
|
546 |
+
wp_enqueue_script("calendar-setup", plugins_url("elements/calendar-setup.js", __FILE__), array(), SPCALENDAR_VERSION, false);
|
547 |
+
wp_enqueue_script("calendar_function", plugins_url("elements/calendar_function.js", __FILE__), array(), SPCALENDAR_VERSION, false);
|
548 |
+
wp_enqueue_style("spcalendar-jos", plugins_url("elements/calendar-jos.css", __FILE__), array(), SPCALENDAR_VERSION, false);
|
|
|
549 |
if (isset($_GET['page']) && $_GET['page'] == "Uninstall_sp_calendar") {
|
550 |
+
wp_enqueue_style("sp_calendar_deactivate-css", plugins_url("wd/assets/css/deactivate_popup.css", __FILE__), array(), SPCALENDAR_VERSION, false);
|
551 |
}
|
552 |
}
|
553 |
|
554 |
function spider_calendar_event_category_admin_styles_scripts () {
|
555 |
+
wp_enqueue_script("Calendar", plugins_url("elements/calendar.js", __FILE__), array(), SPCALENDAR_VERSION, false);
|
556 |
+
wp_enqueue_script("calendar-setup", plugins_url("elements/calendar-setup.js", __FILE__), array(), SPCALENDAR_VERSION, false);
|
|
|
557 |
wp_enqueue_script('wp-color-picker');
|
558 |
wp_enqueue_style('wp-color-picker');
|
559 |
+
wp_enqueue_style("spcalendar-jos", plugins_url("elements/calendar-jos.css", __FILE__), array(), SPCALENDAR_VERSION, false);
|
560 |
}
|
561 |
|
562 |
add_filter('admin_head', 'spide_ShowTinyMCE');
|
1281 |
header("Content-length: " . filesize($tmp_file));
|
1282 |
header("Pragma: no-cache");
|
1283 |
header("Expires: 0");
|
1284 |
+
ob_end_clean();
|
1285 |
readfile($tmp_file);
|
1286 |
}
|
1287 |
foreach ($files as $file) {
|
1406 |
}
|
1407 |
|
1408 |
function spidercal_activate ($networkwide) {
|
1409 |
+
update_option('sp_calendar_version',SPCALENDAR_VERSION);
|
1410 |
if (function_exists('is_multisite') && is_multisite()) {
|
1411 |
// Check if it is a network activation - if so, run the activation function for each blog id.
|
1412 |
if ($networkwide) {
|
changelog.txt
ADDED
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
== Changelog ==
|
2 |
+
|
3 |
+
= 1.5.62 =
|
4 |
+
New: GDPR compliance help
|
5 |
+
New: WD library updated
|
6 |
+
Fixed: Bugs when exporting event
|
7 |
+
|
8 |
+
= 1.5.61 =
|
9 |
+
Fixed: Faster loading of pages. Synchronous requests in calendar frontend are removed.
|
10 |
+
Changed: PHP 7.2 compatibility, create_function is not used anymore
|
11 |
+
|
12 |
+
= 1.5.60 =
|
13 |
+
Fixed: Events of the same day of the previous year were visible in popup
|
14 |
+
Updated: Italian translation thanks to Marco Moniga
|
15 |
+
|
16 |
+
= 1.5.59 =
|
17 |
+
Fixed: register_activation_hook not being called because of conflict with some plugins
|
18 |
+
|
19 |
+
= 1.5.58 =
|
20 |
+
Fixed: Js errors on widget
|
21 |
+
|
22 |
+
= 1.5.57 =
|
23 |
+
Fixed: Deactivation popup
|
24 |
+
|
25 |
+
= 1.5.55 =
|
26 |
+
Fixed: Load admin styles only on calendar pages
|
27 |
+
Changed: Introducing brand new free Backup WD plugin
|
28 |
+
|
29 |
+
= 1.5.54 =
|
30 |
+
Fixed: Network activate issue
|
31 |
+
|
32 |
+
= 1.5.53 =
|
33 |
+
Changed: Event popup design
|
34 |
+
Fixed: Generate shortcode popup styles
|
35 |
+
|
36 |
+
= 1.5.52 =
|
37 |
+
Fixed: Security issue
|
38 |
+
Added: Overview page
|
39 |
+
|
40 |
+
= 1.5.51 =
|
41 |
+
Removed: Featured plugins, themes page
|
42 |
+
|
43 |
+
= 1.5.50 =
|
44 |
+
Fixed: Minor bug
|
45 |
+
|
46 |
+
= 1.5.49 =
|
47 |
+
Fixed: Bug on PHP 7
|
48 |
+
|
49 |
+
= 1.5.48 =
|
50 |
+
Added: Icelandic translation
|
51 |
+
|
52 |
+
= 1.5.47 =
|
53 |
+
Fixed: Minor bug
|
54 |
+
Fixed: Translations
|
55 |
+
|
56 |
+
= 1.5.46 =
|
57 |
+
Fixed: Translations
|
58 |
+
|
59 |
+
= 1.5.45 =
|
60 |
+
Changed: Featured themes page
|
61 |
+
|
62 |
+
= 1.5.44 =
|
63 |
+
Fixed: Minor bug
|
64 |
+
|
65 |
+
= 1.5.43 =
|
66 |
+
Changed: Category color picker
|
67 |
+
|
68 |
+
= 1.5.42 =
|
69 |
+
Fixed: Minor bug
|
70 |
+
|
71 |
+
= 1.5.41 =
|
72 |
+
Fixed: Minor bug
|
73 |
+
|
74 |
+
= 1.5.40 =
|
75 |
+
Changed: Featured plugins, themes page
|
76 |
+
Changed: Uninstall page
|
77 |
+
|
78 |
+
= 1.5.39 =
|
79 |
+
Fixed: Security issue
|
80 |
+
|
81 |
+
= 1.5.38 =
|
82 |
+
Fixed: Calendar header date format
|
83 |
+
|
84 |
+
= 1.5.37 =
|
85 |
+
Fixed: Minor bugs
|
86 |
+
Fixed: Finnish translation
|
87 |
+
|
88 |
+
= 1.5.36 =
|
89 |
+
Changed: Default themes redesigned.
|
90 |
+
Fixed: SEO issue.
|
91 |
+
Fixed: Bug in calendar quick edit.
|
92 |
+
Fixed: Bug in Theme preview.
|
93 |
+
Added: Shortcodes support in event description.
|
94 |
+
Added: Capability to copy event.
|
95 |
+
Fixed: Translations.
|
96 |
+
|
97 |
+
= 1.5.35 =
|
98 |
+
Fixed: Minor bugs
|
99 |
+
|
100 |
+
= 1.5.34 =
|
101 |
+
Fixed: Bug in update
|
102 |
+
|
103 |
+
= 1.5.33 =
|
104 |
+
Fixed: Translations.
|
105 |
+
|
106 |
+
= 1.5.32 =
|
107 |
+
Changed: Category styles
|
108 |
+
Fixed: Minor bugs
|
109 |
+
|
110 |
+
= 1.4.30 =
|
111 |
+
New: New year promo
|
112 |
+
|
113 |
+
= 1.4.29 =
|
114 |
+
Changed: Notices order
|
115 |
+
|
116 |
+
|
117 |
+
= 1.4.28 =
|
118 |
+
Fixed: bug in adding events
|
119 |
+
New: Notices
|
120 |
+
|
121 |
+
= 1.4.27 =
|
122 |
+
Fixed: Translation
|
123 |
+
|
124 |
+
= 1.4.26 =
|
125 |
+
New: Export to Event Calendar WD
|
126 |
+
|
127 |
+
= 1.4.25 =
|
128 |
+
Changed: Compability with WordPress 4.3
|
129 |
+
|
130 |
+
= 1.4.24 =
|
131 |
+
Conflict with event calendar wd fixed
|
132 |
+
|
133 |
+
= 1.4.23 =
|
134 |
+
Fixed: Conflict with some plugins
|
135 |
+
|
136 |
+
= 1.4.22 =
|
137 |
+
Fixed: Conflict with some themes
|
138 |
+
|
139 |
+
= 1.4.21 =
|
140 |
+
Edit featured plugins
|
141 |
+
|
142 |
+
= 1.4.20 =
|
143 |
+
bug in color picker fixed
|
144 |
+
|
145 |
+
= 1.4.19 =
|
146 |
+
Add featured themes
|
147 |
+
|
148 |
+
= 1.4.18 =
|
149 |
+
change links
|
150 |
+
|
151 |
+
= 1.4.17 =
|
152 |
+
translation fixed
|
153 |
+
|
154 |
+
= 1.4.16 =
|
155 |
+
cache issue fixed
|
156 |
+
|
157 |
+
= 1.4.15 =
|
158 |
+
bug fixed in description editor
|
159 |
+
allow origin issue fixed
|
160 |
+
|
161 |
+
= 1.4.14 =
|
162 |
+
bug fixed in upcoming events widget
|
163 |
+
|
164 |
+
= 1.4.11 =
|
165 |
+
Added "All Categories" button to all views
|
166 |
+
|
167 |
+
= 1.4.10 =
|
168 |
+
bug fixed in frontend
|
169 |
+
|
170 |
+
= 1.4.9 =
|
171 |
+
bug in current day fixed
|
172 |
+
|
173 |
+
= 1.4.8 =
|
174 |
+
warning in list view fixed
|
175 |
+
|
176 |
+
= 1.4.7 =
|
177 |
+
add option Display Category Legend:
|
178 |
+
edit admin css
|
179 |
+
|
180 |
+
= 1.4.6 =
|
181 |
+
bug fixed in wp 3.9 editor
|
182 |
+
|
183 |
+
= 1.4.5 =
|
184 |
+
bug fixed in upcoming events
|
185 |
+
|
186 |
+
= 1.4.4 =
|
187 |
+
bug in upcoming events fixed
|
188 |
+
|
189 |
+
= 1.4.3 =
|
190 |
+
order events by time
|
191 |
+
|
192 |
+
= 1.4.2 =
|
193 |
+
translations fixed
|
194 |
+
|
195 |
+
= 1.4.1 =
|
196 |
+
bug fix, (width parameter problem), correct user manual links
|
197 |
+
|
198 |
+
= 1.4 =
|
199 |
+
categories and upcoming events
|
200 |
+
|
201 |
+
= 1.0.0 =
|
202 |
+
Initial version
|
203 |
+
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado, wdsupport, 10web
|
|
3 |
Tags: calendar, event, event calendar, events, events calendar, calendars, event manager, calendar widget, event management, free calendar, Calender, upcoming events
|
4 |
Requires at least: 3.9
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -15,7 +15,7 @@ Event Calendar by WD is a responsive calendar plugin for organizing events. Plug
|
|
15 |
[WordPress Calendar](https://web-dorado.com/products/wordpress-calendar.html)
|
16 |
[Demo](http://wpdemo.web-dorado.com/spider-calendar/)
|
17 |
[Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=SpiderCalendar)
|
18 |
-
[User Manual](https://web-dorado.com/wordpress-spider-calendar/installing.html)
|
19 |
|
20 |
WordPress event calendar is a FREE user-friendly responsive plugin to manage multiple recurring events and various display options. This free plugin makes event registration and events management easy and lets you display beautiful responsive calendars, upcoming events and more. It’s perfect for websites organising seminars, summits, conferences, concerts, meetings, and more.
|
21 |
|
@@ -40,47 +40,54 @@ Its recurring events option makes event scheduling even easier. You just need to
|
|
40 |
Spider Calendar comes with a number of event display options, and themes, but if you want to have custom styles, you can add new themes with customized settings and options.
|
41 |
|
42 |
|
43 |
-
Upgrade to [WordPress Calendar Pro](https://web-dorado.com/products/wordpress-calendar.html) to add features:
|
44 |
-
|
45 |
-
* 17 standard themes included in extension package for the plugin and 6 themes for the widget.
|
46 |
-
* Possibility to alter the width of the widget and main calendar.
|
47 |
-
* You can change date color, font size and font family in the event popup.
|
48 |
-
* Possibility to change arrow color and background color in the event popup.
|
49 |
-
* Possibility to change event popup background color.
|
50 |
-
* Possibility to define the height and width of the popup.
|
51 |
-
* Possibility to define the number of displayed events in the popup.
|
52 |
-
* Possibility to change next, previous and current month font size and color.
|
53 |
-
* Possibility to change current day cell border color.
|
54 |
-
* Possibility to define the main border radius, color and width.
|
55 |
-
* You have also possibility to change popup window parameters.
|
56 |
-
* Possibility to add new themes based on the default theme.
|
57 |
-
* Possibility of displaying/hiding the category legend below the calendar widget.
|
58 |
-
* Possibility of selecting the start day of the week (Monday, Sunday).
|
59 |
-
* Possibility to select event date style in the popup.
|
60 |
-
* Possibility to set a number of events to be displayed within a single day
|
61 |
-
|
62 |
-
###IMPORTANT:
|
63 |
If you think you found a bug in the plugin or have any problem/question concerning the plugin, please check out [Support Forum](https://wordpress.org/support/plugin/spider-event-calendar). If you do not find a solution here, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
64 |
|
65 |
-
|
66 |
== Screenshots ==
|
67 |
-
1. WordPress Event Calendar - Calendar
|
68 |
-
2. WordPress Event Calendar - Widget Calendar
|
69 |
-
3. WordPress Event Calendar - Widget Calendar
|
70 |
-
4. WordPress Event Calendar - Widget Calendar
|
71 |
-
5. WordPress Event Calendar - Create Event
|
72 |
-
6. WordPress Event Calendar - Edit Theme
|
73 |
|
|
|
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
77 |
= 1.5.61 =
|
78 |
-
Fixed: Faster loading of pages. Synchronous requests in calendar frontend are removed
|
79 |
-
Changed: PHP 7.2 compatibility, create_function is not used anymore
|
80 |
|
81 |
= 1.5.60 =
|
82 |
-
Fixed: Events of the same day of the previous year were visible in popup
|
83 |
-
Updated: Italian translation thanks to Marco Moniga
|
84 |
|
85 |
= 1.5.59 =
|
86 |
Fixed: register_activation_hook not being called because of conflict with some plugins
|
3 |
Tags: calendar, event, event calendar, events, events calendar, calendars, event manager, calendar widget, event management, free calendar, Calender, upcoming events
|
4 |
Requires at least: 3.9
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.5.62
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
15 |
[WordPress Calendar](https://web-dorado.com/products/wordpress-calendar.html)
|
16 |
[Demo](http://wpdemo.web-dorado.com/spider-calendar/)
|
17 |
[Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=SpiderCalendar)
|
18 |
+
[User Manual](https://web-dorado.com/wordpress-spider-calendar/installing.html)
|
19 |
|
20 |
WordPress event calendar is a FREE user-friendly responsive plugin to manage multiple recurring events and various display options. This free plugin makes event registration and events management easy and lets you display beautiful responsive calendars, upcoming events and more. It’s perfect for websites organising seminars, summits, conferences, concerts, meetings, and more.
|
21 |
|
40 |
Spider Calendar comes with a number of event display options, and themes, but if you want to have custom styles, you can add new themes with customized settings and options.
|
41 |
|
42 |
|
43 |
+
Upgrade to [WordPress Calendar Pro](https://web-dorado.com/products/wordpress-calendar.html) to add features:
|
44 |
+
|
45 |
+
* 17 standard themes included in extension package for the plugin and 6 themes for the widget.
|
46 |
+
* Possibility to alter the width of the widget and main calendar.
|
47 |
+
* You can change date color, font size and font family in the event popup.
|
48 |
+
* Possibility to change arrow color and background color in the event popup.
|
49 |
+
* Possibility to change event popup background color.
|
50 |
+
* Possibility to define the height and width of the popup.
|
51 |
+
* Possibility to define the number of displayed events in the popup.
|
52 |
+
* Possibility to change next, previous and current month font size and color.
|
53 |
+
* Possibility to change current day cell border color.
|
54 |
+
* Possibility to define the main border radius, color and width.
|
55 |
+
* You have also possibility to change popup window parameters.
|
56 |
+
* Possibility to add new themes based on the default theme.
|
57 |
+
* Possibility of displaying/hiding the category legend below the calendar widget.
|
58 |
+
* Possibility of selecting the start day of the week (Monday, Sunday).
|
59 |
+
* Possibility to select event date style in the popup.
|
60 |
+
* Possibility to set a number of events to be displayed within a single day
|
61 |
+
|
62 |
+
###IMPORTANT:
|
63 |
If you think you found a bug in the plugin or have any problem/question concerning the plugin, please check out [Support Forum](https://wordpress.org/support/plugin/spider-event-calendar). If you do not find a solution here, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
64 |
|
65 |
+
|
66 |
== Screenshots ==
|
67 |
+
1. WordPress Event Calendar - Calendar
|
68 |
+
2. WordPress Event Calendar - Widget Calendar
|
69 |
+
3. WordPress Event Calendar - Widget Calendar
|
70 |
+
4. WordPress Event Calendar - Widget Calendar
|
71 |
+
5. WordPress Event Calendar - Create Event
|
72 |
+
6. WordPress Event Calendar - Edit Theme
|
73 |
|
74 |
+
== Privacy Policy ==
|
75 |
+
This plugin does not collect any data from website, neither collects visitors data in the sites it is installed on. No tracking is performed and no embeds/cookies are included along with the plugin. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 1.5.62 =
|
80 |
+
New: GDPR compliance help
|
81 |
+
New: WD library updated
|
82 |
+
Fixed: Bugs when exporting event
|
83 |
+
|
84 |
= 1.5.61 =
|
85 |
+
Fixed: Faster loading of pages. Synchronous requests in calendar frontend are removed
|
86 |
+
Changed: PHP 7.2 compatibility, create_function is not used anymore
|
87 |
|
88 |
= 1.5.60 =
|
89 |
+
Fixed: Events of the same day of the previous year were visible in popup
|
90 |
+
Updated: Italian translation thanks to Marco Moniga
|
91 |
|
92 |
= 1.5.59 =
|
93 |
Fixed: register_activation_hook not being called because of conflict with some plugins
|
spidercalendar_upcoming_events_widget.php
CHANGED
@@ -3,7 +3,6 @@ $firtstime=1;
|
|
3 |
add_action( 'wp_print_scripts', 'cal_scripts' );
|
4 |
|
5 |
function cal_scripts(){
|
6 |
-
global $wd_spider_calendar_version;
|
7 |
$spider_cal_pages = array(
|
8 |
'toplevel_page_SpiderCalendar',
|
9 |
'calendar_page_spider_calendar_event_category',
|
@@ -22,10 +21,10 @@ function cal_scripts(){
|
|
22 |
}
|
23 |
}
|
24 |
|
25 |
-
wp_enqueue_script("Calendar", plugins_url("elements/calendar.js", __FILE__), array(),
|
26 |
-
wp_enqueue_script("calendar-setup", plugins_url("elements/calendar-setup.js", __FILE__), array(),
|
27 |
-
wp_enqueue_script("calendar_function", plugins_url("elements/calendar_function.js", __FILE__), array(),
|
28 |
-
wp_enqueue_style("spcalendar-jos", plugins_url("elements/calendar-jos.css", __FILE__), array(),
|
29 |
wp_enqueue_script('wp-color-picker');
|
30 |
wp_enqueue_style( 'wp-color-picker' );
|
31 |
}
|
3 |
add_action( 'wp_print_scripts', 'cal_scripts' );
|
4 |
|
5 |
function cal_scripts(){
|
|
|
6 |
$spider_cal_pages = array(
|
7 |
'toplevel_page_SpiderCalendar',
|
8 |
'calendar_page_spider_calendar_event_category',
|
21 |
}
|
22 |
}
|
23 |
|
24 |
+
wp_enqueue_script("Calendar", plugins_url("elements/calendar.js", __FILE__), array(), SPCALENDAR_VERSION, FALSE);
|
25 |
+
wp_enqueue_script("calendar-setup", plugins_url("elements/calendar-setup.js", __FILE__), array(), SPCALENDAR_VERSION, FALSE);
|
26 |
+
wp_enqueue_script("calendar_function", plugins_url("elements/calendar_function.js", __FILE__), array(), SPCALENDAR_VERSION, FALSE);
|
27 |
+
wp_enqueue_style("spcalendar-jos", plugins_url("elements/calendar-jos.css", __FILE__), array(), SPCALENDAR_VERSION, FALSE);
|
28 |
wp_enqueue_script('wp-color-picker');
|
29 |
wp_enqueue_style( 'wp-color-picker' );
|
30 |
}
|
wd/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
Version: 1.0.
|
2 |
|
3 |
|
4 |
|
1 |
+
Version: 1.0.15
|
2 |
|
3 |
|
4 |
|
wd/assets/css/deactivate_popup.css
CHANGED
@@ -63,12 +63,20 @@
|
|
63 |
margin: 14px 0px 5px;
|
64 |
}
|
65 |
.wd-popup-active1{
|
66 |
-
height:
|
67 |
}
|
68 |
|
69 |
.wd-popup-active2{
|
70 |
height: 426px !important
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
.wd-deactivate-popup-opacity{
|
73 |
width: 100%;
|
74 |
height: 100%;
|
@@ -87,4 +95,17 @@
|
|
87 |
bottom: 0;
|
88 |
margin: auto;
|
89 |
z-index: 63;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
63 |
margin: 14px 0px 5px;
|
64 |
}
|
65 |
.wd-popup-active1{
|
66 |
+
height: 583px !important;
|
67 |
}
|
68 |
|
69 |
.wd-popup-active2{
|
70 |
height: 426px !important
|
71 |
}
|
72 |
+
|
73 |
+
.wd-popup-active3{
|
74 |
+
height: 479px !important
|
75 |
+
}
|
76 |
+
|
77 |
+
.wd-popup-active4{
|
78 |
+
height: 340px !important
|
79 |
+
}
|
80 |
.wd-deactivate-popup-opacity{
|
81 |
width: 100%;
|
82 |
height: 100%;
|
95 |
bottom: 0;
|
96 |
margin: auto;
|
97 |
z-index: 63;
|
98 |
+
}
|
99 |
+
|
100 |
+
.wd-deactivate-popup-close-btn{
|
101 |
+
background-image: url(img/close.svg);
|
102 |
+
background-repeat: no-repeat;
|
103 |
+
background-size: 16px;
|
104 |
+
display: inline-block;
|
105 |
+
width: 16px;
|
106 |
+
height: 16px;
|
107 |
+
position: absolute;
|
108 |
+
top: 7px;
|
109 |
+
right: 8px;
|
110 |
+
cursor: pointer;
|
111 |
}
|
wd/assets/css/img/close.svg
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="6917.521 490.293 11.414 11.414">
|
2 |
+
<defs>
|
3 |
+
<style>
|
4 |
+
.cls-1 {
|
5 |
+
fill: none;
|
6 |
+
stroke: #cbcbcb;
|
7 |
+
stroke-linecap: round;
|
8 |
+
stroke-linejoin: round;
|
9 |
+
}
|
10 |
+
</style>
|
11 |
+
</defs>
|
12 |
+
<g id="if_misc-_close__1276877_3_" data-name="if_misc-_close__1276877 (3)" transform="translate(6917.229 490)">
|
13 |
+
<line id="Line_262" data-name="Line 262" class="cls-1" y1="10" x2="10" transform="translate(1 1)"/>
|
14 |
+
<line id="Line_263" data-name="Line 263" class="cls-1" x2="10" y2="10" transform="translate(1 1)"/>
|
15 |
+
</g>
|
16 |
+
</svg>
|
wd/assets/img/fmc_main_plugin.png
ADDED
Binary file
|
wd/assets/js/deactivate_popup.js
CHANGED
@@ -21,7 +21,13 @@ var btnVal = 3;
|
|
21 |
////////////////////////////////////////////////////////////////////////////////////////
|
22 |
function wdReady(prefix){
|
23 |
|
|
|
|
|
24 |
jQuery(document).on("click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function(){
|
|
|
|
|
|
|
|
|
25 |
jQuery(".wd-" + prefix + "-opacity").show();
|
26 |
jQuery(".wd-" + prefix + "-deactivate-popup").show();
|
27 |
if(jQuery(this).attr("data-uninstall") == "1"){
|
@@ -30,17 +36,19 @@ function wdReady(prefix){
|
|
30 |
|
31 |
return false;
|
32 |
});
|
33 |
-
|
34 |
-
jQuery(document).on("change", "[name=" + prefix + "_reasons]", function(){
|
35 |
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
38 |
if(jQuery(this).val() == "reason_plugin_is_hard_to_use_technical_problems"){
|
39 |
|
40 |
additionalInfo = '<div class="wd-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
|
41 |
'<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
|
42 |
'<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>'+
|
43 |
-
'<br><div><button class="button button-primary wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
|
44 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
45 |
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active1");
|
46 |
|
@@ -57,11 +65,22 @@ function wdReady(prefix){
|
|
57 |
additionalInfo = '<div class="wd-additional-active">' +
|
58 |
'<div><strong>We have a special offer for you.</strong></div>' +
|
59 |
'<div>Submit this form to get the offer to <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"></div>' +
|
60 |
-
'<br><div><button class="button button-primary wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit</button></div></div>';
|
61 |
|
62 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
63 |
-
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-
|
64 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
jQuery("#wd-" + prefix + "-deactivate").hide();
|
67 |
jQuery("#wd-" + prefix + "-submit-and-deactivate").show();
|
@@ -78,7 +97,27 @@ function wdReady(prefix){
|
|
78 |
}
|
79 |
|
80 |
});
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
jQuery(".wd-deactivate-popup-opacity-" + prefix).show();
|
83 |
if(jQuery(this).hasClass("wd-clicked") == false){
|
84 |
jQuery(this).addClass("wd-clicked");
|
@@ -88,12 +127,25 @@ function wdReady(prefix){
|
|
88 |
return false;
|
89 |
});
|
90 |
|
91 |
-
jQuery(document).on("click", ".wd-" + prefix + "-cancel, .wd-opacity", function(){
|
92 |
jQuery(".wd-" + prefix + "-opacity").hide();
|
93 |
jQuery(".wd-" + prefix + "-deactivate-popup").hide();
|
|
|
|
|
94 |
return false;
|
95 |
});
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
////////////////////////////////////////////////////////////////////////////////////////
|
22 |
function wdReady(prefix){
|
23 |
|
24 |
+
var agree_with_pp = false;
|
25 |
+
|
26 |
jQuery(document).on("click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function(){
|
27 |
+
agree_with_pp = false;
|
28 |
+
if (!jQuery('#wd-' + prefix + '-submit-and-deactivate').hasClass('button-primary-disabled')) {
|
29 |
+
jQuery('#wd-' + prefix + '-submit-and-deactivate').addClass('button-primary-disabled')
|
30 |
+
}
|
31 |
jQuery(".wd-" + prefix + "-opacity").show();
|
32 |
jQuery(".wd-" + prefix + "-deactivate-popup").show();
|
33 |
if(jQuery(this).attr("data-uninstall") == "1"){
|
36 |
|
37 |
return false;
|
38 |
});
|
|
|
|
|
39 |
|
40 |
+
jQuery(document).on("change", "[name=" + prefix + "_reasons]", function(){
|
41 |
+
|
42 |
+
var disabled_class = (agree_with_pp === false) ? "button-primary-disabled" : "";
|
43 |
+
|
44 |
+
jQuery("." + prefix + "_additional_details_wrap").html("");
|
45 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").removeClass("wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4");
|
46 |
if(jQuery(this).val() == "reason_plugin_is_hard_to_use_technical_problems"){
|
47 |
|
48 |
additionalInfo = '<div class="wd-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
|
49 |
'<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
|
50 |
'<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>'+
|
51 |
+
'<br><div><button class="button button-primary ' + disabled_class + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
|
52 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
53 |
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active1");
|
54 |
|
65 |
additionalInfo = '<div class="wd-additional-active">' +
|
66 |
'<div><strong>We have a special offer for you.</strong></div>' +
|
67 |
'<div>Submit this form to get the offer to <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"></div>' +
|
68 |
+
'<br><div><button class="button button-primary ' + disabled_class + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit</button></div></div>';
|
69 |
|
70 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
71 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active3");
|
72 |
+
}else{
|
73 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active4");
|
74 |
+
}
|
75 |
+
|
76 |
+
var checked = (agree_with_pp === true) ? "checked" : "";
|
77 |
+
var agree_checkbox =
|
78 |
+
"<div style='margin-top: 5px;'>" +
|
79 |
+
"<input type='checkbox' " + checked + " name='" + prefix + "_agree_with_pp" + "' id='" + prefix + "_agree_with_pp" + "'/>" +
|
80 |
+
"By submitting this form your email and website URL will be sent to Web-Dorado. Click the checkbox if you consent to usage of mentioned data by Web-Dorado in accordance with our <a target='_blank' href='https://web-dorado.com/web-dorado-privacy-statement.html'>Privacy Policy</a>."+
|
81 |
+
"</div>";
|
82 |
+
|
83 |
+
jQuery("." + prefix + "_additional_details_wrap").prepend(agree_checkbox);
|
84 |
|
85 |
jQuery("#wd-" + prefix + "-deactivate").hide();
|
86 |
jQuery("#wd-" + prefix + "-submit-and-deactivate").show();
|
97 |
}
|
98 |
|
99 |
});
|
100 |
+
|
101 |
+
jQuery(document).on("change", "[name=" + prefix + "_agree_with_pp]", function () {
|
102 |
+
if(jQuery(this).prop('checked')){
|
103 |
+
jQuery(".wd-" + prefix + "-deactivate").removeClass('button-primary-disabled');
|
104 |
+
agree_with_pp = true;
|
105 |
+
}else{
|
106 |
+
jQuery(".wd-" + prefix + "-deactivate").addClass('button-primary-disabled');
|
107 |
+
agree_with_pp = false;
|
108 |
+
}
|
109 |
+
});
|
110 |
+
|
111 |
+
jQuery(document).on("click", ".wd-" + prefix + "-deactivate", function(e){
|
112 |
+
|
113 |
+
var data_val = jQuery(this).data('val');
|
114 |
+
var checkbox = jQuery("#" + prefix + "_agree_with_pp");
|
115 |
+
|
116 |
+
|
117 |
+
if (data_val !== 1 && (checkbox.length === 0 || checkbox.prop('checked') === false)) {
|
118 |
+
return false;
|
119 |
+
}
|
120 |
+
|
121 |
jQuery(".wd-deactivate-popup-opacity-" + prefix).show();
|
122 |
if(jQuery(this).hasClass("wd-clicked") == false){
|
123 |
jQuery(this).addClass("wd-clicked");
|
127 |
return false;
|
128 |
});
|
129 |
|
130 |
+
jQuery(document).on("click", ".wd-" + prefix + "-cancel, .wd-opacity, .wd-deactivate-popup-close-btn", function(){
|
131 |
jQuery(".wd-" + prefix + "-opacity").hide();
|
132 |
jQuery(".wd-" + prefix + "-deactivate-popup").hide();
|
133 |
+
reset_popup();
|
134 |
+
|
135 |
return false;
|
136 |
});
|
137 |
|
138 |
+
function reset_popup() {
|
139 |
+
jQuery("." + prefix + "_additional_details_wrap").html("");
|
140 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").removeClass("wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4");
|
141 |
+
|
142 |
+
jQuery("#wd-" + prefix + "-deactivate").removeClass("button-primary-disabled");
|
143 |
+
jQuery("#wd-" + prefix + "-deactivate").show();
|
144 |
+
jQuery("#wd-" + prefix + "-submit-and-deactivate").hide();
|
145 |
+
jQuery('#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]').prop('checked', false);
|
146 |
+
|
147 |
+
}
|
148 |
+
|
149 |
}
|
150 |
|
151 |
////////////////////////////////////////////////////////////////////////////////////////
|
wd/config.php
CHANGED
@@ -36,6 +36,7 @@
|
|
36 |
public $custom_post = null;
|
37 |
public $menu_capability = null;
|
38 |
public $menu_position = null;
|
|
|
39 |
|
40 |
public function set_options( $options ){
|
41 |
|
@@ -108,7 +109,10 @@
|
|
108 |
}
|
109 |
if(isset( $options["menu_position"] )) {
|
110 |
$this->menu_position = $options["menu_position"];
|
111 |
-
}
|
|
|
|
|
|
|
112 |
|
113 |
// directories
|
114 |
$this->wd_dir = dirname( $this->plugin_main_file ) . '/wd';
|
36 |
public $custom_post = null;
|
37 |
public $menu_capability = null;
|
38 |
public $menu_position = null;
|
39 |
+
public $start_using_url = null;
|
40 |
|
41 |
public function set_options( $options ){
|
42 |
|
109 |
}
|
110 |
if(isset( $options["menu_position"] )) {
|
111 |
$this->menu_position = $options["menu_position"];
|
112 |
+
}
|
113 |
+
if(isset( $options["start_using_url"] )) {
|
114 |
+
$this->start_using_url = $options["start_using_url"];
|
115 |
+
}
|
116 |
|
117 |
// directories
|
118 |
$this->wd_dir = dirname( $this->plugin_main_file ) . '/wd';
|
wd/includes/overview.php
CHANGED
@@ -66,6 +66,9 @@
|
|
66 |
$start_using_url = menu_page_url($this->config->custom_post, false);
|
67 |
}
|
68 |
}
|
|
|
|
|
|
|
69 |
require_once( $wd_options->wd_dir_templates . "/display_overview.php" );
|
70 |
}
|
71 |
public function wd_overview_welcome(){
|
66 |
$start_using_url = menu_page_url($this->config->custom_post, false);
|
67 |
}
|
68 |
}
|
69 |
+
if(!empty($this->config->start_using_url)){
|
70 |
+
$start_using_url = $this->config->start_using_url;
|
71 |
+
}
|
72 |
require_once( $wd_options->wd_dir_templates . "/display_overview.php" );
|
73 |
}
|
74 |
public function wd_overview_welcome(){
|
wd/templates/display_deactivation_popup.php
CHANGED
@@ -5,7 +5,8 @@
|
|
5 |
</div>
|
6 |
<form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
|
7 |
<div class="wd-deactivate-popup-header">
|
8 |
-
<?php _e( "Please let us know why you are deactivating. Your answer will help us to
|
|
|
9 |
</div>
|
10 |
|
11 |
<div class="wd-deactivate-popup-body">
|
@@ -19,7 +20,7 @@
|
|
19 |
</div>
|
20 |
<div class="wd-btns">
|
21 |
<a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-primary button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
|
22 |
-
<a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-submit-and-deactivate" style="display:none;"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
|
23 |
</div>
|
24 |
<input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
|
25 |
<?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>
|
5 |
</div>
|
6 |
<form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
|
7 |
<div class="wd-deactivate-popup-header">
|
8 |
+
<?php _e( "Please let us know why you are deactivating. Your answer will help us to provide you support or sometimes offer discounts. (Optional)", $wd_options->prefix ); ?>:
|
9 |
+
<span class="wd-deactivate-popup-close-btn"></span>
|
10 |
</div>
|
11 |
|
12 |
<div class="wd-deactivate-popup-body">
|
20 |
</div>
|
21 |
<div class="wd-btns">
|
22 |
<a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-primary button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
|
23 |
+
<a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-primary-disabled button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-submit-and-deactivate" style="display:none;"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
|
24 |
</div>
|
25 |
<input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
|
26 |
<?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>
|
wd/templates/display_overview_support.php
CHANGED
@@ -27,8 +27,24 @@
|
|
27 |
echo ' ';
|
28 |
foreach( $gd_info as $key => $val ){
|
29 |
echo $key . ": " . $val . ' ';
|
30 |
-
}
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
</div>
|
33 |
</div>
|
34 |
<?php
|
27 |
echo ' ';
|
28 |
foreach( $gd_info as $key => $val ){
|
29 |
echo $key . ": " . $val . ' ';
|
30 |
+
}
|
31 |
+
echo ' ';
|
32 |
+
_e("Active Plugins", $wd_options->prefix);
|
33 |
+
echo ' ';
|
34 |
+
$activepl = get_option('active_plugins');
|
35 |
+
$plugins = get_plugins();
|
36 |
+
$activated_plugins = array();
|
37 |
+
foreach ( $activepl as $p ) {
|
38 |
+
if ( isset($plugins[$p]) ) {
|
39 |
+
array_push($activated_plugins, $plugins[$p]);
|
40 |
+
echo ' ' . $plugins[$p]['Name'];
|
41 |
+
}
|
42 |
+
}
|
43 |
+
echo ' ';
|
44 |
+
_e("Active theme", $wd_options->prefix);
|
45 |
+
echo ' ';
|
46 |
+
echo wp_get_theme();
|
47 |
+
?></textarea>
|
48 |
</div>
|
49 |
</div>
|
50 |
<?php
|
wd/templates/display_subscribe.php
CHANGED
@@ -8,7 +8,10 @@
|
|
8 |
<div class="texts">
|
9 |
<p><?php _e( "Hi there", $wd_options->prefix ); ?>,</p>
|
10 |
<p>
|
11 |
-
|
|
|
|
|
|
|
12 |
</p>
|
13 |
</div>
|
14 |
<div class="btns">
|
8 |
<div class="texts">
|
9 |
<p><?php _e( "Hi there", $wd_options->prefix ); ?>,</p>
|
10 |
<p>
|
11 |
+
<?php
|
12 |
+
$pp_text = "<a target='_blank' href='https://web-dorado.com/web-dorado-privacy-statement.html'>" . __("Privacy Policy", $wd_options->prefix) . "</a>";
|
13 |
+
echo sprintf(__("Allow %s to collect some usage data, to be able to provide you more out of your plugin experience - awesome customer support and more. Check how we handle your personal data in our %s. You can always customize your preferences from the emails your receive from us. You can choose to skip this step, %s will still work just fine.", $wd_options->prefix), '<strong>Web-Dorado</strong>', $pp_text, $wd_options->plugin_title);
|
14 |
+
?>
|
15 |
</p>
|
16 |
</div>
|
17 |
<div class="btns">
|
wd/wd.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
public $overview_instance;
|
18 |
public $subscribe_instance;
|
19 |
public $config;
|
20 |
-
private $version = "1.0.
|
21 |
|
22 |
////////////////////////////////////////////////////////////////////////////////////////
|
23 |
// Constructor & Destructor //
|
17 |
public $overview_instance;
|
18 |
public $subscribe_instance;
|
19 |
public $config;
|
20 |
+
private $version = "1.0.15";
|
21 |
|
22 |
////////////////////////////////////////////////////////////////////////////////////////
|
23 |
// Constructor & Destructor //
|