Last.fm RPS WordPress Plugin
Sunday, December 10, 2017
I’ve completely rewritten the plugin after 8 years, because the code was targeting PHP4 platforms and now it should work with all PHP5+ versions.
Still does the same thing: Its a widget plugin which collects data from Audioscrobbler web services and gets your last listened tracks and their album images.
Download : You can get the latest release here : http://wordpress.org/extend/plugins/lastfm-rps/
Then just activate the plugin, go to Design-Widgets, add the widget where you want, write the username and widget title in the settings and save. That’s all.
Current Version : 2.0.0
Related Posts

jQuery Scrolite Plugin

Refresh wp_editor instance after cloning

PHP Animated Gif Resizer
About The Author
Taha Paksu
hello
200 Comments
Please permit me to ask a related question: I’m looking for a WordPress plugin that will run once a day and automatically create a blog entry listing the songs I’ve listened to in the last 24 hours. Do you know of such a plugin? Thanks!
Many thanks, nice Plugin. 🙂
@fog: Thank you for using it.
I really like this plugin! Thank you.
@Sammy: You are using the same theme with me. so in your third.php try to add it by code if you can.
Hi Taha. Nope it doesn’t work in other themes either. Basically what I’ve done is – downloaded the program, uploaded it, activated, put it in my widgets, edited the source and then in the widget box it’s come up with the above error.
In the actual web
@Sammy: Please try to change your theme. If it works with other themes, then it’s a problem with it. Not the plugin itself.
Oh – and not meaning to sound rude, thanks for the plugin and all the further support you are offering 🙂
When I install the plugin, add it to my widget list and then enter my username I get this error in the widget box: “%BEG_OF_TITLE%Last.fm RPS%END_OF_TITLE%” and nothing displays on the homepage.
I have tried deactivating and reinstalling. Doesn’t work.
@BangDon: I’ll look at that.
Hi there! I have problem “This username does not exist, or the feed service is down”. in new version. but old version it’s OK!
Keep up the good work! 10q
Teşekkürler,güncelledikten sonra oldu.
These are good suggestions. Maybe in 2.0 or 3.0 then 😀
Yep, it’s solved now 🙂 – works very nice. Now, that I can use the plugin, I already have some ideas for new features, if you don’t mind 😉
These are my suggestions:
– option to disable the stylesheet at all. That way I could have the styles in my l
Well. The problem is solved I think. You can use the 1.0.1 version.
It’s me again! Maybe you could compare your way of retrieving the data from last.fm with the code of “last.fm Records” at http://dirkie.nu/projects/lastfmrecords/ – that plugin works with exactly the same last.fm-name. Oh, and by the way: My last.fm name
Wow, that was a fast response! Well, unfortunately the problem is still there, after I updated to the new version (1.0.0)…
Here’s the phpinfo for my webspace at Greatnet.de – maybe it helps: http://web0.server87.greatnet.de/info.php
@Kerem: 1.0.0 versiyonunu dene. Yeni yükledim.
— New version has been released. the v0.9 was buggy.
Selam,eklentiyi güncelledikten sonra bu hatayı veriyor…
Eklenti etkinleştirilemedi, çünkü önlenemeyen bir hataya sebep oldu.
Parse error: syntax error, unexpected T_RETURN in public_html/wp-content/plugins/lastfm-rps/simplexml.class.php o
please tell me if it displays the error again.
@beetFreeQ: ok. I’m checking it now.
Hi there! I have exactly the same problem – “This username does not exist, or the feed service is down”. Would love to see a new version of the plugin that works on my blog like the other last.fm-plugins do – because your widget looks the best!
@Kyotoweb: I don’t know what causes this error. Maybe it’s the same error with hosts which don’t support file_get_contents. In next release I will add a different get function. Tomorrow maybe.
@jocuri: Thanks for using it.
The “This username does not exist, or the feed service is down.” happens on host running PHP5. Is that possible to get it work with it ?
that should be working.. but if it works like that you can do whatever you want 🙂
Well, I finally managed to by editing the plug-in himself 😉 Putting all the settings to false was still showing my name & status ( User ) so I deleted it from the root 😉
Thanks again for your plugin !
Hi 🙂
First, I would like to thank you for such a great plug-in 😉 It’s user-friendly and it works nice.
I just wanted to know if it’s possible to remove the “profile” part of your plugin ? ’cause I just want to show the last played song, and not neces
Well thank you for your feedback. But how can a web server don’t support file_get_contents 🙂 some hosts don’t support cURL and some dont support file_get_contents. I think i should add support of both systems. Thanks.
@M: for the badge there is a value like %57. try to change it as it seems fit in your sidebar.
I love this plugin but for some reason it is not formatting right at all in my sidebar! I’m still very new to WP so I’m clueless as to how it can be repaired. Any help would be great. Thanks!
@Emz: Yes i don’t know why it could be acting like this 🙂 Maybe your server doesn’t support XML reading?
Whenever I add the widget, after putting in my username as-is, the result on my blog is:
This username does not exist, or the feed service is down..
Another last.fm plugin is working fine (therefore reading the feed), and I’ve been trying t
The latest release is available for downloading! Go get it 🙂
@Topuz: I’ll add them to my todo list. Thanks for the suggestions 😉
@Jess: The fix will be in next release. Thank you for showing me the point 🙂
This is a great plugin, very well done! I just have one complaint…a plugin title or song/artist title that has an apostrophe shows up like this:
Ex. What I’/m Listening To
Old 97’/s
This also causes the album art to not show up if the song title
Hi, I really like this widget, it gives away the feeling of communication.
I have some questions & suggestions tough.
1) It would be nice if the widget would download artist images when there is no album cover availible. That would be very usefu
@Mike: Do you mean caching? The plugin gets the updated feed everytime it loads
is there a way to have the feed refresh like every 3 minutes?
@Elizabeth: Ok. This happens when your feed is empty or includes only one song played. I’m going to fix it right now. When it’s finished, you can update your plugin from wordpress directory. Thanks.
Hi!
I made the change as you suggested, but it did not help 🙁
@Elizabeth: What’s your web page address? And if you can edit lastfm.php, please try to change :
if(!is_object($feed)) on line 61
to
if((!is_object($feed))&(is_array($feed->track)))
Hi!
I really like this plugin! I installed it yesterday and it worked fine. Today, I looked at my page and where the plugin should be I got this message:
“Warning: Invalid argument supplied for foreach() in /home/patra344/public_html/winb/wp-content/p