SoundCloud Is Gold - Version 2.2.2

Version Description

= 2.2.1 = * Security Update. Thanks to Samuel Wood for his help and time.

= 2.2 = Widget Update! Display latest and random track, favorites or sets for one user, multiple users or random users. Perfect for labels, collectives, festivals and schizophrenic artists.

= 2.1 = New widget to display a user's latest track. New "user" argument for the shortcode to display user's latest track.

= 2.0 = When updating to 2.0, if you're experiencing issues, deactivate and reactivate the plugin from the plugin page. This is due to switching to the Settings API. Sorry for the inconvenient.

Download this release

Release Info

Developer realTM
Plugin Icon wp plugin SoundCloud Is Gold
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

readme.txt CHANGED
@@ -3,16 +3,16 @@ Contributors: Thomas Michalak
3
  Donate link: http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin
4
  Tags: soundcloud, integrated, media, shortcode, browse, design, easy, simple, music, sound, js, live preview, flash, html5
5
  Requires at least: 3.2
6
- Tested up to: 3.5.1
7
- Stable tag: 2.2.1
8
 
9
  Browse through your soundcloud tracks, sets and favourites. Select and add tracks, sets or favourites to your posts. Live preview, easy.
10
 
11
  == Description ==
12
 
13
- **Now with soundcloud's official html5 player!**
14
 
15
- ** Compatible with new WP 3.5 **
16
 
17
  **New Widget to display latest and random track, favorites or sets for one user, multiple users or random users.**
18
 
@@ -61,10 +61,10 @@ That's just my opinion of course...
61
 
62
  = To Do List =
63
 
64
- * v2.2: new UI.
65
- * V2.2: Advance Settings (change background color and comments color, playcounts, buy link, font, wmode, etc, show/hide styled shortcode, number of tracks per page)
66
- * v2.2: url attribute for shortcode: easier for people using the shortcode manually.
67
- * v2.2: other soundcloud shortcode conflict fix (jetpack)
68
  * Add Soundcloud default Width to the options
69
  * Trigger live preview when changing Soundcloud user name
70
  * Live search while typing a name in the user name field. So if you're looking for someone it's kind of easier.
@@ -155,6 +155,11 @@ When updating to 2.0, if you're experiencing issues, deactivate and reactivate t
155
 
156
  == Changelog ==
157
 
 
 
 
 
 
158
  = 2.2.1 =
159
  * Security Update. Thanks to Samuel Wood for his help and time.
160
 
3
  Donate link: http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin
4
  Tags: soundcloud, integrated, media, shortcode, browse, design, easy, simple, music, sound, js, live preview, flash, html5
5
  Requires at least: 3.2
6
+ Tested up to: 3.9
7
+ Stable tag: 2.2.2
8
 
9
  Browse through your soundcloud tracks, sets and favourites. Select and add tracks, sets or favourites to your posts. Live preview, easy.
10
 
11
  == Description ==
12
 
13
+ ** Compatible with new WP 3.9 **
14
 
15
+ **Now with soundcloud's official html5 player!**
16
 
17
  **New Widget to display latest and random track, favorites or sets for one user, multiple users or random users.**
18
 
61
 
62
  = To Do List =
63
 
64
+ * v3: So much to do I can't list it.
65
+ * V3: Advance Settings (change background color and comments color, playcounts, buy link, font, wmode, etc, show/hide styled shortcode, number of tracks per page)
66
+ * v3: url attribute for shortcode: easier for people using the shortcode manually.
67
+ * v3: other soundcloud shortcode conflict fix (jetpack)
68
  * Add Soundcloud default Width to the options
69
  * Trigger live preview when changing Soundcloud user name
70
  * Live search while typing a name in the user name field. So if you're looking for someone it's kind of easier.
155
 
156
  == Changelog ==
157
 
158
+ = 2.2.1 =
159
+ * Fix bug with tinymce plugin that prevented user from using editot
160
+ * Fixing bug mean that the delete and edit button on the soundcloud-is-gold image in the editor have been removed
161
+ * Fixed the insert-shortcode button, now close the modal window once shortcode inserted
162
+
163
  = 2.2.1 =
164
  * Security Update. Thanks to Samuel Wood for his help and time.
165
 
soundcloud-is-gold-js.js CHANGED
@@ -1,5 +1,5 @@
1
  jQuery(document).ready(function($){
2
-
3
  /**INIT **/
4
  $(".soundcloudMMLoading").css('display', 'none');
5
 
@@ -26,7 +26,7 @@ jQuery(document).ready(function($){
26
  $(this).parent().fadeOut();
27
  }).parent().css("display", "none");
28
 
29
- carousel()
30
  $("#soundcloudMMUsermameTab").slideUp('fast');
31
 
32
  function carousel(){
@@ -68,7 +68,7 @@ jQuery(document).ready(function($){
68
  /** Remove User From Options (Tab only) **/
69
  function removeUserFromOptions(usernameToRemove, reload){
70
  if($("#soundcloudMMUsermameTab").length){
71
- console.log(usernameToRemove);
72
  //Set request
73
  var myData = {
74
  action: 'soundcloud_is_gold_delete_user',
@@ -238,7 +238,7 @@ jQuery(document).ready(function($){
238
  //Insert Content where the cursor is in the editor (no refresh)
239
  //parent.tinyMCE.activeEditor.execCommand('mceInsertContent', false, sh);
240
  //Close window
241
- parent.jQuery("#TB_closeWindowButton").click();
242
  }
243
 
244
  /********************************************/
1
  jQuery(document).ready(function($){
2
+
3
  /**INIT **/
4
  $(".soundcloudMMLoading").css('display', 'none');
5
 
26
  $(this).parent().fadeOut();
27
  }).parent().css("display", "none");
28
 
29
+ carousel();
30
  $("#soundcloudMMUsermameTab").slideUp('fast');
31
 
32
  function carousel(){
68
  /** Remove User From Options (Tab only) **/
69
  function removeUserFromOptions(usernameToRemove, reload){
70
  if($("#soundcloudMMUsermameTab").length){
71
+ //console.log(usernameToRemove);
72
  //Set request
73
  var myData = {
74
  action: 'soundcloud_is_gold_delete_user',
238
  //Insert Content where the cursor is in the editor (no refresh)
239
  //parent.tinyMCE.activeEditor.execCommand('mceInsertContent', false, sh);
240
  //Close window
241
+ parent.jQuery(".media-modal-close").click();
242
  }
243
 
244
  /********************************************/
soundcloud-is-gold.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Soundcloud is Gold
4
  Plugin URI: http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin
5
  Description: <strong><a href="http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin">Soundcloud is gold</a></strong> integrates perfectly into wordpress. Browse through your soundcloud tracks, sets and favorites from the 'soundcloud is gold' tab with the post's 'upload media' popup window. Select, set and add track, sets or favorites to your post using the soundcloud player. Live Preview, easy, smart and straightforward. You can set default settings in the option page, choose your defaut soundcloud player (Mini, Standard, Artwork, html5), its width, extra classes for you CSS lovers and your favorite colors. You'll still be able to set players to different settings before adding to your post if you fancy a one off change. Now with Html5 player and Widget!
6
- Version: 2.2.1
7
  Author: Thomas Michalak
8
  Author URI: http://www.mightymess.com/thomas-michalak
9
  License: GPL2 or Later
@@ -76,7 +76,7 @@ function soundcloud_is_gold_settings_link($links, $file) {
76
  }
77
  add_filter("plugin_action_links", 'soundcloud_is_gold_settings_link', 10, 2 );
78
 
79
- /*** Add tint Mce Soundcloud is Gold Plugin ***/
80
  add_filter("mce_external_plugins", 'soundcloud_is_gold_mce_plugin');
81
  //add_filter( 'mce_buttons', 'soundcloud_is_gold_mce_button' );
82
  add_filter('mce_css', 'soundcloud_is_gold_mce_css');
3
  Plugin Name: Soundcloud is Gold
4
  Plugin URI: http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin
5
  Description: <strong><a href="http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin">Soundcloud is gold</a></strong> integrates perfectly into wordpress. Browse through your soundcloud tracks, sets and favorites from the 'soundcloud is gold' tab with the post's 'upload media' popup window. Select, set and add track, sets or favorites to your post using the soundcloud player. Live Preview, easy, smart and straightforward. You can set default settings in the option page, choose your defaut soundcloud player (Mini, Standard, Artwork, html5), its width, extra classes for you CSS lovers and your favorite colors. You'll still be able to set players to different settings before adding to your post if you fancy a one off change. Now with Html5 player and Widget!
6
+ Version: 2.2.2
7
  Author: Thomas Michalak
8
  Author URI: http://www.mightymess.com/thomas-michalak
9
  License: GPL2 or Later
76
  }
77
  add_filter("plugin_action_links", 'soundcloud_is_gold_settings_link', 10, 2 );
78
 
79
+ /*** Add tinyMce Soundcloud is Gold Plugin ***/
80
  add_filter("mce_external_plugins", 'soundcloud_is_gold_mce_plugin');
81
  //add_filter( 'mce_buttons', 'soundcloud_is_gold_mce_button' );
82
  add_filter('mce_css', 'soundcloud_is_gold_mce_css');
tinymce-plugin/soundcloud-is-gold-editor_plugin.js CHANGED
@@ -103,7 +103,7 @@
103
 
104
 
105
  _createButtons : function() {
106
- var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, soundcloudIGold_editButton, soundcloudIGold_dellButton;
107
 
108
  DOM.remove('soundcloudisgoldbtns');
109
 
@@ -127,8 +127,8 @@
127
  ed.execCommand("soundcloud_Is_Gold");
128
  });
129
 
130
- //Create Delite Button: Keep wp_editgallery as id to herite style for gallery edit button
131
- soundcloudIGold_dellButton = DOM.add('soundcloudisgoldbtns', 'img', {
132
  src : '../wp-content/plugins/soundcloud-is-gold/tinymce-plugin/img/delete.png',
133
  id : 'wp_delgallery',
134
  width : '24',
@@ -145,7 +145,7 @@
145
  ed.execCommand('mceRepaint');
146
  return false;
147
  }
148
- });
149
  },
150
 
151
  getInfo : function() {
103
 
104
 
105
  _createButtons : function() {
106
+ /*var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, soundcloudIGold_editButton, soundcloudIGold_dellButton;
107
 
108
  DOM.remove('soundcloudisgoldbtns');
109
 
127
  ed.execCommand("soundcloud_Is_Gold");
128
  });
129
 
130
+ //Create Delete Button: Keep wp_editgallery as id to herite style for gallery edit button
131
+ /*soundcloudIGold_dellButton = DOM.add('soundcloudisgoldbtns', 'img', {
132
  src : '../wp-content/plugins/soundcloud-is-gold/tinymce-plugin/img/delete.png',
133
  id : 'wp_delgallery',
134
  width : '24',
145
  ed.execCommand('mceRepaint');
146
  return false;
147
  }
148
+ });*/
149
  },
150
 
151
  getInfo : function() {