Changeset 603285
- Timestamp:
- 09/24/2012 08:52:06 PM (13 years ago)
- Location:
- recent-lastfm-tracks/trunk
- Files:
-
- 3 edited
-
js/fm.js (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
recent-last-fm-tracks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recent-lastfm-tracks/trunk/js/fm.js
r603277 r603285 7 7 var params=$('#tumblrScript').attr('src').split('?')[1].split('&'); 8 8 document.write("<div id = 'lastfmblock'></div>"); 9 this.user=params[0].split('=')[1];this.limit=params[1].split('=')[1]; 9 this.user=params[0].split('=')[1]; 10 this.limit=params[1].split('=')[1]; 11 this.url=params[2].split('=')[1]; 10 12 $("#lastfmblock").html("Loading tracks ..."); 11 13 12 14 $.ajax({ 13 15 type:"POST", 14 url: "wp-content/plugins/recent-lastfm-tracks/php/recentLastFmTracks.php",16 url:this.url+"/wp-content/plugins/recent-lastfm-tracks/php/recentLastFmTracks.php", 15 17 data:"user="+this.user+"&limit="+this.limit 16 18 }).success(function(msg){ -
recent-lastfm-tracks/trunk/readme.txt
r603277 r603285 5 5 Requires at least: 3.0 6 6 Tested up to: 3.4.2 7 Stable tag: 1.1. 37 Stable tag: 1.1.4 8 8 9 9 This simple widget includes your LastFm recent tracks into the sidebar. … … 25 25 == Frequently Asked Questions == 26 26 27 Your can ask your questions at : http://www. snnooze.com/recentLastFmTracks27 Your can ask your questions at : http://www.fabricelaffont.fr/2012/09/24/recent-lastfm-tracks-mise-a-jour/ 28 28 29 29 == Changelog == … … 48 48 *Update for wordpress 3.4.2 49 49 50 = 1.1.4 = 51 *Correct a problem for loading tracks on posts pages 52 50 53 == Screenshots == 51 54 -
recent-lastfm-tracks/trunk/recent-last-fm-tracks.php
r603277 r603285 5 5 Description: This simple widget includes lastFm recent Tracks into the sidebar. 6 6 Author: SnnOoZe 7 Version: 1.1. 37 Version: 1.1.4 8 8 Author URI: http://www.fabricelaffont.fr 9 9 */ … … 19 19 function recentLastFmTracks_action($username, $limit) 20 20 { 21 echo "<script type = 'text/javascript'id = 'tumblrScript' src = '".get_bloginfo('url')."/wp-content/plugins/recent-lastfm-tracks/js/fm.js?user=".$username."&limit=".$limit." '></script>";21 echo "<script type = 'text/javascript'id = 'tumblrScript' src = '".get_bloginfo('url')."/wp-content/plugins/recent-lastfm-tracks/js/fm.js?user=".$username."&limit=".$limit."&url=".get_bloginfo('url')."'></script>"; 22 22 } 23 23
Note: See TracChangeset
for help on using the changeset viewer.