Version Description
- 2018-10-26
- added: new background images
- added: GDPR failed confirmation text option
- removed: support via chat
- changed: lover monthly prices
- 432,500 downloads
Download this release
Release Info
Developer | WebFactory |
Plugin | Minimal Coming Soon & Maintenance Mode |
Version | 1.80 |
Comparing to | |
See all releases |
Code changes from version 1.75 to 1.80
- framework/admin/init.php +3 -2
- framework/admin/js/admin.js +26 -3
- framework/admin/settings.php +2 -1
- framework/admin/views/settings-form.php +7 -0
- framework/admin/views/settings-pro.php +12 -12
- framework/admin/views/settings.php +1 -1
- framework/public/views/html.php +2 -2
- minimal-coming-soon-maintenance-mode.php +2 -1
- readme.txt +10 -2
framework/admin/init.php
CHANGED
@@ -28,8 +28,9 @@ function csmm_add_menu() {
|
|
28 |
add_action( 'admin_menu', 'csmm_add_menu' );
|
29 |
|
30 |
|
|
|
31 |
function csmm_chat_available() {
|
32 |
-
if (date('Y-m-d') >= '2018-10-01' && date('Y-m-d') <= '2018-10-14') {
|
33 |
return true;
|
34 |
} else {
|
35 |
return false;
|
@@ -50,7 +51,7 @@ function csmm_admin_scripts() {
|
|
50 |
$mm_js_vars = array(
|
51 |
'mm_url' => 'https://assets.comingsoonwp.com/free-backgrounds/',
|
52 |
'mm_base_url' => CSMM_URL,
|
53 |
-
'mm_images' => array('john-cobb-13961-unsplash.jpg', 'aaron-burden-189321-unsplash.jpg', 'alberto-restifo-4510-unsplash.jpg', 'amy-humphries-227515-unsplash.jpg', 'anders-jilden-89745-unsplash.jpg', 'art-by-lonfeldt-1064207-unsplash.jpg', 'brenda-godinez-229718-unsplash.jpg', 'ad_more-images.png', 'brooke-lark-229136-unsplash.jpg', 'carmine-de-fazio-31543-unsplash.jpg', 'denys-nevozhai-100695-unsplash.jpg', 'dustin-lee-19667-unsplash.jpg', 'elena-prokofyeva-17909-unsplash.jpg', 'fezbot2000-278419-unsplash.jpg', 'glenn-carstens-peters-190592-unsplash.jpg', 'greg-rakozy-38802-unsplash.jpg', 'henry-be-99471-unsplash.jpg', 'hoach-le-dinh-91879-unsplash.jpg', 'ian-dooley-280928-unsplash.jpg', 'ian-schneider-108618-unsplash.jpg', 'jakub-sejkora-42069-unsplash.jpg', 'jesus-kiteque-224069-unsplash.jpg', 'joanna-kosinska-44214-unsplash.jpg', 'jonathan-bean-37632-unsplash.jpg', 'kimon-maritz-193428-unsplash.jpg', 'matthew-henry-49707-unsplash.jpg', 'ng-32703-unsplash.jpg', 'nitish-meena-37745-unsplash.jpg', 'osman-rana-1064081-unsplash.jpg', 'patrick-tomasso-208114-unsplash.jpg', 'patrick-tomasso-71909-unsplash.jpg', 'pawel-czerwinski-1060762-unsplash.jpg', 'rachael-gorjestani-282049-unsplash.jpg', 'rawpixel-191102-unsplash.jpg', 'sarah-dorweiler-211779-unsplash.jpg', 'stefan-stefancik-105374-unsplash.jpg', 'steven-wei-124690-unsplash.jpg', 'sunrise-1756274.jpg', 'teddy-kelley-106391-unsplash.jpg', 'thought-catalog-214785-unsplash.jpg', 'ad_custom-image.png')
|
54 |
);
|
55 |
wp_localize_script( 'csmm-admin-base', 'mm_js_vars', $mm_js_vars );
|
56 |
|
28 |
add_action( 'admin_menu', 'csmm_add_menu' );
|
29 |
|
30 |
|
31 |
+
// disabled till further notice
|
32 |
function csmm_chat_available() {
|
33 |
+
if (0 && date('Y-m-d') >= '2018-10-01' && date('Y-m-d') <= '2018-10-14') {
|
34 |
return true;
|
35 |
} else {
|
36 |
return false;
|
51 |
$mm_js_vars = array(
|
52 |
'mm_url' => 'https://assets.comingsoonwp.com/free-backgrounds/',
|
53 |
'mm_base_url' => CSMM_URL,
|
54 |
+
'mm_images' => array('john-cobb-13961-unsplash.jpg', 'aaron-burden-189321-unsplash.jpg', 'alberto-restifo-4510-unsplash.jpg', 'amy-humphries-227515-unsplash.jpg', 'anders-jilden-89745-unsplash.jpg', 'art-by-lonfeldt-1064207-unsplash.jpg', 'brenda-godinez-229718-unsplash.jpg', 'ad_more-images.png', 'brooke-lark-229136-unsplash.jpg', 'carmine-de-fazio-31543-unsplash.jpg', 'denys-nevozhai-100695-unsplash.jpg', 'dustin-lee-19667-unsplash.jpg', 'elena-prokofyeva-17909-unsplash.jpg', 'fezbot2000-278419-unsplash.jpg', 'glenn-carstens-peters-190592-unsplash.jpg', 'greg-rakozy-38802-unsplash.jpg', 'henry-be-99471-unsplash.jpg', 'hoach-le-dinh-91879-unsplash.jpg', 'ian-dooley-280928-unsplash.jpg', 'ian-schneider-108618-unsplash.jpg', 'jakub-sejkora-42069-unsplash.jpg', 'jesus-kiteque-224069-unsplash.jpg', 'joanna-kosinska-44214-unsplash.jpg', 'jonathan-bean-37632-unsplash.jpg', 'kimon-maritz-193428-unsplash.jpg', 'matthew-henry-49707-unsplash.jpg', 'ng-32703-unsplash.jpg', 'nitish-meena-37745-unsplash.jpg', 'osman-rana-1064081-unsplash.jpg', 'patrick-tomasso-208114-unsplash.jpg', 'patrick-tomasso-71909-unsplash.jpg', 'pawel-czerwinski-1060762-unsplash.jpg', 'rachael-gorjestani-282049-unsplash.jpg', 'rawpixel-191102-unsplash.jpg', 'sarah-dorweiler-211779-unsplash.jpg', 'stefan-stefancik-105374-unsplash.jpg', 'steven-wei-124690-unsplash.jpg', 'sunrise-1756274.jpg', 'teddy-kelley-106391-unsplash.jpg', 'thought-catalog-214785-unsplash.jpg', 'ad_custom-image.png', 'brooke-lark-356767-unsplash.jpg', 'ian-dooley-280928-unsplash.jpg', 'jeremy-bishop-334996-unsplash.jpg', 'martin-reisch-185835-unsplash.jpg', 'simon-matzinger-320332-unsplash.jpg', 'trevor-cole-393228-unsplash.jpg', 'verne-ho-237626-unsplash.jpg')
|
55 |
);
|
56 |
wp_localize_script( 'csmm-admin-base', 'mm_js_vars', $mm_js_vars );
|
57 |
|
framework/admin/js/admin.js
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
*/
|
6 |
|
7 |
var csmm_chat_loaded = false;
|
|
|
8 |
|
9 |
function reloadFont( $fontValue ) {
|
10 |
|
@@ -60,6 +61,8 @@ function getUploader( $text, $target ) {
|
|
60 |
}
|
61 |
|
62 |
function csmm_change_tab(tab_name) {
|
|
|
|
|
63 |
tab_name = '#' + tab_name.replace('#', '');
|
64 |
|
65 |
$('.signals-main-menu li a[href="' + tab_name + '"]').trigger('click');
|
@@ -91,6 +94,13 @@ function getMMUploader($text, $target) {
|
|
91 |
} // getMMuploader
|
92 |
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
(function( $ ) {
|
95 |
$('body').on('click','.media-modal-close', function() {
|
96 |
$('.csmm-image-picker').remove();
|
@@ -104,6 +114,8 @@ function getMMUploader($text, $target) {
|
|
104 |
|
105 |
$('.csmm-open-chat').on('click', function(e) {
|
106 |
e.preventDefault();
|
|
|
|
|
107 |
|
108 |
if (csmm_chat_loaded) {
|
109 |
Beacon("open");
|
@@ -114,6 +126,8 @@ function getMMUploader($text, $target) {
|
|
114 |
|
115 |
return false;
|
116 |
});
|
|
|
|
|
117 |
// css and html editor
|
118 |
function getEditor( $editorID, $textareaID, $mode ) {
|
119 |
|
@@ -429,7 +443,12 @@ function getMMUploader($text, $target) {
|
|
429 |
});
|
430 |
|
431 |
// tabs
|
432 |
-
|
|
|
|
|
|
|
|
|
|
|
433 |
if( $state ) {
|
434 |
$( '.signals-main-menu li a' ).removeClass( 'active' );
|
435 |
$( 'a[href="' + $state + '"]' ).addClass( 'active' );
|
@@ -441,12 +460,16 @@ function getMMUploader($text, $target) {
|
|
441 |
|
442 |
$( '.signals-main-menu li a' ).click( function(e) {
|
443 |
|
444 |
-
|
445 |
|
446 |
$.removeCookie( 'signals_csmm_menu', { path: '/' } );
|
447 |
|
448 |
var $selector = $( this );
|
449 |
-
|
|
|
|
|
|
|
|
|
450 |
|
451 |
$( '.signals-main-menu li a' ).removeClass( 'active' );
|
452 |
$selector.addClass( 'active' );
|
5 |
*/
|
6 |
|
7 |
var csmm_chat_loaded = false;
|
8 |
+
var csmm_gumroad_loaded = false;
|
9 |
|
10 |
function reloadFont( $fontValue ) {
|
11 |
|
61 |
}
|
62 |
|
63 |
function csmm_change_tab(tab_name) {
|
64 |
+
load_gumroad();
|
65 |
+
|
66 |
tab_name = '#' + tab_name.replace('#', '');
|
67 |
|
68 |
$('.signals-main-menu li a[href="' + tab_name + '"]').trigger('click');
|
94 |
} // getMMuploader
|
95 |
|
96 |
|
97 |
+
function load_gumroad() {
|
98 |
+
if (!csmm_gumroad_loaded) {
|
99 |
+
csmm_gumroad_loaded = true;
|
100 |
+
jQuery('body').append('<script type="text/javascript" src="https://gumroad.com/js/gumroad.js"></script>');
|
101 |
+
}
|
102 |
+
} // load_gumroad
|
103 |
+
|
104 |
(function( $ ) {
|
105 |
$('body').on('click','.media-modal-close', function() {
|
106 |
$('.csmm-image-picker').remove();
|
114 |
|
115 |
$('.csmm-open-chat').on('click', function(e) {
|
116 |
e.preventDefault();
|
117 |
+
// disabled till further notice
|
118 |
+
return false;
|
119 |
|
120 |
if (csmm_chat_loaded) {
|
121 |
Beacon("open");
|
126 |
|
127 |
return false;
|
128 |
});
|
129 |
+
|
130 |
+
|
131 |
// css and html editor
|
132 |
function getEditor( $editorID, $textareaID, $mode ) {
|
133 |
|
443 |
});
|
444 |
|
445 |
// tabs
|
446 |
+
var $state = $.cookie( 'signals_csmm_menu' );
|
447 |
+
|
448 |
+
if ($state == '#pro') {
|
449 |
+
load_gumroad();
|
450 |
+
}
|
451 |
+
|
452 |
if( $state ) {
|
453 |
$( '.signals-main-menu li a' ).removeClass( 'active' );
|
454 |
$( 'a[href="' + $state + '"]' ).addClass( 'active' );
|
460 |
|
461 |
$( '.signals-main-menu li a' ).click( function(e) {
|
462 |
|
463 |
+
e.preventDefault();
|
464 |
|
465 |
$.removeCookie( 'signals_csmm_menu', { path: '/' } );
|
466 |
|
467 |
var $selector = $( this );
|
468 |
+
var $tab = $selector.attr( 'href' );
|
469 |
+
|
470 |
+
if ($tab == '#pro') {
|
471 |
+
load_gumroad();
|
472 |
+
}
|
473 |
|
474 |
$( '.signals-main-menu li a' ).removeClass( 'active' );
|
475 |
$selector.addClass( 'active' );
|
framework/admin/settings.php
CHANGED
@@ -155,7 +155,8 @@ function csmm_admin_settings() {
|
|
155 |
|
156 |
'input_text' => strip_tags( $_POST['signals_csmm_input_text'] ),
|
157 |
'button_text' => strip_tags( $_POST['signals_csmm_button_text'] ),
|
158 |
-
'gdpr_text' => $_POST['signals_csmm_gdpr_text'],
|
|
|
159 |
'ignore_form_styles' => $tmp_options['form_styles'],
|
160 |
'input_font_size' => strip_tags( $_POST['signals_csmm_input_size'] ),
|
161 |
'button_font_size' => strip_tags( $_POST['signals_csmm_button_size'] ),
|
155 |
|
156 |
'input_text' => strip_tags( $_POST['signals_csmm_input_text'] ),
|
157 |
'button_text' => strip_tags( $_POST['signals_csmm_button_text'] ),
|
158 |
+
'gdpr_text' => trim($_POST['signals_csmm_gdpr_text']),
|
159 |
+
'gdpr_fail' => trim($_POST['signals_csmm_gdpr_fail']),
|
160 |
'ignore_form_styles' => $tmp_options['form_styles'],
|
161 |
'input_font_size' => strip_tags( $_POST['signals_csmm_input_size'] ),
|
162 |
'button_font_size' => strip_tags( $_POST['signals_csmm_button_size'] ),
|
framework/admin/views/settings-form.php
CHANGED
@@ -39,6 +39,13 @@
|
|
39 |
<p class="signals-form-help-block"><?php _e( 'Checkbox and the text above are displayed below the form email field. User has to check the checkbox in order to subscribe. Leave the field empty if you don\'t want to display the checkbox.', 'signals' ); ?></p>
|
40 |
</div>
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
</div>
|
43 |
|
44 |
<div class="signals-double-group signals-clearfix">
|
39 |
<p class="signals-form-help-block"><?php _e( 'Checkbox and the text above are displayed below the form email field. User has to check the checkbox in order to subscribe. Leave the field empty if you don\'t want to display the checkbox.', 'signals' ); ?></p>
|
40 |
</div>
|
41 |
|
42 |
+
<div class="signals-form-group">
|
43 |
+
<label for="signals_csmm_gdpr_fail" class="signals-strong"><?php _e( 'GDPR Consent Fail Notice', 'signals' ); ?></label>
|
44 |
+
<textarea name="signals_csmm_gdpr_fail" id="signals_csmm_gdpr_fail" placeholder="<?php _e( '', 'signals' ); ?>" class="signals-form-control" rows="3"><?php echo esc_textarea( stripslashes( $signals_csmm_options['gdpr_fail'] ) ); ?></textarea>
|
45 |
+
|
46 |
+
<p class="signals-form-help-block"><?php _e( 'Alert text shown when user does not comply with the GPDR consent checkbox.', 'signals' ); ?></p>
|
47 |
+
</div>
|
48 |
+
|
49 |
</div>
|
50 |
|
51 |
<div class="signals-double-group signals-clearfix">
|
framework/admin/views/settings-pro.php
CHANGED
@@ -68,14 +68,14 @@
|
|
68 |
<span>Best value for money</span>
|
69 |
</td>
|
70 |
<td>
|
71 |
-
<h3>
|
72 |
<span>Pay only for the time you use the plugin</span>
|
73 |
</td>
|
74 |
</tr>
|
75 |
<tr>
|
76 |
<td>One Time Payment</td>
|
77 |
<td>One Time Payment</td>
|
78 |
-
<td>Yearly Payment</td>
|
79 |
</tr>
|
80 |
<tr>
|
81 |
<td>1 Personal or Client Site</td>
|
@@ -116,49 +116,49 @@
|
|
116 |
<?php
|
117 |
$meta = csmm_get_meta();
|
118 |
$promo_delta = HOUR_IN_SECONDS;
|
119 |
-
$promo_delta2 = DAY_IN_SECONDS *
|
120 |
if ((time() - $meta['first_install_gmt']) < $promo_delta) {
|
121 |
?>
|
122 |
<td>
|
123 |
-
<a class="promo-button go-to-license-key" href="
|
124 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
125 |
</td>
|
126 |
<td>
|
127 |
-
<a class="promo-button go-to-license-key" href="
|
128 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
129 |
</td>
|
130 |
<td>
|
131 |
-
<a class="promo-button go-to-license-key" href="
|
132 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
133 |
</td>
|
134 |
<?php
|
135 |
} elseif ((time() - $meta['first_install_gmt']) > $promo_delta2) {
|
136 |
?>
|
137 |
<td>
|
138 |
-
<a class="promo-button go-to-license-key" href="
|
139 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
140 |
</td>
|
141 |
<td>
|
142 |
-
<a class="promo-button go-to-license-key" href="
|
143 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
144 |
</td>
|
145 |
<td>
|
146 |
-
<a class="promo-button go-to-license-key" href="
|
147 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
148 |
</td>
|
149 |
<?php
|
150 |
} else {
|
151 |
?>
|
152 |
<td>
|
153 |
-
|
154 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
155 |
</td>
|
156 |
<td>
|
157 |
-
<a class="promo-button go-to-license-key" href="
|
158 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
159 |
</td>
|
160 |
<td>
|
161 |
-
<a class="promo-button go-to-license-key" href="
|
162 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
163 |
</td>
|
164 |
<?php
|
68 |
<span>Best value for money</span>
|
69 |
</td>
|
70 |
<td>
|
71 |
+
<h3>Personal<br>PRO License</h3>
|
72 |
<span>Pay only for the time you use the plugin</span>
|
73 |
</td>
|
74 |
</tr>
|
75 |
<tr>
|
76 |
<td>One Time Payment</td>
|
77 |
<td>One Time Payment</td>
|
78 |
+
<td>Monthly / Yearly Payment</td>
|
79 |
</tr>
|
80 |
<tr>
|
81 |
<td>1 Personal or Client Site</td>
|
116 |
<?php
|
117 |
$meta = csmm_get_meta();
|
118 |
$promo_delta = HOUR_IN_SECONDS;
|
119 |
+
$promo_delta2 = DAY_IN_SECONDS * 28;
|
120 |
if ((time() - $meta['first_install_gmt']) < $promo_delta) {
|
121 |
?>
|
122 |
<td>
|
123 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-pro-lifetime/welcome/?wanted=true&plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW - 25% OFF<br><del>$79</del> $59<br><span style="font-weight: normal;">Discount ends in <span class="mm-countdown" data-endtime="<?php echo $meta['first_install_gmt'] + $promo_delta; ?>" style="">59 min</span></span></a>
|
124 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
125 |
</td>
|
126 |
<td>
|
127 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-agency-lifetime/welcome/?wanted=true&plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW - $60 OFF<br><del>$199</del> $139<br><span style="font-weight: normal;">Discount ends in <span class="mm-countdown" data-endtime="<?php echo $meta['first_install_gmt'] + $promo_delta; ?>" style="">59 min</span></span></a>
|
128 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
129 |
</td>
|
130 |
<td>
|
131 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-pro-yearly/?plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW<br>$6.99<small>/month</small></a>
|
132 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
133 |
</td>
|
134 |
<?php
|
135 |
} elseif ((time() - $meta['first_install_gmt']) > $promo_delta2) {
|
136 |
?>
|
137 |
<td>
|
138 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-pro-lifetime/olduser/?wanted=true&plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW - 25% OFF<br><del>$79</del> $59</a>
|
139 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
140 |
</td>
|
141 |
<td>
|
142 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-agency-lifetime/olduser/?wanted=true&plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW - $60 OFF<br><del>$199</del> $139</a>
|
143 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
144 |
</td>
|
145 |
<td>
|
146 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-pro-yearly/?plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW<br>$6.99<small>/month</small></a>
|
147 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
148 |
</td>
|
149 |
<?php
|
150 |
} else {
|
151 |
?>
|
152 |
<td>
|
153 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-pro-lifetime/?wanted=true&plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW<br>$79</a>
|
154 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
155 |
</td>
|
156 |
<td>
|
157 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-agency-lifetime/?wanted=true&plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW<br>$199</a>
|
158 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
159 |
</td>
|
160 |
<td>
|
161 |
+
<a data-gumroad-single-product="true" class="promo-button go-to-license-key" href="https://gum.co/csmm-pro-yearly/?plugin_info=CSMM+v<?php echo csmm_get_plugin_version(); ?>" target="_blank">BUY NOW<br>$6.99<small>/month</small></a>
|
162 |
<span class="instant-download"><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation from WordPress admin<br><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee</span>
|
163 |
</td>
|
164 |
<?php
|
framework/admin/views/settings.php
CHANGED
@@ -46,7 +46,7 @@ require_once 'header.php';
|
|
46 |
}
|
47 |
|
48 |
if (!$notice_shown && !get_transient('csmm_welcome_hide')
|
49 |
-
&& (time() - $meta['first_install_gmt']) < $promo_delta && (time() - $meta['first_install_gmt']) >
|
50 |
echo '<div id="upsell-notice"><p>';
|
51 |
echo 'Minimal Coming Soon & Maintenance Mode PRO features over 70 themes, advanced SEO options, content animations, Instagram filters, animated backgrounds and premium support.';
|
52 |
echo '<br>We\'ve prepared a special <b>25% WELCOMING DISCOUNT</b> available only for another <b class="mm-countdown" data-endtime="' . ($meta['first_install_gmt'] + $promo_delta) . '" style="font-weight: bold;">59 min</b>.</p>';
|
46 |
}
|
47 |
|
48 |
if (!$notice_shown && !get_transient('csmm_welcome_hide')
|
49 |
+
&& (time() - $meta['first_install_gmt']) < $promo_delta && (time() - $meta['first_install_gmt']) > 20) {
|
50 |
echo '<div id="upsell-notice"><p>';
|
51 |
echo 'Minimal Coming Soon & Maintenance Mode PRO features over 70 themes, advanced SEO options, content animations, Instagram filters, animated backgrounds and premium support.';
|
52 |
echo '<br>We\'ve prepared a special <b>25% WELCOMING DISCOUNT</b> available only for another <b class="mm-countdown" data-endtime="' . ($meta['first_install_gmt'] + $promo_delta) . '" style="font-weight: bold;">59 min</b>.</p>';
|
framework/public/views/html.php
CHANGED
@@ -81,7 +81,7 @@
|
|
81 |
$response = $options['message_noemail'];
|
82 |
} elseif (!empty($options['gdpr_text']) && empty($_POST['gdpr_consent'])) {
|
83 |
$code = 'danger';
|
84 |
-
$response
|
85 |
} else {
|
86 |
$signals_email = filter_var( strtolower( trim( $signals_email ) ), FILTER_SANITIZE_EMAIL );
|
87 |
|
@@ -163,4 +163,4 @@
|
|
163 |
</div><!-- .s-container -->
|
164 |
</div><!-- .maintenance-mode -->
|
165 |
</body>
|
166 |
-
</html>
|
81 |
$response = $options['message_noemail'];
|
82 |
} elseif (!empty($options['gdpr_text']) && empty($_POST['gdpr_consent'])) {
|
83 |
$code = 'danger';
|
84 |
+
$response = $options['gdpr_fail'];
|
85 |
} else {
|
86 |
$signals_email = filter_var( strtolower( trim( $signals_email ) ), FILTER_SANITIZE_EMAIL );
|
87 |
|
163 |
</div><!-- .s-container -->
|
164 |
</div><!-- .maintenance-mode -->
|
165 |
</body>
|
166 |
+
</html>
|
minimal-coming-soon-maintenance-mode.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Minimal Coming Soon & Maintenance Mode
|
4 |
* Plugin URI: https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/
|
5 |
* Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
|
6 |
-
* Version: 1.
|
7 |
* Author: WebFactory
|
8 |
* Author URI: https://www.webfactoryltd.com
|
9 |
* License: GPLv3
|
@@ -86,6 +86,7 @@ function csmm_default_options() {
|
|
86 |
'input_text' => 'Enter your best email address',
|
87 |
'button_text' => 'Subscribe',
|
88 |
'gdpr_text' => 'I understand the site\'s privacy policy and am willingly sharing my email address',
|
|
|
89 |
'ignore_form_styles' => 1,
|
90 |
'input_font_size' => '13',
|
91 |
'button_font_size' => '12',
|
3 |
* Plugin Name: Minimal Coming Soon & Maintenance Mode
|
4 |
* Plugin URI: https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/
|
5 |
* Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
|
6 |
+
* Version: 1.80
|
7 |
* Author: WebFactory
|
8 |
* Author URI: https://www.webfactoryltd.com
|
9 |
* License: GPLv3
|
86 |
'input_text' => 'Enter your best email address',
|
87 |
'button_text' => 'Subscribe',
|
88 |
'gdpr_text' => 'I understand the site\'s privacy policy and am willingly sharing my email address',
|
89 |
+
'gdpr_fail' => 'Please confirm the subscription terms with the checkbox below.',
|
90 |
'ignore_form_styles' => 1,
|
91 |
'input_font_size' => '13',
|
92 |
'button_font_size' => '12',
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
=== Minimal Coming Soon & Maintenance Mode
|
2 |
Contributors: WebFactory, googlemapswidget, wpreset, securityninja, underconstructionpage
|
3 |
Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance, mailchimp, gdpr
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -81,6 +81,14 @@ Yes and no. When activated it enables itself across the entire WP-MU network.
|
|
81 |
|
82 |
== Changelog ==
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
= 1.75 =
|
85 |
* 2018-09-27
|
86 |
* new: background images are now predefined; 38 available
|
1 |
+
=== Minimal Coming Soon & Maintenance Mode ===
|
2 |
Contributors: WebFactory, googlemapswidget, wpreset, securityninja, underconstructionpage
|
3 |
Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance, mailchimp, gdpr
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.80
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
81 |
|
82 |
== Changelog ==
|
83 |
|
84 |
+
= 1.80 =
|
85 |
+
* 2018-10-26
|
86 |
+
* added: new background images
|
87 |
+
* added: GDPR failed confirmation text option
|
88 |
+
* removed: support via chat
|
89 |
+
* changed: lover monthly prices
|
90 |
+
* 432,500 downloads
|
91 |
+
|
92 |
= 1.75 =
|
93 |
* 2018-09-27
|
94 |
* new: background images are now predefined; 38 available
|