Popup Builder – Responsive WordPress Pop up - Version 2.4.1

Version Description

Current Version of Popup Builder is 2.3.9

Download this release

Release Info

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

Code changes from version 2.4.0 to 2.4.1

Files changed (4) hide show
  1. config.php +1 -1
  2. files/sg_popup_create_new.php +10 -9
  3. popup-builder.php +1 -1
  4. readme.txt +3 -0
config.php CHANGED
@@ -9,7 +9,7 @@ define('SG_APP_POPUP_CLASSES', SG_APP_POPUP_PATH . '/classes');
9
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
10
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
11
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
12
- define('SG_POPUP_VERSION', 2.40);
13
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
14
  define('SG_POPUP_EXTENTIONS_URL', 'http://popup-builder.com/extensions');
15
  define('SG_MAILCHIMP_EXTENTION_URL', 'http://popup-builder.com/mailchimp/');
9
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
10
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
11
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
12
+ define('SG_POPUP_VERSION', 2.41);
13
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
14
  define('SG_POPUP_EXTENTIONS_URL', 'http://popup-builder.com/extensions');
15
  define('SG_MAILCHIMP_EXTENTION_URL', 'http://popup-builder.com/mailchimp/');
files/sg_popup_create_new.php CHANGED
@@ -7,7 +7,7 @@
7
  $paths = IntegrateExternalSettings::getCurrentPopupAppPaths($popupType);
8
  //Get current form action, for addons it different
9
  $currentActionName = IntegrateExternalSettings::getCurrentPopupAdminPostActionName($popupType);
10
-
11
  $popupAppPath = $paths['app-path'];
12
  $popupFilesPath = $paths['files-path'];
13
 
@@ -514,7 +514,7 @@
514
  $sgSocialLabel = @sgSetChecked($sgSocialLabel, $socialLabel);
515
  $sgPopupFixed = @sgSetChecked($sgPopupFixed, $deafultFixed);
516
  $sgPushToBottom = @sgSetChecked($sgPushToBottom, $pushToBottom);
517
-
518
  $sgAllPagesStatus = @sgSetChecked($sgAllPagesStatus, $allPagesStatus);
519
  $sgAllPostsStatus = @sgSetChecked($sgAllPostsStatus, $allPostsStatus);
520
  $sgCountdownPosition = @sgSetChecked($sgCountdownPosition, $countdownPosition);
@@ -622,7 +622,7 @@
622
  $sgContactFailMessage = @sgGetValue($sgContactFailMessage, $contactFailMessage);
623
  $sgOverlayCustomClasss = @sgGetValue($sgOverlayCustomClasss, $overlayCustomClasss);
624
  $sgContentCustomClasss = @sgGetValue($sgContentCustomClasss, $contentCustomClasss);
625
-
626
  function sgGetValue($getedVal,$defValue)
627
  {
628
  if (!isset($getedVal)) {
@@ -744,7 +744,7 @@
744
  "data-loading-number" => 0,
745
  "data-selectbox-role" => "js-all-posts"
746
  )
747
-
748
  ),
749
  array(
750
  "title" => "Show on selected categories",
@@ -797,7 +797,7 @@
797
  function createRadiobuttons($elements, $name, $newLine, $selectedInput, $class)
798
  {
799
  $str = "";
800
-
801
  foreach ($elements as $key => $element) {
802
  $breakLine = "";
803
  $infoIcon = "";
@@ -847,6 +847,7 @@
847
  'pulse' => 'pulse',
848
  'rubberBand' => 'rubberBand',
849
  'tada' => 'tada',
 
850
  'jello' => 'jello',
851
  'rotateIn' => 'rotateIn',
852
  'fadeIn' => 'fadeIn'
@@ -1148,13 +1149,13 @@
1148
  <div class="sg-hide sg-full-width js-content-click-wrraper">
1149
  <?php echo createRadiobuttons($contentClickOptions, "content-click-behavior", true, esc_html($sgContentClickBehavior), "liquid-width"); ?>
1150
  <div class="sg-hide js-readio-buttons-acordion-content sg-full-width">
1151
- <span class="liquid-width">Url:</span><input class="input-width-static" type="text" name='click-redirect-to-url' value="<?php echo esc_attr(@$sgClickRedirectToUrl); ?>">
1152
  <span class="liquid-width">Redirect to new tab:</span><input type="checkbox" name="redirect-to-new-tab" <?php echo $sgRedirectToNewTab; ?> >
1153
  </div>
1154
  </div>
1155
 
1156
  <span class="liquid-width">Change overlay color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sgOverlayColor" value="<?php echo esc_attr(@$sgOverlayColor); ?>" /></div><br>
1157
-
1158
  <span class="liquid-width">Change background color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sg-content-background-color" value="<?php echo esc_attr(@$sgContentBackgroundColor); ?>" /></div><br>
1159
 
1160
  <span class="liquid-width" id="createDescribeOpacitcy">Background overlay opacity:</span><div class="slider-wrapper">
@@ -1198,7 +1199,7 @@
1198
  </div>
1199
  </div>
1200
  <div class="clear"></div>
1201
- <?php
1202
  $isActivePopup = SgPopupGetData::isActivePopup(@$id);
1203
  if(!@$id) $isActivePopup = 'checked';
1204
  ?>
@@ -1208,4 +1209,4 @@
1208
  </div>
1209
  </form>
1210
  <?php
1211
- SGFunctions::showInfo();
7
  $paths = IntegrateExternalSettings::getCurrentPopupAppPaths($popupType);
8
  //Get current form action, for addons it different
9
  $currentActionName = IntegrateExternalSettings::getCurrentPopupAdminPostActionName($popupType);
10
+
11
  $popupAppPath = $paths['app-path'];
12
  $popupFilesPath = $paths['files-path'];
13
 
514
  $sgSocialLabel = @sgSetChecked($sgSocialLabel, $socialLabel);
515
  $sgPopupFixed = @sgSetChecked($sgPopupFixed, $deafultFixed);
516
  $sgPushToBottom = @sgSetChecked($sgPushToBottom, $pushToBottom);
517
+
518
  $sgAllPagesStatus = @sgSetChecked($sgAllPagesStatus, $allPagesStatus);
519
  $sgAllPostsStatus = @sgSetChecked($sgAllPostsStatus, $allPostsStatus);
520
  $sgCountdownPosition = @sgSetChecked($sgCountdownPosition, $countdownPosition);
622
  $sgContactFailMessage = @sgGetValue($sgContactFailMessage, $contactFailMessage);
623
  $sgOverlayCustomClasss = @sgGetValue($sgOverlayCustomClasss, $overlayCustomClasss);
624
  $sgContentCustomClasss = @sgGetValue($sgContentCustomClasss, $contentCustomClasss);
625
+
626
  function sgGetValue($getedVal,$defValue)
627
  {
628
  if (!isset($getedVal)) {
744
  "data-loading-number" => 0,
745
  "data-selectbox-role" => "js-all-posts"
746
  )
747
+
748
  ),
749
  array(
750
  "title" => "Show on selected categories",
797
  function createRadiobuttons($elements, $name, $newLine, $selectedInput, $class)
798
  {
799
  $str = "";
800
+
801
  foreach ($elements as $key => $element) {
802
  $breakLine = "";
803
  $infoIcon = "";
847
  'pulse' => 'pulse',
848
  'rubberBand' => 'rubberBand',
849
  'tada' => 'tada',
850
+ 'slideInUp' => 'slideInUp',
851
  'jello' => 'jello',
852
  'rotateIn' => 'rotateIn',
853
  'fadeIn' => 'fadeIn'
1149
  <div class="sg-hide sg-full-width js-content-click-wrraper">
1150
  <?php echo createRadiobuttons($contentClickOptions, "content-click-behavior", true, esc_html($sgContentClickBehavior), "liquid-width"); ?>
1151
  <div class="sg-hide js-readio-buttons-acordion-content sg-full-width">
1152
+ <span class="liquid-width">Url:</span><input class="input-width-static" type="text" name='click-redirect-to-url' value="<?php echo esc_attr(@$sgClickRedirectToUrl); ?>">
1153
  <span class="liquid-width">Redirect to new tab:</span><input type="checkbox" name="redirect-to-new-tab" <?php echo $sgRedirectToNewTab; ?> >
1154
  </div>
1155
  </div>
1156
 
1157
  <span class="liquid-width">Change overlay color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sgOverlayColor" value="<?php echo esc_attr(@$sgOverlayColor); ?>" /></div><br>
1158
+
1159
  <span class="liquid-width">Change background color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sg-content-background-color" value="<?php echo esc_attr(@$sgContentBackgroundColor); ?>" /></div><br>
1160
 
1161
  <span class="liquid-width" id="createDescribeOpacitcy">Background overlay opacity:</span><div class="slider-wrapper">
1199
  </div>
1200
  </div>
1201
  <div class="clear"></div>
1202
+ <?php
1203
  $isActivePopup = SgPopupGetData::isActivePopup(@$id);
1204
  if(!@$id) $isActivePopup = 'checked';
1205
  ?>
1209
  </div>
1210
  </form>
1211
  <?php
1212
+ SGFunctions::showInfo();
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.4.0
7
  * Author: Sygnoos
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.4.1
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
readme.txt CHANGED
@@ -153,6 +153,9 @@ Go to the Popup Builder settings and set your desired options.
153
 
154
  == Changelog ==
155
 
 
 
 
156
  = Version 2.4.0 =
157
  * Availability to add popup for external link. Ex.`<a href="https://sygnoos.com/" class="sg-confirm-popup-1">Popup</a>` where 1 is a popup id.
158
  * Now you can have one iframe popup instance which can load dynamic external URLs. Ex `<a href="https://sygnoos.com/" class="sg-iframe-popup-1">Popup</a>`(PRO)
153
 
154
  == Changelog ==
155
 
156
+ = Version 2.4.1 =
157
+ * New opening animation added.
158
+
159
  = Version 2.4.0 =
160
  * Availability to add popup for external link. Ex.`<a href="https://sygnoos.com/" class="sg-confirm-popup-1">Popup</a>` where 1 is a popup id.
161
  * Now you can have one iframe popup instance which can load dynamic external URLs. Ex `<a href="https://sygnoos.com/" class="sg-iframe-popup-1">Popup</a>`(PRO)