21
Kolibri
Re: Streaming Audio Mod
  • 2003/9/22 9:40

  • Kolibri

  • Just popping in

  • Posts: 17

  • Since: 2003/9/5 1


Just searched the winamp forums and the only interesting thing I've found was this link:

http://www.freedomaudio.com/

I guess you have to get this into a block by yourself but I do not know how to get the links into a file as variables.

Hopefully it is of any use.

22
limecity
Re: Streaming Audio Mod
  • 2003/9/25 6:47

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Hello...
i don't really understand how to install this..

Do i create a file for the php section
and another one HTML for the block?

23
JackJ
Re: Streaming Audio Mod
  • 2003/9/25 8:13

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Snow,

My webhost has went under, kdawebservices.co.uk having a great time.

You will find a file called config.new.php. Take out the text that is in it until you are left with this:

<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: config.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web:http://www.4homepages.de *
* Scriptversion: 1.7 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/



?>


A blank config.php file in other words


rename it config.php and give it 666 chmod permissions and upload it to 4images root.

This is a common problem with install, but this sorts it

regards

24
JackJ
Re: Streaming Audio Mod
  • 2003/9/25 8:13

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


edit posted twice

25
JackJ
Re: Streaming Audio Mod
  • 2003/9/25 8:33

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Snow,

If you wish 100% width in XOOPS see this thread

Here

For free templates for 4images try http://www.vierstra.com/4images_templates.htm

Among others they have a theme called 4default_wide which is a 100% default theme

You also need to chmod 777 your template files, you can edit the templates in 4images admin

26
JackJ
Re: Streaming Audio Mod
  • 2003/9/25 8:55

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Catscity

Yes, doing it this way it is not installed as a module

See the code I posted earlier and create a file called popup.php and paste the code in (not the custom block part)

place it in yourpath/popup.php. I have mine in my root

Then creat a custom block to call the popup something like this


<center><img border="0" src="radio.gif" width="108" height="96"></p>
<br<br>

<FORM>
<INPUT type="button" value="Popup Select" onClick="window.open('http://yourpath.com/popup.php','mywindow','width=220,height=330',scrollbars=0)">
</FORM><br>
<FORM>
<INPUT type="button" value="Radio4 Player" onClick="window.open('http://www.bbc.co.uk/radio/aod/radio4.shtml?fm')">
</FORM>
<br>
<hr>
</center>

If you don't want the radio4 part take out this:

<FORM>
<INPUT type="button" value="Radio4 Player" onClick="window.open('http://www.bbc.co.uk/radio/aod/radio4.shtml?fm')">
</FORM>

You can of course play around with the HTML to get sizes and look etc to your liking



27
JackJ
Re: Streaming Audio Mod
  • 2003/9/25 12:02

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


catscity

You will need to find the path to the station, when you have found it add your line to the code like this:


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 == yourstationname) {$staradio = "pathtoyourstation";}


Then look for the code further down relating to options and add another line: (this will allow the station to show up as a selection

<option value=\"popup.php?station=yourstationname\">My Chinese Station</option>

the word "yourstationname" has to match in both instances

The station extension has to be compatible with MS Media Player. It will not play if you have dont have MS Media Player on your PC, or Winamp is your only player. Some radio extensions play in both Winamp and MS Media Player, so if the radio station path does not have an "asx" extension, it may still play in media player, like some of mine, trial and error really.

(Hint: A good way to find the path for a radio station is to go to radio station, tune in to the station, which lauches your default player, and then go to "properties" in media player for example, and paste the path into relevant place in the code--"asx" extensions and some others are compatible with MS Media Player. Some paths don't have asx extensions at all, but the correct path will still work ok in many instances)

Some of these winamp station links only work with the site default player, I would try and find some chinese links for you, but I am Scottish and don't know chinese..

28
wizanda
Re: Streaming Audio Mod
  • 2004/7/4 16:08

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


can someone convert the exoops module
i post up as it plays most files
if you lot know this much you could mange the radio conversion as it is already half way there????

Login

Who's Online

232 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits