[RC]Streaming Radio MOD 0.9

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
vigge_swe
Registered User
Posts: 375
Joined: Sat Jun 03, 2006 5:01 pm

[RC]Streaming Radio MOD 0.9

Post by vigge_swe »

MOD name: Streaming Radio Mod
phpBB version: 3
Mod description: Adds a Streaming Radio to your board.
Author: vigge_sWe

Demo: http://jagf.net/sradio.php

download: http://www.mediafire.com/?38xusdxkmsl

If you find a bug, please post it here! Otherwise I send this to the mod db in ~2 days.

Note, it doesen't require a shoutcast server as http://www.x10radio.com is used.
Last edited by vigge_swe on Thu Mar 20, 2008 2:47 pm, edited 1 time in total.
oglach
Registered User
Posts: 498
Joined: Sun Apr 22, 2007 5:58 pm

Re: [RC]Streaming Radio MOD 0.9

Post by oglach »

Can you run ur own live stream or just the radios it come with?

Also does it require shoutcast server?
vigge_swe
Registered User
Posts: 375
Joined: Sat Jun 03, 2006 5:01 pm

Re: [RC]Streaming Radio MOD 0.9

Post by vigge_swe »

oglach wrote:Can you run ur own live stream or just the radios it come with?

Also does it require shoutcast server?
no sorry. I used x10radio as radio. I haven't got any knowledge about shoutcast servers etc... It isn't good to release a shoutcast radio mod if you don't know about shoutcast server, is it? Anyway, if you have your own shoutcast server you can replace the iframe in the style file to your embeed player.
User avatar
DarkBeing
Registered User
Posts: 126
Joined: Wed Mar 28, 2007 5:31 pm
Location: atm Estonia
Name: Sven

Re: [RC]Streaming Radio MOD 0.9

Post by DarkBeing »

The idea is interesting, but the problem is that what is the use if the members can not browse the forum while listening to the radio? I think it would be better if it would be in a pop-up or something so that members can tune in, listen and continue to browse the forum. Or at least have an option if someone wants to have it in a pop-up. Just a suggestion, otherwise I like this one.
vigge_swe
Registered User
Posts: 375
Joined: Sat Jun 03, 2006 5:01 pm

Re: [RC]Streaming Radio MOD 0.9

Post by vigge_swe »

DarkBeing wrote:The idea is interesting, but the problem is that what is the use if the members can not browse the forum while listening to the radio? I think it would be better if it would be in a pop-up or something so that members can tune in, listen and continue to browse the forum. Or at least have an option if someone wants to have it in a pop-up. Just a suggestion, otherwise I like this one.
it is a popup... I added target=_blank in the kink so it should open in a new tab/window.
User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: [RC]Streaming Radio MOD 0.9

Post by Jaymie1989 »

You can just do this with a custom page.

Im not pooping on your mod vigge_swe.

Im just saying people can do this and customize the look of it and choose a station for them
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services
jklnl65
Registered User
Posts: 15
Joined: Fri Apr 20, 2007 8:01 am

Re: [RC]Streaming Radio MOD 0.9

Post by jklnl65 »

It's easy to customize :D

listen.php put it somewhere on your site.

Code: Select all

<html>
<head>
<title>
YOUR OWN STATION
</title>
</head>

<body>
<OBJECT ID="MediaPlayer" WIDTH=385 HEIGHT=147
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject">

<PARAM NAME="FileName" VALUE="URL TO YOUR STREAMING SERVER" valuetype="ref" ref>
<param name="AudioStream" value="1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="0">
<param name="AnimationAtStart" value="0">
<param name="AllowScan" WIDTH=320value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">

<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="1">
<param name="DisplaySize" value="1">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="-1">

<param name="EnableTracker" value="-1">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="-1">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="-1">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowStatusBar" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="333333">
<param name="VideoBorder3D" value="-1">
<param name="Volume" value="-1">
<param name="WindowlessVideo" value="-1">
<EMBED TYPE="application/x-mplayer2" SRC="URL TO YOUR STREAMING SERVER"
NAME="MediaPlayer"
WIDTH=320
HEIGHT=240>

</EMBED></OBJECT>
<br />
</body>
</html>
sradio.html

Code: Select all

<!-- ---------------------------------------- -->
<!-- copyright 2008 vigge_sWe http://jagf.net -->
<!-- ---------------------------------------- -->
    <!-- INCLUDE overall_header.html -->

    <h2>Radio</h2>

    <div class="panel">
       <div class="inner"><span class="corners-top"><span></span></span>

       <div class="content">
          <p>
          <center>
<iframe src="http://URL TO YOUR SITE/listen.php" height="300" width="100%" scroll="no" frameborder="0"></iframe>
          Provided by <a href="http://jagf.net">JAGF - Just A Game Forum</a>, <br />
          <a href="http://www.x10radio.com" target=_blank>X10 radio</a> and <br />
          <a href="http://www.x10hosting.com/?rid=43351" target=_blank>X10 hosting</a>
          </center>
          </p>
       </div>

       <span class="corners-bottom"><span></span></span></div>
    </div>
<!-- Google analytics start -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3715202-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<!-- Google analytics end -->
    <!-- INCLUDE jumpbox.html -->
    <!-- INCLUDE overall_footer.html -->
Janneman.
simvader
Registered User
Posts: 144
Joined: Thu Sep 06, 2007 5:54 pm
Location: Netherlands
Contact:

Re: [RC]Streaming Radio MOD 0.9

Post by simvader »

The page cannot be found...
vigge_swe
Registered User
Posts: 375
Joined: Sat Jun 03, 2006 5:01 pm

Re: [RC]Streaming Radio MOD 0.9

Post by vigge_swe »

simvader wrote:The page cannot be found...

which page?
garyboyce
Registered User
Posts: 8
Joined: Tue Feb 12, 2008 9:45 pm

Re: [RC]Streaming Radio MOD 0.9

Post by garyboyce »

Let me start by saying, i have your mod on my site http://www.modsbyus.com and its a great mod.
My question is, is there anyway to change the stream and if so how do i do it?
vigge_swe
Registered User
Posts: 375
Joined: Sat Jun 03, 2006 5:01 pm

Re: [RC]Streaming Radio MOD 0.9

Post by vigge_swe »

garyboyce wrote:Let me start by saying, i have your mod on my site http://www.modsbyus.com and its a great mod.
My question is, is there anyway to change the stream and if so how do i do it?
Go to sradio.html in the template folder.
1. Find an station with a player. Try to find one that only has the player in the window/popup.
2. Copy the link to that player.
3. In the iframe, replace the link in the src=""
4. Done.
garyboyce
Registered User
Posts: 8
Joined: Tue Feb 12, 2008 9:45 pm

Re: [RC]Streaming Radio MOD 0.9

Post by garyboyce »

thank you for the quick response. i tried to add a last.fm stream and got this error

Not Found
The requested URL /php/href= was not found on this server.

the url is http://www.last.fm/listen/globaltags/rock
its not exactly a popup player.. its a web page.
im finding that it is kind of difficult to find a popup player anymore. they all seem to be embedded.
is there any way to make this work?
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [RC]Streaming Radio MOD 0.9

Post by jimcarrel »

There is a pop up on that page, ummm, I borrowed it.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
garyboyce
Registered User
Posts: 8
Joined: Tue Feb 12, 2008 9:45 pm

Re: [RC]Streaming Radio MOD 0.9

Post by garyboyce »

jimcarrel wrote:There is a pop up on that page, ummm, I borrowed it.
where? what is the url you "borrowed"?
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [RC]Streaming Radio MOD 0.9

Post by jimcarrel »

the pop up. you can take the html. do with it as you will
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
Locked

Return to “[3.0.x] MODs in Development”