Plugin Directory

Changeset 1121350


Ignore:
Timestamp:
03/26/2015 12:38:27 PM (11 years ago)
Author:
niravmehta
Message:

Changes for 1.8.8

Location:
icegram/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • icegram/trunk/assets/css/admin.css

    r1092381 r1121350  
    699699    vertical-align: middle;
    700700}
     701/* chosen fix*/
     702
     703.message-setting-fields .chosen-container-single .chosen-single
     704{
     705    z-index:initial!important;
     706}
     707.message-setting-fields .chosen-container-single.chosen-single div b {
     708    background: url(../images/chosen-sprite.png)no-repeat 0 2px!important;
     709}
  • icegram/trunk/assets/js/icegram.js

    r1113915 r1121350  
    184184        this.type = data.type;
    185185        this.data.delay_time = parseInt(this.data.delay_time);
     186        //add http:// to link
     187        if (typeof(this.data.link) === 'string' && this.data.link != '') {
     188            if (!/^https?:\/\//i.test(this.data.link)) {
     189                this.data.link = "http://" + this.data.link;
     190            }
     191        }
    186192        this.set_template( this.get_template_default() );
    187193        this.init();
  • icegram/trunk/icegram.php

    r1113915 r1121350  
    44 * Plugin URI: http://www.icegram.com/
    55 * 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.8.7
     6 * Version: 1.8.8
    77 * Author: icegram
    88 * Author URI: http://www.icegram.com/
     
    3535    function __construct() {
    3636
    37         $this->version = "1.8.7";
     37        $this->version = "1.8.8";
    3838        $this->shortcode_instances = array();
    3939        $this->mode = 'local';
     
    583583            */
    584584            // Redo the_content functionality to avoid other plugins adding extraneous code to messages
    585             $content = $message_data['message'];
    586                
    587             $content = convert_chars( convert_smilies( wptexturize( $content ) ) );
    588             if(isset($GLOBALS['wp_embed'])) {
    589                 $content = $GLOBALS['wp_embed']->autoembed($content);
    590             }
    591             $content = $this->after_wpautop( wpautop( $this->before_wpautop( $content ) ) );
    592             $content = do_shortcode( shortcode_unautop( $content ) );
    593             $messages[$key]['message'] = $content;
    594            
     585            $this->process_message_body($messages[$key]);
    595586        }
    596587
     
    664655        }
    665656
     657    }
     658   
     659    // Process
     660    function process_message_body(&$message_data){
     661        $content = $message_data['message'];
     662        $content = convert_chars( convert_smilies( wptexturize( $content ) ) );
     663        if(isset($GLOBALS['wp_embed'])) {
     664            $content = $GLOBALS['wp_embed']->autoembed($content);
     665        }
     666        $content = $this->after_wpautop( wpautop( $this->before_wpautop( $content ) ) );
     667        $content = do_shortcode( shortcode_unautop( $content ) );
     668        $message_data['message'] = $content;
     669        //do_shortcode in headline
     670        $message_data['headline'] = do_shortcode( shortcode_unautop( $message_data['headline'] ) );
    666671    }
    667672
  • icegram/trunk/message-types/popup/default.css

    r1113915 r1121350  
    3737
    3838.ig_popup .ig_data {
    39     overflow: hidden;
     39    /*overflow: hidden;*/
    4040    position: relative;
    4141}
  • icegram/trunk/message-types/popup/main.js

    r1113915 r1121350  
    3636            type: 'inline'
    3737            },
    38             showCloseBtn :false
     38            showCloseBtn :false,
     39            callbacks: {
     40                close: function() {
     41                  // Will fire when popup is closed
     42                    silent !== true && self.track( 'closed' );
     43                }
     44            }
    3945        });
    40         // jQuery('.mfp-content').removeClass().addClass('mfp-content ig_popup ' + self.data.theme);
     46       
    4147        silent !== true && this.track( 'shown' );
    4248    };
     
    5561            type: 'inline'
    5662        }});
    57         silent !== true && this.track( 'closed' );
    5863    };
     64
     65
    5966   
  • icegram/trunk/message-types/popup/main.php

    r1113915 r1121350  
    1313        $this->popup_default_delay_time = 3;
    1414        add_filter( 'icegram_data', array( $this, 'arrange_proper_delay_time' ) , 11);
    15         add_filter( 'icegram_message_type_params_popup', array( $this, 'set_admin_style' ) );      
     15        add_filter( 'icegram_message_type_params_popup', array( $this, 'set_admin_style' ) );   
    1616    }
    1717
  • icegram/trunk/readme.txt

    r1113915 r1121350  
    55Requires at least: 3.9
    66Tested up to: 4.1.1
    7 Stable tag: 1.8.7
     7Stable tag: 1.8.8
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    154154
    155155== Upgrade Notice ==
     156= 1.8.8 =
     157Improved short code handling, WishList member compatibility and other fixes.
     158
    156159= 1.8.7 =
    157160Popups now support custom background and text colors. And a handful of fixes!
     
    210213
    211214== Changelog ==
     215= 1.8.8 =
     216* New: Headlines now support shortcodes!
     217* Update: A message shown on click of another (using CTA actions addon), can now contain shortcodes
     218* Fix: Compatibility with Wishlist Member plugin
     219* Fix: Popup close event not triggered when clicking outside the popup - on its overlay
     220* Update: Automatically adds http:// in CTA links if missing
     221
    212222= 1.8.7 =
    213223* New: Can now define custom background and text colors for Popups
Note: See TracChangeset for help on using the changeset viewer.