vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Add Radio Page to your site with last.fm! (radio.php) (https://vborg.vbsupport.ru/showthread.php?t=224506)

mikey1991 10-03-2009 10:00 PM

Add Radio Page to your site with last.fm! (radio.php)
 
1 Attachment(s)
#################################
#/ Add Radio Page to your site with last.fm!
#################################
#/ 1] Upload radio.php
#/ 2] Import product_mikeylastfm.xml
#/ 3] Configure to taste
#/ 4] Enjoy!
#################################
#/ PARTNER SITES
#################################
#/ http://vbfans.com
#/ http://forum.vbulletinsetup.com
#/ http://wetalk.tv
#/ http://vbirc.com
#/ irc://irc.vbirc.com
#/ Love you guys! <3
#################################
#/ COPYRIGHT!!
#################################
#/ All the code (minus the last FM code)
#/ was coded by me (mikey1991) and it
#/ took me a while to do, all for free so
#/ while I realise that the base code in itself
#/ is not my property, I would appreciate my
#/ copyright notice is left intact.
#################################
#################################
#/ Demo: http://parlancia.com/forums/radio.php
#/ Screenies: See attachments.
#################################
#/ Please click installed.
#################################
#/ Excuse the ASCII, I was bored
#################################

Features:

Embeds a Last.FM Group playlist into your site, on a new page.
[BUGFIXED] Adds a navbar link option.
Adds "Info" fields next to the embedded player, customisable from the admincp
Adds links to your group on the same page.
[New in 1.0.1b] Adds Dropdown Menu Option
[New in 1.0.1b] Can now select user personal playlist
[New in 1.0.1b] Can now select artist similar artist playlist
[New in 1.0.1b] Group now clickable
[New in 1.0.1b] Multi Radio Player Ability
(not reccommended)

Troubleshooting:

I get "Not enough content", why?

1] Are you logged into last.fm?
2] Does your group have more than 2 members and has it been up for more than a week?
3] Does the artist you've chosen exist?
4] Does the user you've chosen exist?

If you answered "no", to either of those, feel free to use my group, or try out a popular group/artist/user on last.fm.

Upgrading:

If upgrading from 1.0.0a, simply reupload radio.php, and overwrite it and upload the product.xml, overwriting it.

http://i35.tinypic.com/wqy4qp.png
http://i38.tinypic.com/2en8civ.png

Please click installed! If you really like this hack, please consider clicking the support developer link.

Floris 10-04-2009 01:06 AM

Awesome, going to use this on wetalkmusic.net soon :) :)

You forgot the navbar dropdown! :p

SwollenCranium 10-04-2009 01:14 AM

This is really restrictive since it only allows Group play.

Thanks anyway !!

mikey1991 10-04-2009 01:20 AM

Quote:

Originally Posted by Floris (Post 1894437)
Awesome, going to use this on wetalkmusic.net soon :) :)

You forgot the navbar dropdown! :p

Added as addon :D https://vborg.vbsupport.ru/showthread.php?t=224508

Quote:

Originally Posted by SwollenCranium (Post 1894441)
This is really restrictive since it only allows Group play.

Thanks anyway !!

Well, now I have the basecode, I can make this work for a /user/ thing, I'll release that as an add on soon.

SwollenCranium 10-04-2009 01:27 AM

Quote:

Originally Posted by mikey1991 (Post 1894448)
Well, now I have the basecode, I can make this work for a /user/ thing, I'll release that as an add on soon.


Actually, as I investigate more into it the Group setting, while restrictive, is a usable idea for the time being.

Thanks.

mikey1991 10-04-2009 01:41 AM

You're wlcome, please remember to mark as installed if you use :)

Brandon Sheley 10-04-2009 02:14 AM

Looks great, can't wait to test it out!

[high]* Brandon Sheley clicks install[/high]

ps.. I would love a "pandroa" version :D

ChopSuey 10-04-2009 08:03 AM

This would be good for my Gaming site. Tagged.

WEBDosser 10-04-2009 08:16 AM

interesting.. tagged

agitated 10-04-2009 08:59 AM

I'm interested. *tagged* Great idea. Just tried it (I was logged in @lastfm) and it worked fine.

mikey1991 10-04-2009 12:45 PM

Quote:

Originally Posted by Loco.M (Post 1894465)
ps.. I would love a "pandroa" version :D

Pandora is US only, so I can't get that code, but I'll see what I can do.

Quote:

Originally Posted by ChopSuey (Post 1894541)
This would be good for my Gaming site. Tagged.

Sure thing.

Quote:

Originally Posted by WEBDosser (Post 1894549)
interesting.. tagged

Thanks :)

Quote:

Originally Posted by agitated (Post 1894558)
I'm interested. *tagged* Great idea. Just tried it (I was logged in @lastfm) and it worked fine.

Good to hear!

SwollenCranium 10-04-2009 12:55 PM

Possibly an issue with last.fm but I am unable to get this to work.

When I view the page on my forum it returns an error saying can not play this station.




https://vborg.vbsupport.ru/external/2009/10/64.jpg

Michael.A 10-04-2009 01:12 PM

am saving this post for later..!

matthewhotdude 10-04-2009 01:12 PM

Doesnt work, Have the same problem as swollencranium

and nothing shows up in the navbar

mikey1991 10-04-2009 02:05 PM

Quote:

Originally Posted by SwollenCranium (Post 1894617)
Possibly an issue with last.fm but I am unable to get this to work.

When I view the page on my forum it returns an error saying can not play this station.


http://swollencranium.com/forums/pic...pictureid=2380

Your group has 2 members, and no plays. I'd think that's why there isn't enough content to play. This message could also occur if you're not logged into last.fm. Feel free to use my group and see if it plays..

Quote:

Originally Posted by matthewhotdude (Post 1894624)
Doesnt work, Have the same problem as swollencranium

No, it doesn't work for you, it DOES work, I've been USING it ever since I made it, I hate when someone comes in a thread and condemns something which I know to work.

The Navbar link should work, but if it doesn't, check out the add-on, where you can add the radio player as a drop down.

As for the "Not enough content", heres some troubleshooting:

1] Are you logged into last.fm?
2] Does your group have more than 2 members and has it been up for more than a week?

matthewhotdude 10-04-2009 02:11 PM

Nevermind uninstalled no need to be an arse

mikey1991 10-04-2009 04:46 PM

Quote:

Originally Posted by matthewhotdude (Post 1894640)
Nevermind uninstalled no need to be an arse

Sorry if I came across as that. Sorry you couldn't get it working.. I looked on your site and couldn't see the mod so I couldn't look at any errors.. Wing me a PM on your site and I'll take a look if you like (i'm mikey on there)

MagicThemeParks 10-04-2009 05:35 PM

Gotta read into Last.fm and how that works (similar to Pandora?). I'd love to add this if there are enough theme park or Disney related tracks :up:

*tagged*

mikey1991 10-04-2009 06:19 PM

Quote:

Originally Posted by MagicThemeParks (Post 1894749)
Gotta read into Last.fm and how that works (similar to Pandora?). I'd love to add this if there are enough theme park or Disney related tracks :up:

*tagged*


I'm going to be making a version with pandora functionality if I can get the feed RSS code, pandora is US only, and I'm located outside of the US, so I can't get the code.

http://Last.fm/about

SwollenCranium 10-04-2009 08:23 PM

Quote:

Originally Posted by mikey1991 (Post 1894638)
1] Are you logged into last.fm?
2] Does your group have more than 2 members and has it been up for more than a week?


I was unaware of the time on target requirement.

Thanks for your help.

SwollenCranium 10-05-2009 03:58 PM

Update :

This is now working for me but it took me buying a subscription, 2 days of waiting , 9 group members and over 100 songs played before Last/FM would aggregate my data into a recommended list.

I'm not sure if this is normal behavior for others.

mikey1991 10-05-2009 05:54 PM

Quote:

Originally Posted by SwollenCranium (Post 1895171)
Update :

This is now working for me but it took me buying a subscription, 2 days of waiting , 9 group members and over 100 songs played before Last/FM would aggregate my data into a recommended list.

I'm not sure if this is normal behavior for others.


The song playcount and the waiting time and the members should be expected, the radio needs content to play it, however, my group was founded back in 07 and has thousands of plays, so I wouldn't know. As for the subscription, I'm not sure why that was needed, as it works fine for me..

Thanks for coming back and confirming it works though. I'm currently working on v1.0.1b

redlabour 10-07-2009 10:30 PM

Awesome - BUT please phrase it completely:

Quote:

Welcome to the
Quote:

Join our Group!
Quote:

Note, you may need a last.fm account, or be logged into last.fm to listen.
Feature Request:

It was nice if Users can add their own Channel at their UserCP and display it at their Profilepage and have a Last.FM Icon at Postbit (like Skype, ICQ and so on).

mikey1991 10-08-2009 08:58 AM

Quote:

Originally Posted by redlabour (Post 1896347)
Awesome - BUT please phrase it completely:

Why does it need phrasing, for so little phrases?



Quote:

Originally Posted by redlabour (Post 1896347)

Feature Request:

It was nice if Users can add their own Channel at their UserCP and display it at their Profilepage and have a Last.FM Icon at Postbit (like Skype, ICQ and so on).

In the works.

redlabour 10-08-2009 09:56 AM

Quote:

Originally Posted by mikey1991 (Post 1896504)
Why does it need phrasing, for so little phrases?

Ever seen a Product with broken Languages across the Forums? :eek:

Every Product should take care of 2 Points for quality Reasons:

1. Product without any Fileedits.

2. 100% phrased.

And BTW - why should you not phrase them if they are so little phrases. ;)

talkncaasports 01-19-2010 10:44 AM

installed, works great. Thanks.

mikey1991 01-29-2010 08:17 PM

vB4 version released https://vborg.vbsupport.ru/showthread.php?t=234495

DynaMow 12-30-2010 03:22 PM

all I get is its not compatable with 1.0.1a, needs higher.

so I go get 1.0.1b and it says same thing.


All times are GMT. The time now is 08:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01306 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete