View Full Version : Profile Enhancements - Audioscrobbler integration with user profile
buro9
12-05-2004, 10:00 PM
No longer supported by the author.
buro9
12-06-2004, 02:35 PM
Oh, and if you do install it... please click "Install" as I will send updates if any major changes are made :)
buro9
12-09-2004, 06:40 PM
Oh, and if you do install it... please click "Install" as I will send updates if any major changes are made :)
Hmmm... no installs.
For those of you who have music related forums, etc... is there something that you think I'm missing? Or is it the dependency on PEAR modules that puts you off?
If people don't want this... cool... but if people do want this and just don't like my implementation, please feedback how you'd like such a thing to work and I'll consider changes, etc.
weirdpixels
12-09-2004, 08:25 PM
Well just found this hack got to say it looks promising, only problem is I can't install those PEAR modules on my server, since I am on a shared server, so I can check out this hack :(
buro9
12-09-2004, 08:31 PM
Well just found this hack got to say it looks promising, only problem is I can't install those PEAR modules on my server, since I am on a shared server, so I can check out this hack :(
Well PEAR modules are usually installed as part Cpanel or something.
But you can download them from the PEAR site (links provided in hack), and then place them where you wish and just modify the two lines that are commented as including the PEAR files.
PEAR modules are merely .php files, so there's no problem in installing them... it's just that normally you have a global install and everything points at them... meaning you don't have to worry about keeping them up to date, etc. But copying them relative to the hack will also work too :)
buro9
12-09-2004, 08:31 PM
Well PEAR modules are usually installed as part Cpanel or something.
But you can download them from the PEAR site (links provided in hack), and then place them where you wish and just modify the two lines that are commented as including the PEAR files.
PEAR modules are merely .php files, so there's no problem in installing them... it's just that normally you have a global install and everything points at them... meaning you don't have to worry about keeping them up to date, etc. But copying them relative to the hack will also work too :)
Oh, and the two lines are within the audioscrobbler.php file :)
weirdpixels
12-09-2004, 08:40 PM
thanks, will try it out tomorrow and let you know how i get on :)
buro9
01-09-2005, 04:02 PM
Moved it to full release. It's been running on my server now for over a month with no issues :)
SecTa
04-16-2005, 09:18 PM
This hack is exactly what i need for my forum! Many thanks for your work, buro9!
However, some help required.
I need to check this hack on my localhost test forum install. I used WAMP (http://www.wampserver.com/) for installation on windows. Can you explain me how to install those two components, required for your hack to work?
buro9
04-16-2005, 10:16 PM
If you don't have any PEAR components installed then you should download the PEAR installer.
It's rather simple... go to this URL:
http://go-pear.org/
And save that text as go-pear.php on your desktop.
Then open a CMD line window and do:
php go-pear.php
This is documented on the PEAR site here:
http://pear.php.net/manual/en/installation.getting.php
And then you can use their command line installer to install the packages:
http://pear.php.net/manual/en/installation.cli.php
Then you can run the following from the command line:
pear install <package>
Where <package> is XML_RSS and CacheLite
Most shared hosts have PEAR installed, and PHP installs Pear too... so you might actually just want to check whether PEAR is already installed ;)
buro9
04-16-2005, 10:21 PM
Ah WAMP doesn't include PEAR, but...
This thread on the WAMP forums suggest just getting go-pear and dropping it into your wamp\php directory:
http://www.wampserver.com/phorum/read.php?f=2&i=781&t=777#reply_781
rossco_2005
07-26-2005, 10:11 PM
I'm trying to install this hack, but don't understand how to install the PEAR packages...
I downlaoded the xml_rss package and cache_lite package and extracted the files, modded audioscrobbler.php to include the files from that folder, but then it says:
"Warning: main(XML/Parser.php) [function.main]: failed to open stream: No such file or directory in \XML_RSS\RSS.php on line 23"
which wasn't included in the xml package.
What do I do?
buro9
07-26-2005, 10:30 PM
I'm trying to install this hack, but don't understand how to install the PEAR packages...
I downlaoded the xml_rss package and cache_lite package and extracted the files, modded audioscrobbler.php to include the files from that folder, but then it says:
"Warning: main(XML/Parser.php) [function.main]: failed to open stream: No such file or directory in \XML_RSS\RSS.php on line 23"
which wasn't included in the xml package.
What do I do?
Does your host not have PEAR installed? Quite a lot do, cPanel servers come with it out of the box and I would suspect that other hosts also supply it.
I've just had a look at the PEAR pages, and it seems that XML_RSS depends on XML_Tree which depends on XML_Parser which depends on PEAR.
It might take a while to attempt to build a list of all of the dependencies. If you can let me know whether PEAR is available on your server I'll look at whether it is feasible to package all of the required PEAR files together. I'm afraid this may take a while for me to do though as I fly to NYC and onto Redmond tomorrow and will be out of the country (UK) for a few weeks.
rossco_2005
07-27-2005, 02:09 AM
Does your host not have PEAR installed? Quite a lot do, cPanel servers come with it out of the box and I would suspect that other hosts also supply it.
I've just had a look at the PEAR pages, and it seems that XML_RSS depends on XML_Tree which depends on XML_Parser which depends on PEAR.
It might take a while to attempt to build a list of all of the dependencies. If you can let me know whether PEAR is available on your server I'll look at whether it is feasible to package all of the required PEAR files together. I'm afraid this may take a while for me to do though as I fly to NYC and onto Redmond tomorrow and will be out of the country (UK) for a few weeks.
Not sure about the host, I was just testing this on my own pc (apache, php, mysql installed) and couldn't figure out how to install PEAR so I thought it would be easier to just copy the files into the forums folder and include them like you said above.
ah well, i will try to find an install guide for pear.
buro9
07-27-2005, 05:03 AM
Not sure about the host, I was just testing this on my own pc (apache, php, mysql installed) and couldn't figure out how to install PEAR so I thought it would be easier to just copy the files into the forums folder and include them like you said above.
ah well, i will try to find an install guide for pear.
A guide on installing and using PEAR:
http://www.sitepoint.com/article/getting-started-with-pear/2
A windows package that includes Apache, PHP + PEAR, MySql, etc:
http://www.apachefriends.org/en/xampp-windows.html
rossco_2005
07-27-2005, 04:08 PM
A guide on installing and using PEAR:
http://www.sitepoint.com/article/getting-started-with-pear/2
A windows package that includes Apache, PHP + PEAR, MySql, etc:
http://www.apachefriends.org/en/xampp-windows.html
:D Works! Thanks!
Now as soon as vb3.5 is released I can install it on the 'live' forum.
buro9
08-05-2005, 03:04 PM
:D Works! Thanks!
Now as soon as vb3.5 is released I can install it on the 'live' forum.
I'll be converting this to 3.5 over the next few weeks :)
rossco_2005
08-05-2005, 10:40 PM
I'll be converting this to 3.5 over the next few weeks :)
Hmm, it already worked for me in 3.5 anyway. :lick:
Would be nice to have it as a plugin tho ofcourse. :)
jaredvolkl
08-09-2005, 10:31 PM
Well Audioscrobbler is all switched up now. Looks like last.fm is what they are now. It's great because there's all kinds of new features, but of course our hack is broken now.
Bratac
10-01-2005, 03:47 PM
Well Audioscrobbler is all switched up now. Looks like last.fm is what they are now. It's great because there's all kinds of new features, but of course our hack is broken now.
any updates on the progress of this for vb 3.5? I would really love to have this as a plugin.
buro9
10-01-2005, 05:18 PM
any updates on the progress of this for vb 3.5? I would really love to have this as a plugin.
Oops... I'll package something soon-ish. I have a vb3.5 one running on my forum, but always forget to maintain the vb.org version when I'm upgrading.
Bratac
10-01-2005, 05:27 PM
Oops... I'll package something soon-ish. I have a vb3.5 one running on my forum, but always forget to maintain the vb.org version when I'm upgrading.
cool, thanks very much :):)
Bratac
10-14-2005, 09:08 PM
A guide on installing and using PEAR:
http://www.sitepoint.com/article/getting-started-with-pear/2
A windows package that includes Apache, PHP + PEAR, MySql, etc:
http://www.apachefriends.org/en/xampp-windows.html
any updates on the progress of the 3.5 version?
buro9
10-14-2005, 10:30 PM
any updates on the progress of the 3.5 version?
Sorry... had forgotten, now using rememberthemilk.com, I've got it down to deliver to you guys this Sunday... will get it done then :)
buro9
10-16-2005, 05:28 PM
Sorry... had forgotten, now using rememberthemilk.com, I've got it down to deliver to you guys this Sunday... will get it done then :)
3.5 port found here:
https://vborg.vbsupport.ru/showthread.php?t=98545
Only noticeable differences:
1) No need to include the Who's Online bit, I skip location information... it should just say that someone is viewing a profile.
2) The IFRAME in the MEMBERINFO template is now called with two extra query string elements, one I was using for the Who's Online, and the other is a style var... it's to prevent that page from caching in the browsers profile in the instance where a user changes style... the style of the iframe contents are guaranteed to be synchronised with the page now.
Bratac
10-16-2005, 07:12 PM
awesome thanks :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.