PDA

View Full Version : Add-On Releases - Add Radio Page to your site with last.fm!


mikey1991
01-28-2010, 10:00 PM
Note; This is a port of my 3.8 mod to vB4, and so it has all the same features.

3.8.x Version: https://vborg.vbsupport.ru/showthread.php?t=224506

Add Radio Page to your site with last.fm!

1] Upload radio.php
2] Import product_mikeylastfm.xml
3] Configure to taste
4] Enjoy!

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://swollencranium.com/forums/radio.php
Screenshots: http://dl.dropbox.com/u/1296700/lastfm-opts-1.jpg | http://dl.dropbox.com/u/1296700/lastfm-opts-2.jpg | http://dl.dropbox.com/u/1296700/lastfm-opts-3.jpg

http://dl.dropbox.com/u/1296700/vb4-lastfm-complete.png


Features:

Embeds a Last.FM Group playlist into your site, on a new page.
Adds new navtab, with on/off controls in acp
Adds "Info" fields next to the embedded player, customisable from the admincp
Adds links to your group on the same page.
Personal, Artist, or Group playlist supported.
Multi Radio Player Ability (not reccommended)

Troubleshooting:

I get "Not enough content", why?

1] You MUST be logged into Last.FM - it's free, so create an account.
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 (http://last.fm/group/parlancia), or try out a popular group/artist/user on last.fm.

Installing

Please mark this mod as installed to recieve updates! (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=234495)

Upgrading:

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

Enjoy the mod, if you really like it, please consider donating via the "Support Developer" link, it really helps me to maintain them

TimberFloorAu
01-29-2010, 07:10 PM
Looks interesting, can we see a demo. Please

mikey1991
01-29-2010, 07:12 PM
Theres screenies up, I don't have a live vB4 site as I am not using it live. Sorry, though, If anyone wants to install and demo it for me, I'll add you in the first post.

Cheers!

TimberFloorAu
01-29-2010, 07:27 PM
How do you create a group.

I have just joined and allows me only to create a user

mikey1991
01-29-2010, 07:36 PM
Create a group here: http://www.last.fm/community/groups/create

Before the mod will pull songs from it though, it has to be at least a week old with at least 2 members, until then, if you use a new group, you'll get a "Not Enough Content" error, so I suggest making your group, and getting people to join, but all the while you can use my group, or the playlist of a certain artist, to tide you by.

TimberFloorAu
01-29-2010, 07:57 PM
Thanks.

mikey1991
01-29-2010, 08:14 PM
No problem, please do hit install if you use this, thanks.

TimberFloorAu
01-29-2010, 08:20 PM
I have :

Downloaded
Installed
Joined Last.Fm
Uninstalled.
Will wait for members to join our group, then reinstall if popular.

Thanks

Doctor Death
01-30-2010, 01:14 AM
Uninstalled. Config "save" button does nothing in vb 4.0.1.

JMC_Pitbull
01-30-2010, 06:20 AM
Yes, me the same. cant save :(

abdobasha2004
01-30-2010, 06:51 AM
nice
reserved

mikey1991
01-30-2010, 12:14 PM
Uninstalled. Config "save" button does nothing in vb 4.0.1.

Yes, me the same. cant save :(

This was developed in a 4.0.1 Environment, I uninstalled the product from the dev site and reinstalled it from the package here and I CAN save the vbulletin options...

:/

SwollenCranium
01-30-2010, 01:06 PM
Good deal, just like the 3.8 version.

Works as stated.

Also, I get around the 'no content message' by using another groups until mine is built up , there are a few with over 25,000 members and huge song lists.

Thanks !

mikey1991
01-30-2010, 01:32 PM
Good deal, just like the 3.8 version.

Works as stated.

Also, I get around the 'no content message' by using another groups until mine is built up , there are a few with over 25,000 members and huge song lists.

Thanks !

Looks great on your site also! Joined your last.fm group too, hopefully it'll boost some diversity ;)

movslow
02-01-2010, 01:30 PM
Possible to make the links on the Radio page, open to new pages, instead of taking you away from the forum?

Thanks
:up:

mikey1991
02-01-2010, 02:18 PM
Yeah, go to the plugins section, and add target="_blank" to the links in the "Nav-Tab" plugin.

steve1966
02-01-2010, 02:56 PM
Yes, me the same. cant save :(

hi if you hit the donation gif that saves it but it need fixing

mikey1991
02-01-2010, 04:13 PM
Huh? I just don't get that error, what browser are you using?..

valerie555
02-01-2010, 04:42 PM
Yes, me the same. cant save :(

hello you must push in Donate and it is ok :)

COL NIL SATIS
02-01-2010, 06:49 PM
installed..looks great and is a great mod...!! cheers

Inflikted
06-12-2010, 06:26 PM
this doesnt work with IE, chrome/firefox it works ok :)

Reycer
07-02-2010, 02:52 AM
how about a word of warning about some of the pictures on the forum link that you provided to see a demo. No offense, cause i think you create some really awesome mods, but my kids (3 and 4) were standing right next to me when that popped up.

mikey1991
07-04-2010, 03:20 PM
It's not my site which is demoing the mod, sorry about that, I can't control what that site puts on thier radio page

SwollenCranium
07-04-2010, 06:23 PM
how about a word of warning about some of the pictures on the forum link that you provided to see a demo. No offense, cause i think you create some really awesome mods, but my kids (3 and 4) were standing right next to me when that popped up.



Oh get a grip Your Holiness ... she has all her naughty bits covered.

Michlerish
08-20-2010, 06:21 AM
GREAT mod.

One question: I know the radio on last.fm requires a paid subscription (outside of the 30 track free trial). Is this the same with this mod? Users will only get a free trial to listen to the radio, and then have to pay to keep listening?

GrowReport
08-20-2010, 02:09 PM
Can you modify the radio station feed?

Is that allowed or not?

mikey1991
08-23-2010, 09:14 AM
GREAT mod.

One question: I know the radio on last.fm requires a paid subscription (outside of the 30 track free trial). Is this the same with this mod? Users will only get a free trial to listen to the radio, and then have to pay to keep listening?

I never had any issues with listening to tracks on last.fm - even with the 30 track free trial, and I listened to it for hours and hours with no problems. Maybe it's something they've introduced recently?

Can you modify the radio station feed?

Is that allowed or not?

Yes, the options allow to input a band, artist, group, or profile.

ShadowStalker
12-23-2010, 04:41 AM
Weird, won't take your group or my group or our playlists but will take artists. Is your site up to date on 4.1.0 PL2? Love this mod a lot. If it takes some money to get it working and brand free I am all for it.

Other thing, for some reason when you click the tab it doesn't highlight the tab, for instance, if you click on Forum or Blogs or What's New? it bolds that tab, when I click on the one for radio it doesn't do that. Also, I made a few edits to your code. Copyright is all intact and didn't do anything with that. Just made it say last.fm and my site's radio instead.

titan_lyy
04-27-2011, 08:09 PM
i'm gonna nominate this for MOTM for the boobs. definitely.