Version Description
Current Version of Popup Builder is 2.6.3.2
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 2.6.3.2 |
Comparing to | |
See all releases |
Code changes from version 2.6.3.1 to 2.6.3.2
- config.php +2 -2
- files/sg_popup_media_button.php +18 -9
- javascript/sg_popup_backend.js +1 -1
- javascript/sg_popup_frontend.js +1 -1
- popup-builder.php +1 -1
- readme.txt +5 -1
- style/jQueryDialog/jquery-ui.css +2 -2
config.php
CHANGED
@@ -24,8 +24,8 @@ if(!class_exists('SgPopupBuilderConfig')) {
|
|
24 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
25 |
define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
|
26 |
define('SG_APP_POPUP_TABLE_LIMIT', 15);
|
27 |
-
define('SG_POPUP_VERSION', 2.
|
28 |
-
define('SG_POPUP_PRO_VERSION', 3.
|
29 |
define('SG_POPUP_PRO_URL', 'https://popup-builder.com/');
|
30 |
define('SG_POPUP_EXTENSION_URL', 'https://popup-builder.com/extensions');
|
31 |
define('SG_MAILCHIMP_EXTENSION_URL', 'https://popup-builder.com/downloads/mailchimp/');
|
24 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
25 |
define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
|
26 |
define('SG_APP_POPUP_TABLE_LIMIT', 15);
|
27 |
+
define('SG_POPUP_VERSION', 2.632);
|
28 |
+
define('SG_POPUP_PRO_VERSION', 3.36);
|
29 |
define('SG_POPUP_PRO_URL', 'https://popup-builder.com/');
|
30 |
define('SG_POPUP_EXTENSION_URL', 'https://popup-builder.com/extensions');
|
31 |
define('SG_MAILCHIMP_EXTENSION_URL', 'https://popup-builder.com/downloads/mailchimp/');
|
files/sg_popup_media_button.php
CHANGED
@@ -66,7 +66,11 @@ function sgPopupMediaButtonThickboxs()
|
|
66 |
);
|
67 |
|
68 |
|
69 |
-
if ($checkPage && $typenow != 'download') :
|
|
|
|
|
|
|
|
|
70 |
<script type="text/javascript">
|
71 |
jQuery(document).ready(function ($) {
|
72 |
|
@@ -110,20 +114,25 @@ function sgPopupMediaButtonThickboxs()
|
|
110 |
<select id="sg-insert-popup-id" style="margin-bottom: 5px;">
|
111 |
<option value="">Please select...</option>
|
112 |
<?php
|
113 |
-
global $wpdb;
|
114 |
-
$proposedTypes = array();
|
115 |
-
$orderBy = 'id DESC';
|
116 |
-
$allPopups = SGPopup::findAll($orderBy);
|
117 |
foreach ($allPopups as $popup) :
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
continue;
|
120 |
}
|
121 |
-
|
122 |
-
|
|
|
123 |
continue;
|
124 |
}
|
125 |
?>
|
126 |
-
<option value="<?php echo $
|
127 |
<?php endforeach; ?>
|
128 |
</select>
|
129 |
</div>
|
66 |
);
|
67 |
|
68 |
|
69 |
+
if ($checkPage && $typenow != 'download') :
|
70 |
+
$orderBy = 'id DESC';
|
71 |
+
$allPopups = SGPopup::findAll($orderBy);
|
72 |
+
|
73 |
+
?>
|
74 |
<script type="text/javascript">
|
75 |
jQuery(document).ready(function ($) {
|
76 |
|
114 |
<select id="sg-insert-popup-id" style="margin-bottom: 5px;">
|
115 |
<option value="">Please select...</option>
|
116 |
<?php
|
|
|
|
|
|
|
|
|
117 |
foreach ($allPopups as $popup) :
|
118 |
+
|
119 |
+
if(empty($popup)) {
|
120 |
+
continue;
|
121 |
+
}
|
122 |
+
$popupId = (int)$popup->getId();
|
123 |
+
$popupType = $popup->getType();
|
124 |
+
$popupTitle = $popup->getTitle();
|
125 |
+
|
126 |
+
if(empty($popupId) || empty($popupType)) {
|
127 |
continue;
|
128 |
}
|
129 |
+
|
130 |
+
/*Inside popup*/
|
131 |
+
if((isset($_GET['id']) && $popupId == (int)@$_GET['id'] || $popupType == 'exitIntent') && $currentPageParams['id'] == 'popup-builder_page_edit-popup') {
|
132 |
continue;
|
133 |
}
|
134 |
?>
|
135 |
+
<option value="<?php echo $popupId; ?>"><?php echo $popupTitle;?><?php echo " - ".$popupType;?></option>;
|
136 |
<?php endforeach; ?>
|
137 |
</select>
|
138 |
</div>
|
javascript/sg_popup_backend.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function beckend() {
|
2 |
this.titleNotEmpty(); /* Check title is Empty */
|
3 |
this.showThemePicture(); /* Show themes pictures */
|
4 |
this.showEffects(); /* Show effect type */
|
5 |
this.pageAcordion(); /* For page accordion divs */
|
6 |
this.fixedPostionSelection(); /* Functionality for selected position */
|
7 |
this.showInfo(); /* Show description options */
|
8 |
this.opacityRange();
|
9 |
this.subOptionContents();
|
10 |
this.addCountries();
|
11 |
this.showCloseTextFieldForTheme();
|
12 |
this.popupReview();
|
13 |
this.colorPicekr(); /* Color picker */
|
14 |
this.switchPopupActive();
|
15 |
this.initAccordions();
|
16 |
});
|
17 |
jQuery('.sg-info-close').on('click', function() {
|
18 |
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
19 |
});
|
20 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
|
21 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
|
22 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
|
23 |
checkedElement.after(toggleContnet.css({'display':'inline-block'}));
|
24 |
return;
|
25 |
}
|
26 |
var countyNames = [];
|
|
|
27 |
this.titleNotEmpty(); /* Check title is Empty */
|
28 |
this.showThemePicture(); /* Show themes pictures */
|
29 |
this.showEffects(); /* Show effect type */
|
30 |
this.pageAcordion(); /* For page accordion divs */
|
31 |
this.fixedPostionSelection(); /* Functionality for selected position */
|
32 |
this.showInfo(); /* Show description options */
|
33 |
this.opacityRange();
|
34 |
this.subOptionContents();
|
35 |
this.addCountries();
|
36 |
this.showCloseTextFieldForTheme();
|
37 |
this.popupReview();
|
38 |
this.colorPicekr(); /* Color picker */
|
39 |
this.switchPopupActive();
|
40 |
this.initAccordions();
|
41 |
});
|
42 |
jQuery('.sg-info-close').on('click', function() {
|
43 |
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
44 |
});
|
45 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
|
46 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
|
47 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
|
48 |
checkedElement.after(toggleContnet.css({'display':'inline-block'}));
|
|
|
1 |
this.titleNotEmpty(); /* Check title is Empty */
|
2 |
this.showThemePicture(); /* Show themes pictures */
|
3 |
this.showEffects(); /* Show effect type */
|
4 |
this.pageAcordion(); /* For page accordion divs */
|
5 |
this.fixedPostionSelection(); /* Functionality for selected position */
|
6 |
this.showInfo(); /* Show description options */
|
7 |
this.opacityRange();
|
8 |
this.subOptionContents();
|
9 |
this.addCountries();
|
10 |
this.showCloseTextFieldForTheme();
|
11 |
this.popupReview();
|
12 |
this.colorPicekr(); /* Color picker */
|
13 |
this.switchPopupActive();
|
14 |
this.initAccordions();
|
15 |
});
|
16 |
jQuery('.sg-info-close').on('click', function() {
|
17 |
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
18 |
});
|
19 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
|
20 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
|
21 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
|
22 |
checkedElement.after(toggleContnet.css({'display':'inline-block'}));
|
23 |
return;
|
24 |
}
|
25 |
var countyNames = [];
|
26 |
+
function beckend() {
|
27 |
this.titleNotEmpty(); /* Check title is Empty */
|
28 |
this.showThemePicture(); /* Show themes pictures */
|
29 |
this.showEffects(); /* Show effect type */
|
30 |
this.pageAcordion(); /* For page accordion divs */
|
31 |
this.fixedPostionSelection(); /* Functionality for selected position */
|
32 |
this.showInfo(); /* Show description options */
|
33 |
this.opacityRange();
|
34 |
this.subOptionContents();
|
35 |
this.addCountries();
|
36 |
this.showCloseTextFieldForTheme();
|
37 |
this.popupReview();
|
38 |
this.colorPicekr(); /* Color picker */
|
39 |
this.switchPopupActive();
|
40 |
this.initAccordions();
|
41 |
});
|
42 |
jQuery('.sg-info-close').on('click', function() {
|
43 |
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
44 |
});
|
45 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
|
46 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
|
47 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
|
48 |
checkedElement.after(toggleContnet.css({'display':'inline-block'}));
|
javascript/sg_popup_frontend.js
CHANGED
@@ -86,7 +86,7 @@ SGPopup.setCookie = function (cName, cValue, exDays, cPageLevel) {
|
|
86 |
cPageLevel = false;
|
87 |
}
|
88 |
expirationDate.setDate(expirationDate.getDate() + exDays);
|
89 |
-
cookieExpirationData = expirationDate.
|
90 |
var expires = 'expires='+cookieExpirationData;
|
91 |
|
92 |
if (exDays == -1) {
|
86 |
cPageLevel = false;
|
87 |
}
|
88 |
expirationDate.setDate(expirationDate.getDate() + exDays);
|
89 |
+
cookieExpirationData = expirationDate.toString();
|
90 |
var expires = 'expires='+cookieExpirationData;
|
91 |
|
92 |
if (exDays == -1) {
|
popup-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: http://sygnoos.com
|
5 |
* Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
|
6 |
-
* Version: 2.6.3.
|
7 |
* Author: Popup Builder
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: http://sygnoos.com
|
5 |
* Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
|
6 |
+
* Version: 2.6.3.2
|
7 |
* Author: Popup Builder
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
readme.txt
CHANGED
@@ -164,6 +164,10 @@ Go to the Popup Builder settings and set your desired options.
|
|
164 |
|
165 |
== Changelog ==
|
166 |
|
|
|
|
|
|
|
|
|
167 |
= Version 2.6.3.1 =
|
168 |
* JS bug fixed.
|
169 |
|
@@ -679,7 +683,7 @@ Leave us a good review :)
|
|
679 |
|
680 |
== Upgrade Notice ==
|
681 |
|
682 |
-
Current Version of Popup Builder is 2.6.3
|
683 |
|
684 |
== Other Notes ==
|
685 |
|
164 |
|
165 |
== Changelog ==
|
166 |
|
167 |
+
= Version 2.6.3.2 =
|
168 |
+
* Popup media button functionality improvements.
|
169 |
+
* Show popup this often time period is saving according to visitors browser.
|
170 |
+
|
171 |
= Version 2.6.3.1 =
|
172 |
* JS bug fixed.
|
173 |
|
683 |
|
684 |
== Upgrade Notice ==
|
685 |
|
686 |
+
Current Version of Popup Builder is 2.6.3.2
|
687 |
|
688 |
== Other Notes ==
|
689 |
|
style/jQueryDialog/jquery-ui.css
CHANGED
@@ -245,8 +245,8 @@ body .sg-popup-builder .ui-tooltip { border-width: 2px; }
|
|
245 |
.sg-popup-builder .ui-widget { font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1.1em; }
|
246 |
.sg-popup-builder .ui-widget .ui-widget { font-size: 1em; }
|
247 |
.sg-popup-builder .ui-widget input,.sg-popup-builder .ui-widget select,.sg-popup-builder .ui-widget textarea,.sg-popup-builder .ui-widget button { font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1em; }
|
248 |
-
.sg-popup-builder
|
249 |
-
.sg-popup-builder
|
250 |
.sg-popup-builder .ui-widget-header { border: 1px solid #d4d1bf; background: #ffffff url(images/ui-bg_fine-grain_15_ffffff_60x60.png) 50% 50% repeat; color: #453821; font-weight: bold; }
|
251 |
.sg-popup-builder .ui-widget-header a { color: #453821; }
|
252 |
|
245 |
.sg-popup-builder .ui-widget { font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1.1em; }
|
246 |
.sg-popup-builder .ui-widget .ui-widget { font-size: 1em; }
|
247 |
.sg-popup-builder .ui-widget input,.sg-popup-builder .ui-widget select,.sg-popup-builder .ui-widget textarea,.sg-popup-builder .ui-widget button { font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1em; }
|
248 |
+
.sg-popup-builder.ui-widget-content { border: 1px solid #d9d6c4; background: #eceadf url(images/ui-bg_fine-grain_10_eceadf_60x60.png) 50% 50% repeat; color: #1f1f1f; }
|
249 |
+
.sg-popup-builder.ui-widget-content a { color: #1f1f1f; }
|
250 |
.sg-popup-builder .ui-widget-header { border: 1px solid #d4d1bf; background: #ffffff url(images/ui-bg_fine-grain_15_ffffff_60x60.png) 50% 50% repeat; color: #453821; font-weight: bold; }
|
251 |
.sg-popup-builder .ui-widget-header a { color: #453821; }
|
252 |
|