Popup by Supsystic - Version 1.10.6

Version Description

/ 22.06.2021 = * Minor fixes

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Popup by Supsystic
Version 1.10.6
Comparing to
See all releases

Code changes from version 1.10.5 to 1.10.6

Files changed (4) hide show
  1. config.php +1 -1
  2. modules/supsystic_promo/mod.php +9 -9
  3. pps.php +1 -1
  4. readme.txt +4 -1
config.php CHANGED
@@ -48,7 +48,7 @@
48
  define('PPS_EOL', "\n");
49
 
50
  define('PPS_PLUGIN_INSTALLED', true);
51
- define('PPS_VERSION', '1.10.5');
52
  define('PPS_USER', 'user');
53
 
54
  define('PPS_CLASS_PREFIX', 'ppsc');
48
  define('PPS_EOL', "\n");
49
 
50
  define('PPS_PLUGIN_INSTALLED', true);
51
+ define('PPS_VERSION', '1.10.6');
52
  define('PPS_USER', 'user');
53
 
54
  define('PPS_CLASS_PREFIX', 'ppsc');
modules/supsystic_promo/mod.php CHANGED
@@ -164,7 +164,7 @@ class supsystic_promoPps extends modulePps {
164
  public function addUserExp($tabs, $popup) {
165
  $modPath = $this->getAssetsUrl();
166
  $tabs['ppsPopupAbTesting'] = array(
167
- 'title' => __('Testing', PPS_LANG_CODE),
168
  'content' => '<a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=abtesting&utm_campaign=popup'). '" target="_blank" class="button button-primary">'
169
  . __('Get PRO', PPS_LANG_CODE). '</a><br /><a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=abtesting&utm_campaign=popup'). '" target="_blank">'
170
  . '<img style="max-width: 100%;" src="'. $modPath. 'img/AB-testing-pro.jpg" />'
@@ -175,7 +175,7 @@ class supsystic_promoPps extends modulePps {
175
  );
176
  if(!in_array($popup['type'], array(PPS_FB_LIKE, PPS_IFRAME, PPS_SIMPLE_HTML, PPS_PDF, PPS_AGE_VERIFY, PPS_FULL_SCREEN))) {
177
  $tabs['ppsLoginRegister'] = array(
178
- 'title' => __('Login/Registration', PPS_LANG_CODE),
179
  'content' => '<a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=login_registration&utm_campaign=popup'). '" target="_blank" class="button button-primary">'
180
  . __('Get PRO', PPS_LANG_CODE). '</a><br /><a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=login_registration&utm_campaign=popup'). '" target="_blank">'
181
  . '<img style="max-width: 100%;" src="'. $modPath. 'img/login-registration-1.jpg" />'
@@ -188,7 +188,7 @@ class supsystic_promoPps extends modulePps {
188
  }
189
  public function addUserExpDesign($tabs) {
190
  $tabs['ppsPopupLayeredPopup'] = array(
191
- 'title' => __('Popup Location', PPS_LANG_CODE),
192
  'content' => $this->getView()->getLayeredStylePromo(),
193
  'fa_icon' => 'fa-arrows',
194
  'sort_order' => 15,
@@ -257,9 +257,9 @@ class supsystic_promoPps extends modulePps {
257
  public function isPro() {
258
  static $isPro;
259
  if(is_null($isPro)) {
260
- // license is always active with PRO - even if license key was not entered,
261
  // add_options module was from the begining of the times in PRO, and will be active only once user will activate license on site
262
- $isPro = framePps::_()->getModule('license') && framePps::_()->getModule('on_exit');
263
  }
264
  return $isPro;
265
  }
@@ -349,9 +349,9 @@ array('label' => 'Lavender Mood', 'img_preview' => '2016-11-lavender-mood-prev.p
349
  // Don't run on WP < 3.3
350
  if ( get_bloginfo( 'version' ) < '3.3' )
351
  return;
352
-
353
  if ( is_admin() && current_user_can(framePps::_()->getModule('adminmenu')->getMainCap()) ) {
354
-
355
  $this->checkToShowTutorial();
356
  }
357
  }
@@ -360,7 +360,7 @@ array('label' => 'Lavender Mood', 'img_preview' => '2016-11-lavender-mood-prev.p
360
  $this->getModel()->clearTourHst();
361
  }
362
  $hst = $this->getModel()->getTourHst();
363
- if((isset($hst['closed']) && $hst['closed'])
364
  || (isset($hst['finished']) && $hst['finished'])
365
  ) {
366
  return;
@@ -625,4 +625,4 @@ array('label' => 'Lavender Mood', 'img_preview' => '2016-11-lavender-mood-prev.p
625
  $plugin_code = 'popup_by_supsystic_pro';
626
  return 'http://supsystic.com/?mod=manager&pl=lms&action=applyDiscountBuyUrl&plugin_code='. $plugin_code. '&lic='. $license;
627
  }
628
- }
164
  public function addUserExp($tabs, $popup) {
165
  $modPath = $this->getAssetsUrl();
166
  $tabs['ppsPopupAbTesting'] = array(
167
+ 'title' => __('Testing', PPS_LANG_CODE),
168
  'content' => '<a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=abtesting&utm_campaign=popup'). '" target="_blank" class="button button-primary">'
169
  . __('Get PRO', PPS_LANG_CODE). '</a><br /><a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=abtesting&utm_campaign=popup'). '" target="_blank">'
170
  . '<img style="max-width: 100%;" src="'. $modPath. 'img/AB-testing-pro.jpg" />'
175
  );
176
  if(!in_array($popup['type'], array(PPS_FB_LIKE, PPS_IFRAME, PPS_SIMPLE_HTML, PPS_PDF, PPS_AGE_VERIFY, PPS_FULL_SCREEN))) {
177
  $tabs['ppsLoginRegister'] = array(
178
+ 'title' => __('Login/Registration', PPS_LANG_CODE),
179
  'content' => '<a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=login_registration&utm_campaign=popup'). '" target="_blank" class="button button-primary">'
180
  . __('Get PRO', PPS_LANG_CODE). '</a><br /><a href="'. $this->generateMainLink('utm_source=plugin&utm_medium=login_registration&utm_campaign=popup'). '" target="_blank">'
181
  . '<img style="max-width: 100%;" src="'. $modPath. 'img/login-registration-1.jpg" />'
188
  }
189
  public function addUserExpDesign($tabs) {
190
  $tabs['ppsPopupLayeredPopup'] = array(
191
+ 'title' => __('Popup Location', PPS_LANG_CODE),
192
  'content' => $this->getView()->getLayeredStylePromo(),
193
  'fa_icon' => 'fa-arrows',
194
  'sort_order' => 15,
257
  public function isPro() {
258
  static $isPro;
259
  if(is_null($isPro)) {
260
+ // license is always active with PRO - even if license key was not entered,
261
  // add_options module was from the begining of the times in PRO, and will be active only once user will activate license on site
262
+ $isPro = framePps::_()->getModule('pro_tpls');
263
  }
264
  return $isPro;
265
  }
349
  // Don't run on WP < 3.3
350
  if ( get_bloginfo( 'version' ) < '3.3' )
351
  return;
352
+
353
  if ( is_admin() && current_user_can(framePps::_()->getModule('adminmenu')->getMainCap()) ) {
354
+
355
  $this->checkToShowTutorial();
356
  }
357
  }
360
  $this->getModel()->clearTourHst();
361
  }
362
  $hst = $this->getModel()->getTourHst();
363
+ if((isset($hst['closed']) && $hst['closed'])
364
  || (isset($hst['finished']) && $hst['finished'])
365
  ) {
366
  return;
625
  $plugin_code = 'popup_by_supsystic_pro';
626
  return 'http://supsystic.com/?mod=manager&pl=lms&action=applyDiscountBuyUrl&plugin_code='. $plugin_code. '&lic='. $license;
627
  }
628
+ }
pps.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup by Supsystic
4
  * Plugin URI: https://supsystic.com/plugins/popup-plugin/
5
  * Description: The Best WordPress popup plugin to help you gain more subscribers, social followers or advertisement. Responsive popups with friendly options
6
- * Version: 1.10.5
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: popup-by-supsystic
3
  * Plugin Name: Popup by Supsystic
4
  * Plugin URI: https://supsystic.com/plugins/popup-plugin/
5
  * Description: The Best WordPress popup plugin to help you gain more subscribers, social followers or advertisement. Responsive popups with friendly options
6
+ * Version: 1.10.6
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: popup-by-supsystic
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: supsystic.com
3
  Donate link: https://supsystic.com/plugins/popup-plugin
4
  Tags: popup, popup WordPress plugin, marketing, popover, pop-up, popup builder, social popup, facebook popup, popup builder, popup maker
5
  Tested up to: 5.7
6
- Stable tag: 1.10.5
7
 
8
  Create elegant popup easily with Popup Builder by Supsystic. Popup with Subscription Forms, Facebook popup, Optin and Social locks, Contact Forms etc.
9
 
@@ -116,6 +116,9 @@ Enable “Redirect after close” option in Appearance setting on the Design tab
116
  Leave us a nice review 🙂
117
 
118
  == Changelog ==
 
 
 
119
  = 1.10.5 / 01.04.2021 =
120
  * Add fix CSS tab
121
  * Add fix for problem with activation
3
  Donate link: https://supsystic.com/plugins/popup-plugin
4
  Tags: popup, popup WordPress plugin, marketing, popover, pop-up, popup builder, social popup, facebook popup, popup builder, popup maker
5
  Tested up to: 5.7
6
+ Stable tag: 1.10.6
7
 
8
  Create elegant popup easily with Popup Builder by Supsystic. Popup with Subscription Forms, Facebook popup, Optin and Social locks, Contact Forms etc.
9
 
116
  Leave us a nice review 🙂
117
 
118
  == Changelog ==
119
+ = 1.10.6 / 22.06.2021 =
120
+ * Minor fixes
121
+
122
  = 1.10.5 / 01.04.2021 =
123
  * Add fix CSS tab
124
  * Add fix for problem with activation