Popup Builder – Responsive WordPress Pop up - Version 2.2.6

Version Description

Current Version of Popup Builder is 2.2.6

Download this release

Release Info

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

Code changes from version 2.2.5 to 2.2.6

config.php CHANGED
@@ -8,7 +8,7 @@ define('SG_APP_POPUP_FILES', SG_APP_POPUP_PATH . '/files');
8
  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_TABLE_LIMIT', 15);
11
- define('SG_POPUP_VERSION', 2.25);
12
  define('SG_POPUP_PRO_URL', 'http://sygnoos.com/wordpress-popup/');
13
  define('SG_IP_TO_COUNTRY_SERVICE_TIMEOUT', 2);
14
  define('SG_IP_TO_COUNTRY_SERVICE_URL', 'http://sygnoos.in/ip2data/?ip=');
8
  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_TABLE_LIMIT', 15);
11
+ define('SG_POPUP_VERSION', 2.26);
12
  define('SG_POPUP_PRO_URL', 'http://sygnoos.com/wordpress-popup/');
13
  define('SG_IP_TO_COUNTRY_SERVICE_TIMEOUT', 2);
14
  define('SG_IP_TO_COUNTRY_SERVICE_URL', 'http://sygnoos.in/ip2data/?ip=');
files/sg_popup_create.php CHANGED
File without changes
files/sg_popup_main.php CHANGED
File without changes
files/sg_popup_page_selection.php CHANGED
File without changes
img/down_arrow-2x.gif CHANGED
File without changes
img/info.png CHANGED
File without changes
img/theme1.jpg CHANGED
File without changes
img/theme2.jpg CHANGED
File without changes
img/theme3.jpg CHANGED
File without changes
img/theme4.jpg CHANGED
File without changes
img/theme5.jpg CHANGED
File without changes
javascript/sg_popup_backend.js CHANGED
File without changes
javascript/sg_popup_frontend.js CHANGED
@@ -29,7 +29,7 @@ SGPopup.prototype.init = function() {
29
  SGPopup.prototype.onCompleate = function() {
30
 
31
  jQuery("#sgcolorbox").bind("sgColorboxOnCompleate", function() {
32
-
33
  /* Scroll only inside popup */
34
  jQuery('#sgcboxLoadedContent').isolatedScroll();
35
  });
@@ -179,9 +179,9 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
179
  if (popupShortCode && popupHtml == false) {
180
  popupHtml = popupShortCode;
181
  }
182
-
183
  if(popupHtml && popupWidth == '' && popupHeight == '' && popupMaxWidth =='' && popupMaxHeight == '') {
184
-
185
  jQuery(popupHtml).find('img:first').attr('onload', 'jQuery.sgcolorbox.resize();');
186
  }
187
  if (popupIframeUrl) {
@@ -292,7 +292,7 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
292
  if (popupOverlayColor) {
293
  jQuery("#sgcboxOverlay").css({'background' : 'none', 'background-color' : popupOverlayColor});
294
  }
295
-
296
  jQuery('#sgcolorbox').trigger("sgColorboxOnOpen", []);
297
  },
298
  onLoad: function(){
@@ -305,12 +305,12 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
305
  if(popupWidth == '' && popupHeight == '') {
306
  jQuery.sgcolorbox.resize();
307
  }
308
-
309
  var sgpopupInit = new SgPopupInit(that.popupData);
310
  sgpopupInit.overallInit();
311
  /* For specific popup Like Countdown AgeRestcion popups */
312
  sgpopupInit.initByPopupType();
313
-
314
  },
315
  onClosed: function() {
316
  jQuery('#sgcolorbox').trigger("sgPopupClose", []);
@@ -339,7 +339,7 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
339
 
340
  jQuery.sgcolorbox(SG_POPUP_SETTINGS);
341
 
342
-
343
  if(countryStatus == true && typeof SgUserData != "undefined") {
344
  jQuery.cookie("SG_POPUP_USER_COUNTRY_NAME", SgUserData.countryIsoName, { expires: 365});
345
  }
@@ -347,7 +347,7 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
347
  sgCookieData = '';
348
  jQuery.cookie.defaults = {path:'/'};
349
  var currentCookie = jQuery.cookie('sgPopupDetails');
350
-
351
  if(typeof currentCookie == 'undefined') {
352
  openCounter = 1;
353
  }
@@ -364,21 +364,21 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
364
  }
365
 
366
  if (that.popupContentClick) {
367
-
368
  /* If has url for redirect */
369
- if(contentClickBehavior !== 'close' || clickRedirectToUrl !== '') {
370
  jQuery('#sgcolorbox').css({
371
  "cursor": 'pointer'
372
  });
373
  }
374
  jQuery('#sgcolorbox').bind('click',function() {
375
- if(contentClickBehavior == 'close' || clickRedirectToUrl == '') {
376
  jQuery.sgcolorbox.close();
377
  }
378
  else {
379
  window.location = clickRedirectToUrl;
380
  }
381
-
382
  });
383
  }
384
 
29
  SGPopup.prototype.onCompleate = function() {
30
 
31
  jQuery("#sgcolorbox").bind("sgColorboxOnCompleate", function() {
32
+
33
  /* Scroll only inside popup */
34
  jQuery('#sgcboxLoadedContent').isolatedScroll();
35
  });
179
  if (popupShortCode && popupHtml == false) {
180
  popupHtml = popupShortCode;
181
  }
182
+
183
  if(popupHtml && popupWidth == '' && popupHeight == '' && popupMaxWidth =='' && popupMaxHeight == '') {
184
+
185
  jQuery(popupHtml).find('img:first').attr('onload', 'jQuery.sgcolorbox.resize();');
186
  }
187
  if (popupIframeUrl) {
292
  if (popupOverlayColor) {
293
  jQuery("#sgcboxOverlay").css({'background' : 'none', 'background-color' : popupOverlayColor});
294
  }
295
+
296
  jQuery('#sgcolorbox').trigger("sgColorboxOnOpen", []);
297
  },
298
  onLoad: function(){
305
  if(popupWidth == '' && popupHeight == '') {
306
  jQuery.sgcolorbox.resize();
307
  }
308
+
309
  var sgpopupInit = new SgPopupInit(that.popupData);
310
  sgpopupInit.overallInit();
311
  /* For specific popup Like Countdown AgeRestcion popups */
312
  sgpopupInit.initByPopupType();
313
+
314
  },
315
  onClosed: function() {
316
  jQuery('#sgcolorbox').trigger("sgPopupClose", []);
339
 
340
  jQuery.sgcolorbox(SG_POPUP_SETTINGS);
341
 
342
+
343
  if(countryStatus == true && typeof SgUserData != "undefined") {
344
  jQuery.cookie("SG_POPUP_USER_COUNTRY_NAME", SgUserData.countryIsoName, { expires: 365});
345
  }
347
  sgCookieData = '';
348
  jQuery.cookie.defaults = {path:'/'};
349
  var currentCookie = jQuery.cookie('sgPopupDetails');
350
+
351
  if(typeof currentCookie == 'undefined') {
352
  openCounter = 1;
353
  }
364
  }
365
 
366
  if (that.popupContentClick) {
367
+
368
  /* If has url for redirect */
369
+ if((contentClickBehavior !== 'close' || clickRedirectToUrl !== '') && typeof contentClickBehavior !== 'undefined') {
370
  jQuery('#sgcolorbox').css({
371
  "cursor": 'pointer'
372
  });
373
  }
374
  jQuery('#sgcolorbox').bind('click',function() {
375
+ if(contentClickBehavior == 'close' || clickRedirectToUrl == '' || typeof contentClickBehavior == 'undefined') {
376
  jQuery.sgcolorbox.close();
377
  }
378
  else {
379
  window.location = clickRedirectToUrl;
380
  }
381
+
382
  });
383
  }
384
 
javascript/sg_popup_rangeslider.js CHANGED
File without changes
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.2.5
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.2.6
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
readme.txt CHANGED
@@ -1,6 +1,6 @@
1
  === Popup Builder ===
2
  Plugin Name: Popup Builder
3
- Contributors: Sygnoos
4
  Author: Sygnoos
5
  Donate link: http://sygnoos.com/wordpress-popup/
6
  Tags: popup, ads, modal, responsive popup, fancybox, lightbox, youtube, video popup, iframe popup, vimeo, contact form, html popup, social popup, age restriction, countdown, facebook, subscription popup, exit intent popup
@@ -10,13 +10,13 @@ Stable tag: trunk
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
13
- Popup builder is the most complete popup plugin. Html, image, shortcode and many other popup types. Manage popup dimensions, effects, themes.
14
 
15
  == Description ==
16
 
17
  #### Popup Builder
18
 
19
- Create and manage powerful promotion popups for your WordPress blog or website. Powerful, and yet, easy to use popup plugin that will help you to grab your visitor's attention to introduce him offers, discounts or other kind of promotional notices.
20
 
21
  https://www.youtube.com/watch?v=3ZwRKPhHMzY
22
 
@@ -134,6 +134,9 @@ Go to the Popup Builder settings and set your desired options.
134
 
135
  == Changelog ==
136
 
 
 
 
137
  = Version 2.2.5 =
138
  * Now you can insert a link (URL) of a page to which the customers will be redirected to, when clicking on the popup.
139
  * Code cleanup.
@@ -161,7 +164,7 @@ Go to the Popup Builder settings and set your desired options.
161
  = Version 2.1.8 =
162
  * Added close button localization for fourth popup theme.
163
  * Code cleanup.
164
- * Minor improvements
165
 
166
  = Version 2.1.7 =
167
  * Auto adjust Popup to HTML image size.
@@ -192,7 +195,7 @@ Go to the Popup Builder settings and set your desired options.
192
  = Version 2.1.0 =
193
 
194
  * Added ability to close popup from itself. Just add html class to the element.
195
- * Ex. '<a href="#" class="sg-popup-close">Close Popup</a>'
196
 
197
  = Version 2.0.9 =
198
 
@@ -203,8 +206,7 @@ Go to the Popup Builder settings and set your desired options.
203
  = Version 2.0.8 =
204
 
205
  * Inside Popup data table added sorting and search field.
206
-
207
- Bug fixed.
208
 
209
  = Version 2.0.7 =
210
 
@@ -261,11 +263,11 @@ Bug fixed.
261
 
262
  = Version 1.1.1 =
263
 
264
- * Bug fixes
265
 
266
  = Version 1.1 =
267
 
268
- * Bug fixes
269
 
270
  = Initial upload 1.0.0 =
271
 
@@ -351,7 +353,7 @@ Leave us a good review :)
351
 
352
  == Upgrade Notice ==
353
 
354
- Current Version of Popup Builder is 2.2.4
355
 
356
  == Other Notes ==
357
 
@@ -385,7 +387,7 @@ One can think of a number of cases when this popup can efficiently be used.
385
  For instance, if you are lucky enough to have sponsors or you have got partners that are worth a mention, Iframe will give you the wonderful opportunity to share the work they do. Thus, by clicking on the popup, the user will get to their websites.
386
  It can also be used to add some maps, diagrams, charts, etc. to your content without putting them within the material itself or by refraining from dealing with copyright issues.
387
  You can build the Iframe popup having decided on the popup frame theme and the effects that vary in duration. It is also possible to manage how long the ready-made popup appearance should be delayed after loading the page (in sec).
388
- The popup can appear at the top right/left corner, at the bottom or in the center. Thanks to certain ticks- off in the options section you will be able to to show the popup whenever the user scrolls the page and disable popup closing at all. On the contrary, the popup can be chosen to close automatically or be dismissed when the user clicks inside or beyond the popup area.
389
  Finally, you can decide whether to make the popup accessible or not on different devices by choosing the options available.
390
 
391
  = Video Popup =
1
  === Popup Builder ===
2
  Plugin Name: Popup Builder
3
+ Contributors: Sygnoos, Popup By Sygnoos
4
  Author: Sygnoos
5
  Donate link: http://sygnoos.com/wordpress-popup/
6
  Tags: popup, ads, modal, responsive popup, fancybox, lightbox, youtube, video popup, iframe popup, vimeo, contact form, html popup, social popup, age restriction, countdown, facebook, subscription popup, exit intent popup
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
13
+ Popup Builder is the most complete popup plugin. Html, image, shortcode and many other popup types. Manage popup dimensions, effects, themes.
14
 
15
  == Description ==
16
 
17
  #### Popup Builder
18
 
19
+ Popup builder allows you to create and manage powerful promotion popups for your WordPress blog or website. Powerful, and yet, easy to use popup plugin that will help you to grab your visitor's attention to introduce him offers, discounts or other kind of promotional notices.
20
 
21
  https://www.youtube.com/watch?v=3ZwRKPhHMzY
22
 
134
 
135
  == Changelog ==
136
 
137
+ = Version 2.2.6 =
138
+ * Bug fixed with redirection logic.
139
+
140
  = Version 2.2.5 =
141
  * Now you can insert a link (URL) of a page to which the customers will be redirected to, when clicking on the popup.
142
  * Code cleanup.
164
  = Version 2.1.8 =
165
  * Added close button localization for fourth popup theme.
166
  * Code cleanup.
167
+ * Minor improvements.
168
 
169
  = Version 2.1.7 =
170
  * Auto adjust Popup to HTML image size.
195
  = Version 2.1.0 =
196
 
197
  * Added ability to close popup from itself. Just add html class to the element.
198
+ * Ex. `<a href="#" class="sg-popup-close">Close Popup</a>`
199
 
200
  = Version 2.0.9 =
201
 
206
  = Version 2.0.8 =
207
 
208
  * Inside Popup data table added sorting and search field.
209
+ * Bug fixed.
 
210
 
211
  = Version 2.0.7 =
212
 
263
 
264
  = Version 1.1.1 =
265
 
266
+ * Bug fixes.
267
 
268
  = Version 1.1 =
269
 
270
+ * Bug fixes.
271
 
272
  = Initial upload 1.0.0 =
273
 
353
 
354
  == Upgrade Notice ==
355
 
356
+ Current Version of Popup Builder is 2.2.6
357
 
358
  == Other Notes ==
359
 
387
  For instance, if you are lucky enough to have sponsors or you have got partners that are worth a mention, Iframe will give you the wonderful opportunity to share the work they do. Thus, by clicking on the popup, the user will get to their websites.
388
  It can also be used to add some maps, diagrams, charts, etc. to your content without putting them within the material itself or by refraining from dealing with copyright issues.
389
  You can build the Iframe popup having decided on the popup frame theme and the effects that vary in duration. It is also possible to manage how long the ready-made popup appearance should be delayed after loading the page (in sec).
390
+ The popup can appear at the top right/left corner, at the bottom or in the center. Thanks to certain ticks-off in the options section you will be able to to show the popup whenever the user scrolls the page and disable popup closing at all. On the contrary, the popup can be chosen to close automatically or be dismissed when the user clicks inside or beyond the popup area.
391
  Finally, you can decide whether to make the popup accessible or not on different devices by choosing the options available.
392
 
393
  = Video Popup =
style/animate.css CHANGED
File without changes
style/sg_popup_rangeslider.css CHANGED
File without changes
style/sg_popup_style.css CHANGED
File without changes
style/sg_popup_style.php CHANGED
File without changes