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

Version Description

  • Wizard Page Added
  • Error Reporting Added
Download this release

Release Info

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

Code changes from version 2.1.35 to 2.1.36

contact-bank.php CHANGED
@@ -4,7 +4,7 @@
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.1.35
8
  * Author URI: http://tech-banker.com
9
  * License: GPLv3 or later
10
  * Text Domain: contact-bank
@@ -19,7 +19,28 @@ if(!defined("CONTACT_BK_PLUGIN_DIRNAME")) define("CONTACT_BK_PLUGIN_DIRNAME", pl
19
  if(!defined("CONTACT_BK")) define("CONTACT_BK","contact-bank/contact-bank.php");
20
  if(!defined("CONTACT_BK_PLUGIN_BASENAME")) define("CONTACT_BK_PLUGIN_BASENAME", plugin_basename(__FILE__));
21
  if(!defined("tech_banker_stats_url")) define("tech_banker_stats_url", "stats.tech-banker-services.org");
22
- if(!defined("contact_bank_version_number")) define("contact_bank_version_number","2.1.35");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
 
25
  /* Function Name : plugin_install_script_for_contact_bank
@@ -114,9 +135,6 @@ if(!function_exists("deactivation_function_for_contact_bank"))
114
 
115
  $url = tech_banker_stats_url."/wp-admin/admin-ajax.php";
116
  $type = get_option("contact-bank-wizard");
117
-
118
- delete_option("contact-bank-wizard");
119
-
120
  $theme_details = array();
121
 
122
  if($wp_version >= 3.4)
@@ -134,6 +152,7 @@ if(!function_exists("deactivation_function_for_contact_bank"))
134
  $plugin_stat_data["status"] = $type;
135
  $plugin_stat_data["event"] = "de-activate";
136
  $plugin_stat_data["domain_url"] = site_url();
 
137
 
138
  switch($type)
139
  {
@@ -142,7 +161,6 @@ if(!function_exists("deactivation_function_for_contact_bank"))
142
  $plugin_stat_data["wp_version"] = $wp_version;
143
  $plugin_stat_data["php_version"] = esc_html(phpversion());
144
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
145
- $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
146
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
147
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
148
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
@@ -221,6 +239,7 @@ if(!function_exists("plugin_uninstall_script_for_contact_bank"))
221
  $plugin_stat_data["status"] = $type;
222
  $plugin_stat_data["event"] = "uninstall";
223
  $plugin_stat_data["domain_url"] = site_url();
 
224
 
225
  switch($type)
226
  {
@@ -229,7 +248,6 @@ if(!function_exists("plugin_uninstall_script_for_contact_bank"))
229
  $plugin_stat_data["wp_version"] = $wp_version;
230
  $plugin_stat_data["php_version"] = esc_html(phpversion());
231
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
232
- $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
233
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
234
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
235
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
@@ -908,6 +926,7 @@ if(!function_exists("frontend_plugin_css_styles_contact_bank"))
908
  {
909
  wp_enqueue_style("stylesheet", plugins_url("/assets/css/stylesheet.css",__FILE__));
910
  wp_enqueue_style("system-message", plugins_url("/assets/css/system-message.css",__FILE__));
 
911
  }
912
  }
913
  if(isset($_REQUEST["action"]))
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.1.36
8
  * Author URI: http://tech-banker.com
9
  * License: GPLv3 or later
10
  * Text Domain: contact-bank
19
  if(!defined("CONTACT_BK")) define("CONTACT_BK","contact-bank/contact-bank.php");
20
  if(!defined("CONTACT_BK_PLUGIN_BASENAME")) define("CONTACT_BK_PLUGIN_BASENAME", plugin_basename(__FILE__));
21
  if(!defined("tech_banker_stats_url")) define("tech_banker_stats_url", "stats.tech-banker-services.org");
22
+ if(!defined("contact_bank_version_number")) define("contact_bank_version_number","2.1.36");
23
+ if (!defined("CONTACT_MAIN_DIR")) define("CONTACT_MAIN_DIR", dirname(dirname(dirname(__FILE__)))."/contact-bank");
24
+ if(!defined("CONTACT_BK_ERROR_LOGS_FILE")) define("CONTACT_BK_ERROR_LOGS_FILE",CONTACT_MAIN_DIR."/error-logs.txt");
25
+ if (!is_dir(CONTACT_MAIN_DIR))
26
+ {
27
+ wp_mkdir_p(CONTACT_MAIN_DIR);
28
+ }
29
+ @ini_set("log_errors",1);
30
+ @ini_set("error_log",CONTACT_BK_ERROR_LOGS_FILE);
31
+
32
+ /*************************************************************************************/
33
+ if(!function_exists("contact_bank_error_log_file"))
34
+ {
35
+ function contact_bank_error_log_file()
36
+ {
37
+ if(!file_exists(CONTACT_BK_ERROR_LOGS_FILE))
38
+ {
39
+ $error_file = fopen(CONTACT_BK_ERROR_LOGS_FILE, 'wb');
40
+ fclose($error_file);
41
+ }
42
+ }
43
+ }
44
 
45
 
46
  /* Function Name : plugin_install_script_for_contact_bank
135
 
136
  $url = tech_banker_stats_url."/wp-admin/admin-ajax.php";
137
  $type = get_option("contact-bank-wizard");
 
 
 
138
  $theme_details = array();
139
 
140
  if($wp_version >= 3.4)
152
  $plugin_stat_data["status"] = $type;
153
  $plugin_stat_data["event"] = "de-activate";
154
  $plugin_stat_data["domain_url"] = site_url();
155
+ $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
156
 
157
  switch($type)
158
  {
161
  $plugin_stat_data["wp_version"] = $wp_version;
162
  $plugin_stat_data["php_version"] = esc_html(phpversion());
163
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
 
164
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
165
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
166
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
239
  $plugin_stat_data["status"] = $type;
240
  $plugin_stat_data["event"] = "uninstall";
241
  $plugin_stat_data["domain_url"] = site_url();
242
+ $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
243
 
244
  switch($type)
245
  {
248
  $plugin_stat_data["wp_version"] = $wp_version;
249
  $plugin_stat_data["php_version"] = esc_html(phpversion());
250
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
 
251
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
252
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
253
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
926
  {
927
  wp_enqueue_style("stylesheet", plugins_url("/assets/css/stylesheet.css",__FILE__));
928
  wp_enqueue_style("system-message", plugins_url("/assets/css/system-message.css",__FILE__));
929
+ contact_bank_error_log_file();
930
  }
931
  }
932
  if(isset($_REQUEST["action"]))
lib/contact_view-class.php CHANGED
@@ -75,6 +75,8 @@ else
75
  $plugin_stat_data["status"] = $type;
76
  $plugin_stat_data["event"] = "activate";
77
  $plugin_stat_data["domain_url"] = site_url();
 
 
78
  switch($type)
79
  {
80
  case "opt_in" :
@@ -82,7 +84,6 @@ else
82
  $plugin_stat_data["wp_version"] = $wp_version;
83
  $plugin_stat_data["php_version"] = esc_html(phpversion());
84
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
85
- $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
86
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
87
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
88
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
75
  $plugin_stat_data["status"] = $type;
76
  $plugin_stat_data["event"] = "activate";
77
  $plugin_stat_data["domain_url"] = site_url();
78
+ $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
79
+
80
  switch($type)
81
  {
82
  case "opt_in" :
84
  $plugin_stat_data["wp_version"] = $wp_version;
85
  $plugin_stat_data["php_version"] = esc_html(phpversion());
86
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
 
87
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
88
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
89
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
lib/install-script.php CHANGED
@@ -1176,10 +1176,6 @@ else
1176
  }
1177
  }
1178
  update_option("contact-bank-version-number","2.1");
1179
- $option_auto_update_contact = get_option("contact-bank-automatic_update");
1180
- if($option_auto_update_contact == "")
1181
- {
1182
- update_option("contact-bank-automatic_update", "1");
1183
- }
1184
  }
1185
  ?>
1176
  }
1177
  }
1178
  update_option("contact-bank-version-number","2.1");
1179
+ update_option("contact-bank-automatic_update", "0");
 
 
 
 
1180
  }
1181
  ?>
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
- === Contact Bank - Contact Forms Builder ===
2
  Contributors: contact-banker, Gallery-Bank
3
- Tags: advanced form, best contact form plugin, contact form builder, contact manager, contact us form, custom form, feedback form, web form, contact us, contact bank, contact form, forms
4
  Requires at least: 3.1
5
- Tested up to: 4.7.3
6
- Stable Tag: 2.1.35
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
10
- Contact Bank is an ultimate form builder wordpress plugin that lets you create contact forms in seconds with ease.
11
 
12
  == Description ==
13
 
@@ -43,7 +43,6 @@ https://www.youtube.com/watch?v=yDYlsMhA3G0
43
 
44
  **[Like & Support Us on Facebook](https://www.facebook.com/TechBanker/)**
45
 
46
-
47
  = Key Features in Contact Bank Lite Edition =
48
 
49
  * Multi-Lingual. Available now in 36 Languages.
@@ -56,7 +55,6 @@ https://www.youtube.com/watch?v=yDYlsMhA3G0
56
  * Display Form Entries
57
  * Email Management
58
 
59
-
60
  = Key Features in Contact Bank Premium Editions =
61
 
62
  Take your forms to the next level with Contact Bank Premium Editions](http://tech-banker.com/products/wp-contact-bank/), which gives you 200+ features such as:
@@ -549,6 +547,11 @@ In order to set Short code for a Form, you need to follow these steps :
549
 
550
  == Changelog ==
551
 
 
 
 
 
 
552
  = 2.1.35 =
553
 
554
  * Major Bug fixed with Shapely Theme
1
+ === Contact Form Builder by Contact Bank ===
2
  Contributors: contact-banker, Gallery-Bank
3
+ Tags: form, forms, contact form, custom form, form builder, form creator, form manager, form creation, contact forms, custom forms, forms builder, forms creator, forms manager, forms creation, form administration
4
  Requires at least: 3.1
5
+ Tested up to: 4.7.4
6
+ Stable Tag: trunk
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
10
+ Responsive form builder for contact forms, user registration, etc. Contact Bank Form Builder helps you create beautiful contact forms with just a few clicks.
11
 
12
  == Description ==
13
 
43
 
44
  **[Like & Support Us on Facebook](https://www.facebook.com/TechBanker/)**
45
 
 
46
  = Key Features in Contact Bank Lite Edition =
47
 
48
  * Multi-Lingual. Available now in 36 Languages.
55
  * Display Form Entries
56
  * Email Management
57
 
 
58
  = Key Features in Contact Bank Premium Editions =
59
 
60
  Take your forms to the next level with Contact Bank Premium Editions](http://tech-banker.com/products/wp-contact-bank/), which gives you 200+ features such as:
547
 
548
  == Changelog ==
549
 
550
+ = 2.1.36 =
551
+
552
+ * Wizard Page Added
553
+ * Error Reporting Added
554
+
555
  = 2.1.35 =
556
 
557
  * Major Bug fixed with Shapely Theme