Contact Bank: WordPress Form Builder for Contact Forms - Version 2.0.17

Version Description

  • Compatibility to 3.8.3
  • New Help PopUp Introduced
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 Contact Bank: WordPress Form Builder for Contact Forms
Version 2.0.17
Comparing to
See all releases

Code changes from version 2.0.16 to 2.0.17

assets/css/stylesheet.css CHANGED
@@ -3529,6 +3529,104 @@ opacity: 0.8;
3529
 
3530
  }
3531
  .gb_buy_pro .gb_message_buttons:hover, .gb_buy_pro .gb_message_buttons:focus
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3532
  {
3533
  background: #FF6D1E;
3534
  color: #FFF;
3529
 
3530
  }
3531
  .gb_buy_pro .gb_message_buttons:hover, .gb_buy_pro .gb_message_buttons:focus
3532
+ {
3533
+ background: #FF6D1E;
3534
+ color: #FFF;
3535
+ border: 1px solid #FF6D1E;
3536
+ -moz-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
3537
+ -webkit-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
3538
+ box-shadow: 0px 1px 1px 0 #FF6D1E inset;
3539
+ }
3540
+ /*************************** Contact Bank Information Popup********************************/
3541
+ .contact_bank_popup_box .ui-dialog-titlebar {
3542
+ background : #AE3A3A;
3543
+ color : #fff;
3544
+ font-size : 1.5em;
3545
+ font-weight : normal;
3546
+ height : auto;
3547
+ line-height : 2.5;
3548
+ padding : 0 1em;
3549
+ }
3550
+
3551
+ .contact_bank_popup_box .ui-dialog-titlebar span {
3552
+ text-align : left;
3553
+ }
3554
+
3555
+ .contact_bank_popup_box .ui-dialog-titlebar button {
3556
+ width : 30px;
3557
+ height : 30px;
3558
+ color : #ffffff;
3559
+ top : 15px;
3560
+ right : 15px;
3561
+ margin : 0;
3562
+ padding : 0;
3563
+ }
3564
+
3565
+ .contact_bank_popup_box .ui-dialog-titlebar button:before {
3566
+ color : #ffffff;
3567
+ }
3568
+
3569
+ .contact_bank_popup_box .ui-dialog-titlebar button:hover:before {
3570
+ color : #fff;
3571
+ }
3572
+
3573
+ .contact_bank_popup_box .ui-icon,
3574
+ .contact_bank_popup_box .ui-icon:hover {
3575
+ background : none !important;
3576
+ }
3577
+
3578
+ #contact_bank_popup {
3579
+ padding : 0;
3580
+ margin : 0;
3581
+ }
3582
+
3583
+ #contact_bank_popup li {
3584
+ border-bottom : 1px solid #AE3A3A;
3585
+ padding : 1em 2em;
3586
+ overflow : hidden;
3587
+ list-style : decimal;
3588
+ list-style-position : inside;
3589
+ }
3590
+
3591
+ #contact_bank_popup li p {
3592
+ margin-top : 0;
3593
+ margin-left: 13px;
3594
+ }
3595
+
3596
+ #contact_bank_popup li h4 {
3597
+ margin : 0;
3598
+ }
3599
+
3600
+ #contact_bank_popup .gb_close_popup {
3601
+ position : relative;
3602
+ display : block;
3603
+ width : 98%;
3604
+ line-height : 3;
3605
+ text-align : right;
3606
+ color : #AE3A3A;
3607
+ }
3608
+ .wp-core-ui .gb_buttons
3609
+ {
3610
+ border: 1px solid #FF6D1E;
3611
+ font-size: 13px;
3612
+ padding: 4px 0;
3613
+ color: #FFF;
3614
+ text-shadow: 0 1px 3px #FF6D1E;
3615
+ font-weight: bold;
3616
+ background: #FF6D1E;
3617
+ -moz-border-radius: 3px;
3618
+ border-radius: 3px;
3619
+ -webkit-border-radius: 3px;
3620
+ text-decoration: none;
3621
+ height: 35px;
3622
+ text-align: center;
3623
+ width: 100px;
3624
+ -moz-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
3625
+ -webkit-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
3626
+ box-shadow: 0px 1px 1px 0 #FF6D1E inset;
3627
+ margin-left: 13px;
3628
+ }
3629
+ .wp-core-ui .gb_buttons:hover, .wp-core-ui .gb_buttons:focus
3630
  {
3631
  background: #FF6D1E;
3632
  color: #FFF;
contact-bank.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Standard Edition
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
- Version: 2.0.16
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -155,6 +155,7 @@ function backend_plugin_js_scripts_contact_bank()
155
  wp_enqueue_script("jquery-ui-droppable");
156
  wp_enqueue_script("jquery-ui-draggable");
157
  wp_enqueue_script("farbtastic");
 
158
  wp_enqueue_script("jquery.Tooltip.js", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.Tooltip.js");
159
  wp_enqueue_script("jquery.dataTables.min", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.dataTables.min.js");
160
  wp_enqueue_script("jquery.validate.min", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.validate.min.js");
@@ -170,6 +171,7 @@ function frontend_plugin_js_scripts_contact_bank()
170
  function backend_plugin_css_styles_contact_bank()
171
  {
172
  wp_enqueue_style("farbtastic");
 
173
  wp_enqueue_style("stylesheet", CONTACT_BK_PLUGIN_URL ."/assets/css/stylesheet.css");
174
  wp_enqueue_style("font-awesome", CONTACT_BK_PLUGIN_URL ."/assets/css/font-awesome/css/font-awesome.css");
175
  wp_enqueue_style("system-message", CONTACT_BK_PLUGIN_URL ."/assets/css/system-message.css");
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
+ Version: 2.0.17
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
155
  wp_enqueue_script("jquery-ui-droppable");
156
  wp_enqueue_script("jquery-ui-draggable");
157
  wp_enqueue_script("farbtastic");
158
+ wp_enqueue_script("jquery-ui-dialog");
159
  wp_enqueue_script("jquery.Tooltip.js", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.Tooltip.js");
160
  wp_enqueue_script("jquery.dataTables.min", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.dataTables.min.js");
161
  wp_enqueue_script("jquery.validate.min", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.validate.min.js");
171
  function backend_plugin_css_styles_contact_bank()
172
  {
173
  wp_enqueue_style("farbtastic");
174
+ wp_enqueue_style("wp-jquery-ui-dialog");
175
  wp_enqueue_style("stylesheet", CONTACT_BK_PLUGIN_URL ."/assets/css/stylesheet.css");
176
  wp_enqueue_style("font-awesome", CONTACT_BK_PLUGIN_URL ."/assets/css/font-awesome/css/font-awesome.css");
177
  wp_enqueue_style("system-message", CONTACT_BK_PLUGIN_URL ."/assets/css/system-message.css");
lib/contact_view-class.php CHANGED
@@ -973,7 +973,11 @@ else
973
  );
974
  die();
975
  }
976
-
 
 
 
 
977
  }
978
  }
979
  ?>
973
  );
974
  die();
975
  }
976
+ else if ($_REQUEST["param"] == "update_option")
977
+ {
978
+ update_option("contact-bank-info-popup", "no");
979
+ die();
980
+ }
981
  }
982
  }
983
  ?>
lib/uninstall-script.php CHANGED
@@ -29,6 +29,7 @@
29
 
30
  $sql = "DROP TABLE " .contact_bank_roles_capability();
31
  $wpdb->query($sql);
32
-
 
33
  delete_option("contact-bank-version-number");
34
  ?>
29
 
30
  $sql = "DROP TABLE " .contact_bank_roles_capability();
31
  $wpdb->query($sql);
32
+
33
+ delete_option("contact-bank-info-popup");
34
  delete_option("contact-bank-version-number");
35
  ?>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: contact-banker, Gallery-Bank
3
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact bank, contact form, contact form 7, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, rss, seo, shortcode, sidebar, stats, text, web form, widget, wordpress
4
  Requires at least: 3.3
5
- Tested up to: 3.8.1
6
- Stable tag: 2.0.16
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -26,7 +26,7 @@ It provides a powerful engine for uploading and managing dynamic forms with more
26
 
27
  ***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
28
 
29
- ***April 14, 2014: We're happy to announce that Contact Bank reached 23,550+ plugin downloads in only 6 months. We frequently receive positive feedback from people using our Contact Bank Plugin for WordPress. Thanks so much for your support!***
30
 
31
  <a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
32
 
@@ -137,6 +137,11 @@ Visit [here](http://tech-banker.com/contact-bank) to upgrade to Pro Version now.
137
 
138
  == Changelog ==
139
 
 
 
 
 
 
140
  = 2.0.16 =
141
 
142
  * Language Updated - French
2
  Contributors: contact-banker, Gallery-Bank
3
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact bank, contact form, contact form 7, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, rss, seo, shortcode, sidebar, stats, text, web form, widget, wordpress
4
  Requires at least: 3.3
5
+ Tested up to: 3.8.3
6
+ Stable tag: 2.0.17
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
26
 
27
  ***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
28
 
29
+ ***April 15, 2014: We're happy to announce that Contact Bank reached 23,900+ plugin downloads in only 6 months. We frequently receive positive feedback from people using our Contact Bank Plugin for WordPress. Thanks so much for your support!***
30
 
31
  <a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
32
 
137
 
138
  == Changelog ==
139
 
140
+ = 2.0.17 =
141
+
142
+ * Compatibility to 3.8.3
143
+ * New Help PopUp Introduced
144
+
145
  = 2.0.16 =
146
 
147
  * Language Updated - French
views/dashboard.php CHANGED
@@ -8,7 +8,46 @@ $last_form_id = $wpdb->get_var
8
  ""
9
  )
10
  );
11
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ?>
13
  <div class="fluid-layout">
14
  <div class="layout-span12">
@@ -142,6 +181,7 @@ $last_form_id = $wpdb->get_var
142
  </div>
143
  </div>
144
  </div>
 
145
  <script type="text/javascript">
146
  jQuery(".hovertip").tooltip();
147
  jQuery(document).ready(function()
@@ -155,6 +195,34 @@ $last_form_id = $wpdb->get_var
155
  show_title: false,
156
  allow_resize: true
157
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  });
159
  oTable = jQuery("#data-table-form").dataTable
160
  ({
@@ -194,4 +262,11 @@ $last_form_id = $wpdb->get_var
194
  function restore_factory_settings() {
195
  alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
196
  }
 
 
 
 
 
 
 
197
  </script>
8
  ""
9
  )
10
  );
11
+ $popup = get_option("contact-bank-info-popup");
12
+ if($popup == "")
13
+ {
14
+ ?>
15
+ <ol id="contact_bank_popup" title="Important First Steps" style="display:none;">
16
+ <li class="add_new_album" id="add_new_album">
17
+ <h4>Add New Form</h4>
18
+ <p>
19
+ Contact Bank is designed to create Powerful Contact Forms with multiple controls within few seconds.
20
+ <br>Just click on <strong>Add New Form</strong> button located at the top of the <strong> Contact Bank - Dashboard </strong> page to Add New Form.
21
+ </p>
22
+ <a href="http://tech-banker.com/contact-bank/documentation/" target="_blank" class="button gb_buttons">Read More</a>
23
+ </li>
24
+ <li class="shortcode" id="shortcode">
25
+ <h4>Implement Shortcode</h4>
26
+ <p>
27
+ Easy and simple way to implement Shortcode on your Wordpress Page / Post.<br>Use the button below and just try it out!
28
+
29
+ </p>
30
+ <a href="http://tech-banker.com/contact-bank/documentation/frequently-asked-questions-others-contact-bank/" target="_blank" class="button gb_buttons">Read More</a>
31
+ </li>
32
+ <li class="Upgrade" id="Upgrade">
33
+ <h4>Upgrade to Pro Version</h4>
34
+ <p>
35
+ Contact Bank is an one time Investment.<br> To enjoy full features of Contact Bank,
36
+ upgrade to Premium Version Now! Starting at 10£/- only.
37
+ </p>
38
+ <a href="http://tech-banker.com/contact-bank" target="_blank" class="button gb_buttons">Upgrade Now</a>
39
+ </li>
40
+ <li class="help" id="help">
41
+ <h4>Help to Improve</h4>
42
+ <p>
43
+ Contact Bank would like to collect anonymous data about features you use to help improve this plugin.
44
+ </p>
45
+ <a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank" class="button gb_buttons">Read More</a>
46
+ </li>
47
+ <a href="javascript:void(o);" onclick="close_popup()" class="gb_close_popup">Dismiss</a>
48
+ </ol>
49
+ <?php
50
+ }
51
  ?>
52
  <div class="fluid-layout">
53
  <div class="layout-span12">
181
  </div>
182
  </div>
183
  </div>
184
+
185
  <script type="text/javascript">
186
  jQuery(".hovertip").tooltip();
187
  jQuery(document).ready(function()
195
  show_title: false,
196
  allow_resize: true
197
  });
198
+ <?php
199
+ if($popup == "")
200
+ {
201
+ ?>
202
+ jQuery("#contact_bank_popup").dialog(
203
+ {
204
+ dialogClass: "wp-dialog contact_bank_popup_box",
205
+ modal: true,
206
+ closeOnEscape: true,
207
+ title: contact_bank_popup.title,
208
+ width: "auto",
209
+ resizable: true,
210
+ draggable: false,
211
+ create: function ( event, ui ) {
212
+ jQuery( this ).css( "maxWidth", "600px" );
213
+ },
214
+ close: function(event)
215
+ {
216
+ jQuery( "#contact_bank_popup" ).dialog( "close" );
217
+ jQuery.post(ajaxurl, "param=update_option&action=add_contact_form_library", function(data)
218
+ {
219
+ });
220
+ }
221
+
222
+ });
223
+ <?php
224
+ }
225
+ ?>
226
  });
227
  oTable = jQuery("#data-table-form").dataTable
228
  ({
262
  function restore_factory_settings() {
263
  alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
264
  }
265
+ function close_popup()
266
+ {
267
+ jQuery( "#contact_bank_popup" ).dialog( "close" );
268
+ jQuery.post(ajaxurl, "param=update_option&action=add_new_album_library", function()
269
+ {
270
+ });
271
+ }
272
  </script>