SMF For Free Support Forum
Signup For Free Forum
July 04, 2009, 11:31:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1] 2
  Print  
Author Topic: [Code] MC Radio V2  (Read 3645 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 776


Do not PM me for Code Support or Request


View Profile
« on: December 13, 2006, 08:28:42 pm »

I origninaly made this code for Invisionfree Forum.  And I decided to do transefer it to SMF.  So now it is.  I hope you like it!

Name of Code: MC Radio V2
Description: This is a shorter and much easier code than the first MC Radio.  Much easier to install, and shorter...and more stations
Preview: Click Here?---Look at the left of the board, click on "Hide/Show MC Radio".

Modifications:
--Shorter Code
--More Stations
--Hide/Show Button
--Whichever option you choose from the Drop-Down Menu, the Description and the Genre will change...
--You may take off radio stations that you don't like, then you can shorten it...That is why I didn't go ahead and shorten the code.


Installing
This code goes in Manage Styles-->Edit Header/Footer--> You can put it in the Header or Footer...I prefer the Footer.

Notice
DO NOT REMOVE THE COPYRIGHT!!!

Code:
<!--MC Radio V2-->
<script type="text/javascript" src="http://www.geocities.com/yort1223/scripts/HideShow.js">
</script>
<a title="Show Tables" href="javascript:toggleDisplay('table1')"><b><div align="left">[Show/Hide MC Radio]</div></b>
<div style="display:none;" id=table1>
<div class="tableborder"><div class='catbg2'>MC Radio V2</a></div><tr> <table border="0" cellspacing="1" cellpadding="4">  <tr> <td class="windowbg2" align="center" width="23%">
<b>Listen to </b><form name="form1">
<select name="station" size="1" onChange="displaydesc(document.form1.station, description, genre, 'textcontainer1')">
<option selected value="http://www.1club.fm/clubfm_media/v42.aspx?station=activex" target="newwin">Active Radio X</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=modernrock" target="newwin">Modern Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicrock" target="newwin">102 Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hairband">Hair Band Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicalt-dude" target="newwin">Alternative Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=clubuk" target="newwin">House of Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=techno" target="newwin">Techno Club</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=harddance" target="newwin"> Gruvsonic Hard Dance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=trance" target="newwin">Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=rnb" target="newwin">R&B Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=power" target="newwin">Old School Rap</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=breakbeat" target="newwin">70's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=goapsy" target="newwin">80's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=ibiza" target="newwin">90's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hitmusic" target="newwin">Channel 1</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=vradio" target="newwin">Variety Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=vybe" target="newwin">70's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=clubuk" target="newwin">80's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=harddance" target="newwin">90's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hkcountry" target="newwin">Kicker Country</option>
</select>
<input type="button" value="Listen"
onClick="jumptolink(document.form1.station)">
</form>
</a></td> <td class="windowbg2" width="32%">
<span id="textcontainer1" align="left" style="font:italic 13px Arial">
</span>
<script type="text/javascript">
var description=new Array()
description[0]="A hard hitting Rock Channel playing the best in Heavy Metal, Alternative, and 80s Hard Rock on the planet."
description[1]="The Net's New Rock Alternative. An edgy display of Active, Modern, Today & Classic Alternative Rock Music."
description[2]="LIVE from a City that built the Classic Rock format. Take a listen to the legendary bands that started it all."
description[3]="The House of Hair Spray and Spandex. Playing your favorite sleaze Rock Anthems of the 80s & early 90s!"
description[4]=" Playing the best Alternative Rock music from the 90s era.<br>"
description[5]=" Club UK Channel features the latest European 12 inch remixes of a variety of House, Trance, UK Garage, 2 Step and Hard Dance."
description[6]="Spinning the best in Trance and Techno Club Beats. Live from Chicago, it's the net's home for the best in underground sounds!"
description[7]="For the Harder Generation, this channel is commited to playing the hardest Trance, Gabber, and House anthems on the net."
description[8]="Featuring a pulsating mix of vocal and uplifting anthems from today's biggest trance dj's and artists."
description[9]="The hottest selection from today's most creative R&B Artists. These tracks are the cutting-edge of Contemporary R&B."
description[10]=" Hip Hop & R&B. Music from the best of today's biggest artists.<br>"
description[11]=" Throw'n down a funky and unique collection of old school, progressive, and fresh Florida Breaks."
description[12]="This channel features Massive bangers of Goa-Psy Trance.<br>"
description[13]=" The clubbing capital of the world is now on the radio. Welcome to Ibiza, featuring the music that is blowing up the Ibiza party scene."
description[14]="CHR Top 40 Channel featuring the hottest hits from today's pop, rock, and hip-hop artists."
description[15]="V means VARIETY. We play what we want on this channel. No rules, just great music."
description[16]=" Club UK Channel features the latest European 12 inch remixes of a variety of House, Trance, UK Garage, 2 Step and Hard Dance."
description[17]=" This channel bangs the best in House, Trance, Breaks, and Progressive. This is Miami's OFFICIAL sound."
description[18]="For the Harder Generation, this channel is commited to playing the hardest Trance, Gabber, and House anthems on the net."
description[19]="Today's Hit Kicker Country Channel. Featuring the best from today's hot upbeat Country Hits and yesterday's all time favorites."
</script>
<br /></td> <td class="windowbg2" align="center" width="20%">
<span id="textcontainer2" align="center" style="font:bold 13px Arial">
</span>
<script type="text/javascript">
var genre=new Array()
genre[0]="Rock"
genre[1]="Rock"
genre[2]="Rock"
genre[3]="Rock"
genre[4]="Rock"
genre[5]="Rock"
genre[6]="Techno"
genre[7]="Techno"
genre[8]="Techno"
genre[9]="Hip-Hop/R&B"
genre[10]="Hip-Hop/R&B"
genre[11]="Pop"
genre[12]="Pop"
genre[13]="Pop"
genre[14]="Variety"
genre[15]="Variety"
genre[16]="Variety"
genre[17]="Variety"
genre[18]="Variety"
genre[19]="Country"
</script>
<script type="text/javascript">
function displaydesc(which, descriptionarray, genrearray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
document.getElementById('textcontainer2').innerHTML=genre[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value, "", "width=747px, height=462px")
else
window.location=selectedopt.value
}

displaydesc(document.form1.station, description, genre, 'textcontainer1')
</script>
</td></table>
<table border="0" cellspacing="1" cellpadding="4"> <tr> <th align="left" width="10%" height="5%" class='windowbg2'><a href="http://z11.invisionfree.com/MooseCreations" target="_blank">©</a> - Created By Agent Moose</th></tr></table>
</div><br></div>
</div><br></div>
<!--End MC Radio V2-->


Support
If you need any help with taking off radio stations, you can go here for support:
http://smfffhacks.smfforfree2.com/index.php

Thanks, I hope you like it!

-Agent Moose
« Last Edit: August 27, 2007, 09:12:04 pm by simply sibyl » Logged

Want to know how good your board is?  Why not get it reviewed at Revolution X!
hatred
SMF For Free Full Member
*
Offline Offline

Posts: 114


View Profile
« Reply #1 on: July 20, 2007, 12:15:05 pm »

 Can you give the code without those stations or the correct links to them? No rush. We're all havin fun with it. Thanks!!!
« Last Edit: February 14, 2008, 11:43:06 am by simply sibyl » Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 776


Do not PM me for Code Support or Request


View Profile
« Reply #2 on: July 20, 2007, 06:19:57 pm »

Sure, I will work on it right now.

EDIT:
Code:
<!--MC Radio V2-->
<script type="text/javascript" src="http://www.geocities.com/yort1223/scripts/HideShow.js">
</script>
<a title="Show Tables" href="javascript:toggleDisplay('table1')"><b><div align="left">[Show/Hide MC Radio]</div></b>
<div style="display:none;" id=table1>
<div class="tableborder"><div class='catbg2'>MC Radio V2</a></div><tr> <table border="0" cellspacing="1" cellpadding="4">  <tr> <td class="windowbg2" align="center" width="23%">
<b>Listen to </b><form name="form1">
<select name="station" size="1" onChange="displaydesc(document.form1.station, description, genre, 'textcontainer1')">
<option selected value="http://www.1club.fm/clubfm_media/v42.aspx?station=activex" target="newwin">Active Radio X</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=modernrock" target="newwin">Modern Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicrock" target="newwin">102 Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hairband">Hair Band Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicalt-dude" target="newwin">Alternative Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=clubuk" target="newwin">House of Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=techno" target="newwin">Techno Club</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=harddance" target="newwin"> Gruvsonic Hard Dance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=trance" target="newwin">Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=rnb" target="newwin">R&B Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=power" target="newwin">Old School Rap</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hitmusic" target="newwin">Channel 1</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=vradio" target="newwin">Variety Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hkcountry" target="newwin">Kicker Country</option>
</select>
<input type="button" value="Listen"
onClick="jumptolink(document.form1.station)">
</form>
</a></td> <td class="windowbg2" width="32%">
<span id="textcontainer1" align="left" style="font:italic 13px Arial">
</span>
<script type="text/javascript">
var description=new Array()
description[0]="A hard hitting Rock Channel playing the best in Heavy Metal, Alternative, and 80s Hard Rock on the planet."
description[1]="The Net's New Rock Alternative. An edgy display of Active, Modern, Today & Classic Alternative Rock Music."
description[2]="LIVE from a City that built the Classic Rock format. Take a listen to the legendary bands that started it all."
description[3]="The House of Hair Spray and Spandex. Playing your favorite sleaze Rock Anthems of the 80s & early 90s!"
description[4]=" Playing the best Alternative Rock music from the 90s era.<br>"
description[5]=" Club UK Channel features the latest European 12 inch remixes of a variety of House, Trance, UK Garage, 2 Step and Hard Dance."
description[6]="Spinning the best in Trance and Techno Club Beats. Live from Chicago, it's the net's home for the best in underground sounds!"
description[7]="For the Harder Generation, this channel is commited to playing the hardest Trance, Gabber, and House anthems on the net."
description[8]="Featuring a pulsating mix of vocal and uplifting anthems from today's biggest trance dj's and artists."
description[9]="The hottest selection from today's most creative R&B Artists. These tracks are the cutting-edge of Contemporary R&B."
description[10]=" Hip Hop & R&B. Music from the best of today's biggest artists.<br>"
description[11]=" Throw'n down a funky and unique collection of old school, progressive, and fresh Florida Breaks."
description[12]="V means VARIETY. We play what we want on this channel. No rules, just great music."
description[13]="Today's Hit Kicker Country Channel. Featuring the best from today's hot upbeat Country Hits and yesterday's all time favorites."
</script>
<br /></td> <td class="windowbg2" align="center" width="20%">
<span id="textcontainer2" align="center" style="font:bold 13px Arial">
</span>
<script type="text/javascript">
var genre=new Array()
genre[0]="Rock"
genre[1]="Rock"
genre[2]="Rock"
genre[3]="Rock"
genre[4]="Rock"
genre[5]="Rock"
genre[6]="Techno"
genre[7]="Techno"
genre[8]="Techno"
genre[9]="Hip-Hop/R&B"
genre[10]="Hip-Hop/R&B"
genre[11]="Pop"
genre[12]="Variety"
genre[13]="Country"
</script>
<script type="text/javascript">
function displaydesc(which, descriptionarray, genrearray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
document.getElementById('textcontainer2').innerHTML=genre[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value, "", "width=747px, height=462px")
else
window.location=selectedopt.value
}

displaydesc(document.form1.station, description, genre, 'textcontainer1')
</script>
</td></table>
<table border="0" cellspacing="1" cellpadding="4"> <tr> <th align="left" width="10%" height="5%" class='windowbg2'><a href="http://z11.invisionfree.com/MooseCreations" target="_blank">©</a> - Created By Agent Moose</th></tr></table>
</div><br></div>
</div><br></div>
<!--End MC Radio V2-->

Try taht.
« Last Edit: July 20, 2007, 06:26:36 pm by Agent Moose » Logged

Want to know how good your board is?  Why not get it reviewed at Revolution X!
TheWarzone1
SMF For Free Full Member
*
Offline Offline

Posts: 107


View Profile
« Reply #3 on: April 01, 2008, 05:31:33 pm »

its not working Sad. it shows up, but when i click listen, it opens a new window and i get this...
Quote
Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested Url: /clubfm_media/v42.aspx
Logged

Smackdown! vs RAW 2008 CAW forum...
http://cawsrus.smfforfree4.com/index.php
simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #4 on: April 01, 2008, 05:41:03 pm »

It appears the links to those stations in the code are as the error message says either deleted, moved, name changed or temporarily unavailable.     Moose has no control over that.
« Last Edit: April 01, 2008, 05:47:14 pm by simply sibyl » Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #5 on: April 01, 2008, 05:48:43 pm »

I am unable to even get to their main page. It now says it is under construction so it appears those links are not of use anymore.  (or they could be redesigning the pages and "possibly" the links will be there)  who knows
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
TheWarzone1
SMF For Free Full Member
*
Offline Offline

Posts: 107


View Profile
« Reply #6 on: April 01, 2008, 09:43:14 pm »

is there a way to change the links to something else?
Logged

Smackdown! vs RAW 2008 CAW forum...
http://cawsrus.smfforfree4.com/index.php
simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #7 on: April 01, 2008, 09:46:34 pm »

is there a way to change the links to something else?

I would think they could be changed if look around the net to find other stations that allow you to use the links and that they work well with the code.   Sky.fm is one I can think of  (ive not tried using their stations with moose's code however)
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
TheWarzone1
SMF For Free Full Member
*
Offline Offline

Posts: 107


View Profile
« Reply #8 on: April 01, 2008, 10:12:45 pm »

thanks, i'll check it out
Logged

Smackdown! vs RAW 2008 CAW forum...
http://cawsrus.smfforfree4.com/index.php
simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #9 on: April 01, 2008, 10:13:16 pm »

sent ya a pm with one of their streams if you want to try it
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
TheWarzone1
SMF For Free Full Member
*
Offline Offline

Posts: 107


View Profile
« Reply #10 on: April 01, 2008, 10:32:07 pm »

yeah that worked. but i was hoping it would play it on the forum instead of opening it in media player. kinda makes it a pointless feature
Logged

Smackdown! vs RAW 2008 CAW forum...
http://cawsrus.smfforfree4.com/index.php
simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #11 on: April 01, 2008, 10:36:17 pm »

yeah that worked. but i was hoping it would play it on the forum instead of opening it in media player. kinda makes it a pointless feature

awhh look at the bright side.. you can take it with you lol

I pmed Moosey btw and let him know.   Possibly he can find another place to get them from that will do it in the same way.   
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3056


Internet Challenged


View Profile
« Reply #12 on: April 02, 2008, 05:55:51 am »

Here's a site that has lots of streaming radio stations.  It takes some work but you can find quite a few that will work in Moose's code. 

http://www.usliveradio.com/index.html
Logged
simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #13 on: April 02, 2008, 10:22:30 am »

Here's a site that has lots of streaming radio stations.  It takes some work but you can find quite a few that will work in Moose's code. 

http://www.usliveradio.com/index.html

they do.. but Moose would have to rework the code to get it to work with them. 
They bring up the box that used to come up for the other stations , and also Win Media Player.
I tried it later last evening and noticed that, talked with Moose about the code, and gave that
link to WarZone.. he came up with another idea for people to use in the process.. cool.
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Agent Moose
Moderator
*****
Offline Offline

Posts: 776


Do not PM me for Code Support or Request


View Profile
« Reply #14 on: April 02, 2008, 08:16:04 pm »

Well, seems for me that the site started working again.  How about any of you?
Logged

Want to know how good your board is?  Why not get it reviewed at Revolution X!


Pages: [1] 2
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.451 seconds with 17 queries.