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

Version Description

Added Black Friday and Cyber Monday Gallery templates

Download this release

Release Info

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

Code changes from version 1.10.12 to 1.10.13

assets/images/icegram-logo-16bit-gray-30.png ADDED
Binary file
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.12
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-16 Icegram
@@ -34,7 +34,7 @@ class Icegram {
34
 
35
  function __construct() {
36
 
37
- $this->version = "1.10.12";
38
  $this->shortcode_instances = array();
39
  $this->mode = 'local';
40
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
@@ -51,7 +51,7 @@ class Icegram {
51
 
52
  add_action( 'admin_menu', array( &$this, 'admin_menus') );
53
  add_action( 'admin_init', array( &$this, 'welcome' ) );
54
- // add_action( 'admin_init', array( &$this, 'dismiss_admin_notice' ) );
55
 
56
  add_action( 'admin_init', array( &$this, 'import_gallery_item' ) );
57
 
@@ -151,16 +151,26 @@ class Icegram {
151
  public function add_admin_notices(){
152
  $screen = get_current_screen();
153
  if ( !in_array( $screen->id, array( 'ig_campaign', 'ig_message','edit-ig_message','edit-ig_campaign' ), true ) ) return;
154
- include_once('ig-survey.php');
 
 
 
 
 
 
 
 
 
155
  }
156
  public function dismiss_admin_notice(){
157
- // if(isset($_GET['ig_dismiss_admin_notice']) && $_GET['ig_dismiss_admin_notice'] == '1' && isset($_GET['ig_option_name'])){
158
- // $option_name = sanitize_text_field($_GET['ig_option_name']);
159
- // update_option($option_name.'_icegram', true);
160
- // header("Location: https://www.icegram.com/pricing?utm_source=in-app&utm_medium=banner&utm_campaign=halloween2017");
161
- // exit();
162
- // }
163
  }
 
164
  public function klawoo_subscribe_form() {
165
  ?>
166
  <div class="wrap">
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.13
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-16 Icegram
34
 
35
  function __construct() {
36
 
37
+ $this->version = "1.10.13";
38
  $this->shortcode_instances = array();
39
  $this->mode = 'local';
40
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
51
 
52
  add_action( 'admin_menu', array( &$this, 'admin_menus') );
53
  add_action( 'admin_init', array( &$this, 'welcome' ) );
54
+ add_action( 'admin_init', array( &$this, 'dismiss_admin_notice' ) );
55
 
56
  add_action( 'admin_init', array( &$this, 'import_gallery_item' ) );
57
 
151
  public function add_admin_notices(){
152
  $screen = get_current_screen();
153
  if ( !in_array( $screen->id, array( 'ig_campaign', 'ig_message','edit-ig_message','edit-ig_campaign' ), true ) ) return;
154
+ $timezone_format = _x('Y-m-d', 'timezone date format');
155
+ $ig_current_date = strtotime(date_i18n($timezone_format));
156
+ $ig_offer_start = strtotime("2017-11-16");
157
+ $ig_offer_end = strtotime("2017-11-28");
158
+ if(($ig_current_date >= $ig_offer_start) && ($ig_current_date <= $ig_offer_end)) {
159
+ include_once('ig-offer.php');
160
+ }else{
161
+ include_once('ig-survey.php');
162
+
163
+ }
164
  }
165
  public function dismiss_admin_notice(){
166
+ if(isset($_GET['ig_dismiss_admin_notice']) && $_GET['ig_dismiss_admin_notice'] == '1' && isset($_GET['ig_option_name'])){
167
+ $option_name = sanitize_text_field($_GET['ig_option_name']);
168
+ update_option($option_name.'_icegram', true);
169
+ header("Location: https://www.icegram.com/?utm_source=in_app&utm_medium=ig_banner&utm_campaign=bfcm2017");
170
+ exit();
171
+ }
172
  }
173
+
174
  public function klawoo_subscribe_form() {
175
  ?>
176
  <div class="wrap">
ig-offer.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( get_option('ig_offer_bfcm_done_icegram') == 1 ) return;
3
+ ?>
4
+ <style type="text/css">
5
+ .ig_offer{
6
+ width: 95%;
7
+ height: auto;
8
+ margin: 1em auto;
9
+ text-align: center;
10
+ background-color: #000;
11
+ font-size: 1.2em;
12
+ font-family: sans-serif;
13
+ letter-spacing: 3px;
14
+ line-height: 1.2em;
15
+ padding: 2em;
16
+ }
17
+ .ig_offer_heading{
18
+ color: #64badd;
19
+ color: #64ddc1;
20
+ padding: 1em 0;
21
+ line-height: 1.2em;
22
+ }
23
+ .ig_main_heading {
24
+ font-size: 3em;
25
+ color: #FFFFFF;
26
+ font-weight: 600;
27
+ margin-bottom: 0.6em;
28
+ line-height: 1.2em;
29
+ position: relative;
30
+ }
31
+ .ig_main_heading:after{
32
+ content: '';
33
+ position: absolute;
34
+ width: 60%;
35
+ margin-left: 20%;
36
+ left: 0;
37
+ bottom: -0.6em;
38
+ border-bottom: 1px solid #64badd;
39
+ border-bottom: 1px solid #64ddc1;
40
+ }
41
+ .ig_text{
42
+ font-size: 0.9em;
43
+ display: -webkit-inline-box;
44
+ }
45
+ .ig_left_text{
46
+ padding: 0.6em 5.4em 0.6em;
47
+ color: #8a8a8a;
48
+ }
49
+ .ig_right_text{
50
+ color: #FFFFFF;
51
+ font-weight: 600;
52
+ border: 1px solid #64badd;
53
+ border: 1px solid #64ddc1;
54
+ border-top: 0;
55
+ max-width: 50%;
56
+ padding: 10px 56px;
57
+ width: auto;
58
+ margin: 0;
59
+ display: inline-block;
60
+ text-decoration: none;
61
+ }
62
+ .ig_right_text:hover, .ig_right_text:active{
63
+ color: inherit;
64
+ }
65
+ </style>
66
+ <div class="ig_offer">
67
+ <div style="float:right;"><img src="<?php echo $this->plugin_url ?>/assets/images/icegram-logo-16bit-gray-30.png"/></div>
68
+ <div class="ig_offer_heading">BLACK FRIDAY & CYBER MONDAY SALE</div>
69
+ <div class="ig_main_heading">BUY 2 OR MORE AT FLAT 20% OFF!</div>
70
+ <div class="ig_text">
71
+ <div class="ig_left_text">VALID TILL 28TH NOV 2017</div>
72
+ <a href="?ig_dismiss_admin_notice=1&ig_option_name=ig_offer_bfcm_done" target="_blank" class="ig_right_text">SHOP NOW</a>
73
+ </div>
74
+ </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.icegram.com/
4
  Tags: popup, 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: 4.8.3
7
- Stable tag: 1.10.12
8
  License: GPLv3
9
 
10
  The best WP popup plugin that let's you create a popup within seconds. Customize, target popups to show offers, email signups, social buttons etc and instantly increase conversions on your website.
@@ -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.12 =
221
  Compatibility with MailPoet 3
222
 
@@ -411,6 +414,9 @@ Initial Release
411
 
412
 
413
  == Changelog ==
 
 
 
414
  = 1.10.12 =
415
  * Fix: MailPoet 3 anti-spam field was visible with Form embed functionality
416
 
4
  Tags: popup, 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: 4.8.3
7
+ Stable tag: 1.10.13
8
  License: GPLv3
9
 
10
  The best WP popup plugin that let's you create a popup within seconds. Customize, target popups to show offers, email signups, social buttons etc and instantly increase conversions on your website.
217
  5. Target your Icegram message using these display rules
218
 
219
  == Upgrade Notice ==
220
+ = 1.10.13 =
221
+ Added Black Friday and Cyber Monday Gallery templates
222
+
223
  = 1.10.12 =
224
  Compatibility with MailPoet 3
225
 
414
 
415
 
416
  == Changelog ==
417
+ = 1.10.13 =
418
+ * New: Added Black Friday and Cyber Monday Gallery templates
419
+
420
  = 1.10.12 =
421
  * Fix: MailPoet 3 anti-spam field was visible with Form embed functionality
422