Version Description
Remove warning in admin panel.
Download this release
Release Info
Developer | Icegram |
Plugin | Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram |
Version | 1.9.11.1 |
Comparing to | |
See all releases |
Code changes from version 1.9.11 to 1.9.11.1
classes/compat/class-icegram-compat-contact-form-7.php
CHANGED
@@ -80,11 +80,13 @@ jQuery(function() {
|
|
80 |
});
|
81 |
// Handle CTA function(s) after successful submission of form
|
82 |
jQuery( window ).on('wpcf7:mailsent', function(e) {
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
88 |
});
|
89 |
|
90 |
});
|
80 |
});
|
81 |
// Handle CTA function(s) after successful submission of form
|
82 |
jQuery( window ).on('wpcf7:mailsent', function(e) {
|
83 |
+
if( typeof icegram !== 'undefined'){
|
84 |
+
var msg_id = (jQuery(e.target.closest('[id^=icegram_message_]')).attr('id') || '').split('_').pop() || 0 ;
|
85 |
+
var ig_msg = icegram.get_message_by_id(msg_id) || undefined;
|
86 |
+
if(ig_msg && ig_msg.data.cta === 'form_via_ajax' && ig_msg.data.cta_option_form_via_ajax == 'hide_on_success'){
|
87 |
+
ig_msg.hide();
|
88 |
+
}
|
89 |
+
}
|
90 |
});
|
91 |
|
92 |
});
|
classes/compat/class-icegram-compat-gravityforms.php
CHANGED
@@ -35,7 +35,7 @@ if ( !class_exists( 'Icegram_Compat_gravityforms' ) ) {
|
|
35 |
jQuery(function() {
|
36 |
jQuery( window ).on( "init.icegram", function(e, ig) {
|
37 |
// Find and init all datepicker inside gravityForms
|
38 |
-
jQuery('body').on('focus', 'form[id^="gform_"] .datepicker', function(){
|
39 |
jQuery(this).datepicker();
|
40 |
});
|
41 |
}); // init.icegram
|
35 |
jQuery(function() {
|
36 |
jQuery( window ).on( "init.icegram", function(e, ig) {
|
37 |
// Find and init all datepicker inside gravityForms
|
38 |
+
jQuery('body').on('focus', '.ig_container form[id^="gform_"] .datepicker', function(){
|
39 |
jQuery(this).datepicker();
|
40 |
});
|
41 |
}); // init.icegram
|
icegram.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Icegram
|
4 |
* Plugin URI: http://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.9.11
|
7 |
* Author: icegram
|
8 |
* Author URI: http://www.icegram.com/
|
9 |
*
|
@@ -35,7 +35,7 @@ class Icegram {
|
|
35 |
|
36 |
function __construct() {
|
37 |
|
38 |
-
$this->version = "1.9.11";
|
39 |
$this->shortcode_instances = array();
|
40 |
$this->mode = 'local';
|
41 |
$this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
|
@@ -132,6 +132,8 @@ class Icegram {
|
|
132 |
}
|
133 |
}
|
134 |
public function add_admin_notices(){
|
|
|
|
|
135 |
$active_plugins = get_option( 'active_plugins', array() );
|
136 |
?>
|
137 |
<style type="text/css">
|
@@ -176,7 +178,7 @@ class Icegram {
|
|
176 |
$no_offer_text = __('No, I don\'t like offers...','icegram');
|
177 |
$option_name = 'dismiss_admin_notice_from_icegram';
|
178 |
}
|
179 |
-
|
180 |
$offer_content = apply_filters('ig_in_app_offers',$offer_content);
|
181 |
if(!get_option($offer_content['option_name']) && in_array('ig-analytics/ig-analytics.php', $active_plugins)){
|
182 |
$admin_notice_text = $offer_content['admin_notice_text'];
|
3 |
* Plugin Name: Icegram
|
4 |
* Plugin URI: http://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.9.11.1
|
7 |
* Author: icegram
|
8 |
* Author URI: http://www.icegram.com/
|
9 |
*
|
35 |
|
36 |
function __construct() {
|
37 |
|
38 |
+
$this->version = "1.9.11.1";
|
39 |
$this->shortcode_instances = array();
|
40 |
$this->mode = 'local';
|
41 |
$this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
|
132 |
}
|
133 |
}
|
134 |
public function add_admin_notices(){
|
135 |
+
$screen = get_current_screen();
|
136 |
+
if ( !in_array( $screen->id, array( 'ig_campaign', 'ig_message','edit-ig_message','edit-ig_campaign' ), true ) ) return;
|
137 |
$active_plugins = get_option( 'active_plugins', array() );
|
138 |
?>
|
139 |
<style type="text/css">
|
178 |
$no_offer_text = __('No, I don\'t like offers...','icegram');
|
179 |
$option_name = 'dismiss_admin_notice_from_icegram';
|
180 |
}
|
181 |
+
$offer_content = array();
|
182 |
$offer_content = apply_filters('ig_in_app_offers',$offer_content);
|
183 |
if(!get_option($offer_content['option_name']) && in_array('ig-analytics/ig-analytics.php', $active_plugins)){
|
184 |
$admin_notice_text = $offer_content['admin_notice_text'];
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.icegram.com/
|
|
4 |
Tags: popup, window, hellobar, optin, lead capture, marketing, form, 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, constant contact, toast notifications, leads, lists, builder, action bar, floating bar, footer bar, hellobar alternative, pop over, Popup plugin, aweber, campaign monitor, constant contact, email list, exit-intent, getresponse, analytics, Hubspot, icontact, infusionsoft, newsletter, Mailing list pop-up, retargeting, Animation,Popups with Animation ,Responsive Popup, split testing, AB testing
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.3.1
|
7 |
-
Stable tag: 1.9.11
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -153,6 +153,9 @@ Contact Us, provide as much detail of the problem as you can. We will try to sol
|
|
153 |
3. Editing an Icegram campaign - add multiple messages, edit them, targeting rules, full HTML editor, themes and more
|
154 |
|
155 |
== Upgrade Notice ==
|
|
|
|
|
|
|
156 |
= 1.9.11 =
|
157 |
Compatibility with Gravity Forms.
|
158 |
|
@@ -260,6 +263,10 @@ Initial Release
|
|
260 |
|
261 |
|
262 |
== Changelog ==
|
|
|
|
|
|
|
|
|
263 |
= 1.9.11 =
|
264 |
* Fix: Conditional login of Gravity forms was not working
|
265 |
|
4 |
Tags: popup, window, hellobar, optin, lead capture, marketing, form, 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, constant contact, toast notifications, leads, lists, builder, action bar, floating bar, footer bar, hellobar alternative, pop over, Popup plugin, aweber, campaign monitor, constant contact, email list, exit-intent, getresponse, analytics, Hubspot, icontact, infusionsoft, newsletter, Mailing list pop-up, retargeting, Animation,Popups with Animation ,Responsive Popup, split testing, AB testing
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.3.1
|
7 |
+
Stable tag: 1.9.11.1
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
153 |
3. Editing an Icegram campaign - add multiple messages, edit them, targeting rules, full HTML editor, themes and more
|
154 |
|
155 |
== Upgrade Notice ==
|
156 |
+
= 1.9.11.1 =
|
157 |
+
Remove warning in admin panel.
|
158 |
+
|
159 |
= 1.9.11 =
|
160 |
Compatibility with Gravity Forms.
|
161 |
|
263 |
|
264 |
|
265 |
== Changelog ==
|
266 |
+
= 1.9.11.1 =
|
267 |
+
* Fix: Warning for "Illegal string offset 'option_name'"
|
268 |
+
* Fix: 'ReferenceError: icegram is not defined' on page with CF7 and no Icegram
|
269 |
+
|
270 |
= 1.9.11 =
|
271 |
* Fix: Conditional login of Gravity forms was not working
|
272 |
|