Changeset 1121350
- Timestamp:
- 03/26/2015 12:38:27 PM (11 years ago)
- Location:
- icegram/trunk
- Files:
-
- 7 edited
-
assets/css/admin.css (modified) (1 diff)
-
assets/js/icegram.js (modified) (1 diff)
-
icegram.php (modified) (4 diffs)
-
message-types/popup/default.css (modified) (1 diff)
-
message-types/popup/main.js (modified) (2 diffs)
-
message-types/popup/main.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
icegram/trunk/assets/css/admin.css
r1092381 r1121350 699 699 vertical-align: middle; 700 700 } 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 184 184 this.type = data.type; 185 185 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 } 186 192 this.set_template( this.get_template_default() ); 187 193 this.init(); -
icegram/trunk/icegram.php
r1113915 r1121350 4 4 * Plugin URI: http://www.icegram.com/ 5 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.8. 76 * Version: 1.8.8 7 7 * Author: icegram 8 8 * Author URI: http://www.icegram.com/ … … 35 35 function __construct() { 36 36 37 $this->version = "1.8. 7";37 $this->version = "1.8.8"; 38 38 $this->shortcode_instances = array(); 39 39 $this->mode = 'local'; … … 583 583 */ 584 584 // 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]); 595 586 } 596 587 … … 664 655 } 665 656 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'] ) ); 666 671 } 667 672 -
icegram/trunk/message-types/popup/default.css
r1113915 r1121350 37 37 38 38 .ig_popup .ig_data { 39 overflow: hidden;39 /*overflow: hidden;*/ 40 40 position: relative; 41 41 } -
icegram/trunk/message-types/popup/main.js
r1113915 r1121350 36 36 type: 'inline' 37 37 }, 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 } 39 45 }); 40 // jQuery('.mfp-content').removeClass().addClass('mfp-content ig_popup ' + self.data.theme);46 41 47 silent !== true && this.track( 'shown' ); 42 48 }; … … 55 61 type: 'inline' 56 62 }}); 57 silent !== true && this.track( 'closed' );58 63 }; 64 65 59 66 -
icegram/trunk/message-types/popup/main.php
r1113915 r1121350 13 13 $this->popup_default_delay_time = 3; 14 14 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' ) ); 16 16 } 17 17 -
icegram/trunk/readme.txt
r1113915 r1121350 5 5 Requires at least: 3.9 6 6 Tested up to: 4.1.1 7 Stable tag: 1.8. 77 Stable tag: 1.8.8 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 154 154 155 155 == Upgrade Notice == 156 = 1.8.8 = 157 Improved short code handling, WishList member compatibility and other fixes. 158 156 159 = 1.8.7 = 157 160 Popups now support custom background and text colors. And a handful of fixes! … … 210 213 211 214 == 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 212 222 = 1.8.7 = 213 223 * New: Can now define custom background and text colors for Popups
Note: See TracChangeset
for help on using the changeset viewer.