Jump to content

A Last.fm Music Player In Your Profile


Recommended Posts

Hey hey gang. :)

 

Well aside from working to complete this skin I've been fiddling with an idea to get a last.fm player to work in everyones profiles. (Last.fm) Personally I think music is a major element when it comes to a community and think it would be cool to not only get to know eachother on the base of discussion but to also have a little listen on eachothers musical tastes. That said allow me to present to you an example of what would be added to your personal profile page. Most likely at the top right.

 

 

This my playlist at Last.fm embeded below:

 

 

 

Basically the way it would work is you would need to register at Last.fm and then using their system you would add tracks you like as favorites. Once you have 15 or more fave tracks the site will offer you a code to embed a player just like the one above for free to embed anywhere you want. Now in that embed code they supply would be some key info such as your username and user ID # that the site generates for you. In the meantime I will have embeded a generic player into everyones profile with the missing key info that members could be prompted to enter into their own profiles in order to play their, or someone elses, playlist from last.fm. Whew! Make sense? haha.

 

At the moment I'm kinda on my own with this mod. I haven't been able to find an already made modification of this sort which means there may be a lot of hoops for me to jump through before being able to finalize the idea.

 

At this point I have the easy parts figured out and I'm wondering if there would be enough interest in this. Or would I simply be wasting my time?

 

 

Cheers gang!

 

Let me know what you think. :whistle:

 

----------------------------------------------------------------------------------

Merged Post

----------------------------------------------------------------------------------

Love it want it can I have it? :D

 

 

What Fun!! Oh Yes please!!!! :yay:

 

 

Yeah I think it's a cool idea too. :)

 

 

Oh yeah same as Katran can I have it now please :D

 

 

Yes actually... You can! Haha. I made a tricky lil hack to get it to work, hehe. Not the best and I do intend to tidy it up but it's implemented! :P Check out my profile and you'll see it. Playable in all its glory. :D

 

Now everyone has the player in their profile but nothing will play unless the person has added the needed info. So here's the deal...

 

 

You need an account at Last.fm which I think is a totally awesome site btw. Once registered you need to collect some music for yourselves. So go run through the site and look for songs to add to your playlist! Once you've added 15 or more songs to your playlist a new player will appear in your last.fm profile. Now finding that page that will show your playlist player has been a hassle for me to find so I'll tell you the easy way to get to it. When you are logged in to last.fm you will see your name at the very top right of the screen. Click on your name and you will be taken to the page that shows your Playlist player. Under the words "My Playlist" a few lines under you will see "Embed" with a drop down arrow. Select Embed all. You will be taken to a new page with the details on the embed. Click the "Show me the code" button.

Now you see "Here's your code to copy and paste:". The only thing you want from this code is your "resourceID". There's a lot of stuff in that code so here's what I suggest:

 

Click once inside the code to highlight the text

Push ctrl-F on keyboard to do a word search

Type inside the word search resourceID=

You should now see resourceID= inside the box containing the code

Copy the number and only the number directly after resourceID=

Now you have your User ID # which you will need to enter here in the forum

 

Here at FDM do the following:

Click My Controls at the top of page

Click Edit Profile Information (left side menu of links)

At the very bottom of the page there are 2 new fields you can enter info into

Last.fm Username - Enter the name you log into Last.fm with

Last.fm ID# - Enter the ID # you just copied from the embed code

 

And Voila! Go to your profile and check out your Last.fm Playlist Player. :D

 

 

 

I'll be looking at options to let members choose between a My Playlist player or a My Radio player.

 

 

Let me know if you folks need help and enjoy! :D

 

P.s.

Here's a pic of me pretending to add a track to my playlist :D

lastfm.jpg

Link to comment
  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

I'm such a happy bunny now Schot sat here a tapping mi feets and jiggling around!...I'll put the rest on my hdd this week and add em for you hehe

 

:D Did I tell you how awesome you are today :P

 

OPh one thing though and it's probably really obvious :whistle: but I have the forum open twice LOL how can I keep it playing whilst browsing the forum or do I needs the 2 forums open? one for browsing one for listening?

Link to comment

Ah hehe. I do try. :D

 

You'll have to have two tabs open for the moh but there is a "open player in new pop-up" option that I could add to the player like they do on Last.fm but that means you'll have another window open anyway. :whistle:

Link to comment

Your welcome Toret. :D

 

By the way to anyone that was having a hard time finding the place to add your info here on the forum I just realized with the help of Toret that the fields were only visible to FDM staff, hehe. oops! That should be fixed now... :whistle:

Link to comment

Thanx! :)

 

Oh and make that previous "Oops" a double oops, lol. Ok... NOOOOW you should be able to see both fields when you go to add your Last.fm Username and resourceID. Specific instructions are in the first post of this topic. :)

Link to comment

P.s.

I just had a look on your profile and saw you got your Playlist up and running. Top right of your profile is where you will see the player. :)

/P.s.

 

Here's the instructions Funki. :D

 

You need an account at Last.fm which I think is a totally awesome site btw. Once registered you need to collect some music for yourselves. So go run through the site and look for songs to add to your playlist! Once you've added 15 or more songs to your playlist a new player will appear in your last.fm profile. Now finding that page that will show your playlist player has been a hassle for me to find so I'll tell you the easy way to get to it. When you are logged in to last.fm you will see your name at the very top right of the screen. Click on your name and you will be taken to the page that shows your Playlist player. Under the words "My Playlist" a few lines under you will see "Embed" with a drop down arrow. Select Embed all. You will be taken to a new page with the details on the embed. Click the "Show me the code" button.

Now you see "Here's your code to copy and paste:". The only thing you want from this code is your "resourceID". There's a lot of stuff in that code so here's what I suggest:

 

Click once inside the code to highlight the text

Push ctrl-F on keyboard to do a word search

Type inside the word search resourceID=

You should now see resourceID= inside the box containing the code

Copy the number and only the number directly after resourceID=

Now you have your User ID # which you will need to enter here in the forum

 

Here at FDM do the following:

Click My Controls at the top of page

Click Edit Profile Information (left side menu of links)

At the very bottom of the page there are 2 new fields you can enter info into

Last.fm Username - Enter the name you log into Last.fm with

Last.fm ID# - Enter the ID # you just copied from the embed code

 

And Voila! Go to your profile and check out your Last.fm Playlist Player found at the top right of your profile page. :D

 

 

 

I'll be looking at options to let members choose between a My Playlist player or a My Radio player.

 

 

Let me know if you folks need help and enjoy! :)

 

P.s.

Here's a pic of me pretending to add a track to my playlist :D

img-resized.png Reduced: 87% of original size [ 1024 x 819 ] - Click to view full imagelastfm.jpg

Link to comment

Thank you Schot! :)

Ive got mine up and working.. but having a hard time making musical decisions so it will be a list in progress for a while!

Link to comment

A brilliant mod. You're turning our profiles into a great way to meet peeps. Nice work here. Music is always so appreciated. Watch this custom mod of yours get copied in every other forum in the land!

:)

 

gogo

Link to comment

Oh man this is so cool! I've been running around to other peoples playlists and giving them all a good 30 min listen so far. I'm finding this is really bringing the forum to a whole new level for me. Woot! And it's my first mod too! Whoohoo! :) I've given Claire and toret's playlist a good long listen and love them! Can't wait to give Ari's and Funki's a listen. :) Come on gogo. Make some beats for us. :D

 

Also, I've attached a button to the bottom of the player that will open the player in a different window which is kinda handy I think. Depending on how your browser is set up the button will either open the player in a new window or, like mine because I set it this way, will open it in a new tab. For those that get a new tab and want a new window you can right click the button and then from the drop down menu choose new window. That should do it. :D

Link to comment

Oh I could hug you!!

When I first started to play with it, I thought it only played the 30 second snippets, But its the whole song!! Oh Hugs! :) What a great toy!

Link to comment

Awh thanx all. I'm super happy you're enjoying it. I know I am, hehe. I have a feeling the first thing I'll do on the forum tomorrow is check out someones music in their profile. :)

 

Oh and as for the popup player button I mentioned in my previous post, I had to take it off. Wasn't working so well. Gonna have to work on that some more... :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...
Please Sign In or Sign Up