More for previous
I did not install this as a module, here is my customisation, I am no coder, but it works for me
Edited this, I posted wrong code a min ago
I called this popup.php
/****************************************************************
* Block XP-Radio Adapté à XOOPS par LLaumgui pour XPerience-Fr *
*
http://www.xperience-fr.net *
* *
* Module sous licence gpl *
****************************************************************/
?>
if ($station == capitalfm){$staradio = "www.radio-now.co.uk/l/capitalfmlo.asx";}
elseif ($station == classicgold) {$staradio = "62.25.96.7/classicgold";}
elseif ($station == powerfm) {$staradio = "streaming.capitalinteractive.co.uk/power_low";}
elseif ($station == smoothjazz) {$staradio = "smoothjazz.com/smooth.asx";}
elseif ($station == radiostorm) {$staradio = "64.236.34.141:80/stream/1023";}
elseif ($station == talksport) {$staradio = "194.162.227.149/audio/talksport.asx";}
elseif ($station == studentbroadcast) {$staradio = "www.sbn.co.uk/SBNLive.asx";}
elseif ($station == premierchristian) {$staradio = "www.premier.org.uk/streaming/premier.asx";}
elseif ($station == radioscotland) {$staradio = "62.25.96.7/rrs/";}
elseif ($station == talkgospel) {$staradio = "www.premier.org.uk/streaming/premierg.asx";}
elseif ($station == rtl2) {$staradio = "cache.yacast.fr/V4/rtl2/rtl2.asx";}
elseif ($station == crfm) {$staradio = "audio.musicradio.com/2CR.asx";}
elseif ($station == ucbeurope) {$staradio = "62.25.96.7/ucbinspiration";}
elseif ($station == ucbbible) {$staradio = "62.25.96.7/ucbbible";}
echo "
$station
";
?>
//End of popup.php
My Custom Block:-- Hashed code, I am sure you can improve
//end of hashed code
//copy radio.gif from my site if you wish
A lot of the stuff in the code is not needed, I just pasted it all from the module with my changes. Some of the french stations listed don't have matching "option value=", so they won't appear as a selection. Perhaps a coder could improve this and include real player etc. Internet_Radio for Postnuke is very good if someone could port it
A couple of the radio links are not functional because the stations are off, but you get the idea, nice one to play with?