Version Description
- Added: Show notice to install Backup WD plugin.
Download this release
Release Info
Developer | webdorado |
Plugin | Contact Form by WD – responsive drag & drop contact form builder tool |
Version | 1.11.12 |
Comparing to | |
See all releases |
Code changes from version 1.11.11 to 1.11.12
- contact-form-maker.php +62 -2
- css/wd_bp_install.css +41 -0
- images/logo.png +0 -0
- js/wd_bp_install.js +12 -0
- readme.txt +11 -8
contact-form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Contact Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
|
6 |
-
* Version: 1.11.
|
7 |
* Author: WebDorado Form Builder Team
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -11,7 +11,7 @@
|
|
11 |
define('WD_FMC_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
|
12 |
define('WD_FMC_URL', plugins_url(plugin_basename(dirname(__FILE__))));
|
13 |
define('WD_FMC_MAIN_FILE', plugin_basename(__FILE__));
|
14 |
-
define('WD_FMC_VERSION', '1.11.
|
15 |
// Plugin menu.
|
16 |
function form_maker_options_panel_fmc() {
|
17 |
if (!get_option('form_maker_pro_active', FALSE)) {
|
@@ -334,6 +334,10 @@ function form_maker_activate_fmc() {
|
|
334 |
add_option('fmc_settings', array('public_key' => $public_key, 'private_key' => $private_key, 'csv_delimiter' => ',', 'map_key' => ''));
|
335 |
}
|
336 |
}
|
|
|
|
|
|
|
|
|
337 |
}
|
338 |
register_activation_hook(__FILE__, 'form_maker_activate_fmc');
|
339 |
|
@@ -791,3 +795,59 @@ function cfm_overview() {
|
|
791 |
}
|
792 |
}
|
793 |
add_action('init', 'cfm_overview');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
* Plugin Name: Contact Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
|
6 |
+
* Version: 1.11.12
|
7 |
* Author: WebDorado Form Builder Team
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
define('WD_FMC_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
|
12 |
define('WD_FMC_URL', plugins_url(plugin_basename(dirname(__FILE__))));
|
13 |
define('WD_FMC_MAIN_FILE', plugin_basename(__FILE__));
|
14 |
+
define('WD_FMC_VERSION', '1.11.12');
|
15 |
// Plugin menu.
|
16 |
function form_maker_options_panel_fmc() {
|
17 |
if (!get_option('form_maker_pro_active', FALSE)) {
|
334 |
add_option('fmc_settings', array('public_key' => $public_key, 'private_key' => $private_key, 'csv_delimiter' => ',', 'map_key' => ''));
|
335 |
}
|
336 |
}
|
337 |
+
// Check if notice or popup already exist for other plugins
|
338 |
+
if( get_option('wds_bk_notice_status') === false ) {
|
339 |
+
add_option('wds_bk_notice_status', '');
|
340 |
+
}
|
341 |
}
|
342 |
register_activation_hook(__FILE__, 'form_maker_activate_fmc');
|
343 |
|
795 |
}
|
796 |
}
|
797 |
add_action('init', 'cfm_overview');
|
798 |
+
|
799 |
+
if (!function_exists('wd_bp_install_notice')) {
|
800 |
+
$wd_bp_plugin_url = WD_FMC_URL;
|
801 |
+
function wd_bp_script_style() {
|
802 |
+
global $wd_bp_plugin_url;
|
803 |
+
wp_enqueue_script('wd_bck_install', $wd_bp_plugin_url . '/js/wd_bp_install.js', array('jquery'));
|
804 |
+
wp_enqueue_style('wd_bck_install', $wd_bp_plugin_url . '/css/wd_bp_install.css');
|
805 |
+
}
|
806 |
+
add_action('admin_enqueue_scripts', 'wd_bp_script_style');
|
807 |
+
|
808 |
+
/**
|
809 |
+
* Show notice to install backup plugin
|
810 |
+
*/
|
811 |
+
function wd_bp_install_notice() {
|
812 |
+
global $wd_bp_plugin_url;
|
813 |
+
$prefix = 'cfm';
|
814 |
+
$meta_value = get_option('wds_bk_notice_status');
|
815 |
+
if ($meta_value === '' || $meta_value === false) {
|
816 |
+
ob_start();
|
817 |
+
?>
|
818 |
+
<div class="notice notice-info" id="wd_bp_notice_cont">
|
819 |
+
<p>
|
820 |
+
<img id="wd_bp_logo_notice" src="<?php echo $wd_bp_plugin_url . '/images/logo.png'; ?>">
|
821 |
+
<?php _e("Hey! Install brand new FREE", $prefix) ?>
|
822 |
+
<a href="https://wordpress.org/plugins/backup-wd/" title="<?php _e("More details", $prefix) ?>"
|
823 |
+
target="_blank"><?php _e("Backup WD", $prefix) ?></a>
|
824 |
+
<?php _e("plugin to keep your forms and website safe.", $prefix) ?>
|
825 |
+
<a class="button button-primary"
|
826 |
+
href="<?php echo esc_url(wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=backup-wd'), 'install-plugin_backup-wd')); ?>">
|
827 |
+
<span onclick="wd_bp_notice_install()"><?php _e("Install", $prefix); ?></span>
|
828 |
+
</a>
|
829 |
+
</p>
|
830 |
+
<button type="button" class="wd_bp_notice_dissmiss notice-dismiss"><span class="screen-reader-text"></span>
|
831 |
+
</button>
|
832 |
+
</div>
|
833 |
+
<script>wd_bp_url = '<?php echo add_query_arg(array('action' => 'wd_bp_dismiss',), admin_url('admin-ajax.php')); ?>'</script>
|
834 |
+
<?php
|
835 |
+
echo ob_get_clean();
|
836 |
+
}
|
837 |
+
}
|
838 |
+
|
839 |
+
if (!is_dir(plugin_dir_path(__DIR__) . 'backup-wd')) {
|
840 |
+
add_action('admin_notices', 'wd_bp_install_notice');
|
841 |
+
}
|
842 |
+
|
843 |
+
/**
|
844 |
+
* Add usermeta to db
|
845 |
+
*
|
846 |
+
* empty: notice,
|
847 |
+
* 1 : never show again
|
848 |
+
*/
|
849 |
+
function wd_bp_install_notice_status() {
|
850 |
+
update_option('wds_bk_notice_status', '1', 'no');
|
851 |
+
}
|
852 |
+
add_action('wp_ajax_wd_bp_dismiss', 'wd_bp_install_notice_status');
|
853 |
+
}
|
css/wd_bp_install.css
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@media only screen and (max-width: 500px) {
|
2 |
+
body #wd_backup_logo {
|
3 |
+
max-width: 100%;
|
4 |
+
}
|
5 |
+
body #wd_bp_notice_cont p {
|
6 |
+
padding-right: 25px !important;
|
7 |
+
}
|
8 |
+
}
|
9 |
+
|
10 |
+
#wd_bp_logo_notice {
|
11 |
+
width: 40px;
|
12 |
+
float: left;
|
13 |
+
margin-right: 10px;
|
14 |
+
}
|
15 |
+
|
16 |
+
#wd_bp_notice_cont {
|
17 |
+
position: relative;
|
18 |
+
}
|
19 |
+
|
20 |
+
#wd_bp_notice_cont a {
|
21 |
+
margin: 0 5px;
|
22 |
+
}
|
23 |
+
|
24 |
+
#wd_bp_notice_cont .dashicons-dismiss:before {
|
25 |
+
content: "\f153";
|
26 |
+
background: 0 0;
|
27 |
+
color: #72777c;
|
28 |
+
display: block;
|
29 |
+
font: 400 16px/20px dashicons;
|
30 |
+
speak: none;
|
31 |
+
height: 20px;
|
32 |
+
text-align: center;
|
33 |
+
width: 20px;
|
34 |
+
-webkit-font-smoothing: antialiased;
|
35 |
+
-moz-osx-font-smoothing: grayscale;
|
36 |
+
}
|
37 |
+
|
38 |
+
.wd_bp_notice_dissmiss {
|
39 |
+
margin-top: 5px;
|
40 |
+
}
|
41 |
+
|
images/logo.png
ADDED
Binary file
|
js/wd_bp_install.js
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function () {
|
2 |
+
/*Ajax hide notice forever */
|
3 |
+
jQuery(".wd_bp_notice_dissmiss").on("click", function () {
|
4 |
+
jQuery("#wd_bp_notice_cont").hide();
|
5 |
+
jQuery.post(wd_bp_url);
|
6 |
+
})
|
7 |
+
});
|
8 |
+
|
9 |
+
// Set option status 1 - never show again during install btn click in notice
|
10 |
+
function wd_bp_notice_install() {
|
11 |
+
jQuery.post(wd_bp_url);
|
12 |
+
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.
|
|
4 |
Tags: contact, contact form, email, forms, contact forms, custom form, feedback, form builder, form manager, form maker, forms builder, form builder wordpress
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 1.11.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -15,7 +15,7 @@ Create simple contact forms or complex applications forms with this FREE and int
|
|
15 |
|
16 |
[WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
|
17 |
|
18 |
-
WordPress Contact Form Maker is a simple contact form creator
|
19 |
|
20 |
The number of fields for the WordPress forms builder plugin is unlimited and having large amount of fields will not cause any malfunctioning of the contact form. You can add different types of contact form fields, including inputs (e.g. e-mail, password, text area, text input and etc.), Captcha (as well as possibility of adding Google standard ReCaptcha), custom and standard buttons, as well as Map field.
|
21 |
|
@@ -90,8 +90,8 @@ Galician (gl_ES)
|
|
90 |
Georgian (ka_GE)
|
91 |
German (de_DE)
|
92 |
Greek (el)
|
93 |
-
Hindi (hi_IN)
|
94 |
Hebrew (he_IL)
|
|
|
95 |
Hungarian (hu_HU)
|
96 |
Indonesian (id_ID)
|
97 |
Italian (it_IT)
|
@@ -104,8 +104,8 @@ Malay (ms_MY)
|
|
104 |
Maltese (mt_MT)
|
105 |
Norwegian (nb_NO)
|
106 |
Persian (fa_IR)
|
107 |
-
Portuguese (pt_PT)
|
108 |
Polish (pl_PL)
|
|
|
109 |
Russian (ru_RU)
|
110 |
Romanian (ro_RO)
|
111 |
Serbian (sr_RS)
|
@@ -158,6 +158,9 @@ If you want to update the plugin while preserving your existing contact forms, y
|
|
158 |
|
159 |
== Changelog ==
|
160 |
|
|
|
|
|
|
|
161 |
= 1.11.11 =
|
162 |
* Fixed: Conflict with Jetpack Contact Form module
|
163 |
|
@@ -168,16 +171,16 @@ If you want to update the plugin while preserving your existing contact forms, y
|
|
168 |
* Fixed: Bug on limitations
|
169 |
|
170 |
= 1.11.8 =
|
171 |
-
* Added: Form Header
|
172 |
* Added: Overview page
|
173 |
-
* Added:
|
174 |
* Added: New Themes
|
|
|
175 |
* Added: Form Display Options (Embedded, Popup, Topbar, Scrollbox)
|
176 |
-
*
|
177 |
* Fixed: Google maps api conflict with other plugins.
|
178 |
* Fixed: CSS conflict with some ajax themes
|
|
|
179 |
* Fixed: Security issues
|
180 |
-
* Removed: Featured Plugins, Featured Themes pages
|
181 |
|
182 |
= 1.8.43 =
|
183 |
* Fixed: Shortcode editor pop-up styles.
|
4 |
Tags: contact, contact form, email, forms, contact forms, custom form, feedback, form builder, form manager, form maker, forms builder, form builder wordpress
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 1.11.12
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
15 |
|
16 |
[WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
|
17 |
|
18 |
+
WordPress Contact Form Maker is a simple contact form creator, which allows the user with almost no knowledge of programming to create and edit different type of responsive forms. The product is similar to the WordPress Form Maker using most of its functionality, whereas there are also some differences. If want to build complicated contact forms with various field types like Date, Time, Single choice, Multiple choice, etc., than you can use [WordPress Form Builder](http://wordpress.org/extend/plugins/form-maker).
|
19 |
|
20 |
The number of fields for the WordPress forms builder plugin is unlimited and having large amount of fields will not cause any malfunctioning of the contact form. You can add different types of contact form fields, including inputs (e.g. e-mail, password, text area, text input and etc.), Captcha (as well as possibility of adding Google standard ReCaptcha), custom and standard buttons, as well as Map field.
|
21 |
|
90 |
Georgian (ka_GE)
|
91 |
German (de_DE)
|
92 |
Greek (el)
|
|
|
93 |
Hebrew (he_IL)
|
94 |
+
Hindi (hi_IN)
|
95 |
Hungarian (hu_HU)
|
96 |
Indonesian (id_ID)
|
97 |
Italian (it_IT)
|
104 |
Maltese (mt_MT)
|
105 |
Norwegian (nb_NO)
|
106 |
Persian (fa_IR)
|
|
|
107 |
Polish (pl_PL)
|
108 |
+
Portuguese (pt_PT)
|
109 |
Russian (ru_RU)
|
110 |
Romanian (ro_RO)
|
111 |
Serbian (sr_RS)
|
158 |
|
159 |
== Changelog ==
|
160 |
|
161 |
+
= 1.11.12 =
|
162 |
+
* Added: Show notice to install Backup WD plugin.
|
163 |
+
|
164 |
= 1.11.11 =
|
165 |
* Fixed: Conflict with Jetpack Contact Form module
|
166 |
|
171 |
* Fixed: Bug on limitations
|
172 |
|
173 |
= 1.11.8 =
|
|
|
174 |
* Added: Overview page
|
175 |
+
* Added: Form Header
|
176 |
* Added: New Themes
|
177 |
+
* Added: New Theme Editor
|
178 |
* Added: Form Display Options (Embedded, Popup, Topbar, Scrollbox)
|
179 |
+
* Removed: Featured Plugins, Featured Themes pages
|
180 |
* Fixed: Google maps api conflict with other plugins.
|
181 |
* Fixed: CSS conflict with some ajax themes
|
182 |
+
* Fixed: Themes - bug on save as copy
|
183 |
* Fixed: Security issues
|
|
|
184 |
|
185 |
= 1.8.43 =
|
186 |
* Fixed: Shortcode editor pop-up styles.
|