Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Quick Last.fm addon to member profile Details »
Quick Last.fm addon to member profile
Mod Version: 1.00, by Sparky_s (Member) Sparky_s is offline
Developer Last Online: Oct 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.0 RC3 Rating: (0 vote - 0 average) Installs: 13
Released: 02 Aug 2006 Last Update: Never Downloads: 3
Not Supported Template Edits  

From doing a search here for a Last.fm/audioscrobbler hack to add a last.fm recent tracks, the two I found required Pear.

So I decided to do a quick add on and to share it.

As I'm new to this, I wont be able to offer full support, but I will hope that since it's fairly simple, none should be required.
If so, I can try myself and hope for help from other users.



Create new user profile field in User Profile Fields> Add new user profile field.

Edit the following:

Title= Last.fm recent tracks
Description= Your Last.fm username
Default Value= (leave blank)
Max length of allowed user input=100
Field Length=25
Profile Field Type= Single-Line Text Box
Display Order=99 (this is to make sure the last.fm field is last on the list)

Field Required= No
Field Editable by User= Yes
Private Field=No
Field Searchable on Members List= No
Show on Members List= No
Regular Expression= (blank)

Which page displays this option?= Edit Profile.

Once this is done, make sure to remember the field number, in my case it was 'field10'. In your case change it to whatever field number that you have.

In Styles & Templates> Style Manager.

Go to your chosen style and find MEMBERINFO under 'Member Info Templates'

After:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the template and thats it.

Live example here

If you want a different style or want to have top albums, top tracks etc, all you need to do is go to your last.fm tools section and select charts. Copy the code for websites and just replace the username with $post[fieldX].

Thank you all

Sparky.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Quick Mood Changer - addon -=Sniper=- vBulletin 3.5 Add-ons 198 27 Nov 2008 18:19
Profile Gallery: Allow Users to Upload Member Profile Images calorie vBulletin 3.6 Add-ons 45 13 Jan 2008 15:18

Comments
  #2  
Old 02 Aug 2006, 23:46
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
safe simple but amazing thanks alot
Reply With Quote
  #3  
Old 08 Aug 2006, 14:04
Dermo-MIO Dermo-MIO is offline
 
Join Date: Jan 2006
nice simple hack my users should like it, nice forum as well mate
Reply With Quote
  #4  
Old 09 Aug 2006, 02:11
Sparky_s's Avatar
Sparky_s Sparky_s is offline
 
Join Date: Nov 2005
Real name: Denis Nolan
Cheers. Thanks for the complements
Reply With Quote
  #5  
Old 30 Aug 2006, 17:41
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks for the hack! I'll install it right away...
Reply With Quote
  #6  
Old 17 Sep 2006, 08:35
fuldon fuldon is offline
 
Join Date: Jan 2004
Real name: Michael
Any updates?

Example:
http://awp.nin.ru/index.php?showtopi...88&#entry41539
(signature)
Reply With Quote
  #7  
Old 18 Sep 2006, 08:16
Sparky_s's Avatar
Sparky_s Sparky_s is offline
 
Join Date: Nov 2005
Real name: Denis Nolan
Originally Posted by fuldon
Nice. I like the way you have that added.
I will try out a simular system for vB.

I am currently testing it out beside a username in the postbit. However, it only looks good in the standard postbit, not postbit legacy.
http://www.htireland.com/television/...how-16461.html
Reply With Quote
  #8  
Old 23 Sep 2006, 02:12
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: Jun 2006
Bunny!

Installed! Thanks!

I modded it so I could put a link in peoples posts where the aim, icq, and other icons are.

Find in postbit or postbit_legacy(whichever you use):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Insert this code after:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace the right feild # for X and yoursite for the url for the image. I have attached the image I used for it and a screenshot. I placed mine after the im icons and before a link to xbox gamercard.
Attached Images
File Type: gif lastfm.gif (539 Bytes, 646 views)
File Type: gif example.gif (2.7 KB, 16 views)

Last edited by Skedoozy; 23 Sep 2006 at 02:14.
Reply With Quote
  #9  
Old 24 Sep 2006, 18:17
Sparky_s's Avatar
Sparky_s Sparky_s is offline
 
Join Date: Nov 2005
Real name: Denis Nolan
Excellent. I never thought of that.
I could try to have it as an option also where you can either have the tracks listed beside the username or have the icon beside the IM icons.

Excellent add.
Reply With Quote
  #10  
Old 01 Oct 2006, 07:51
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: Jun 2006
I've tested various options of adding the tracks to the postbit. The charts are usually too wide for the postbit_legacy so I had to make my own. It doesnt update that often depending on the users cache setting though. I've had it in my postbit for the last week or so just showing the last track but it seems very buggy as to whether it's showing the actual last track played or one of the last five. It's weird.
Reply With Quote
  #11  
Old 01 Oct 2006, 18:53
Sparky_s's Avatar
Sparky_s Sparky_s is offline
 
Join Date: Nov 2005
Real name: Denis Nolan
I have noticed this laggyness with the images last.fm have created.
There is nothing unfortuantly I can do about that though.

http://www.vbulletin.org/forum/showthread.php?t=127632

Ive credited you for your work as well
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:08.

Layout Options | Width: Wide Color: