Version Description
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- classes/SGFblikePopup.php +3 -3
- javascript/sg_popup_frontend.js +6 -1
- popup-builder.php +2 -2
- readme.txt +60 -64
classes/SGFblikePopup.php
CHANGED
@@ -79,8 +79,7 @@ class SGFblikePopup extends SGPopup
|
|
79 |
$layout = $options['fblike-layout'];
|
80 |
|
81 |
$content = $this->getContent();
|
82 |
-
$content .= "<div id
|
83 |
-
$content .= "<script>
|
84 |
(function(d, s, id) {
|
85 |
var js, fjs = d.getElementsByTagName(s)[0];
|
86 |
if (d.getElementById(id)) return;
|
@@ -89,10 +88,11 @@ class SGFblikePopup extends SGPopup
|
|
89 |
fjs.parentNode.insertBefore(js, fjs);
|
90 |
}(document, 'script', 'facebook-jssdk'));
|
91 |
</script>";
|
92 |
-
$content .= '<div class = "sg-fb-buttons-wrapper"><div class="fb-like" data-href="'.$url.'" data-layout="'.$layout.'" data-action="like" data-show-faces="true" data-share="true"></div></div>';
|
93 |
$content .= '<style>
|
94 |
.sg-fb-buttons-wrapper{
|
95 |
text-align: center;
|
|
|
96 |
}
|
97 |
#sgcboxLoadedContent iframe {
|
98 |
max-width: none !important;
|
79 |
$layout = $options['fblike-layout'];
|
80 |
|
81 |
$content = $this->getContent();
|
82 |
+
$content .= "<div id=\"sg-facebook-like\"><script type=\"text/javascript\">
|
|
|
83 |
(function(d, s, id) {
|
84 |
var js, fjs = d.getElementsByTagName(s)[0];
|
85 |
if (d.getElementById(id)) return;
|
88 |
fjs.parentNode.insertBefore(js, fjs);
|
89 |
}(document, 'script', 'facebook-jssdk'));
|
90 |
</script>";
|
91 |
+
$content .= '<div class = "sg-fb-buttons-wrapper"><div class="fb-like" data-href="'.$url.'" data-layout="'.$layout.'" data-action="like" data-show-faces="true" data-share="true"></div></div></div>';
|
92 |
$content .= '<style>
|
93 |
.sg-fb-buttons-wrapper{
|
94 |
text-align: center;
|
95 |
+
min-height: 25px;
|
96 |
}
|
97 |
#sgcboxLoadedContent iframe {
|
98 |
max-width: none !important;
|
javascript/sg_popup_frontend.js
CHANGED
@@ -224,7 +224,7 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
|
|
224 |
SG_POPUP_SETTINGS = {
|
225 |
width: popupWidth,
|
226 |
height: popupHeight,
|
227 |
-
|
228 |
onOpen:function() {
|
229 |
jQuery('#sgcolorbox').removeAttr('style');
|
230 |
jQuery('#sgcolorbox').removeAttr('left');
|
@@ -248,6 +248,11 @@ SGPopup.prototype.sgShowColorboxWithOptions = function() {
|
|
248 |
jQuery('.sg-popup-close').on('click', function() {
|
249 |
jQuery.sgcolorbox.close();
|
250 |
});
|
|
|
|
|
|
|
|
|
|
|
251 |
},
|
252 |
onClosed: function() {
|
253 |
jQuery('#sgcolorbox').trigger("sgPopupClose", []);
|
224 |
SG_POPUP_SETTINGS = {
|
225 |
width: popupWidth,
|
226 |
height: popupHeight,
|
227 |
+
className: customClassName,
|
228 |
onOpen:function() {
|
229 |
jQuery('#sgcolorbox').removeAttr('style');
|
230 |
jQuery('#sgcolorbox').removeAttr('left');
|
248 |
jQuery('.sg-popup-close').on('click', function() {
|
249 |
jQuery.sgcolorbox.close();
|
250 |
});
|
251 |
+
|
252 |
+
//Facebook reInit
|
253 |
+
if(jQuery('#sg-facebook-like').length && typeof FB !== 'undefined') {
|
254 |
+
FB.XFBML.parse();
|
255 |
+
}
|
256 |
},
|
257 |
onClosed: function() {
|
258 |
jQuery('#sgcolorbox').trigger("sgPopupClose", []);
|
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.1.
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
@@ -18,7 +18,7 @@ define('SG_APP_POPUP_FILES', SG_APP_POPUP_PATH . '/files');
|
|
18 |
define('SG_APP_POPUP_CLASSES', SG_APP_POPUP_PATH . '/classes');
|
19 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
20 |
define('SG_APP_POPUP_TABLE_LIMIT', 15);
|
21 |
-
define('SG_POPUP_VERSION', 2.
|
22 |
define('SG_POPUP_PRO', 0);
|
23 |
define('SG_POPUP_PRO_URL', 'http://sygnoos.com/wordpress-popup/');
|
24 |
|
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.1.2
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
18 |
define('SG_APP_POPUP_CLASSES', SG_APP_POPUP_PATH . '/classes');
|
19 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
20 |
define('SG_APP_POPUP_TABLE_LIMIT', 15);
|
21 |
+
define('SG_POPUP_VERSION', 2.12);
|
22 |
define('SG_POPUP_PRO', 0);
|
23 |
define('SG_POPUP_PRO_URL', 'http://sygnoos.com/wordpress-popup/');
|
24 |
|
readme.txt
CHANGED
@@ -110,105 +110,94 @@ Go to the Popup Builder settings and set your desired options.
|
|
110 |
|
111 |
== Changelog ==
|
112 |
|
113 |
-
|
|
|
|
|
114 |
|
115 |
-
|
116 |
-
|
117 |
-
Code cleanup.
|
118 |
-
|
119 |
-
|
120 |
-
* Version 2.1.0
|
121 |
-
|
122 |
-
Added ability to close popup from itself. Just add html class to the element.
|
123 |
-
|
124 |
-
Ex. '<a href="#" class="sg-popup-close">Close Popup</a>'
|
125 |
|
126 |
-
*
|
127 |
-
|
128 |
-
|
|
|
129 |
|
130 |
-
|
|
|
131 |
|
132 |
-
|
133 |
|
|
|
|
|
|
|
134 |
|
135 |
-
|
136 |
|
137 |
-
|
138 |
|
139 |
-
|
140 |
|
141 |
-
|
142 |
|
143 |
-
|
|
|
|
|
144 |
|
145 |
-
Code cleanup.
|
146 |
|
147 |
-
|
148 |
|
|
|
|
|
149 |
|
150 |
-
|
151 |
-
|
152 |
-
Added new effects of showing popup.
|
153 |
|
154 |
-
|
|
|
|
|
|
|
155 |
|
156 |
-
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
Added new feature to support all screen positions where popup can be shown.
|
161 |
|
162 |
-
|
163 |
-
|
164 |
-
Bug fixed.
|
165 |
|
166 |
-
*
|
167 |
|
168 |
-
|
169 |
|
170 |
-
*
|
|
|
171 |
|
172 |
-
|
173 |
|
174 |
-
*
|
175 |
|
176 |
-
|
177 |
|
178 |
-
|
179 |
|
180 |
-
|
181 |
|
182 |
-
|
183 |
|
184 |
-
|
185 |
|
186 |
-
|
187 |
-
|
188 |
-
* Version 1.1.4
|
189 |
-
|
190 |
-
Bug fixed with single quotes string/html popup.
|
191 |
-
|
192 |
-
* Version 1.1.3
|
193 |
-
|
194 |
-
Multisite support
|
195 |
-
|
196 |
-
Bug fixes
|
197 |
|
|
|
198 |
|
199 |
-
*
|
200 |
|
201 |
-
|
202 |
|
203 |
-
*
|
204 |
|
205 |
-
|
206 |
|
207 |
-
*
|
208 |
|
209 |
-
|
210 |
-
|
211 |
-
* Initial upload 1.0.0
|
212 |
|
213 |
== Frequently Asked Questions ==
|
214 |
**How many popups can I create?**
|
@@ -237,7 +226,14 @@ Contact us! Depending on your server configuration something may go wrong, pleas
|
|
237 |
|
238 |
== Other Notes ==
|
239 |
|
240 |
-
Current Version of Popup Builder is 2.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
|
242 |
= Image Popup =
|
243 |
|
110 |
|
111 |
== Changelog ==
|
112 |
|
113 |
+
= Version 2.1.2 =
|
114 |
+
* Bug fixed inside Facebook Popup
|
115 |
+
* Optimizations.
|
116 |
|
117 |
+
= Version 2.1.1 =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
+
* Copatible mith minify plugins.
|
120 |
+
* Code cleanup.
|
121 |
+
|
122 |
+
= Version 2.1.0 =
|
123 |
|
124 |
+
* Added ability to close popup from itself. Just add html class to the element.
|
125 |
+
* Ex. '<a href="#" class="sg-popup-close">Close Popup</a>'
|
126 |
|
127 |
+
= Version 2.0.9 =
|
128 |
|
129 |
+
* Facebook share and like popup added.
|
130 |
+
* Code cleanup.
|
131 |
+
* Bug fixed.
|
132 |
|
133 |
+
= Version 2.0.8 =
|
134 |
|
135 |
+
* Inside Popup data table added sorting and search field.
|
136 |
|
137 |
+
Bug fixed.
|
138 |
|
139 |
+
= Version 2.0.7 =
|
140 |
|
141 |
+
* Inside HTML popup WYSIWYG is updated and now allows to create content with most common HTML tags and styles.
|
142 |
+
* Code cleanup.
|
143 |
+
* Bug fixed.
|
144 |
|
|
|
145 |
|
146 |
+
= Version 2.0.6 =
|
147 |
|
148 |
+
* Added new effects of showing popup.
|
149 |
+
* Bug fixed.
|
150 |
|
151 |
+
= Version 2.0.5 =
|
|
|
|
|
152 |
|
153 |
+
* Added shortcode to auto open popup.
|
154 |
+
* Added new feature to support all screen positions where popup can be shown.
|
155 |
+
* Code cleanup.
|
156 |
+
* Bug fixed.
|
157 |
|
158 |
+
= Version 2.0.4 =
|
159 |
|
160 |
+
* Bug fixed with database collation.
|
|
|
|
|
161 |
|
162 |
+
= Version 2.0.3 =
|
|
|
|
|
163 |
|
164 |
+
* Bug fixed.
|
165 |
|
166 |
+
= Version 2.0.2 =
|
167 |
|
168 |
+
* Popup UI changed.
|
169 |
+
* Popup Builder PHP version fixes.
|
170 |
|
171 |
+
= Version 2.0.1 =
|
172 |
|
173 |
+
* Bug fixed.
|
174 |
|
175 |
+
= Version 2.0 =
|
176 |
|
177 |
+
* Major release of Popup Builder v.2.0
|
178 |
|
179 |
+
= Version 1.1.4 =
|
180 |
|
181 |
+
* Bug fixed with single quotes string/html popup.
|
182 |
|
183 |
+
= Version 1.1.3 =
|
184 |
|
185 |
+
* Multisite support
|
186 |
+
* Bug fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
|
188 |
+
= Version 1.1.2 =
|
189 |
|
190 |
+
* Bug fixes
|
191 |
|
192 |
+
= Version 1.1.1 =
|
193 |
|
194 |
+
* Bug fixes
|
195 |
|
196 |
+
= Version 1.1 =
|
197 |
|
198 |
+
* Bug fixes
|
199 |
|
200 |
+
= Initial upload 1.0.0 =
|
|
|
|
|
201 |
|
202 |
== Frequently Asked Questions ==
|
203 |
**How many popups can I create?**
|
226 |
|
227 |
== Other Notes ==
|
228 |
|
229 |
+
Current Version of Popup Builder is 2.1.2
|
230 |
+
|
231 |
+
= HTML Popup =
|
232 |
+
|
233 |
+
While sharing your ideas and viewpoints online, it is not always convenient and/or adequate to include in the given text all the info you've got. On the other hand, it may be rather important not to ignore the possible extra pieces of information, especially if you aim to satisfy the needs of a manifold audience. But how can this be achieved? Is there a correspondent tool for it?
|
234 |
+
The HTML popup we offer is quite a popular solution. Having installed it, you are enabled to be brief but share a pack of information if you wish. All kind of associations connected with any part of your material can be presented with the help of a simple redirection.
|
235 |
+
There are several options' sections available where you can configure the popup up to your needs. First you can see about the way the popup looks by choosing the theme and effect types applied to it and deciding the appropriate dimensions. Then, you are able to manage when and where the popup turns up. It can appear while scrolling the page, remain unchangeable or be resized according to the window. Meanwhile, the popup can be chosen to close either automatically or by hand. Also, you can decide on its availability on different devices (PC, mobile, etc.).
|
236 |
+
|
237 |
|
238 |
= Image Popup =
|
239 |
|