Plugin Directory

Changeset 603285


Ignore:
Timestamp:
09/24/2012 08:52:06 PM (13 years ago)
Author:
snnooze
Message:
 
Location:
recent-lastfm-tracks/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • recent-lastfm-tracks/trunk/js/fm.js

    r603277 r603285  
    77        var params=$('#tumblrScript').attr('src').split('?')[1].split('&');
    88        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];
    1012        $("#lastfmblock").html("Loading tracks ...");
    1113
    1214        $.ajax({
    1315            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",
    1517            data:"user="+this.user+"&limit="+this.limit
    1618            }).success(function(msg){
  • recent-lastfm-tracks/trunk/readme.txt

    r603277 r603285  
    55Requires at least: 3.0
    66Tested up to: 3.4.2
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88
    99This simple widget includes your LastFm recent tracks into the sidebar.
     
    2525== Frequently Asked Questions ==
    2626
    27 Your can ask your questions at : http://www.snnooze.com/recentLastFmTracks
     27Your can ask your questions at : http://www.fabricelaffont.fr/2012/09/24/recent-lastfm-tracks-mise-a-jour/
    2828
    2929== Changelog ==
     
    4848*Update for wordpress 3.4.2
    4949
     50= 1.1.4 =
     51*Correct a problem for loading tracks on posts pages
     52
    5053== Screenshots ==
    5154
  • recent-lastfm-tracks/trunk/recent-last-fm-tracks.php

    r603277 r603285  
    55Description: This simple widget includes lastFm recent Tracks into the sidebar.
    66Author: SnnOoZe
    7 Version: 1.1.3
     7Version: 1.1.4
    88Author URI: http://www.fabricelaffont.fr
    99*/
     
    1919function recentLastFmTracks_action($username, $limit)
    2020{
    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>";
    2222}
    2323
Note: See TracChangeset for help on using the changeset viewer.