Popup Builder – Responsive WordPress Pop up - Version 2.5.9.1

Version Description

Current Version of Popup Builder is 2.5.9.1

Download this release

Release Info

Developer Sygnoos
Plugin Icon 128x128 Popup Builder – Responsive WordPress Pop up
Version 2.5.9.1
Comparing to
See all releases

Code changes from version 2.5.8 to 2.5.9.1

classes/SGImagePopup.php CHANGED
@@ -38,6 +38,11 @@ class SGImagePopup extends SGPopup {
38
  return $res;
39
  }
40
 
 
 
 
 
 
41
  protected function setCustomOptions($id) {
42
  global $wpdb;
43
  $st = $wpdb->prepare("SELECT * FROM ". $wpdb->prefix ."sg_image_popup WHERE id = %d",$id);
38
  return $res;
39
  }
40
 
41
+ public function getRemoveOptions()
42
+ {
43
+ return array('popup-content-padding' => 1);
44
+ }
45
+
46
  protected function setCustomOptions($id) {
47
  global $wpdb;
48
  $st = $wpdb->prepare("SELECT * FROM ". $wpdb->prefix ."sg_image_popup WHERE id = %d",$id);
classes/SGPopup.php CHANGED
@@ -258,7 +258,7 @@ abstract class SGPopup {
258
  $popupId = $this->getId();
259
  $options = $this->getOptions();
260
  $options = json_decode($options, true);
261
-
262
  if(empty($options)) {
263
  return '';
264
  }
@@ -270,13 +270,20 @@ abstract class SGPopup {
270
  else {
271
  $popupZIndex = $options['popup-z-index'];
272
  }
273
-
 
 
 
 
274
  echo '<style type="text/css">
275
 
276
  .sg-popup-overlay-'.$popupId.',
277
  .sg-popup-content-'.$popupId.' {
278
  z-index: '.$popupZIndex.' !important;
279
  }
 
 
 
280
  </style>';
281
  }
282
 
258
  $popupId = $this->getId();
259
  $options = $this->getOptions();
260
  $options = json_decode($options, true);
261
+ $contentPadding = 0;
262
  if(empty($options)) {
263
  return '';
264
  }
270
  else {
271
  $popupZIndex = $options['popup-z-index'];
272
  }
273
+
274
+ if(!empty($options['popup-content-padding'])) {
275
+ $contentPadding = $options['popup-content-padding'];
276
+ }
277
+
278
  echo '<style type="text/css">
279
 
280
  .sg-popup-overlay-'.$popupId.',
281
  .sg-popup-content-'.$popupId.' {
282
  z-index: '.$popupZIndex.' !important;
283
  }
284
+ #sg-popup-content-wrapper-'.$popupId.' {
285
+ padding: '.$contentPadding.'px !important;
286
+ }
287
  </style>';
288
  }
289
 
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.58);
28
- define('SG_POPUP_PRO_VERSION', 3.28);
29
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
31
  define('SG_MAILCHIMP_EXTENSION_URL', 'http://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.591);
28
+ define('SG_POPUP_PRO_VERSION', 3.291);
29
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
31
  define('SG_MAILCHIMP_EXTENSION_URL', 'http://popup-builder.com/downloads/mailchimp/');
files/sg_functions.php CHANGED
@@ -65,7 +65,9 @@ class SGFunctions
65
  public static function addReview()
66
  {
67
  $ajaxNonce = wp_create_nonce("sgPopupBuilderReview");
68
- return '<div class="sg-info-panel-wrapper">
 
 
69
  <div class="sg-info-panel-row">
70
  <div class="sg-info-panel-col-3">
71
  <p class="sg-info-text sg-info-logo">
@@ -76,12 +78,22 @@ class SGFunctions
76
  </p>
77
  </div>
78
  <div class="sg-info-panel-col-3 sg-info-text-center">
 
79
  <a class="sg-info-upgrade-pro sg-info-blink" href="http://popup-builder.com" target="_blank">
80
  Upgrade NOW
81
  </a>
82
  <p class="sg-info-text">
83
  Want to upgrade to PRO version?<br> Just click on "Upgrade NOW".
84
  </p>
 
 
 
 
 
 
 
 
 
85
  </div>
86
  <div class="sg-info-panel-col-3">
87
  <ul class="sg-info-menu sg-info-text">
@@ -104,7 +116,12 @@ class SGFunctions
104
  <span class="sg-info-close">+</span>
105
  <span class="sg-dont-show-agin" data-ajaxnonce="'.esc_attr($ajaxNonce).'">Don’t show again.</span>
106
  </div>
107
- </div>';
 
 
 
 
 
108
  }
109
 
110
  public static function noticeForShortcode() {
65
  public static function addReview()
66
  {
67
  $ajaxNonce = wp_create_nonce("sgPopupBuilderReview");
68
+ ob_start();
69
+ ?>
70
+ <div class="sg-info-panel-wrapper">
71
  <div class="sg-info-panel-row">
72
  <div class="sg-info-panel-col-3">
73
  <p class="sg-info-text sg-info-logo">
78
  </p>
79
  </div>
80
  <div class="sg-info-panel-col-3 sg-info-text-center">
81
+ <?php if (POPUP_BUILDER_PKG == POPUP_BUILDER_PKG_FREE): ?>
82
  <a class="sg-info-upgrade-pro sg-info-blink" href="http://popup-builder.com" target="_blank">
83
  Upgrade NOW
84
  </a>
85
  <p class="sg-info-text">
86
  Want to upgrade to PRO version?<br> Just click on "Upgrade NOW".
87
  </p>
88
+ <?php endif; ?>
89
+ <?php if (POPUP_BUILDER_PKG != POPUP_BUILDER_PKG_FREE): ?>
90
+ <p class="sg-social-headline">Follow us</p>
91
+ <div class="sg-social-icons-wrapper">
92
+ <a class="sg-social-icon social-icon-fb" href="https://www.facebook.com/popupbuildercom/" target="_blank"></a>
93
+ <a class="sg-social-icon social-icon-tw" href="https://twitter.com/popup_builder" target="_blank"></a>
94
+ <a class="sg-social-icon social-icon-gp" href="https://plus.google.com/u/0/+PopupBuildercom" target="_blank"></a>
95
+ </div>
96
+ <?php endif; ?>
97
  </div>
98
  <div class="sg-info-panel-col-3">
99
  <ul class="sg-info-menu sg-info-text">
116
  <span class="sg-info-close">+</span>
117
  <span class="sg-dont-show-agin" data-ajaxnonce="'.esc_attr($ajaxNonce).'">Don’t show again.</span>
118
  </div>
119
+ </div>
120
+ <?php
121
+ $reviewPanel = ob_get_contents();
122
+ ob_end_clean();
123
+
124
+ return $reviewPanel;
125
  }
126
 
127
  public static function noticeForShortcode() {
files/sg_popup_ajax.php CHANGED
@@ -207,24 +207,6 @@ function sgDeleteSubscribers() {
207
 
208
  add_action('wp_ajax_subsribers_delete', 'sgDeleteSubscribers');
209
 
210
- function sgSendNewsletter() {
211
-
212
- global $wpdb;
213
- check_ajax_referer('sgPopupBuilderNewsletterNonce', 'ajaxNonce');
214
- $newslatterData = $_POST['NewsLatterData'];
215
- $newslatterData = array_map( 'sanitize_text_field', $newslatterData);
216
- /*Change to default status*/
217
- $updateStatusQuery = $wpdb->prepare("UPDATE ". $wpdb->prefix ."sg_subscribers SET status=0 where subscriptionType = %s",$newslatterData['subsFormType']);
218
- $wpdb->query($updateStatusQuery);
219
- $deleteFromErrorLog = $wpdb->prepare("DELETE FROM ". $wpdb->prefix ."sg_subscription_error_log WHERE popupType=%s",$newslatterData['subsFormType']);
220
- $wpdb->query($deleteFromErrorLog);
221
-
222
- wp_schedule_event( time(), 'newsLetterSendEveryMinute', 'sgnewsletter_send_messages', array(json_encode($newslatterData)));
223
-
224
- die();
225
- }
226
- add_action('wp_ajax_send_newsletter', 'sgSendNewsletter');
227
-
228
  function sgIsHaveErrorLog() {
229
 
230
  global $wpdb;
207
 
208
  add_action('wp_ajax_subsribers_delete', 'sgDeleteSubscribers');
209
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  function sgIsHaveErrorLog() {
211
 
212
  global $wpdb;
files/sg_popup_create_new.php CHANGED
@@ -169,6 +169,7 @@ if (isset($_GET['id'])) {
169
  $sgOverlayCustomClasss = @$jsonData['sgOverlayCustomClasss'];
170
  $sgContentCustomClasss = @$jsonData['sgContentCustomClasss'];
171
  $sgPopupZIndex = @$jsonData['popup-z-index'];
 
172
  $sgOnceExpiresTime = @$jsonData['onceExpiresTime'];
173
  $sgRestrictionAction = @$jsonData['restrictionAction'];
174
  $yesButtonBackgroundColor = @sgSafeStr($jsonData['yesButtonBackgroundColor']);
@@ -308,7 +309,8 @@ $sgPopup = array(
308
  'theme-close-text' => 'Close',
309
  'content-click-behavior' => 'close',
310
  'sgTheme3BorderRadius' => 0,
311
- 'popup-z-index' => 9999
 
312
  );
313
 
314
  $popupProDefaultValues = array(
@@ -419,6 +421,7 @@ $contentClick = sgBoolToChecked($sgPopup['contentClick']);
419
  $contentClickBehavior = $sgPopup['content-click-behavior'];
420
  $theme3BorderRadius = $sgPopup['sgTheme3BorderRadius'];
421
  $popupZIndex = $sgPopup['popup-z-index'];
 
422
 
423
  $closeType = sgBoolToChecked($popupProDefaultValues['closeType']);
424
  $onScrolling = sgBoolToChecked($popupProDefaultValues['onScrolling']);
@@ -617,6 +620,7 @@ $sgPopupBackgroundOpacity = @sgGetValue($sgPopupBackgroundOpacity, $popupBackgro
617
  $sgWidth = @sgGetValue($sgWidth, $width);
618
  $sgHeight = @sgGetValue($sgHeight, $height);
619
  $sgPopupZIndex = @sgGetValue($sgPopupZIndex, $popupZIndex);
 
620
  $sgPopupDimensionMode = @sgGetValue($sgPopupDimensionMode, $popupDimensionMode);
621
  $sgPopupResponsiveDimensionMeasure = @sgGetValue($sgPopupResponsiveDimensionMeasure, $popupResponsiveDimensionMeasure);
622
  $sgInitialWidth = @sgGetValue($sgInitialWidth, $initialWidth);
@@ -1352,6 +1356,11 @@ if (isset($_GET["titleError"])): ?>
1352
  <span class="liquid-width">Popup z-index:</span><input class="input-width-static" type="number" name="popup-z-index" value="<?php echo esc_attr($sgPopupZIndex);?>">
1353
  <br>
1354
 
 
 
 
 
 
1355
  <span class="liquid-width" id="createDescribeFixed">Popup location:</span><input class="input-width-static js-checkbox-acordion" type="checkbox" name="popupFixed" <?php echo $sgPopupFixed;?> />
1356
  <div class="js-popop-fixeds">
1357
  <span class="fix-wrapper-style" >&nbsp;</span>
169
  $sgOverlayCustomClasss = @$jsonData['sgOverlayCustomClasss'];
170
  $sgContentCustomClasss = @$jsonData['sgContentCustomClasss'];
171
  $sgPopupZIndex = @$jsonData['popup-z-index'];
172
+ $sgPopupContentPadding = @$jsonData['popup-content-padding'];
173
  $sgOnceExpiresTime = @$jsonData['onceExpiresTime'];
174
  $sgRestrictionAction = @$jsonData['restrictionAction'];
175
  $yesButtonBackgroundColor = @sgSafeStr($jsonData['yesButtonBackgroundColor']);
309
  'theme-close-text' => 'Close',
310
  'content-click-behavior' => 'close',
311
  'sgTheme3BorderRadius' => 0,
312
+ 'popup-z-index' => 9999,
313
+ 'popup-content-padding' => 0
314
  );
315
 
316
  $popupProDefaultValues = array(
421
  $contentClickBehavior = $sgPopup['content-click-behavior'];
422
  $theme3BorderRadius = $sgPopup['sgTheme3BorderRadius'];
423
  $popupZIndex = $sgPopup['popup-z-index'];
424
+ $popupContentPadding = $sgPopup['popup-content-padding'];
425
 
426
  $closeType = sgBoolToChecked($popupProDefaultValues['closeType']);
427
  $onScrolling = sgBoolToChecked($popupProDefaultValues['onScrolling']);
620
  $sgWidth = @sgGetValue($sgWidth, $width);
621
  $sgHeight = @sgGetValue($sgHeight, $height);
622
  $sgPopupZIndex = @sgGetValue($sgPopupZIndex, $popupZIndex);
623
+ $sgPopupContentPadding = @sgGetValue($sgPopupContentPadding, $popupContentPadding);
624
  $sgPopupDimensionMode = @sgGetValue($sgPopupDimensionMode, $popupDimensionMode);
625
  $sgPopupResponsiveDimensionMeasure = @sgGetValue($sgPopupResponsiveDimensionMeasure, $popupResponsiveDimensionMeasure);
626
  $sgInitialWidth = @sgGetValue($sgInitialWidth, $initialWidth);
1356
  <span class="liquid-width">Popup z-index:</span><input class="input-width-static" type="number" name="popup-z-index" value="<?php echo esc_attr($sgPopupZIndex);?>">
1357
  <br>
1358
 
1359
+ <?php if (!sgRemoveOption('popup-content-padding')): ?>
1360
+ <span class="liquid-width">Content padding:</span><input class="input-width-static" type="number" name="popup-content-padding" value="<?php echo esc_attr($sgPopupContentPadding);?>">
1361
+ <br>
1362
+ <?php endif; ?>
1363
+
1364
  <span class="liquid-width" id="createDescribeFixed">Popup location:</span><input class="input-width-static js-checkbox-acordion" type="checkbox" name="popupFixed" <?php echo $sgPopupFixed;?> />
1365
  <div class="js-popop-fixeds">
1366
  <span class="fix-wrapper-style" >&nbsp;</span>
files/sg_popup_save.php CHANGED
@@ -169,8 +169,8 @@ function sgPopupSave()
169
  'contact-placeholder-color' => sgSanitize('contact-placeholder-color'),
170
  'contact-btn-width' => sgSanitize('contact-btn-width'),
171
  'contact-btn-height' => sgSanitize('contact-btn-height'),
172
- 'contact-btn-title' => sanitize_title(@$_POST['contact-btn-title']),
173
- 'contact-btn-progress-title' => sanitize_title(@$_POST['contact-btn-progress-title']),
174
  'contact-button-bgcolor' => sgSanitize('contact-button-bgcolor'),
175
  'contact-button-color' => sgSanitize('contact-button-color'),
176
  'contact-area-width' => sgSanitize('contact-area-width'),
169
  'contact-placeholder-color' => sgSanitize('contact-placeholder-color'),
170
  'contact-btn-width' => sgSanitize('contact-btn-width'),
171
  'contact-btn-height' => sgSanitize('contact-btn-height'),
172
+ 'contact-btn-title' => sgSanitize('contact-btn-title'),
173
+ 'contact-btn-progress-title' => sgSanitize('contact-btn-progress-title'),
174
  'contact-button-bgcolor' => sgSanitize('contact-button-bgcolor'),
175
  'contact-button-color' => sgSanitize('contact-button-color'),
176
  'contact-area-width' => sgSanitize('contact-area-width'),
helpers/Integrate_external_settings.php CHANGED
@@ -176,6 +176,7 @@ Class IntegrateExternalSettings {
176
  'sgOverlayCustomClasss' => sgSanitize('sgOverlayCustomClasss'),
177
  'sgContentCustomClasss' => sgSanitize('sgContentCustomClasss'),
178
  'popup-z-index' => sgSanitize('popup-z-index'),
 
179
  'theme-close-text' => sgSanitize('theme-close-text'),
180
  'socialButtons' => json_encode($params['socialButtons']),
181
  'socialOptions' => json_encode($params['socialOptions']),
176
  'sgOverlayCustomClasss' => sgSanitize('sgOverlayCustomClasss'),
177
  'sgContentCustomClasss' => sgSanitize('sgContentCustomClasss'),
178
  'popup-z-index' => sgSanitize('popup-z-index'),
179
+ 'popup-content-padding' => sgSanitize('popup-content-padding'),
180
  'theme-close-text' => sgSanitize('theme-close-text'),
181
  'socialButtons' => json_encode($params['socialButtons']),
182
  'socialOptions' => json_encode($params['socialOptions']),
img/sg-shopping-cart-blue.png ADDED
Binary file
img/sg-shopping-cart-white.png ADDED
Binary file
img/social-icons.png ADDED
Binary file
javascript/sg_popup_frontend.js CHANGED
@@ -227,7 +227,7 @@ SGPopup.prototype.popupClassEventsTrigger = function () {
227
 
228
  SGPopup.prototype.attacheCustomEvent = function (eventName) {
229
 
230
- if(typeof eventName == 'undefined' || eventName == '' ) {
231
  return;
232
  }
233
  var that = this;
@@ -344,14 +344,14 @@ SGPopup.prototype.sgPopupScalingDimensions = function () {
344
  if (popupWrapper > screenWidth && popupWrapper != 9999) {
345
  var scaleDegree = screenWidth / popupWrapper;
346
  jQuery("#sgcboxWrapper").css({
347
- "transform-origin": "0 0 !important",
348
  'transform': "scale(" + scaleDegree + ", 1)"
349
  });
350
  popupWrapper = 0;
351
  }
352
  else {
353
  jQuery("#sgcboxWrapper").css({
354
- "transform-origin": "0 0 !important",
355
  'transform': "scale(1, 1)"
356
  })
357
  }
@@ -665,7 +665,7 @@ SGPopup.prototype.sgShowColorboxWithOptions = function () {
665
  that.cantPopupClose();
666
  }
667
  that.popupMaxWidth = that.popupData['maxWidth'];
668
- var popupPosition = that.popupData['fixedPostion'];
669
  var popupVideo = that.popupData['video'];
670
  var popupOverlayColor = that.popupData['sgOverlayColor'];
671
  var contentBackgroundColor = that.popupData['sg-content-background-color'];
227
 
228
  SGPopup.prototype.attacheCustomEvent = function (eventName) {
229
 
230
+ if(typeof eventName == 'undefined' || typeof eventName == 'function' || eventName == '')
231
  return;
232
  }
233
  var that = this;
344
  if (popupWrapper > screenWidth && popupWrapper != 9999) {
345
  var scaleDegree = screenWidth / popupWrapper;
346
  jQuery("#sgcboxWrapper").css({
347
+ "transform-origin": "0 0",
348
  'transform': "scale(" + scaleDegree + ", 1)"
349
  });
350
  popupWrapper = 0;
351
  }
352
  else {
353
  jQuery("#sgcboxWrapper").css({
354
+ "transform-origin": "0 0",
355
  'transform': "scale(1, 1)"
356
  })
357
  }
665
  that.cantPopupClose();
666
  }
667
  that.popupMaxWidth = that.popupData['maxWidth'];
668
+ var popupPosition = sgPopupFixed ? that.popupData['fixedPostion'] : '';
669
  var popupVideo = that.popupData['video'];
670
  var popupOverlayColor = that.popupData['sgOverlayColor'];
671
  var contentBackgroundColor = that.popupData['sg-content-background-color'];
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.5.8
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
@@ -410,15 +410,6 @@ function getPopupIdByClassFromMenu ($items) {
410
  return $items;
411
  }
412
 
413
- function sg_popup_plugin_loaded() {
414
- $versionPopup = get_option('SG_POPUP_VERSION');
415
- if(!$versionPopup || $versionPopup < 2.47 ) {
416
- update_option('SG_POPUP_VERSION', SG_POPUP_VERSION);
417
- PopupInstaller::install();
418
- }
419
- }
420
- add_action('plugins_loaded', 'sg_popup_plugin_loaded');
421
-
422
  add_action('wp_head','sgOnloadPopup');
423
  require_once( SG_APP_POPUP_FILES . '/sg_popup_media_button.php');
424
  require_once( SG_APP_POPUP_FILES . '/sg_popup_save.php'); // saving form data
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.5.9.1
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
410
  return $items;
411
  }
412
 
 
 
 
 
 
 
 
 
 
413
  add_action('wp_head','sgOnloadPopup');
414
  require_once( SG_APP_POPUP_FILES . '/sg_popup_media_button.php');
415
  require_once( SG_APP_POPUP_FILES . '/sg_popup_save.php'); // saving form data
readme.txt CHANGED
@@ -3,9 +3,9 @@ Plugin Name: Pop up By Popup Builder
3
  Contributors: Sygnoos, Popup By Sygnoos
4
  Author: Sygnoos
5
  Donate link: https://popup-builder.com
6
- Tags: popup, pop up, exit popup, modal, wordpress popup, popup builder, popup maker,popup window
7
  Requires at least: 3.8
8
- Tested up to: 4.7.3
9
  Stable tag: trunk
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -159,9 +159,20 @@ Go to the Popup Builder settings and set your desired options.
159
 
160
  == Changelog ==
161
 
 
 
 
 
 
 
 
 
 
 
 
162
  = Version 2.5.8 =
163
  * Tweak: Added option to control popup opening count.
164
- * Bug fixed connected to banner `Don’t show again button` button.
165
  * Code improvements.
166
 
167
  = Version 2.5.7 =
@@ -301,14 +312,19 @@ Go to the Popup Builder settings and set your desired options.
301
  * Bug fixed connected to PHP script short tag.
302
  * Bug fixed connected to popup's dialog z-index.
303
  * Added support for future extensions.
304
- * Added compatability with Ninja Forms.
305
- * Added compatability with Gravity Forms.
306
- * Added compatability with TablePress.
307
- * Added compatability with Formidable Forms.
308
- * Added compatability with WP Google Maps.
309
- * Added compatability with HTML5 Maps.
310
  * Code cleanup.
311
- * Code optimization related to incude paths.
 
 
 
 
 
312
 
313
  = Version 2.3.2 =
314
  * Fusion builder compatible.
@@ -628,7 +644,7 @@ Leave us a good review :)
628
 
629
  == Upgrade Notice ==
630
 
631
- Current Version of Popup Builder is 2.5.8
632
 
633
  == Other Notes ==
634
 
3
  Contributors: Sygnoos, Popup By Sygnoos
4
  Author: Sygnoos
5
  Donate link: https://popup-builder.com
6
+ Tags: popup, pop up, exit popup, wordpress popup, popup builder, popup maker, popup window
7
  Requires at least: 3.8
8
+ Tested up to: 4.7.4
9
  Stable tag: trunk
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
159
 
160
  == Changelog ==
161
 
162
+ = Version 2.5.9.1 =
163
+ * Bug fixed connected to popup positioning.
164
+ * Bug fixed connected to popup hovering event.
165
+ * Bug fixed connected to popup scaling.
166
+ * Minor fixes and improvements.
167
+
168
+ = Version 2.5.9 =
169
+ * Added popup content padding option.
170
+ * Banner improvements.
171
+ * Bug fixes.
172
+
173
  = Version 2.5.8 =
174
  * Tweak: Added option to control popup opening count.
175
+ * Bug fixed connected to banner `Do not show again button` button.
176
  * Code improvements.
177
 
178
  = Version 2.5.7 =
312
  * Bug fixed connected to PHP script short tag.
313
  * Bug fixed connected to popup's dialog z-index.
314
  * Added support for future extensions.
315
+ * Added compatibility with Ninja Forms.
316
+ * Added compatibility with Gravity Forms.
317
+ * Added compatibility with TablePress.
318
+ * Added compatibility with Formidable Forms.
319
+ * Added compatibility with WP Google Maps.
320
+ * Added compatibility with HTML5 Maps.
321
  * Code cleanup.
322
+ * Code optimization related to include paths.
323
+
324
+ = Version 2.3.3 =
325
+ * Added new option for a popup content padding.
326
+ * Backend banner improvement.
327
+ * Bug fixes.
328
 
329
  = Version 2.3.2 =
330
  * Fusion builder compatible.
644
 
645
  == Upgrade Notice ==
646
 
647
+ Current Version of Popup Builder is 2.5.9.1
648
 
649
  == Other Notes ==
650
 
style/sg_review_panel.css CHANGED
@@ -1 +1,201 @@
1
- .sg-info-text,.sg-info-text-center{text-align:center}.sg-info-panel-wrapper{position:relative;width:100%;background-color:#181a1e;color:#fff;padding-bottom:10px;padding-top:5px;line-height:1.231}.sg-info-panel-wrapper .dashicons{line-height:1.231;margin-left:10px;margin-right:10px}.sg-info-panel-wrapper:after{content:"";display:table;clear:both}.sg-info-panel-row{width:100%}.sg-info-panel-row [class*=sg-info-panel-col]:first-child{margin-left:3%}.sg-info-panel-col-3{display:block;float:left;width:30%;min-height:30px;margin-left:2%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sg-info-text{margin-top:10px;margin-bottom:10px;font-size:20px}.sg-info-text-white{color:#fff}.sg-info-link,.sg-info-text-highlight{color:#30c2f3}.sg-info-link{font-style:italic}.sg-info-links{color:#30c2f3;text-decoration:none}.sg-info-logo{font-size:35px;margin-bottom:15px}.sg-info-upgrade-pro{position:relative;border:1px solid #30c2f3;font-size:30px;color:#fff;text-decoration:none;border-radius:2px;display:inline-block;margin-top:10px;text-align:center;padding:10px 15px 10px 60px}.sg-info-upgrade-pro:before{content:'';display:block;position:absolute;width:32px;height:32px;-webkit-mask:url(../img/sg-shopping-cart.png) no-repeat;mask:url(..plugins/popup-builder-platinum/img/sg-shopping-cart.png) no-repeat;background-color:#fff;left:10px;top:50%;margin-top:-16px}.sg-info-upgrade-pro:hover{border-color:#fff;color:#30c2f3}.sg-info-upgrade-pro:hover:before{background-color:#30c2f3}.sg-info-menu{text-align:left;list-style-type:none}.sg-info-menu li{padding-bottom:5px}.sg-info-blink{animation:sg-info-blinker 11s infinite;-webkit-animation:sg-info-blinker 11s infinite}.sg-info-close{float:right;color:#fff;position:absolute;right:11px;font-size:30px;top:3px;cursor:pointer;transform:rotate(45deg);margin:-3px -3px 0}.sg-dont-show-agin{position:absolute;bottom:10px;right:12px;cursor:pointer}@keyframes sg-info-blinker{0%{opacity:0}10%,100%{opacity:1}}@media (min-width:992px) and (max-width:1199px){.sg-info-panel-wrapper .dashicons,.sg-info-text{font-size:15px}.sg-info-logo,.sg-info-upgrade-pro{font-size:25px}}@media (min-width:768px) and (max-width:991px){.sg-info-panel-wrapper .dashicons,.sg-info-text{font-size:13px}.sg-info-logo,.sg-info-upgrade-pro{font-size:20px}}@media (max-width:767px){.sg-info-panel-wrapper .dashicons,.sg-info-text{font-size:12px}.sg-info-logo,.sg-info-upgrade-pro{font-size:18px}}@media (max-width:480px){.sg-info-panel-col-3{width:45%}.sg-info-panel-wrapper .dashicons,.sg-info-text{font-size:10px}.sg-info-logo,.sg-info-upgrade-pro{font-size:15px}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .sg-info-text,
2
+ .sg-info-text-center {
3
+ text-align: center
4
+ }
5
+ .sg-info-panel-wrapper {
6
+ position: relative;
7
+ width: 100%;
8
+ background-color: #181a1e;
9
+ color: #fff;
10
+ padding-bottom: 10px;
11
+ padding-top: 5px;
12
+ line-height: 1.231
13
+ }
14
+ .sg-info-panel-wrapper .dashicons {
15
+ line-height: 1.231;
16
+ margin-left: 10px;
17
+ margin-right: 10px
18
+ }
19
+ .sg-info-panel-wrapper:after {
20
+ content: "";
21
+ display: table;
22
+ clear: both
23
+ }
24
+ .sg-info-panel-row {
25
+ width: 100%
26
+ }
27
+ .sg-info-panel-row [class*=sg-info-panel-col]:first-child {
28
+ margin-left: 3%
29
+ }
30
+ .sg-info-panel-col-3 {
31
+ display: block;
32
+ float: left;
33
+ width: 30%;
34
+ min-height: 30px;
35
+ margin-left: 2%;
36
+ -webkit-box-sizing: border-box;
37
+ -moz-box-sizing: border-box;
38
+ box-sizing: border-box
39
+ }
40
+ .sg-info-text {
41
+ margin-top: 10px;
42
+ margin-bottom: 10px;
43
+ font-size: 20px
44
+ }
45
+ .sg-info-text-white {
46
+ color: #fff
47
+ }
48
+ .sg-info-link,
49
+ .sg-info-text-highlight {
50
+ color: #30c2f3
51
+ }
52
+ .sg-info-link {
53
+ font-style: italic
54
+ }
55
+ .sg-info-links {
56
+ color: #30c2f3;
57
+ text-decoration: none
58
+ }
59
+ .sg-info-logo {
60
+ font-size: 35px;
61
+ margin-bottom: 15px
62
+ }
63
+ .sg-info-upgrade-pro {
64
+ position: relative;
65
+ border: 1px solid #30c2f3;
66
+ font-size: 30px;
67
+ color: #fff;
68
+ text-decoration: none;
69
+ border-radius: 2px;
70
+ display: inline-block;
71
+ margin-top: 10px;
72
+ text-align: center;
73
+ padding: 10px 15px 10px 60px
74
+ }
75
+ .sg-info-upgrade-pro:before {
76
+ content: '';
77
+ display: block;
78
+ position: absolute;
79
+ width: 32px;
80
+ height: 32px;
81
+ content: url(../img/sg-shopping-cart-white.png);
82
+ left: 10px;
83
+ top: 50%;
84
+ margin-top: -16px
85
+ }
86
+ .sg-info-upgrade-pro:hover {
87
+ border-color: #fff;
88
+ color: #30c2f3
89
+ }
90
+ .sg-info-upgrade-pro:hover:before {
91
+ content: url(../img/sg-shopping-cart-blue.png);
92
+ }
93
+ .sg-info-menu {
94
+ text-align: left;
95
+ list-style-type: none
96
+ }
97
+ .sg-info-menu li {
98
+ padding-bottom: 5px
99
+ }
100
+ .sg-info-blink {
101
+ animation: sg-info-blinker 11s infinite;
102
+ -webkit-animation: sg-info-blinker 11s infinite
103
+ }
104
+ .sg-info-close {
105
+ float: right;
106
+ color: #fff;
107
+ position: absolute;
108
+ right: 11px;
109
+ font-size: 30px;
110
+ top: 3px;
111
+ cursor: pointer;
112
+ transform: rotate(45deg);
113
+ margin: -3px -3px 0
114
+ }
115
+ .sg-dont-show-agin {
116
+ position: absolute;
117
+ bottom: 10px;
118
+ right: 12px;
119
+ cursor: pointer
120
+ }
121
+ .sg-social-headline {
122
+ font-size: 30px;
123
+ color: #fff;
124
+ margin-top: 13px;
125
+ margin-bottom: 25px;
126
+ }
127
+ .sg-social-icons-wrapper {
128
+ width: 100%;
129
+ text-align: center;
130
+ }
131
+ .sg-social-icon {
132
+ width: 50px;
133
+ height: 48px;
134
+ box-sizing: border-box;
135
+ display: inline-block;
136
+ background-size: 150px 44px;
137
+ background-repeat: no-repeat;
138
+ background-image: url(../img/social-icons.png);
139
+ }
140
+ .sg-social-icons-wrapper .sg-social-icon:not(:first-child) {
141
+ margin-left: 10px;
142
+ }
143
+
144
+ .social-icon-tw {
145
+ background-position: -50px 0px;
146
+ }
147
+
148
+ .social-icon-gp {
149
+ background-position: -100px 0px;
150
+ }
151
+ @keyframes sg-info-blinker {
152
+ 0% {
153
+ opacity: 0
154
+ }
155
+ 10%,
156
+ 100% {
157
+ opacity: 1
158
+ }
159
+ }
160
+ @media (min-width: 992px) and (max-width: 1199px) {
161
+ .sg-info-panel-wrapper .dashicons,
162
+ .sg-info-text {
163
+ font-size: 15px
164
+ }
165
+ .sg-info-logo,
166
+ .sg-info-upgrade-pro {
167
+ font-size: 25px
168
+ }
169
+ .sg-social-icon {
170
+ margin: 0px;
171
+ }
172
+ }
173
+ @media (min-width: 768px) and (max-width: 991px) {
174
+ .sg-info-panel-wrapper .dashicons,
175
+ .sg-info-text {
176
+ font-size: 13px
177
+ }
178
+ }
179
+ @media (max-width: 767px) {
180
+ .sg-info-panel-wrapper .dashicons,
181
+ .sg-info-text {
182
+ font-size: 12px
183
+ }
184
+ .sg-info-logo,
185
+ .sg-info-upgrade-pro {
186
+ font-size: 18px
187
+ }
188
+ }
189
+ @media (max-width: 480px) {
190
+ .sg-info-panel-col-3 {
191
+ width: 45%
192
+ }
193
+ .sg-info-panel-wrapper .dashicons,
194
+ .sg-info-text {
195
+ font-size: 10px
196
+ }
197
+ .sg-info-logo,
198
+ .sg-info-upgrade-pro {
199
+ font-size: 15px
200
+ }
201
+ }