Easy Coming Soon - Version 0.86

Version Description

  1. Fixed a Typo
  2. Placeholder text for email subscription field is now editable
Download this release

Release Info

Developer a.ankit
Plugin Icon 128x128 Easy Coming Soon
Version 0.86
Comparing to
See all releases

Code changes from version 0.85 to 0.86

coming-soon-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name:Easy Coming Soon
4
  Description: Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collect E-mails and connect with users on Social Networks.
5
- Version: 0.85
6
  Author:Deepesh paiwal
7
  Author URI: http://www.webriti.com
8
  Plugin URI: http://www.webriti.com
@@ -352,10 +352,11 @@ In case you face any problem, contact us via the <a href="http://wordpress.org/s
352
  {
353
  if(isset($_POST['action']) == "coming_soon_page_notification_settings")
354
  {
355
- $mailto = ($_POST['mailto']);
356
  $email_address = ($_POST['email_address']);
357
  $message = ($_POST['message']);
358
  $sb_btn = ($_POST['sb_btn']);
 
359
 
360
 
361
  //all data is store in array form
@@ -365,6 +366,7 @@ In case you face any problem, contact us via the <a href="http://wordpress.org/s
365
  'email_address' => $email_address,
366
  'message' => $message,
367
  'sb_btn' => $sb_btn,
 
368
 
369
  );
370
  // data is insert into option table
@@ -390,10 +392,11 @@ In case you face any problem, contact us via the <a href="http://wordpress.org/s
390
  if(isset($_POST['action']) == "coming_soon_page_reset_notification_settings")
391
  {
392
 
393
- $mailto = "no";
394
  $email_address ="";
395
- $message = "";
396
- $sb_btn ="Notify Me!";
 
397
 
398
 
399
 
@@ -404,6 +407,8 @@ In case you face any problem, contact us via the <a href="http://wordpress.org/s
404
  'email_address' => $email_address,
405
  'message' => $message,
406
  'sb_btn' => $sb_btn,
 
 
407
 
408
  );
409
  // data is insert into option table
2
  /*
3
  Plugin Name:Easy Coming Soon
4
  Description: Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collect E-mails and connect with users on Social Networks.
5
+ Version: 0.86
6
  Author:Deepesh paiwal
7
  Author URI: http://www.webriti.com
8
  Plugin URI: http://www.webriti.com
352
  {
353
  if(isset($_POST['action']) == "coming_soon_page_notification_settings")
354
  {
355
+ $mailto = ($_POST['mailto']);
356
  $email_address = ($_POST['email_address']);
357
  $message = ($_POST['message']);
358
  $sb_btn = ($_POST['sb_btn']);
359
+ $placeholder_text = ($_POST['placeholder_text']);
360
 
361
 
362
  //all data is store in array form
366
  'email_address' => $email_address,
367
  'message' => $message,
368
  'sb_btn' => $sb_btn,
369
+ 'placeholder_text' => $placeholder_text,
370
 
371
  );
372
  // data is insert into option table
392
  if(isset($_POST['action']) == "coming_soon_page_reset_notification_settings")
393
  {
394
 
395
+ $mailto = "no";
396
  $email_address ="";
397
+ $message = "Thanks for subscribing this page";
398
+ $sb_btn ="";
399
+ $placeholder_text="";
400
 
401
 
402
 
407
  'email_address' => $email_address,
408
  'message' => $message,
409
  'sb_btn' => $sb_btn,
410
+ 'placeholder_text' => $placeholder_text,
411
+
412
 
413
  );
414
  // data is insert into option table
notification-settings.php CHANGED
@@ -9,6 +9,7 @@ function datasave_footer()
9
  var message = jQuery('#message').val();
10
 
11
  var sb_btn = jQuery('#sb_btn').val();
 
12
 
13
 
14
  if(mailto == 'yes')
@@ -41,6 +42,7 @@ function datasave_footer()
41
  'email_address':email_address,
42
  'message':message,
43
  'sb_btn':sb_btn,
 
44
 
45
  },
46
  success : function(data){
@@ -75,7 +77,7 @@ function reset_data_footersetting()
75
 
76
  }
77
 
78
- function mail_field_display()
79
  {
80
  var mailfield = jQuery("#mailingarea").val();
81
  //alert(mailfield)
@@ -89,6 +91,7 @@ function hideAll()
89
  jQuery('#mail_field').hide();
90
  jQuery('#message_field').hide();
91
  jQuery('#subscribe_button').hide();
 
92
 
93
  }
94
 
@@ -97,9 +100,10 @@ function show_mail_field()
97
  jQuery('#mail_field').show();
98
  jQuery('#message_field').show();
99
  jQuery('#subscribe_button').show();
 
100
 
101
  }
102
-
103
 
104
  </script>
105
  <style>
@@ -220,6 +224,17 @@ function show_mail_field()
220
  </div>
221
  </div>
222
  <!-- div end for enter "notify buttton label" field -->
 
 
 
 
 
 
 
 
 
 
 
223
 
224
 
225
  <input type="hidden" value="1" id="spa_footer_customization" name="spa_footer_customization" />
9
  var message = jQuery('#message').val();
10
 
11
  var sb_btn = jQuery('#sb_btn').val();
12
+ var placeholder_text = jQuery('#placeholder_text').val();
13
 
14
 
15
  if(mailto == 'yes')
42
  'email_address':email_address,
43
  'message':message,
44
  'sb_btn':sb_btn,
45
+ 'placeholder_text':placeholder_text,
46
 
47
  },
48
  success : function(data){
77
 
78
  }
79
 
80
+ function mail_field_display()
81
  {
82
  var mailfield = jQuery("#mailingarea").val();
83
  //alert(mailfield)
91
  jQuery('#mail_field').hide();
92
  jQuery('#message_field').hide();
93
  jQuery('#subscribe_button').hide();
94
+ jQuery('#placeholder').hide();
95
 
96
  }
97
 
100
  jQuery('#mail_field').show();
101
  jQuery('#message_field').show();
102
  jQuery('#subscribe_button').show();
103
+ jQuery('#placeholder').show();
104
 
105
  }
106
+
107
 
108
  </script>
109
  <style>
224
  </div>
225
  </div>
226
  <!-- div end for enter "notify buttton label" field -->
227
+ <!-- div start for enter "email placeholder" field -->
228
+ <div class="option option-input" id="placeholder" style="display:<?php if($value['mailto']=='no') {echo 'none';} elseif($value['mailto']=='') echo 'none' ?>;">
229
+ <h3 style="color:#21759b"><?php _e('Email Textbox Placeholder');?><span class="icon help" style="float:right">
230
+ <span class="tooltip">Customize the placeholder text of your subscription field</span></h3>
231
+ <div class="section">
232
+ <div class="element">
233
+ <input type="text" value="<?php echo $value['placeholder_text'] ?>" id="placeholder_text" name="placeholder_text" placeholder="Enter your email to notify" class="" />
234
+ </div>
235
+ </div>
236
+ </div>
237
+ <!-- div end for enter "email placeholder" field -->
238
 
239
 
240
  <input type="hidden" value="1" id="spa_footer_customization" name="spa_footer_customization" />
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
  === Easy Coming Soon ===
2
  Contributors: a.ankit, deepeshpaliwal
3
  Donate link: http://www.webriti.com/
4
- Tags: coming soon, wordpress coming soon, wordpress under construction, wordpress maintenance mode, maintenance mode, under construction, coming soon page, launch page, maintenance, construction, offline,landing page
5
  Requires at least: 3.3+
6
  Tested up to: 3.6.1
7
- Stable tag: 0.85
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collects E-mails and connect with users on Social Networks.
12
 
13
  == Description ==
14
 
@@ -32,6 +32,11 @@ In case you face any problem, contact us via the [Forums](http://wordpress.org/s
32
  * Subscribe feature / Easily collect visitor emails
33
  * Add Google Analytics Tracking to the Coming Soon Page
34
  * Very easy customization of coming soon page template setup
 
 
 
 
 
35
 
36
 
37
  == Installation ==
@@ -49,15 +54,21 @@ In case you face any problem, contact us via the [Forums](http://wordpress.org/s
49
  == Screenshots ==
50
 
51
  1. Create Coming soon page like this
52
- 2. Coming soon plugin general setting panel
53
- 3. Coming soon plugin Design panel
 
 
54
 
55
  == Changelog ==
56
 
57
- = 0.8 =
 
 
 
 
58
  1. Resolved Undefined variable error
59
  2. The coming soon page displays the Site Title.
60
  3. Added "Coming Soon Active" in the Wordpress Admin Menu Bar
61
 
62
  = 0.5 =
63
- This version provides basic functionality to craete easily coming soon or launching page and get e-mail on wordpress blog.
1
  === Easy Coming Soon ===
2
  Contributors: a.ankit, deepeshpaliwal
3
  Donate link: http://www.webriti.com/
4
+ Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, under construction, admin, newsletter, offline, site offline, wordpress coming soon, wordpress under construction, wordpress maintenance mode
5
  Requires at least: 3.3+
6
  Tested up to: 3.6.1
7
+ Stable tag: 0.86
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collects e-mails and connect with users on Social Networks.
12
 
13
  == Description ==
14
 
32
  * Subscribe feature / Easily collect visitor emails
33
  * Add Google Analytics Tracking to the Coming Soon Page
34
  * Very easy customization of coming soon page template setup
35
+ * Simple admin settings and simple customization of Background Color, Background Image, Fonts color and fonts style etc..
36
+ * Coming soon Active mode menu bar on wordpress admin dashboard.
37
+ * Visible only non logged user.
38
+ * Easily update and post content in your site when "Easy Coming Soon" is in Active mode.
39
+
40
 
41
 
42
  == Installation ==
54
  == Screenshots ==
55
 
56
  1. Create Coming soon page like this
57
+ 2. Coming soon page template view-2
58
+ 3. Coming soon plugin general setting panel
59
+ 4. Coming soon plugin Design panel
60
+ 5. Coming soon Page live preview
61
 
62
  == Changelog ==
63
 
64
+ = 0.86 =
65
+ 1. Fixed a Typo
66
+ 2. Placeholder text for email subscription field is now editable
67
+
68
+ = 0.85 =
69
  1. Resolved Undefined variable error
70
  2. The coming soon page displays the Site Title.
71
  3. Added "Coming Soon Active" in the Wordpress Admin Menu Bar
72
 
73
  = 0.5 =
74
+ This version provides basic functionality to craete easily coming soon or a launch page and collect e-mail adress of your website visitors.
template/coming_soon_display.php CHANGED
@@ -109,8 +109,7 @@ $notification_settings =get_option('soon_page_notification_settings');
109
 
110
  <form id="subscribe" class="form-signin" action="#" method="post" style=" width:80%;background:#2a6888; border:0px groove #333333;padding: 6px 5px 7px 5px; ">
111
 
112
-
113
- <input id="email" name="email" type="text" class="input-xlarge" placeholder="<?php _e('Enter your email to nontify') ?>"/>
114
 
115
  <button id="notify" class="btn btn-primary" name="notify" onClick="checkvalidation()"><?php if($notification_settings['sb_btn']!==''){echo ($notification_settings['sb_btn']); } else { echo('Notify Me!');} ?></button>
116
  </form><?php } ?></center>
109
 
110
  <form id="subscribe" class="form-signin" action="#" method="post" style=" width:80%;background:#2a6888; border:0px groove #333333;padding: 6px 5px 7px 5px; ">
111
 
112
+ <input id="email" name="email" type="text" class="input-xlarge" placeholder="<?php if($notification_settings['placeholder_text']!==''){echo ($notification_settings['placeholder_text']); } else { echo('Enter your email to notify');} ?>"/>
 
113
 
114
  <button id="notify" class="btn btn-primary" name="notify" onClick="checkvalidation()"><?php if($notification_settings['sb_btn']!==''){echo ($notification_settings['sb_btn']); } else { echo('Notify Me!');} ?></button>
115
  </form><?php } ?></center>