Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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

Category: Profile Enhancements - Version: 3.5.0 Rating:
Released: 10-15-2005 Last Update: 10-17-2005 Installs: 4
Template Edits
Additional Files  
No support by the author.

No longer supported by the author.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-16-2005, 07:29 PM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:}

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 Mötley Crüe
Reply With Quote
  #13  
Old 10-16-2005, 07:31 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 M?tley Cr?e
Oooh, good find.

Actually I half knew about this but had forgotten... Bj?rk 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
  #14  
Old 10-16-2005, 08:14 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 M?tley Cr?e
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
  #15  
Old 10-17-2005, 06:35 AM
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Location: United Kingdom
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So i suppose getting the error:

Quote:
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
  #16  
Old 10-17-2005, 07:05 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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:
Code:
pear install Cache_Lite
To which, it should look something like this once run:
Code:
root@example [~]# pear install Cache_Lite
downloading Cache_Lite-1.5.2.tgz ...
Starting to download Cache_Lite-1.5.2.tgz (21,306 bytes)
........done: 21,306 bytes
install ok: Cache_Lite 1.5.2
root@example [~]#
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:
Code:
pear install XML_RSS
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
  #17  
Old 10-17-2005, 01:03 PM
rezovor's Avatar
rezovor rezovor is offline
 
Join Date: May 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Awesome *installs*
Reply With Quote
  #18  
Old 10-18-2005, 08:47 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to handle special characters like the ? in Bj?rk

Just download and modify the audioscrobbler.php file to your needs
Reply With Quote
  #19  
Old 11-14-2005, 11:12 PM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know what I did to make this stop working but I get this error when runnin testPear.php

Warning: main(XML/Parser.php) [function.main]: failed to open stream: No such file or directory in /home/areyous/public_html/XML/RSS.php on line 23

Fatal error: main() [function.require]: Failed opening required 'XML/Parser.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/areyous/public_html/XML/RSS.php on line 23

Been working outstanding then the other day it stopped :ermm:

Edit: I've fixed it by finding the contents of the Parser.php and uploading it manually, still no idea why it got removed. Maybe my host did something when he moved me to a new server.
Reply With Quote
  #20  
Old 11-15-2005, 07:32 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eNforce
I don't know what I did to make this stop working but I get this error when runnin testPear.php

Warning: main(XML/Parser.php) [function.main]: failed to open stream: No such file or directory in /home/areyous/public_html/XML/RSS.php on line 23

Fatal error: main() [function.require]: Failed opening required 'XML/Parser.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/areyous/public_html/XML/RSS.php on line 23

Been working outstanding then the other day it stopped :ermm:

Edit: I've fixed it by finding the contents of the Parser.php and uploading it manually, still no idea why it got removed. Maybe my host did something when he moved me to a new server.
There was a PHP security announcement regards XML-RPC libraries. PEAR and numerous other apps updated. But maybe your host was enthusiastically deleting rather than updating.
Reply With Quote
  #21  
Old 11-15-2006, 03:04 PM
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, is der a Hack like this to show the personal charts of every single user in the own profile??
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 01:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06834 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete