Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram - Version 1.10.34

Version Description

Added Black Friday Cyber Monday Gallery Items

Download this release

Release Info

Developer Icegram
Plugin Icon 128x128 Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram
Version 1.10.34
Comparing to
See all releases

Code changes from version 1.10.33 to 1.10.34

assets/images/bfcm-2019.png ADDED
Binary file
assets/images/bfcm-last-2019.png ADDED
Binary file
assets/images/pre-halloween-2019.png DELETED
Binary file
classes/class-icegram-message-admin.php CHANGED
@@ -301,7 +301,8 @@ if ( !class_exists( 'Icegram_Message_Admin' ) ) {
301
  //Add Email Subscribers form
302
  $es_html = __("Add form embed code") .'<strong>'. __(" or easily embed using ", "icegram" ). '<a style="font-style:normal;" href="' . admin_url("plugin-install.php?tab=search&type=term&s=email-subscribers") .'" target="_blank" alt="Email Subscribers & Newsletters">Email Subscribers & Newsletters' . '</a> plugin </strong>';
303
  if( in_array('email-subscribers/email-subscribers.php', $active_plugins) && !$force_use_rm ){
304
- $es_form_list = ES_DB_Forms::get_forms_id_name_map();
 
305
  $es_html = __("Use Email Subscribers form ", "icegram" );
306
  $es_html .= '<select class="es_form_list" style="max-width:30%" name="message_data['. $message_id .'][es_form_code]">
307
  <option value="" selected>'. __("Select form ", "icegram" ) .'</option>' ;
301
  //Add Email Subscribers form
302
  $es_html = __("Add form embed code") .'<strong>'. __(" or easily embed using ", "icegram" ). '<a style="font-style:normal;" href="' . admin_url("plugin-install.php?tab=search&type=term&s=email-subscribers") .'" target="_blank" alt="Email Subscribers & Newsletters">Email Subscribers & Newsletters' . '</a> plugin </strong>';
303
  if( in_array('email-subscribers/email-subscribers.php', $active_plugins) && !$force_use_rm ){
304
+ $forms_db = new ES_DB_Forms();
305
+ $es_form_list = call_user_func(array($forms_db, 'get_forms_id_name_map'));
306
  $es_html = __("Use Email Subscribers form ", "icegram" );
307
  $es_html .= '<select class="es_form_list" style="max-width:30%" name="message_data['. $message_id .'][es_form_code]">
308
  <option value="" selected>'. __("Select form ", "icegram" ) .'</option>' ;
icegram.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
- * Version: 1.10.33
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-19 Icegram
@@ -37,7 +37,7 @@ class Icegram {
37
  $feedback_version = '1.0.8';
38
  $ig_tracker = 'IG_Tracker_V_' . str_replace('.', '_', $feedback_version);
39
 
40
- $this->version = "1.10.33";
41
  $this->shortcode_instances = array();
42
  $this->mode = 'local';
43
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
@@ -96,7 +96,7 @@ class Icegram {
96
  add_filter( 'rainmaker_validate_request', array(&$this,'form_submission_validate_request'), 10, 2);
97
  add_filter( 'icegram_data', array( $this, 'two_step_mobile_popup' ), 100, 1);
98
 
99
-
100
  if ( defined( 'DOING_AJAX' ) ) {
101
  if($this->cache_compatibility === 'yes'){
102
  add_action( 'wp_ajax_display_messages', array( &$this, 'display_messages' ) );
@@ -175,23 +175,23 @@ class Icegram {
175
  echo '<div class="notice notice-warning" style="background-color: #FFF;"><p style="letter-spacing: 0.6px;">' . $ig_rating_text . ' <a style="float:right" class="ig-admin-btn ig-admin-btn-secondary" href="?ig_dismiss_admin_notice=1&option_name=ig_star_review">' . __( 'No, I don\'t like it', 'icegram' ) . '</a></p></div>';
176
  }
177
  //star review end
178
- //pre-halloween 2019 :start
179
  $timezone_format = _x('Y-m-d', 'timezone date format');
180
  $ig_current_date = strtotime(date_i18n($timezone_format));
181
- $ig_offer_start = strtotime("2019-10-15");
182
- $ig_offer_end = strtotime("2019-10-17");
183
  if(($ig_current_date >= $ig_offer_start) && ($ig_current_date <= $ig_offer_end)) {
184
  include_once('ig-offer.php');
185
  }
186
- //pre-halloween 2019 :end
187
 
188
  }
189
  public function dismiss_admin_notice(){
190
  if(isset($_GET['ig_dismiss_admin_notice']) && $_GET['ig_dismiss_admin_notice'] == '1' && isset($_GET['ig_option_name'])){
191
  $option_name = sanitize_text_field( $_GET['ig_option_name'] );
192
  update_option($option_name.'_icegram', true);
193
- if($option_name === 'ig_offer_pre_halloween_done_2019'){
194
- header("Location: https://www.icegram.com/?utm_source=in_app&utm_medium=ig_banner&utm_campaign=pre-halloween-2019");
195
  exit();
196
  }else{
197
  $referer = wp_get_referer();
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
+ * Version: 1.10.34
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-19 Icegram
37
  $feedback_version = '1.0.8';
38
  $ig_tracker = 'IG_Tracker_V_' . str_replace('.', '_', $feedback_version);
39
 
40
+ $this->version = "1.10.34";
41
  $this->shortcode_instances = array();
42
  $this->mode = 'local';
43
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
96
  add_filter( 'rainmaker_validate_request', array(&$this,'form_submission_validate_request'), 10, 2);
97
  add_filter( 'icegram_data', array( $this, 'two_step_mobile_popup' ), 100, 1);
98
 
99
+
100
  if ( defined( 'DOING_AJAX' ) ) {
101
  if($this->cache_compatibility === 'yes'){
102
  add_action( 'wp_ajax_display_messages', array( &$this, 'display_messages' ) );
175
  echo '<div class="notice notice-warning" style="background-color: #FFF;"><p style="letter-spacing: 0.6px;">' . $ig_rating_text . ' <a style="float:right" class="ig-admin-btn ig-admin-btn-secondary" href="?ig_dismiss_admin_notice=1&option_name=ig_star_review">' . __( 'No, I don\'t like it', 'icegram' ) . '</a></p></div>';
176
  }
177
  //star review end
178
+ //bfcm 2019 :start
179
  $timezone_format = _x('Y-m-d', 'timezone date format');
180
  $ig_current_date = strtotime(date_i18n($timezone_format));
181
+ $ig_offer_start = strtotime("2019-11-22");
182
+ $ig_offer_end = strtotime("2019-12-03");
183
  if(($ig_current_date >= $ig_offer_start) && ($ig_current_date <= $ig_offer_end)) {
184
  include_once('ig-offer.php');
185
  }
186
+ //bfcm 2019 :end
187
 
188
  }
189
  public function dismiss_admin_notice(){
190
  if(isset($_GET['ig_dismiss_admin_notice']) && $_GET['ig_dismiss_admin_notice'] == '1' && isset($_GET['ig_option_name'])){
191
  $option_name = sanitize_text_field( $_GET['ig_option_name'] );
192
  update_option($option_name.'_icegram', true);
193
+ if($option_name === 'ig_offer_bfcm_done_2019' || $option_name === 'ig_offer_last_day_bfcm_done_2019' ){
194
+ header("Location: https://www.icegram.com/?utm_source=in_app&utm_medium=ig_banner&utm_campaign=ig-bfcm-2019");
195
  exit();
196
  }else{
197
  $referer = wp_get_referer();
ig-offer.php CHANGED
@@ -1,14 +1,24 @@
1
- <?php
2
- if( get_option('ig_offer_pre_halloween_done_2019_icegram') == 1 ) return;
3
- ?>
4
  <style type="text/css">
5
  .ig_offer{
6
- width: 70%;
7
  margin: 0 auto;
8
  text-align: center;
9
  padding-top: 1.2em;
10
  }
 
 
 
11
  </style>
12
- <div class="ig_offer">
13
- <a target="_blank" href="?ig_dismiss_admin_notice=1&ig_option_name=ig_offer_pre_halloween_done_2019"><img src="<?php echo $this->plugin_url ?>/assets/images/pre-halloween-2019.png" /></a>
14
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <style type="text/css">
2
  .ig_offer{
3
+ width: 60%;
4
  margin: 0 auto;
5
  text-align: center;
6
  padding-top: 1.2em;
7
  }
8
+ .ig_offer img{
9
+ /*width: 100%;*/
10
+ }
11
  </style>
12
+ <?php
13
+ if( (get_option('ig_offer_bfcm_done_2019_icegram') !== 1) && ($ig_current_date >= strtotime("2019-11-22")) && ($ig_current_date <= strtotime("2019-11-30")) ) { ?>
14
+ <div class="ig_offer">
15
+ <a target="_blank" href="?ig_dismiss_admin_notice=1&ig_option_name=ig_offer_bfcm_done_2019"><img src="<?php echo $this->plugin_url ?>/assets/images/bfcm-2019.png" /></a>
16
+ </div>
17
+
18
+ <?php }
19
+ if( (get_option('ig_offer_last_day_bfcm_done_2019_icegram') !== 1 ) && ($ig_current_date >= strtotime("2019-12-02")) && ($ig_current_date <= strtotime("2019-12-03")) ) { ?>
20
+ <div class="ig_offer">
21
+ <a target="_blank" href="?ig_dismiss_admin_notice=1&ig_option_name=ig_offer_last_day_bfcm_done_2019"><img src="<?php echo $this->plugin_url ?>/assets/images/bfcm-last-2019.png" /></a>
22
+ </div>
23
+
24
+ <?php } ?>
readme.txt CHANGED
@@ -1,10 +1,11 @@
1
  === Popups, Welcome Bar, Optins and Lead Generation Plugin - Icegram ===
 
2
  Contributors: icegram, storeapps, niravmehta, sandhyam, putler
3
  Donate link: https://www.icegram.com/
4
  Tags: popup, wordpress popups,Exit-popup, optin-popup, popups, hellobar, optin, lead capture, form, marketing, notification, messenger, targeting, monster, ninja ,wordpress lead generation, wordpress lightbox optin, wordpress lightbox optin form, wordpress lightbox optins, wordpress mobile optin forms, wordpress mobile popup, wordpress mobile popups, wordpress optin form, wordpress overlay popup, wordpress popup, wordpress popup form, wordpress popup plugin, wordpress popup solution, wordpress popups , popups, subscribe, wp popups, optin bars, action grabber, promotion, popup message, leads, lists, builder, action bar, floating bar, footer bar, hellobar alternative, pop over, Popup plugin, aweber, campaign monitor, constant contact, email list, exit-intent, onclick popup, analytics, Hubspot, popup ads, pop-up, Mailing list pop-up, re-targeting, Animation,Popups with Animation ,Responsive Popup, split testing, AB testing
5
  Requires at least: 3.9
6
- Tested up to: 5.2.4
7
- Stable tag: 1.10.33
8
  License: GPLv3
9
 
10
  The best WP popup plugin that let's you create a popup within seconds. Customize popup, target popups to show offers, email signups, social buttons etc and instantly increase conversions on your website.
@@ -15,7 +16,6 @@ Icegram is the best plugin to easily create beautiful optins and call to actions
15
  Icegram totally eliminates the need to hire a developer. You can easily set it up within minutes and start recording results right away.
16
  Most similar quality plugins are paid and still offer a lot less. Icegram is full featured, easy to use, trusted by 20,000+ users, and is still free.
17
 
18
-
19
  = The Only Multi Purpose Plugin - a lot beyond optins =
20
  Icegram is not the typical optin / list-building / email subscription plugin. You can do a lot more than that!
21
 
@@ -217,6 +217,9 @@ Contact Us, provide as much detail of the problem as you can. We will try to sol
217
  5. Target your Icegram message using these display rules
218
 
219
  == Upgrade Notice ==
 
 
 
220
  = 1.10.33 =
221
  Revised Gallery Templates for halloween
222
 
@@ -477,6 +480,9 @@ Initial Release
477
 
478
 
479
  == Changelog ==
 
 
 
480
  = 1.10.33 =
481
  * Enhancement: Revised Gallery Templates for halloween
482
 
1
  === Popups, Welcome Bar, Optins and Lead Generation Plugin - Icegram ===
2
+ 192.168.0.111 projects.magnet.world
3
  Contributors: icegram, storeapps, niravmehta, sandhyam, putler
4
  Donate link: https://www.icegram.com/
5
  Tags: popup, wordpress popups,Exit-popup, optin-popup, popups, hellobar, optin, lead capture, form, marketing, notification, messenger, targeting, monster, ninja ,wordpress lead generation, wordpress lightbox optin, wordpress lightbox optin form, wordpress lightbox optins, wordpress mobile optin forms, wordpress mobile popup, wordpress mobile popups, wordpress optin form, wordpress overlay popup, wordpress popup, wordpress popup form, wordpress popup plugin, wordpress popup solution, wordpress popups , popups, subscribe, wp popups, optin bars, action grabber, promotion, popup message, leads, lists, builder, action bar, floating bar, footer bar, hellobar alternative, pop over, Popup plugin, aweber, campaign monitor, constant contact, email list, exit-intent, onclick popup, analytics, Hubspot, popup ads, pop-up, Mailing list pop-up, re-targeting, Animation,Popups with Animation ,Responsive Popup, split testing, AB testing
6
  Requires at least: 3.9
7
+ Tested up to: 5.3
8
+ Stable tag: 1.10.34
9
  License: GPLv3
10
 
11
  The best WP popup plugin that let's you create a popup within seconds. Customize popup, target popups to show offers, email signups, social buttons etc and instantly increase conversions on your website.
16
  Icegram totally eliminates the need to hire a developer. You can easily set it up within minutes and start recording results right away.
17
  Most similar quality plugins are paid and still offer a lot less. Icegram is full featured, easy to use, trusted by 20,000+ users, and is still free.
18
 
 
19
  = The Only Multi Purpose Plugin - a lot beyond optins =
20
  Icegram is not the typical optin / list-building / email subscription plugin. You can do a lot more than that!
21
 
217
  5. Target your Icegram message using these display rules
218
 
219
  == Upgrade Notice ==
220
+ = 1.10.34 =
221
+ Added Black Friday Cyber Monday Gallery Items
222
+
223
  = 1.10.33 =
224
  Revised Gallery Templates for halloween
225
 
480
 
481
 
482
  == Changelog ==
483
+ = 1.10.34 =
484
+ Added Black Friday Cyber Monday Gallery Items
485
+
486
  = 1.10.33 =
487
  * Enhancement: Revised Gallery Templates for halloween
488