Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
last.fm (was Audioscrobbler ) integration into Member Profile Page Details »
last.fm (was Audioscrobbler ) integration into Member Profile Page
Mod Version: 1.1, by buro9 (Member) buro9 is offline
Developer Last Online: Jul 2012 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 4
Released: 16 Oct 2005 Last Update: 18 Oct 2005 Downloads: 7
Not Supported Template Edits Additional Files  

No longer supported by the author.

Download Now

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

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Allow BB code to parse in Member titles on their profile page j883376 vBulletin 3.5 Add-ons 6 27 Mar 2008 02:43
Profile Enhancements Audioscrobbler integration with user profile buro9 Modification Graveyard 25 16 Oct 2005 20:12

Comments
  #2  
Old 16 Oct 2005, 18:25
buro9 buro9 is offline
 
Join Date: Feb 2002
First post reserved for updates, edits, announcements etc... because some of you guys browse around with the hack part minimised
Reply With Quote
  #3  
Old 16 Oct 2005, 19:02
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Is there a way to check if this pear stuff is already installed and running on the server? Cause my list is not updating n the profile

XML_RSS & cache lite?
Reply With Quote
  #4  
Old 16 Oct 2005, 19:06
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Real name: Michael Benson
Been looking for this for AGES!
Thanks a bunch
Reply With Quote
  #5  
Old 16 Oct 2005, 19:51
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by eNforce
Is there a way to check if this pear stuff is already installed and running on the server? Cause my list is not updating n the profile

XML_RSS & cache lite?
The simplest way is to upload the testPear.php file and call it.
It should tell you in green text that everything is fine... if you get a blank page, then you probably have an error (PEAR not existing) and errors got surpressed or something.

Last edited by buro9; 16 Oct 2005 at 20:10.
Reply With Quote
  #6  
Old 16 Oct 2005, 19:53
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Great hack!
Reply With Quote
  #7  
Old 16 Oct 2005, 20:00
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Originally Posted by buro9
The simplest way is to upload this as a test PHP file and call it:

I've just knocked it together... but it should work. It just tries to call both PEAR objects

If it falls over, it's because the PEAR items don't exist.
It just comes up blank for me so I guess that means it isn't installed

I don't know how to install this junk through cpanel or ssh so I'll just wait for a plugin or something I dunno.

Great idea for a hack though!
Reply With Quote
  #8  
Old 16 Oct 2005, 20:11
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by eNforce
It just comes up blank for me so I guess that means it isn't installed

I don't know how to install this junk through cpanel or ssh so I'll just wait for a plugin or something I dunno.

Great idea for a hack though!
Try now with the testPear.php file I've just attached. I actually had a bug in my posted script for testing PEAR, but this one I've tested myself instead of being so cowboy.

It's rather simple, echo's along the way:

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

Reply With Quote
  #9  
Old 16 Oct 2005, 20:19
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
About to include cache object
About to create cache object
About to include call cache object
Nothing in the cache, but cache object called successfully
About to include RSS object
About to create and call RSS object
About to save stuff to the cache
Able to put stuff into cache, Cache_Lite must exist, as must XML_RSS.

This post was edited alot

Edit: OMG it's working on my forum! /me installs

Last edited by eNforce; 16 Oct 2005 at 20:24.
Reply With Quote
  #10  
Old 16 Oct 2005, 20:26
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by eNforce
This post was edited alot
Clearly It doesn't match what I got emailed

Glad it's working for you
Reply With Quote
  #11  
Old 16 Oct 2005, 20:29
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
:}

When displaying track names with weird characters it appears strange on the forum.

Mötley Crüe - Bittersuite is what the forum shows.

Where as it should be Mtley Cre
Reply With Quote
  #12  
Old 16 Oct 2005, 20:31
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by eNforce
:}

When displaying track names with weird characters it appears strange on the forum.

Mötley Crüe - Bittersuite is what the forum shows.

Where as it should be Mtley Cre
Oooh, good find.

Actually I half knew about this but had forgotten... Bjrk showed up wrong ages ago.

I'll do some testing... it's got to be the character set of the RSS I guess... will try and figure it out
Reply With Quote
  #13  
Old 16 Oct 2005, 21:14
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by eNforce
:}

When displaying track names with weird characters it appears strange on the forum.

Mötley Crüe - Bittersuite is what the forum shows.

Where as it should be Mtley Cre
It's actually a bug in their (last.fm's) feed. They should be HTML escaping special characters in the Title part of their RSS, and they are not.

I've reported it as a bug on their site:
http://www.last.fm/forum/21716/_/56191/1

The hack will work fine in the meantime, but display incorrectly these characters. As soon as they fix it, it will be perfect
Reply With Quote
  #14  
Old 17 Oct 2005, 07:35
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Real name: Michael Benson
So i suppose getting the error:

Warning: main(Cache/Lite.php): failed to open stream: No such file or directory in /audioscrobbler.php on line 25

Fatal error: main(): Failed opening required 'Cache/Lite.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/audioscrobbler.php on line 25
Means i need to install Cache Lite?
Reply With Quote
  #15  
Old 17 Oct 2005, 08:05
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by michaelbenson
Means i need to install Cache Lite?
It more likely means that you need to ask your host if PHP is compiled with PEAR or check your PHPINFO() to see whether it is.

For example, my PHPINFO() page:
http://www.bowlie.com/phpinfo.php

You can see in the Configure Command the bit: --with-pear

If you have that... then you have PEAR and you simply need to install Cache_Lite. However if you don't have PHP compiled with PEAR, then either you (if it's a dedicated server) or your host (if it's shared) need to recompile PHP with PEAR (which actually is the default for recent releases of PHP).

Once you have PEAR you need to ensure you have Cache_Lite... to do this, from the command line (in SSH as root or the user who has power to do stuff to PHP installs) enter this command:

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

To which, it should look something like this once run:

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

The PEAR installer is documented here:
http://pear.php.net/manual/en/installation.cli.php

If you need to do the same with XML_RSS the CLI command is:

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

If it needs you to download any dependencies... it will tell you And if it does... install those in the same way
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 04:06.

Layout Options | Width: Wide Color: