PDA

View Full Version : Forum Home Enhancements - Shoutcast Status 2.0 (VB3.6)


Pages : [1] 2 3

Zachariah
09-06-2006, 10:00 PM
Shoutcast Status 2.0 on your VB3.6 ForumHome.

/* ----------------- 11/15/2006 -----------------
This is a Nice hack to add Shoutcast Status on your VB3.6 ForumHome.
Hope it helps !!!

Zachariah @ http://www.szone.us

SHOUTcast is a free-of-charge audio homesteading solution. It permits anyone
on the internet to broadcast audio from their PC to listeners across the
Internet or any other IP-based network (Office LANs, college campuses, etc.).

http://www.shoutcast.com

Zerro Queries Added

================================================== =====
Tested On:

vBulletin 3.6+
SHOUTcast Server v1.9.5

DEMO (http://www.szone.us/forum.php)
================================================== =====

== Install: 2-5 min ==


Full Stats
- Needs Shoutcast server admin password

Server Name
Song History
4 media layers (winamp, quicktime, media player, real player)
DJ Name
Bitrate
Current Song
Media Type
Most Ever Connected
Hit Count
Users Connected
Avj. Connect Time
User Max
Online / Offline status
XML Data Cache


Lite Stats
- Does not need shoutcast server admin password

Server Name
4 media layers (winamp, quicktime, media player, real player)
Bitrate
Current Song
Users Connected
User Max
Online / Offline status
XML Data Cache

================================================== =====
Adds: 2 plugins
Adds: 8 images, 2 files
Adds: 10 templates
Adds: 45 phrases

Change Log (https://vborg.vbsupport.ru/showpost.php?p=1069789&postcount=4)

Shoutcast 1.9 - 598 Downloads

Zachariah
09-07-2006, 02:49 AM
================================================== =====
Changelog |
================
2.0 11.15.06

- Merged shoutcast lite and full into 1 program
** If you do not have an admin password for your shoutcast server you can get limited information from the server "lite".

- Stats and History moved
** There was a need to hit collapsible +/- image to show song history and server stats. This has been moved to a 2 vbmenus as a click dropdown.

- Show Off Line Status
** Set to "No" to remove off line template when the shoutcast server is off line, or there is no DJ source

- Select what usergroups can see the add-on
- Fully phrased
- Cleaned up code in templates
- Changed and added templates.

v1.9

9.06.06
- Moved body of hack to: /includes/shoutcast/scast.php vs. in datastore.
- added 2 templates: forumhome_shoutcast_who, forumhome_shoutcast_who_off
- popup player url from index.php to $vboptions[forumhome].php
- Locations:

Above Header
Below Header
Under Navbar
Above What's going on
Inside What's going on
Below What's going on
Custom


Select "Custom" and place $scast in FORUMHOME template for custom location.


** You may need to revert forumhome_shoutcast, forumhome_shoutcast_off

LT Mote
09-07-2006, 05:12 AM
OOOO this is going to be PERFECT for my online station haha, TY

Hey, do you think this will be avalible for "IceCast" anytime soon?

maroceve
09-07-2006, 10:35 AM
Oh ! finally the players work ...i never could get them to work til this version !

Will there an update for the cmps version ? :)

Thank you sir.

NovemberRain
09-07-2006, 02:10 PM
What about a version for Icecast?

COBRAws
09-07-2006, 03:21 PM
Thank you Zac!

Neal-UK
09-07-2006, 04:13 PM
Can I add someone elses station? My radio scanning site www.radioscanningworld.com would be great if I could add users who broadcast their scanners, or do I need to ask them for settings?

Ntfu2
09-07-2006, 05:36 PM
Now if i could only figure out how to install ShoutCast and use it :)

Zachariah
09-07-2006, 06:32 PM
Can I add someone elses station? My radio scanning site www.radioscanningworld.com would be great if I could add users who broadcast their scanners, or do I need to ask them for settings?

Hello,

This is a single server setup that access the server info via Admin login.
I will have a "lite" verison soon that needs only a IP:Port to connect.

I also have another in the mix with a database table to imput multi - IP:PORT.
This would allow for a choice of many "favs" or if you have a farm of servers.

Zachariah
09-07-2006, 06:42 PM
What about a version for Icecast?

Yes :) - soon !

AES
09-07-2006, 09:18 PM
Hello,

I would have there times a question, I gladly the picture of the Songalbums with a left too amazon would merge, have you there perhaps an idea, how one could turn on this thing? If, I would be pleased, if you yours chop in this connection modify could. My personal conception would be perhaps a data base for music titles of any kind of forming in addition I you in addition if you interest, gladly my music data base gave, which is present in mysql, with all these data, which are needed for it. Perhaps you have in addition, only one thought beginning and permit me yours chop to modify around this feature, which would fall honestly said with difficulty me however, since I am not really been versed with it! About an answer I would be pleased!

Greeting AES

Zachariah
09-07-2006, 10:00 PM
Very cool ideas. :cool:

Hello,

I would have there times a question, I gladly the picture of the Songalbums with a left too amazon would merge, have you there perhaps an idea, how one could turn on this thing? If, I would be pleased, if you yours chop in this connection modify could. My personal conception would be perhaps a data base for music titles of any kind of forming in addition I you in addition if you interest, gladly my music data base gave, which is present in mysql, with all these data, which are needed for it. Perhaps you have in addition, only one thought beginning and permit me yours chop to modify around this feature, which would fall honestly said with difficulty me however, since I am not really been versed with it! About an answer I would be pleased!

Greeting AES

Chicago_VLNU_4s
09-07-2006, 10:24 PM
would be nice if there was a version for 3.5 :/

Shazz
09-07-2006, 10:26 PM
would be nice if there was a version for 3.5 :/
Shoutcast 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94336&highlight=shoutcast)

:)

AES
09-07-2006, 11:07 PM
Ok one, I you pn to write tomorrow, sorry my English is greyful, I are German, hope excuses it! :D I makes for you tomorrow times a small data base with contents in such a way which you this small modification surely fast convert can. As Download at the disposal will then put and then will look the files to you we times, what we on the ways to bring there! Thanks already, which is open you for the idea!

Greeting AES

jklimczak
09-07-2006, 11:09 PM
I had it working on 3.5 and now n 3.6 it says it down

spetactical
09-08-2006, 12:00 AM
Mine says its down too on 3.6.

Shazz
09-08-2006, 12:07 AM
You had it working on the 3.5 then upgraded?
Mine seems fine..

Zachariah
09-08-2006, 12:29 AM
spetactical, jklimczak

Did you CHMOD your xml cache file to 777?

Chicago_VLNU_4s
09-08-2006, 01:32 AM
Shoutcast 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94336&highlight=shoutcast)

:)

thanks!

LT Mote
09-08-2006, 01:44 AM
Yes :) - soon !

HEY, I asked for it first :cool: hehe, JK

But ya, that would be COOL IceCast Vesion 2 would be prefered, its more stable... :)

Zachariah
09-08-2006, 01:59 AM
HEY, I asked for it first :cool: hehe, JK

But ya, that would be COOL IceCast Vesion 2 would be prefered, its more stable... :)

I'll have to read on it a bit, install, find out how it works. I have been lost in shoutcast for a few years. :)

LT Mote
09-08-2006, 02:34 AM
ahhhhhhhhh My boards are freakin out

http://www.irio-gfx.com/

HELP PLZ AIM me @ oBHRoLT Mote

EDIT:

Currently my shoutcast is online and streaming.... its freakin rofl

Zachariah
09-08-2006, 02:44 AM
ahhhhhhhhh My boards are freakin out

http://www.irio-gfx.com/

HELP PLZ AIM me @ oBHRoLT Mote

EDIT:

Currently my shoutcast is online and streaming.... its freakin rofl

Did you CHMOD your xml cache file to 777?
The XML will be in the root of the forums.

LT Mote
09-08-2006, 03:13 AM
Did you CHMOD your xml cache file to 777?
The XML will be in the root of the forums.

dahh dam it, I always forget that... Thanks

EDIT:

OMG Thanks man, sry I AIMd you about it, rofl, THank you aagain

LT Mote
09-08-2006, 03:22 AM
hey, is there a way to edit it so that when the server IS offline, it will say something like

{station name} is currently offline
instead of ShoutCast Server is offine???

AES
09-08-2006, 07:54 AM
hey, is there a way to edit it so that when the server IS offline, it will say something like

{station name} is currently offline
instead of ShoutCast Server is offine???

This can you chance in the Templatefiles. Please look on it, the Name is Shoutcast ... in this Files you can costumize!

Greetz

bashy
09-08-2006, 09:00 AM
I am looking into this shoutcast thingy, i know nothing about it, where can i learn please?

jklimczak
09-08-2006, 11:22 AM
spetactical, jklimczak

Did you CHMOD your xml cache file to 777?
I did still no good ill try with the new install

magnus
09-08-2006, 11:41 AM
"Custom Location" isn't working for me. I have "Custom" selected, and I've placed $scast in various random locations on FORUMHOME and each time it places the shoutcast table below the navbar. All of the other pre-set locations work fine, though.

Zachariah
09-08-2006, 12:13 PM
"Custom Location" isn't working for me. I have "Custom" selected, and I've placed $scast in various random locations on FORUMHOME and each time it places the shoutcast table below the navbar. All of the other pre-set locations work fine, though.

My goof :D

Custom location was last thing to add.
I'll update the build. And shoot a fix.


** EDIT Updated

Replace:
includes/shoutcast/scast.php

jklimczak
09-08-2006, 12:37 PM
Still no good Still says its down
But its up if i go right to the server

LT Mote
09-08-2006, 03:18 PM
This can you chance in the Templatefiles. Please look on it, the Name is Shoutcast ... in this Files you can costumize!

Greetz

DuDe, I am a PHP n00b, I will mess something up, ROFL, I know that for sure lol

Alpe
09-08-2006, 03:20 PM
Give it some free Shoutcast Station without a Adminpass?

Zachariah
09-08-2006, 04:53 PM
Give it some free Shoutcast Station without a Adminpass?

Soon. :)

henners
09-08-2006, 07:19 PM
Followed the install instructions fully, but am getting this on the forumhome:

Warning: Unknown: failed to open stream: No such file or directory in \forum.php(485) : eval()'d code on line 152

Warning: Unknown: failed to open stream: No such file or directory in \forum.php(485) : eval()'d code on line 152

Fatal error: Unknown: Failed opening required 'C:\Apache2\htdocs\xtremev3/includes/shoutcast/scast.php' (include_path='.;C:\php5\pear') in C:\Apache2\htdocs\xtremev3\forum.php(485) : eval()'d code on line 152

I have the vBadvanced shoutcast product installed - could this be conflicting?

Shazz
09-08-2006, 08:26 PM
Thanx for the notice of update !

murrtex
09-08-2006, 10:10 PM
thanks..and we are waiting for CMPS Shoutcast Status Full....3.6.0

LT Mote
09-08-2006, 11:12 PM
Give it some free Shoutcast Station without a Adminpass?

Ya, I don't feel comfortable givin my admin pass to my affliates... And technically you don't NEED the "A" password to tune in! lol

Zachariah
09-09-2006, 01:43 AM
Ya, I don't feel comfortable givin my admin pass to my affliates... And technically you don't NEED the "A" password to tune in! lol

I think he is asking for the hack that does not need a admin password to show simple stats / connection links. Not your server admin info :D.

I will have that hack done soon.


thanks..and we are waiting for CMPS Shoutcast Status Full....3.6.0
:)

LT Mote
09-09-2006, 05:14 AM
I think he is asking for the hack that does not need a admin password to show simple stats / connection links. Not your server admin info :D.

I will have that hack done soon.



:)


ooo haha, My Bad :)

HEY question, that scrollin marquee with the song title and that, does that auto update when the song changed, with out refreshing the page?

If it doesn't, is there a way to edit the script so that its fixed and not scrolling?

Thanks :)

Goatpod
09-09-2006, 01:30 PM
Hi,

I've got my Shoutcast server up and running fine on my machine, the shoutcast is listenable from elsewhere but I can't seem to get it running on my board, it just keeps telling me 'currently our shoutcast server is down'.

These are my settings:

Server name = the server name I've got in my Shoutcast Server
Server IP = My IP
Port: 8000
Server Pasword: same as my server password
Server IRC: Not sure what to put here - I can't find a DJ DSP setting on WinAmp so it's currently blank
Server Cache: the scast_home.xml is in the forum root directory and set to 777
Server update 120

Any advice on what I've missed or cocked up would be greatly appreciated.

Thanks :)

LT Mote
09-09-2006, 02:53 PM
Hi,

I've got my Shoutcast server up and running fine on my machine, the shoutcast is listenable from elsewhere but I can't seem to get it running on my board, it just keeps telling me 'currently our shoutcast server is down'.

These are my settings:

Server name = the server name I've got in my Shoutcast Server
Server IP = My IP
Port: 8000
Server Pasword: same as my server password
Server IRC: Not sure what to put here - I can't find a DJ DSP setting on WinAmp so it's currently blank
Server Cache: the scast_home.xml is in the forum root directory and set to 777
Server update 120

Any advice on what I've missed or cocked up would be greatly appreciated.

Thanks :)


Mine did the same thing, the only thing you change, is your Server Name, The IP and then the Password, and you can change the refresh time to like 20, that should work, if it doesn't let me know, and I can come to ur site and help you fix it, Also, be sure you "chmod" your shoutcast.xml to 777, I forgot to do that, and it woudn't work. do the chmod first if you haven't already :)

Zachariah
09-09-2006, 05:21 PM
@Goatpod

If you are sure that your shoutcast server is setup and there are no issues with firewalls and ports. Your webhost may not allow external queries to ports other than 80.

To test this, set your shoutcast server to port 80 (default web port) and see if your stats show up. If all is well, contact your webhost and ask if there are ports other than 80 that are open and can be used to request an XML feed from. (IE: shoutcast status php script). You may be in luck. :)

Snake
09-09-2006, 05:34 PM
Thanks a lot! :)

UNRE4L
09-10-2006, 03:25 AM
I'm having the same problem.

Everything is installed the scast_home.xml file is CHMOD'd but it says the server is down.

This worked fine with the old version with no problems, since i updated it hasnt worked.

thedvs
09-10-2006, 05:07 PM
server down usually means noone is streaming to your shoutcast or your shoutcast server isnt running properly...

Mini-Moose
09-10-2006, 07:23 PM
I've CHMOD scast_home.xml and filled in all the stuff in the options but i didn't know what to put in IRC server so i left it as what it was. When i connected it just said the radio is offline.
can anyone help?

robgeo
09-11-2006, 12:14 AM
reserved...

fxs158
09-11-2006, 12:51 AM
what am doing wrong? path?



Warning: fopen(/home/infinit/forums/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in /includes/shoutcast/scast.php on line 102

Warning: fwrite(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 103

Warning: fclose(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 104

Warning: fopen(/home/infinit/forums/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in /includes/shoutcast/scast.php on line 107

fxs158
09-11-2006, 01:07 AM
Solved the path issue but still says server down. I can connect to server from other computers, just not in the forum. I cmod properlly the xml file.

fxs158
09-11-2006, 01:24 AM
it is working now, wohoo

jklimczak
09-11-2006, 02:57 AM
still not working and im told i can get out they have users doing the same thing

and my server is up

LT Mote
09-11-2006, 11:17 AM
server down usually means noone is streaming to your shoutcast or your shoutcast server isnt running properly...

haha, ya, You have to have something streaming, other wise the line is dead air, and there for the hack won't detect it...

DustyBin
09-11-2006, 12:01 PM
Wow thanks for such a cool mod!
Is there a way of running the mod on a custom made template so i can dedicate a whole radio page on my forum? At the moment you can only set the custom locations on the FORUMHOME template.

fxs158
09-11-2006, 12:47 PM
Great Hack indeed! I have a new problem. Everithing was running smooth, when streaming from my computer with shoutcast. I decided to take things further and stream from within my server. I got the server to work and stream ok, only problem is that now the song name stays as the first sanem on the playlist.lst how can i fix this?

fxs158
09-11-2006, 12:56 PM
Ouch, having both running on the VPS is using all the resources. I did not know this would be so server intensive "shoutcast I mean" not the hack.

cunder
09-12-2006, 10:49 AM
Hello
is it possible that your can places a status Picture, example in the navbar/header or somewhere else with radio ofline, and if the radio is online then you see a Picture with radio online.
if so, how you do that.
thanks

sorrie for me bad English!!

smoknz28
09-13-2006, 04:25 AM
After installing on v3.6.0 I'm getting the following error when I go to my forums:

Warning: Unknown(/home/smoknz28/public_html/forums/includes/shoutcast/scast.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/smoknz28/public_html/forums/includes/shoutcast/scast.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/smoknz28/public_html/forums/index.php(485) : eval()'d code on line 1

Zachariah
09-13-2006, 11:19 AM
scast.php needs to be uploaded to:

/forums/includes/shoutcast/scast.php

After installing on v3.6.0 I'm getting the following error when I go to my forums:


Warning: Unknown(/home/smoknz28/public_html/forums/includes/shoutcast/scast.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/smoknz28/public_html/forums/includes/shoutcast/scast.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/smoknz28/public_html/forums/index.php(485) : eval()'d code on line 1

smoknz28
09-13-2006, 02:24 PM
scast.php needs to be uploaded to:

/forums/includes/shoutcast/scast.php

Doh! :knockedout:

K, got it installed correctly.....however, I do need a little help understanding this a bit further.

What I would like to do is add a Shoutcast channel from http://www.shoutcast.com/ I found one that I'd like to have available for my users with the following address: http://64.236.34.97:80/stream/1074

Doesn't seem like I can add this in....is that the case?

Also, can I have more than one Shoutcast channel for my users to choose from?

Thank you so much for a great add-on. ;)

Zachariah
09-13-2006, 07:34 PM
Doh! :knockedout:

K, got it installed correctly.....however, I do need a little help understanding this a bit further.

What I would like to do is add a Shoutcast channel from http://www.shoutcast.com/ I found one that I'd like to have available for my users with the following address: http://64.236.34.97:80/stream/1074

Doesn't seem like I can add this in....is that the case?

Also, can I have more than one Shoutcast channel for my users to choose from?

Thank you so much for a great add-on. ;)

Keep an eye out for " Shoutcast Status Lite (VB3.6)". The full version has the need for an Admin password of the shoutcast server to get the data. The lite version can get less info, but has no need for a password.

AES
09-15-2006, 03:20 PM
I would let indicate gladly, which user sends straight, thus a kind “on air”, paired with the Avantar users unite and profile fields! How would I have to adapt the code, if the DJ uses the Discription function? Speak, the DJ is registered in the forum and if DJXXX calls itself, now stands there also in the Discription in it and if this like that is, he is the Avantar users to indicate, as well as its profile fields! Here please does someone have a proposal for solution? Thanks!

Zachariah
09-15-2006, 03:58 PM
I would let indicate gladly, which user sends straight, thus a kind ?on air?, paired with the Avantar users unite and profile fields! How would I have to adapt the code, if the DJ uses the Discription function? Speak, the DJ is registered in the forum and if DJXXX calls itself, now stands there also in the Discription in it and if this like that is, he is the Avantar users to indicate, as well as its profile fields! Here please does someone have a proposal for solution? Thanks!

Good idea.
- I do not have the code in my head @ the moment, but I have plans for something like this.

Profile is a good idea. I had ideas of a DJ table w/ field the DJ's could fill out.
I will take a look @ options.

AES
09-15-2006, 04:25 PM
I hope so, i make the other idee with the Base of Musik :D

Greetz!

Craigex
09-16-2006, 11:41 PM
Whenever I connect it doesn't show me as connected on the forum. Everything is right. Any idea what could be wrong?

futureye
09-18-2006, 01:23 PM
why do we have to chmod scast_home.xml to be 777

its always 0 byte

i've written all the information require but nothing happen

rezapci
09-18-2006, 02:57 PM
could you give us example, how could we use it?

and take a screen shot so we can follow it..

thanks for your hard work

Zachariah
09-18-2006, 03:07 PM
why do we have to chmod scast_home.xml to be 777

its always 0 byte

i've written all the information require but nothing happen

To put less load on the shoutcast server and to speed up page loads. The shoutcast info the script gets is cached to your local webserver in that XML file. The XML file is called up when a request to show the data. If your cache file does not update then you are not connecting to the shoutcast server.

9 out of 10 times this is because of settings (port,ip,password) or your webhost has blocked ports. Many hosts only allow queries for data on port 80 (http, rss, xml feeds). I have seen many webhosts designate a port for "other" needs of their clients.

Send a ticket to your webhost and see if ports are blocked (ie:8000). If so they may give you another port you can use. Reset your shoutcast server to output on that port. Lastly, if there is nothing that your host will do, you can move the shoutcast server to output on port 80 vs. 8000.

rezapci
09-18-2006, 03:10 PM
Zachariah

can I put another IP?

like another radio station?

its has to be my shoutcast?

Zachariah
09-18-2006, 07:53 PM
Zachariah

can I put another IP?

like another radio station?

its has to be my shoutcast?

This version needs a Admin password of the shoutcast server to connect. I will have a simpler version that needs only an IP:Port soon.

NovemberRain
09-20-2006, 05:46 AM
This is a great mod but just a suggestion: I want it to show up under the navbar while the radio is online. But I want it to be inside what's going on while the radio is offline. I mean two location options, one for radio online, one for radio offline. It would be great if there is an option like that.

iran.gs
09-20-2006, 11:44 AM
ok installed and looks fine here is my Q ? how do i find these channels so i can add and where do i add these to so it wont show shout is down now , sorry this is very new to me

iran.gs
09-20-2006, 11:51 AM
better yet can someone give me thier Radio DJ listing so i can copy paste it, so i can learn from it ..

Zachariah
09-20-2006, 12:25 PM
ok installed and looks fine here is my Q ? how do i find these channels so i can add and where do i add these to so it wont show shout is down now , sorry this is very new to me

Keep an eye out for " Shoutcast Status Lite (VB3.6)". The full version has the need for an Admin password of the shoutcast server to get the data. The lite version can get less info, but has no need for a password.

TheProphet
09-20-2006, 06:04 PM
Nice work Zachariah,

Do release a multi server version on this great hack?
Id like to stream more than one genre.

TIA

iran.gs
09-21-2006, 12:20 PM
Keep an eye out for " Shoutcast Status Lite (VB3.6)". The full version has the need for an Admin password of the shoutcast server to get the data. The lite version can get less info, but has no need for a password.


thanks but where do i get that and also u have repeated it need admin pw what admin where ? plz explain to me better like i said i am new on shoutcast deal

animate
09-21-2006, 08:49 PM
many thx for this update plugin

very nice work !

Domo Arigato!!! say´s the animate.at Comunity

Jaa mata ne!
Animate

HeRmAn'S
09-25-2006, 10:49 AM
Very Thanks ....Zachariah ....;)

maroceve
09-28-2006, 10:56 AM
Hey There Zach

I am wondering why does the media/quicktime/real players popup work with the forumhome shoutcast but NOT WITH THE CMPS module.

I am going crazy...it just opens a small window with the the same Page i am already in ...No players...

www.maroceve.com/forums "players works fine"

http://www.maroceve.com/index.php?page=homepro "bugs"

let me know please.

Thank you

Oro
09-28-2006, 04:37 PM
which extensions can be played by shoutcast? i suppose all supported by winamp/WMP/QT but.. just to be sure :)

i need to plan the band usage in relation to file format (maybe i'll run AAC or similar to save bandwidth)

johns_ar
09-29-2006, 03:07 PM
Well I have everything Outputting and can;t seem to get it to show on the forum

chorton
09-30-2006, 10:46 PM
Working great on 3.6.1 right out of the box. Waiting for the cmps mod :)

www.versionist.com

oberheimhaven
10-01-2006, 01:29 AM
scast.php needs to be uploaded to:

/forums/includes/shoutcast/scast.php

Issue resolved however states server down working on her now In the Ip I put my Ip correct? Do we have to join shoutcast ect how do we get the feeds I think thats what Im missing
thxs
MarkAnthony

Hades-1
10-01-2006, 02:38 PM
mine shows 9 not 19 songs.

is this a shoutcast setting? if so where do i change it?

Zachariah
10-01-2006, 03:42 PM
mine shows 9 not 19 songs.

is this a shoutcast setting? if so where do i change it?


- sc_sevr.ini (on the shoutcast server)

; ShowLastSongs specifies how many songs to list in the /played.html
; page. The default is 10. Acceptable entries are 1 to 20.
ShowLastSongs=20

Chicago_VLNU_4s
10-03-2006, 03:12 AM
this isn't working anymore. I have the correct IP and port and my SHOUTcast DNAS is up and connected through Winamp. It use to work, now it doesn't connect anymore, just keeps sayin "Currently our shoutcast server is down." "Shoutcast is Down". Ideas?

Alpe
10-03-2006, 09:25 AM
I have the same problem Currently our shoutcast server is down

fxs158
10-03-2006, 11:15 AM
I will post this here also, triying to get to the botom of this and hoping peoplee look into their logs to see if they been exploited. The pointing of fingers can come later.



Originally Posted by fxs158
I been having some problems with users registering bogus accounts on my forum. Others have reported the same, this and the shout server was the last mod installed prior to the problem arrising. Not saying that someone exploiting the program, this is a great hack and it is killing me not having in the forum. Since I removed them both I have not had any more problems.

If you are familiar with php my admin look for users born in january 1 1980. All my bogus accounts had that birth date.

If you have access to the apache logs look for

//register.php


For some reason that always shows when they send the create command.


If you find some of those things on your logs then go here and report it;


http://www.vbulletin.com/forum/showthread.php?t=199401


I know this is not fair to this great mod and I am not saying that it is the culprit. Just doing a process of elimination and starting from the last mods I installled prior to the problem.


Originally Posted by MrZeropage
I heared several times that the shoutbox is somehow unsecure.

ibProArcade does not has any reference to register.php or creating accounts, so this is impossible to be responsible for such things.

You should better investigate before posting such things and make others fear something that is not possible here

Zachariah
10-03-2006, 11:57 AM
This is a very basic hack to show shoutcast status.
- it is not the problem.

I have a mess of hacks installed in my site. With no problems of user Register.
- I'll take a look @ logs and see what I can find on my server.

fxs158
10-03-2006, 12:16 PM
This is a very basic hack to show shoutcast status.
- it is not the problem.

I have a mess of hacks installed in my site. With no problems of user Register.
- I'll take a look @ logs and see what I can find on my server.

Thank you for being understandig and not getting upset over my post. So far I have been getting nothing but resistance.

Zachariah
10-03-2006, 12:27 PM
Thank you for being understandig and not getting upset over my post. So far I have been getting nothing but resistance.

Thats understandable.
Not many out there like to admit they are in error. :D

I only get this error that I know of.
https://vborg.vbsupport.ru/showthread.php?t=125979&highlight=nav_m.gif

There are also factors not tested in a DEV enviroment - (different servers, programs installed, edits ... ect)

Oro
10-03-2006, 11:54 PM
hi Zachariah.. i have a lil problem to solve with shoutcast... mu host currently don't let me to change chmod to scast_home.xml. I can set 'em to 666 only, and this would be enough but my server still appears to be down.. is possibile for you to let the product to use at least 666 instead of 777?

Hoping this is the real problem i have :(

just fyi, my shoutcast station is currently on air and a local test on http://localhost:8000/index.html says that all works good..

i attach a sshoot of my admincp, but i think i'm doin' right (i'v tryied to put http://my_IP and http://my_IP: port too)


[edit] just worked on it:
i attach a .pls file too (renamed to .txt to attach here).. you can hear my winamp playing so i suppose my should be able to shoutcast on my vB :)

i hope you'll understand where's my problem :)

maroceve
10-04-2006, 08:45 AM
fixed the problem ...i just edit the template ..Added a direct link on the template for the other players...

arrow21987
10-04-2006, 11:48 PM
is it possible to have it update using ajax?

oberheimhaven
10-06-2006, 02:49 AM
Got it, now the server is down correct???
Thxs great hack, next time I need to slow down a tad and think..

can I know someone lend a hand I have all installed however server down, WHat IP should I have mine< as server anyone? Im sorry I know Im working on her now
Thxs Mates

oberheimhaven
10-07-2006, 11:25 AM
is it possible to have it update using ajax?


IS it possible to get any help with this hack at all? My server states still down something is not correct
MarkAnthony

oberheimhaven
10-07-2006, 11:04 PM
IS it possible to get any help with this hack at all? My server states still down something is not correct
MarkAnthony


Is there ANY support for this hack????

Zachariah
10-07-2006, 11:34 PM
How is the shoutcast server set up ?
- Installed on the same server as the webhost
- installed to remote server

There are a few web hosts that do not allow external request to other sites unless it is on port 80. Do you know if your host blocks access to probe other IP's on ports other than port 80 ?

Many hosts will give you a port you can use. You can take that port and re-setup the shoutcast server IP's.

Whats the IP and port of the server I can test if the script will reach it. (pm if you need it to be PRIV. )

oberheimhaven
10-08-2006, 03:55 PM
How is the shoutcast server set up ?
- Installed on the same server as the webhost
- installed to remote server

There are a few web hosts that do not allow external request to other sites unless it is on port 80. Do you know if your host blocks access to probe other IP's on ports other than port 80 ?

Many hosts will give you a port you can use. You can take that port and re-setup the shoutcast server IP's.

Whats the IP and port of the server I can test if the script will reach it. (pm if you need it to be PRIV. )


Ok this is where I am lost DO we have to join shoutcast and get passwords and IP to there server???? This is not a problem with your hack more than a user error<< and Im sorry for this!!! (Rookie)<
I setup this up in admincp as follows

Server name My site
Server Ip My IP<
Server port 8000( and Yes I jsut know e mail my host to see if there was a problem)
server password???Dont understand(main problem) do we have to join shoutcast is this where this comes in to play?)
The rest I left at default!!

Once again thanks for the reply its not your hack its me<<

Sincerely,
MarkAnthony!!

---MAD---
10-08-2006, 05:44 PM
Hey that hack wont work. The radio isnt on port 80 however with the previous version of the hack for 3.5.x, it worked fine :s.

Please advice.

oberheimhaven
10-08-2006, 07:17 PM
Hey that hack wont work. The radio isnt on port 80 however with the previous version of the hack for 3.5.x, it worked fine :s.

Please advice.


So you're saying this hack wont work period?? And its not user error<<??

Jeordie015
10-08-2006, 11:07 PM
I'm getting the "server is down" problem. I've tried every single tip and suggestion in this thread, and nothing works. I do know that the xml file isn't getting updated, if that says anything.

oberheimhaven
10-08-2006, 11:11 PM
I'm getting the "server is down" problem. I've tried every single tip and suggestion in this thread, and nothing works. I do know that the xml file isn't getting updated, if that says anything.
Good luck wont work for me perod!!

cunder
10-09-2006, 08:50 AM
Hello
is it possible that your can places a status Picture, example in the navbar/header or somewhere else with radio ofline, and if the radio is online then you see a Picture with radio online.
if so, how you do that.
thanks

sorrie for me bad English!!

Bump..:hurt:

oberheimhaven
10-09-2006, 07:00 PM
Hey M8's is there anyone and anywhere to go to get Support for this hack???? Anywhere??? I have tried everything on my end still sayd server is down one week now??

Jay...
10-09-2006, 09:10 PM
does anyone know how i can have this so it only appears when the radio is online like the CMPS version?

oberheimhaven
10-11-2006, 11:20 PM
Shoutcast if you dont know what you are doing avoid this junk! Period until you know what the heck is going on with shoucats winamp and all the above Im learning as I go anyone need help PM I WIll help ya get set up and its not that easy!!!

Ok 6 + hours later I did my part http://65.33.121.77:8000/listen.pls I got stream

Now please would someone tell me what values I have to enter on this hack in order for this to work PLEASE
I tried a bunch they did not work????

Thxs m8s great hack if i can get her to work!!!

oberheimhaven
10-12-2006, 12:58 PM
Click Uninstalled!!!

Up and running without this hack anyone wanting to do this PM me I will tell you step by step how to set up and you dont need this hack!!!!!
http://65.33.121.77:8000/listen.pls

peace
Yes I offer Support ;-)


Gang start here with this thread if you can follow directions this is all you need to get up and running without this hack, My server host would not allow me to do this so I and done this added forum room to talk about this and then sub forum with my radio link is it working "Yes" any questions drop me a P M will gladly help as much as I can
http://www.sp0rky-n00b.co.uk/localcast.htm

Chicago_VLNU_4s
10-15-2006, 11:09 AM
ok so wassup with this? no reply to my comment b4. it's not working nomore and i have all the correct info in and correct things done in order for it to work. all of a sudden, it just stops working. i'll re-install and see if this works and get back

Zachariah
10-15-2006, 03:54 PM
Click Uninstalled!!!

Up and running without this hack anyone wanting to do this PM me I will tell you step by step how to set up and you dont need this hack!!!!!
http://65.33.121.77:8000/listen.pls

peace
Yes I offer Support ;-)


Gang start here with this thread if you can follow directions this is all you need to get up and running without this hack, My server host would not allow me to do this so I and done this added forum room to talk about this and then sub forum with my radio link is it working "Yes" any questions drop me a P M will gladly help as much as I can
http://www.sp0rky-n00b.co.uk/localcast.htm

Your link tells the same info @ shoutcast.com (http://www.shoutcast.com/download/broadcast.phtml)
- This hack has nothing to do with setup of your shoutcast server.
It allows your to show song history and online status on a local/remote webserver.

There are a few hosts that do not allow external request to other sites for info unless it is on port 80. Do you know if your host blocks access to probe other IP's on ports other than port 80 ? Many hosts will give you a port open in their firewall to run applications. You can take that port and re-setup the shoutcast server IP's.

If your webhost, will not allow you to use ports other than 80 to get info from, then you need to set your shoutcast server to port 80.

- This hack has worked on my site since 2001, 24 hours 7 days a week.

I have tested the lite version of this hack that does not need a password to display the station and had no problems reading data from your server.

I would send a e-mail to your webhost asking for info.

oberheimhaven
10-16-2006, 12:02 AM
Your link tells the same info @ shoutcast.com (http://www.shoutcast.com/download/broadcast.phtml)
- This hack has nothing to do with setup of your shoutcast server.
It allows your to show song history and online status on a local/remote webserver.

There are a few hosts that do not allow external request to other sites for info unless it is on port 80. Do you know if your host blocks access to probe other IP's on ports other than port 80 ? Many hosts will give you a port open in their firewall to run applications. You can take that port and re-setup the shoutcast server IP's.

If your webhost, will not allow you to use ports other than 80 to get info from, then you need to set your shoutcast server to port 80.

- This hack has worked on my site since 2001, 24 hours 7 days a week.

I have tested the lite version of this hack that does not need a password to display the station and had no problems reading data from your server.

I would send a e-mail to your webhost asking for info.
Ok thats fine my host wont allow this?? So why use the hack??? When i can run it from my board without thats all Im saying install is easy and sets right up??

The link is the setup from shoutcast thats all, I sat in here for a week and finally heard from my host NO so I went to the source got it hooked up and running and have forum room for discussion the and subforum link to the radio bada boom bada bing???

No harm M8, your work is great!!! Plus now It works thats all i care!!

Also Not to sound like Prick if your going to support these hacks ??????? Im sure it would be nice if ya did and not wait a week??? But hey thats just me, thats why I said F this and went got it myself learned it hooked up and ran to my board Mate!!!! No harm!!

Peace
Musiciansquarters.com
We are giving away a podxt live this month in our guitar contest!! Next month EVH 5150 replica ;-)

Zachariah
10-17-2006, 09:15 PM
I am goinf to mash the lite and full hack in-one.
- I have many of the same Q&A in 20-30 places so its hard to keep up with what I told who on what website.

It will get bettter :)

BANDiT600
10-17-2006, 11:41 PM
What about if I want to add internet radio station instead of mine? Should it work?

music legend
10-19-2006, 03:08 PM
any update on the lite version yet because that is the one i am looking forward to.

Zachariah
10-19-2006, 04:31 PM
any update on the lite version yet because that is the one i am looking forward to.

I am going to mash the lite and full hack in-one.
- It will be done soon.

If there is not a Admin PW, it will show what it can.

Chicago_VLNU_4s
10-20-2006, 05:22 PM
What about if I want to add internet radio station instead of mine? Should it work?


depends on the link. but for that, you should just use VBRadio

Servaas
10-23-2006, 04:13 PM
Awesome mod, thanks alot! :) ONe question, is it possible to have the mod for certain styles? I want it for every style I have except a Lite one.

TropicalFanta
10-23-2006, 09:54 PM
Warning: fwrite(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 103

Warning: fclose(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 104

know how i can fix this?

oberheimhaven
10-23-2006, 10:19 PM
Warning: fwrite(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 103

Warning: fclose(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 104

know how i can fix this?
BWahahaha welcome to support city stay tuned lol

jklimczak
10-23-2006, 11:35 PM
any update on adding more then one server

LJR
10-24-2006, 10:45 AM
My server is showing as down on my site :(

I have chmod'd the scast_home.xml to 777 and also set up all the settings in the admin panel:

Server name = set
Server IP = 87.117.193.144 (hosted shoutcast server)
Port: 9418
Server Pasword: same as my server admin password
Server IRC: irc.server.net
Server Cache: scast_home.xml (uploaded to the same folder as the index.php for the forum and set to 777)
Server update: 120

I have installed and run the Shoutcast server and I see output streaming when I go into the winamp Nullsoft SHOUTcast Source DSP configuration OUTPUT tab.

The site is ourspaceonthenet.com/test if anyone has any suggestions?

http://87.117.193.144:9418 <-- as you can see, my actual server is up and running

Zachariah
10-24-2006, 11:05 PM
Send a letter to your webhost and ask why you can not contact your shoutcast server to read an XML feed on port 9418.

My server is showing as down on my site :(

I have chmod'd the scast_home.xml to 777 and also set up all the settings in the admin panel:

Server name = set
Server IP = 87.117.193.144 (hosted shoutcast server)
Port: 9418
Server Pasword: same as my server admin password
Server IRC: irc.server.net
Server Cache: scast_home.xml (uploaded to the same folder as the index.php for the forum and set to 777)
Server update: 120

I have installed and run the Shoutcast server and I see output streaming when I go into the winamp Nullsoft SHOUTcast Source DSP configuration OUTPUT tab.

The site is ourspaceonthenet.com/test if anyone has any suggestions?

http://87.117.193.144:9418 <-- as you can see, my actual server is up and running

Zachariah
10-24-2006, 11:09 PM
any update on adding more then one server

I am reworken the entire hack.
- that will be part of it.

LJR
10-25-2006, 06:20 AM
Send a letter to your webhost and ask why you can not contact your shoutcast server to read an XML feed on port 9418.

LOL That is what I ended up doing. In fact they were great and opened the port for me and now I am casting my shouts all over the shop :D

Top hack!

Some possible enhancements:

Enable/Disable option in the admin panel
Permissions (only those in listed usergroups can see the radio - of course this doesn't prevent those with the URL from listening to it)
A radio scheduler - I'd prefer it separate from the calender as that can get cluttered with events. Just a nice table which shows the scheduled programs. This should be able to be enabled and disabled
An option to hide the Radio table in the forumhome template when the server is offline (as it's just taken up real estate)

This hack has a lot of potential.

Zachariah
10-26-2006, 12:17 AM
LOL That is what I ended up doing. In fact they were great and opened the port for me and now I am casting my shouts all over the shop :D

Top hack!

Some possible enhancements:

Enable/Disable option in the admin panel
Permissions (only those in listed usergroups can see the radio - of course this doesn't prevent those with the URL from listening to it)
A radio scheduler - I'd prefer it separate from the calender as that can get cluttered with events. Just a nice table which shows the scheduled programs. This should be able to be enabled and disabled
An option to hide the Radio table in the forumhome template when the server is offline (as it's just taken up real estate)

This hack has a lot of potential.

Good to hear ya got it going, yes those are nice ideas :)

I got to recollect all the ideas and bits of code I have on my hard drive and slam it together :)

ShadowOne
10-26-2006, 03:51 AM
Ok..check this out..You all are in USER area..Zach..May i call you Zach? Anyway..He has explained in detail what you need to do..if yo uploaded correctly and CHMOD the file as required then your HACK is fine..if its not connecting then the problem is your shoutcast server. Quick fix for this would be go to shoutcast.com and read all the documentation. I could sit here and explain how it all works but I wont..My advice is dont read into it to hard its basic.

As for my question..I cant get certain things working..Like the DJ's AIM..it shows no list of played songs and I was guessing it was supposed to update to show current song playing every set number of seconds..I have yet to see any of this work.

Peace

DustyBin
10-28-2006, 01:17 AM
how about a incorporating a Shoutcast Song Request feature with VB. It could show simple stastistics of whos requested what, etc

Zachariah
10-28-2006, 02:25 AM
how about a incorporating a Shoutcast Song Request feature with VB. It could show simple stastistics of whos requested what, etc

Not bad but you would have to have the script auto fill a player or have someone fill in the requests.

coolnikin
10-28-2006, 12:37 PM
Not bad but you would have to have the script auto fill a player or have someone fill in the requests.
Sam Broadcaster

Zachariah
10-28-2006, 06:57 PM
Sam Broadcaster
I was thinking of integrating that to VB for a year or so. :rolleyes: :sleep:
- Is there a demo download , if so does the web side of it work ?

ShadowOne
10-28-2006, 09:04 PM
.I cant get certain things working..Like the DJ's AIM..it shows no list of played songs and I was guessing it was supposed to update to show current song playing every set number of seconds..I have yet to see any of this work.

LJR
10-28-2006, 09:45 PM
I was thinking of integrating that to VB for a year or so. :rolleyes: :sleep:
- Is there a demo download , if so does the web side of it work ?

Hey Zachariah,

Yes there is a 14 day trial which you can download from here (http://www.spacialaudio.com/products/sambroadcaster/download.html)

You might also be interested in how it was done for phpBB, a link to which is here (http://www.spacialaudio.com/forums/viewtopic.php?t=5751)

I am using this too :)

radarhunter
10-29-2006, 04:07 AM
i tried every single tip given in the zip folder and even what all is written in the thread but still my server is is showing down.

Please guide me on what to do......

LJR
10-29-2006, 04:17 AM
The chances are that your hosting company are blocking the port which you need to access your server. Have you tried contacting them and asking them to open the port for outbound and inbound traffic? I had to do this with my hosting company. Tell them you need to establish a socket connection in order to read some XML data.

radarhunter
10-29-2006, 04:18 AM
my hosting company is Godaddy.com

do you think they block this port ???

These are my settings on the admincp

Do i need to change sum settings lemme know please

LJR
10-29-2006, 11:11 AM
yup, i'd almost guarantee they block it. Ask them to unblock the port (I had to do the same). Good luck with GoDaddy though

radarhunter
10-29-2006, 11:24 AM
they are not agreeing with it

insted of that they asked me to buy a virtual dedicated server

what noobies

They said that they cannot do it at all.

So is there any other option that i have

LJR
10-29-2006, 02:14 PM
Exactly what I meant with regards GoDaddy. They are complete amateurs. To be honest though, unless you have phenominal upload bandwidth, or an expected listener base of about 6 then you should consider a streaming host solution. I am with streamsolutions.co.uk - they have US and Oz based servers too. I think their plans start from about $2 per month.

However, you will still need GoDaddy to open a port from their server to your shoutcast server

ShadowOne
10-29-2006, 08:02 PM
I take it nobody wants to answer my question

Greek76
10-30-2006, 05:57 PM
Downloaded install went smoothly. I also download from shoutcast. Now I have no clue what Im doing, how to set this up ect... Any ideas? Thanks.

wi11ie1950
10-31-2006, 11:10 AM
I have the same problem Currently our shoutcast server is down.
All files are uploaded and CHMOded correctly. I own the server that shoutcast is on so i have no problems with ports. I am currently using 9981 because a clien of mine uses 8000.. Any ideas how i can get to show it is on ???

LJR
10-31-2006, 11:27 AM
Guys. Zach has created a hack which just reads the server status information, streams the song info, provides a link to listen to the stream and allows access the to stats. He really can't be expected to answer all the questions on configuring a shoutcast server. I guarantee if you are not seeing the server online then there is a port issue somewhere (doesn't matter if its on your own server - check your firewall).

Here are some useful links
Winamp SHOUTcast (http://forums.winamp.com/forumdisplay.php?forumid=140) Forums
Radiotoolbox (http://www.radiotoolbox.com/online_tools/) - Ensure you are the IP you think you are and do a port scan - if it fails you haven't configured your settings correctly. It's not the hack.
Portforward.com (http://www.portforward.com/routers.htm) - Ensure you have set up port forwarding correctly for your router

Hope this helps.

AES
11-03-2006, 09:07 PM
Hello,

how is it possible to bring the modification in 2 times since I have 2 Streams and these gladly would explain! Thanks for the info.!

Greeting

Zachariah
11-03-2006, 10:54 PM
Hello,

how is it possible to bring the modification in 2 times since I have 2 Streams and these gladly would explain! Thanks for the info.!

Greeting

I am reworking this hack. I do not have an ETA on it.
- Multi servers
- and mash light and full options in 1 hack.

COBRAws
11-03-2006, 11:37 PM
It would be great to have an Addon that creates new threads as the new tunes are being played.

For example, Song A is the first time being played, and the bot creates a new thread with a poll.

Something like Digitally Imported Radio forums http://forums.di.fm/showthread.php?t=2302

Zachariah
11-03-2006, 11:53 PM
It would be great to have an Addon that creates new threads as the new tunes are being played.

For example, Song A is the first time being played, and the bot creates a new thread with a poll.

Something like Digitally Imported Radio forums http://forums.di.fm/showthread.php?t=2302

Good idea

I think we would have to keep track of the tracks.

Ronak
11-04-2006, 12:49 PM
i have a small query :( how do i install shoutcast ? on a webserver

Zachariah
11-05-2006, 04:22 PM
i have a small query :( how do i install shoutcast ? on a webserver

Make sure you have Unlimited Bandwith on your web package.

The bandwith useage depends on "# of users connected" and the quility of the song in kbps.

uploadspeed / bitrate = max listeners , always leave some for overhead

Example: 256k upload speed / 56k bitrate = max 4 listeners ( 4* 56 = 224kbps ) keep in mind that your provider says he gives you 256kbps upload, the actual speed might be much lower.

Bitrates
192k CD quility
56k stereo
24k mono (like an AM radio, but works for music)
8k voice
----------------------------------------------------------------

You will need SSH access to your server.

- Downloading SHOUTcast!
http://www.shoutcast.com/download/files.phtml

I have an old "how to install" I need to update
http://www.gzhq.net/forums/showthread.php?t=6839

masss
11-05-2006, 08:01 PM
any chance you could sort of use this as a live radio as in you talk to them

Zachariah
11-05-2006, 08:33 PM
any chance you could sort of use this as a live radio as in you talk to them

I have done that yes.

"What You Hear" setting for the imput of Soundblaster Live! feed vs. WAV.
Any sound that you can hear can Bcast as a DJ to the shoutcast server.

- Teamspeak, Roger Wilco or IM program that can connet your PC to others w/ a headset. As they talk or you talk it will be the feed that is sent to the shoutcast server.

I have seen people use 2 soundcards for I/O because they did not have a full duplex soundcard.

masss
11-05-2006, 10:59 PM
Hmm is there a place where i cand find the program along with the instrouctions?

LJR
11-06-2006, 06:08 AM
any chance you could sort of use this as a live radio as in you talk to them

I do this.

Ronak
11-06-2006, 10:28 AM
Make sure you have Unlimited Bandwith on your web package.

The bandwith useage depends on "# of users connected" and the quility of the song in kbps.

uploadspeed / bitrate = max listeners , always leave some for overhead

Example: 256k upload speed / 56k bitrate = max 4 listeners ( 4* 56 = 224kbps ) keep in mind that your provider says he gives you 256kbps upload, the actual speed might be much lower.

Bitrates
192k CD quility
56k stereo
24k mono (like an AM radio, but works for music)
8k voice
----------------------------------------------------------------

You will need SSH access to your server.

- Downloading SHOUTcast!
http://www.shoutcast.com/download/files.phtml

I have an old "how to install" I need to update
http://www.gzhq.net/forums/showthread.php?t=6839
thank u :) ;)

Scooby Doo
11-06-2006, 04:07 PM
Thanks, nice job! :)

Tacama
11-08-2006, 06:48 AM
Me & a Whole Forum Thank You for this great hack.... :cool:

Installed of course ;)

Alien
11-11-2006, 05:01 PM
How's that lite version update coming along? :)

jluerken
11-12-2006, 07:42 PM
Is there a way to add more than 1 server?

Zachariah
11-15-2006, 07:27 PM
I have reworked the code a bit
- No working Build yet (soon)

Current location is {Inside What's Going On?}
DEMO (http://www.gzhq.net/forums/) - teasers :bunny:

I am moving things around to get ready for other ideas. :glasses:

Changes:

1) Shoutcast "Lite" and "Full" are one now.

- If you do not have an admin password for your shoutcast server you can get limited information from the server "lite".

Server Name
Choice 4 players (winamp, quicktime, media player, real player)
Bitrate
Current Song
Users Connected
User Max
Online / Offline status

2)Stats and History moved
- There was a need to hit collapsible +/- image to show song history and server stats. This has been moved to a 2 vbmenus as a click dropdown.

3) Show Off Line Status
Set to "No" to remove off line template when the shoutcast server is off line, or there is no DJ source.

4) Select what usergroups can see the add-on.

jluerken
11-15-2006, 08:39 PM
Hi Zachariah,

it would be nice to have the chance to show more than one shoutcast stream.

Can you add an option for this too?

Zachariah
11-15-2006, 08:48 PM
Hi Zachariah,

it would be nice to have the chance to show more than one shoutcast stream.

Can you add an option for this too?

I have plans to yes.
- It will be a little down the road.

Zachariah
11-16-2006, 01:30 AM
================================================== =====
Changelog |
================
2.0 11.15.06

- Merged shoutcast lite and full into 1 program
** If you do not have an admin password for your shoutcast server you can get limited information from the server "lite".

- Stats and History moved
** There was a need to hit collapsible +/- image to show song history and server stats. This has been moved to a 2 vbmenus as a click dropdown.

- Show Off Line Status
** Set to "No" to remove off line template when the shoutcast server is off line, or there is no DJ source

- Select what usergroups can see the add-on
- Fully phrased
- Cleaned up code in templates
- Changed and added templates.

Benedict
11-17-2006, 11:09 AM
Nice upgrade. However, I want to place the radio on every page, is this possible? It looks like this is just for forumhome.Thanx :)

Zachariah
11-17-2006, 11:25 AM
Nice upgrade. However, I want to place the radio on every page, is this possible? It looks like this is just for forumhome.Thanx :)

You should be able to move the hook location from formhome_compleet to global_start. In the settings area of the hack change the location to "custom".

This will allow you to place $scast in say the header template or navbar template that shows up on each page.

Benedict
11-17-2006, 02:00 PM
That works nicely in the navbar :D Thank you very much :)

FYI it doesnt work with the CMPS even when you ask it pull the navbar :S

pixie
11-18-2006, 09:29 AM
This version will be compatible for Icecast ?

pleeeeeeeaaaaasseeeeeeeeeeeee :D

jluerken
11-18-2006, 11:07 AM
Hey Zachariah,

thanks for the update, its working fine.
I have currently two streams I want to show.
Is there a way that you release an update where we can enter more than one server?

aacircle
11-18-2006, 11:25 AM
Great work! Thanks a lot Zachariah. Blends in much nicer than the other web radio products out there.

Zachariah
11-18-2006, 01:23 PM
Hey Zachariah,

thanks for the update, its working fine.
I have currently two streams I want to show.
Is there a way that you release an update where we can enter more than one server?

I have this on the drawing board yes.


Great work! Thanks a lot Zachariah. Blends in much nicer than the other web radio products out there.
thanks

The project has moved forward alot.
I have many users of the add-on with a lot of patience and feedback. :)

s25
11-18-2006, 05:13 PM
Am getting this error and I followed the instructions to a T

Warning: fopen(/forums/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in /includes/shoutcast/scast.php on line 101

Warning: fwrite(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 102

Warning: fclose(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 103

Warning: fopen(/forums/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in /includes/shoutcast/scast.php on line 106

Zachariah
11-18-2006, 05:28 PM
================
Upload: files |
================
- scast_home.xml

forums/scast_home.xml
* CHMOD 777

EX: /forums/ is where the root of VB is.

s25
11-18-2006, 08:12 PM
I have it chmodded at 777 and it's still not working :s any ideas??

Eggie
11-19-2006, 09:52 AM
Zach,

For about an hour it stopped updating the current song. So I restarted SC, reinstalled the plug-in.. everything I can think of. Now for current song playing all I get is

<tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ </marquee></tt>


It shows all the other stats accept current song and last 19 played

Zachariah
11-19-2006, 01:27 PM
Zach,

For about an hour it stopped updating the current song. So I restarted SC, reinstalled the plug-in.. everything I can think of. Now for current song playing all I get is

<tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ </marquee></tt>


It shows all the other stats accept current song and last 19 played

Ok there are a few things that could be happening.
- Lets rule out server error first.

Goto: "shoutcast server ip:port"
- http://xxx.xxx.xxx.xxx:port/played.html
- This should display your history of songs directly from the server.

If you have the same blank results there for each song. The DJ (source) that feeds the server may not have "enable title updates" and URL, Title are checked off in the DSP. (see attached)

Eggie
11-19-2006, 03:41 PM
Ok there are a few things that could be happening.
- Lets rule out server error first.

Goto: "shoutcast server ip:port"
- http://xxx.xxx.xxx.xxx:port/played.html
- This should display your history of songs directly from the server.

If you have the same blank results there for each song. The DJ (source) that feeds the server may not have "enable title updates" and URL, Title are checked off in the DSP. (see attached)

That was all checked. I just restarted WinAMP and that seemed to fix it. I am wondering if the new AAC+ encoder is buggy.

Two things I'd love to see for a future build is it display cd cover artwork and a "buy now" affiliate link to amazon.

aacircle
11-21-2006, 01:47 PM
Does anyone know how to setup On Demand Audio with Shoutcast so that this hack plays a list of MP3 files I have on the server in the /contents directory?

That is, when there is no live DJ streaming music, Shoutcast offers a feature called "On Demand" where music is still played from a list of MP3s on the server.

Thank you.

Zachariah
11-21-2006, 06:00 PM
Does anyone know how to setup On Demand Audio with Shoutcast so that this hack plays a list of MP3 files I have on the server in the /contents directory?

That is, when there is no live DJ streaming music, Shoutcast offers a feature called "On Demand" where music is still played from a list of MP3s on the server.

Thank you.

That is not a big problem, I'll wip something up after I get ajax updates of current song and history.

da_judge
11-21-2006, 09:39 PM
I just found out... if your shoutcast server goes down... your main index will seach for updates... so it will hang for a while... so a tip... if your shoutcast goes down disable plugin till its back up... great plugin BTW

aacircle
11-22-2006, 12:28 AM
Zachariah, your support is excellent. Just love your hack and involvement in keeping everyone updated on what is happening. One of the worst things about some other hacks is there is little support.

Keep up the good job!

Netaudio
11-22-2006, 06:56 PM
Merci!

shete
11-24-2006, 02:54 AM
i have this install and its up and working , i installed winamp & the plugin also .... i run vbulletin on my site , azbboy.com

but i dont understand in the Admin Cp where it says " Server Port " & server IP ...

how can i get music to play/stream or whatever ???

what do i have to put in for Server Port & Server IP ???

how do i get the music to play if they want to listen to it ????????

aacircle
11-24-2006, 03:03 AM
Read the documentation over at shoutcast.com. The Server IP is the IP address where your domain is hosted on. Usually if you have shared hosting, your provider wont allow web radio.

The port is 8000 typically. Ensure there is no firewalls blocking this port though. Your first step is to start the shoutcast server via ssh. Until your shoutcast server has started, this plugin does nothing.

shete
11-24-2006, 06:02 AM
Ive read the docs and everything .

Man I still dont get how I get music to stream or play .

I have music on my server .

But how do I get that to play with my shoutcast ????

Like if i enter the right IP address ... and I start playing some songs in winamp on my computer ....

will the shoutcast show up and the people can listen to it ????

Zachariah
11-24-2006, 11:30 AM
Ive read the docs and everything .

Man I still dont get how I get music to stream or play .

I have music on my server .

But how do I get that to play with my shoutcast ????

Like if i enter the right IP address ... and I start playing some songs in winamp on my computer ....

will the shoutcast show up and the people can listen to it ????

Make sure you have Unlimited Bandwith on your web package if you plan to host your shoutcast server on your webhost server.

The bandwith useage depends on "# of users connected" and the quility of the song in kbps.

uploadspeed / bitrate = max listeners , always leave some for overhead

Example: 256k upload speed / 56k bitrate = max 4 listeners ( 4* 56 = 224kbps ) keep in mind that your provider says he gives you 256kbps upload, the actual speed might be much lower.

Bitrates
192k CD quility
56k stereo
24k mono (like an AM radio, but works for music)
8k voice
----------------------------------------------------------------

You will need SSH access to your server or have your host set it up.

- Downloading SHOUTcast Server
http://www.shoutcast.com/download/files.phtml

- Download needed plugin for Winamp to be a DJ
http://www.shoutcast.com/download/broadcast.phtml

I have an old "how to install" I need to update
http://www.gzhq.net/forums/showthread.php?t=6839

shete
11-24-2006, 06:37 PM
I've already got winamp and the plugin .
Theres a screenshot .

I need to know what to put in Server IP :confused: :confused: :confused:


Where do I get myshoutcast station ?!?!

Do I play music on my winamp ???

Do I upload an mp3 file to my server or something ?? and then type in the URL of that mp3 to the Server IP ???

This is hard lol

aacircle
11-24-2006, 07:33 PM
You need to review the documentation over at shoutcast.com. Ask your questions there as your questions on this thread will only clutter it with unecessary noise.

Until you get your shoutcast server running, then you really shouldn't be posting your shoutcast questions here.

You can find out your IP address at www.dnsstuff.com. Yes, you will need Winamp and the DSP plugin in order to broadcast. ALL of this is fully documented at shoutcast, so please ask over there first. You do not need to upload your MP3s to your server. They play via Winamp. Do yourself a favour and read first.

shete
11-24-2006, 07:53 PM
You can find out your IP address at www.dnsstuff.com. Yes, you will need Winamp and the DSP plugin in order to broadcast. ALL of this is fully documented at shoutcast, so please ask over there first.

Holy crap how many times have I said I already did that ???

Do yourself a favor and read my posts correctly before you post your own .

Zachariah
11-25-2006, 02:47 AM
I've already got winamp and the plugin .
Theres a screenshot .

I need to know what to put in Server IP :confused: :confused: :confused:


Where do I get myshoutcast station ?!?!

Do I play music on my winamp ???

Do I upload an mp3 file to my server or something ?? and then type in the URL of that mp3 to the Server IP ???

This is hard lol
I have done this a few ways. It really depends on your availability of bandwidth and server storage space.

You can do a few things.
1) connect remotely to a server and transmit music / voice to it.
2) upload music to the server w/ a player and run on endless loop w/ rotating play lists.

I have installed shoutcast server software to the same server as my webhost., installed a player and uploaded mp3’s.

I have installed shoucast server software on a “co-located ” server and connect the stats hack to it for data and use a remote system @ home to DJ music.

What type of options do you have ?

Matt_270581
11-27-2006, 12:31 PM
Great hack. Installed it on my site. :)

* Matt_270581 installs

murrtex
11-28-2006, 05:27 PM
Hello Zachariah
1-I want to display shoutcast page on my another custom page
for example;
http://www.4umturk.com/forum/index.php?page=4umradyo

2-I want to display it on every page at top of header

what should I do.Please help.
Best regards

Purcelly
11-29-2006, 08:34 AM
Have you thought about expanding this mod to a DJ CP

Like the mod one but with infomormation in it such as

Request line (intergrated with forum for client side)
Radio server information
Private chat type thing for DJs
A timetable

I had some more but forgot them

I just thought as it would intergrate perfectly with the forums and this mod as it saves having a different cp for DJs

Tuga??
12-04-2006, 07:43 PM
hi
i need some help my one is workin fine only dont show wath is the music is playing now and the last Musics any sugestion

s25
12-08-2006, 10:54 AM
For me to get this to work i had to use a full path for scast_home.xml so basicaly /home/a0tu/yada/yada/yada if ya know what i mean :)

Zachariah
12-08-2006, 11:26 AM
Hello Zachariah
1-I want to display shoutcast page on my another custom page
for example;
http://www.4umturk.com/forum/index.php?page=4umradyo

2-I want to display it on every page at top of header

what should I do.Please help.
Best regards

I have made a "Module CMPS: Shoutcast Status Full" , "Module CMPS: Shoutcast Status Lite" block for VB3.5. I have plans to merge the 2 and make an ALL in One operation as I did with this version.

Have you thought about expanding this mod to a DJ CP

Like the mod one but with infomormation in it such as

Request line (intergrated with forum for client side)
Radio server information
Private chat type thing for DJs
A timetable

I had some more but forgot them

I just thought as it would intergrate perfectly with the forums and this mod as it saves having a different cp for DJs

Oh yes :)
- timetable (perhaps use the forums calendar some way)
- private chat (I use IRC myself, but I bet a simple shout box, or AJAX vBShout)
- server info (I am working on tracking all songs played, perhaps submit threads / polls on each song to a forum)
- I have a DJ "detect" that will pull up custom info entered by DJ's in the works
hi
i need some help my one is workin fine only dont show wath is the music is playing now and the last Musics any sugestion
This only works @ the moment w/ DJ or Admin password filled in. (I am fixing that)
For me to get this to work i had to use a full path for scast_home.xml so basicaly /home/a0tu/yada/yada/yada if ya know what i mean :)
Good find. There should not of been a problem. I'll take a look. :)

wolfyman
12-08-2006, 09:07 PM
Awesome :)

I'd like to put this in my left column though, how can I do that?

DannyMilner
12-08-2006, 09:09 PM
Nice one, looks great

Zachariah
12-08-2006, 09:55 PM
Awesome :)

I'd like to put this in my left column though, how can I do that?

How was your "left column" added ?
Does it show on all pages or only the "forumhome" ?

Steve-EFC
12-09-2006, 09:33 PM
My stats wont currently work......

I still ahve the shoutcast server is offline although my stats on my atchual site is on air and im connected via sam. The Forum Stats still say im of air.

Ip - 85.234.150.47
Port - 9082

Anything wrong with that. And the admin pass im guessing is the passowrd i use to check ip logs and kick of DJ's?

Thanks
Steve

Cagonni
12-18-2006, 04:12 PM
is it compatible with "SHOUTcast Server Version 1.9.7/Linux"

its not working me for now..

LittleBoy1
12-23-2006, 05:39 PM
My server es Linux Apache v1.3.37 but no work, tha congifuration is great, and scast_home.xml is a chomod 777 but no work! :surprised: helpme please!

dennysperez
12-24-2006, 02:25 AM
Hi,
I've read through the first 12 pages to see if anyone else is having this problem, but I couldn't find it. None of the built-in players seem to work, except winamp.
Looking at my server log, I see this:


[client 72.131.60.137] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/foroadventista.org/httpdocs/forum/modules/shoutcast_lite.php on line 29, referer: http://foroadventista.org/forum/forum.php

I only get a blank popup window when clicking the players :(

Any advice?

Thanks


EDIT: I noticed that the errors was referring to the shoutcast_lite addon, and removed that from my modules (using vba) and now there are no errors on the log, but still get blank popups :(

EDIT2: Now they are not blank, but just the homepage of my forum :( Can anyone help?

Purcelly
12-28-2006, 08:49 PM
Oh yes :)
- timetable (perhaps use the forums calendar some way)
- private chat (I use IRC myself, but I bet a simple shout box, or AJAX vBShout)
- server info (I am working on tracking all songs played, perhaps submit threads / polls on each song to a forum)
- I have a DJ "detect" that will pull up custom info entered by DJ's in the works

sounds great!

Looking forward to it!

wolfyman
12-28-2006, 09:00 PM
How was your "left column" added ?
Does it show on all pages or only the "forumhome" ?


most pages.

hutzack
01-06-2007, 04:47 PM
I was wondering if you can help me get the Shoutcast forumhome working for my 3.6.4 or 3.6.3 forum working. I have gone through the thread and done everything people have said and it still doesn't work. The radio is on, the Files are CHMOD' and it still says the radio is offline. Any help would be deeply apreciated. Thanks, Adam

BigJimTheLug
01-08-2007, 02:11 AM
Ummm....

After reading your "install instructions" I did not install it correctly.

Is there anyway you can re-write them for non-coders?


The manner in which they are currently written in blows! Thanks :)

TitanPK
01-09-2007, 03:14 AM
Installed and working perfectly on 3.6.4

Att1cus
01-09-2007, 05:33 AM
How do I add a link from shoutcast.com to the feed?
Like I just wanna be able to let my users listen to this on my forums:
http://shoutcast.com/sbin/shoutcast-playlist.pls?rn=7452&file=filename.pls

wolfyman
01-11-2007, 06:22 PM
I have my shoutcast running from a dedicated server. When I use this plugin with the admin password, it broadcasts the server stream even when there is alive DJ. I plugged in the DJ password and now the marquee shows the correct song, but I think my history is screwed.

Ev!L ErN!E
01-22-2007, 07:46 PM
Ok I'm sure what this does exactly, can I have this stream a broadcast from www.gamesurgeradio.net ? Or another radio site? or can I only stream stuff from my computer?

Zachariah
01-22-2007, 10:05 PM
Ok I'm sure what this does exactly, can I have this stream a broadcast from www.gamesurgeradio.net ? Or another radio site? or can I only stream stuff from my computer?

Any shoutcast radio station.
- plug in a IP and Port
- If you know the server's DJ or Admin password you can get more info.

Ev!L ErN!E
01-23-2007, 01:05 AM
Any shoutcast radio station.
- plug in a IP and Port
- If you know the server's DJ or Admin password you can get more info.
ok how do I get the stations IP & Port? Al lthey have is a .m3u or a popup for listening in on there site... the only site I would be using is gamesurgeradio.net, so could you help me to get this to work.

thank you

Zachariah
01-23-2007, 01:14 AM
ok how do I get the stations IP & Port? Al lthey have is a .m3u or a popup for listening in on there site... the only site I would be using is gamesurgeradio.net, so could you help me to get this to work.

thank you


If you save the *.m3u and open in notepad or a text editor you will find:

http://match.gamesurgeradio.net:8100

To find the IP of "match.gamesurgeradio.net "

Open a DOS prompt
START => RUN => Type: CMD

Type: ping match.gamesurgeradio.net

Pinging static.gamesurgeradio.net [66.199.244.66] with 32 bytes of data:

Reply from 66.199.244.66: bytes=32 time=92ms TTL=48
Reply from 66.199.244.66: bytes=32 time=85ms TTL=48
Reply from 66.199.244.66: bytes=32 time=83ms TTL=48
Reply from 66.199.244.66: bytes=32 time=89ms TTL=48

Ping statistics for 66.199.244.66:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 83ms, Maximum = 92ms, Average = 87ms



Therefore:
http://match.gamesurgeradio.net:8100
=
IP:66.199.244.66 Port:8100

Ev!L ErN!E
01-25-2007, 08:25 AM
Ok do you have any IP's that I can use? I can't get anything to work...... Its installed I just need a station to tune into.

rmxs
02-04-2007, 08:42 AM
hello its possible to add the radio on all pages?

cashpath
02-05-2007, 05:09 PM
Is there are CMPS module for this?

TheBlackPoet
02-05-2007, 06:51 PM
i installed.. but not sure how to get the stations.. where to get the xml file... im completely baffled.....
btw... this hack is a lot better than the previous... good job....

TheBlackPoet
02-05-2007, 06:53 PM
damnit i should have read the first threads.. i will follow those directions...

Zachariah
02-05-2007, 08:10 PM
Is there are CMPS module for this?

Not as of yet.
- I'll get on it :)

cashpath
02-06-2007, 11:39 AM
Not as of yet.
- I'll get on it :)

That would be great.. thank you sir..

cashpath
02-11-2007, 02:17 PM
Could you give any sort of timeframe for an ETA on the CMPS module?

1 week?
1 month?
6 months?

Just so I have an idea.. thanks again your hacks are great!

superluks
02-13-2007, 04:45 PM
It works with icecast server too?

cashpath
02-13-2007, 05:36 PM
You should be able to move the hook location from formhome_compleet to global_start. In the settings area of the hack change the location to "custom".

This will allow you to place $scast in say the header template or navbar template that shows up on each page.

I did this and put it in my NavBar but now the Stats and History wont drop down... any idea on how to fix that?

Netaudio
02-14-2007, 05:28 PM
Hello Zachariah,

after Update to Php5.2.0-8 and Update to MySQL-Version 5.0.32
shoutcast plugin dosn´t work!

Can You Help me Please?!

Thx

jklimczak
02-24-2007, 08:20 PM
I can not get the Plug in to work it used to work fine for me
http:\\74.72.71.43:6500

superluks
02-26-2007, 11:41 AM
Is there possible to add $scast in HEADER?

Zachariah
02-26-2007, 12:20 PM
Is there possible to add $scast in HEADER?

Yes.

You will need to edit.
/forums/includes/shoutcast/cache_templates.php

Remove:
if (THIS_SCRIPT == 'index'){

}

Edit Plugin:

AdmiCP => Plugins & Products => Plugin Manager
- Product : Shoutcast Status Forumhome
-- Shoutcast Status Full - Main

Change the hook location from forumhome_complete to global_start.

KingPin6
03-01-2007, 06:48 PM
Hello, thank you for the awesome "sounding" hack ;), the problem i have is I'm on php 5.2 on windows 2003 server, and I keep getting

Warning: fopen(/forum/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in \includes\shoutcast\scast.php on line 101

Warning: fwrite(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 102

Warning: fclose(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 103

Warning: fopen(/forum/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in \includes\shoutcast\scast.php on line 106

My forum is in a /forum/ subdirectory. I have changed the line from /forum/scast_home.xml to \forum\scast_home.xml and just to scast_home.xml and a couple other combos but nothing so far.

on just scast_home.xml I get
Warning: fopen(scast_home.xml) [function.fopen]: failed to open stream: Permission denied in \includes\shoutcast\scast.php on line 101

Warning: fwrite(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 102

Warning: fclose(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 103

I even tried the full path to it from c:\
I am used to *nix and figured chmod was the problem... but as Im on windows Im not sure permissions might be a problem as i checked and its not marked readonly.

VB : 3.6.5
Php : 5.2.0
Mysql : 5.0.27
OS : Windows 2003

thank you for any help/tips.

Zachariah
03-02-2007, 12:04 AM
Hello, thank you for the awesome "sounding" hack ;), the problem i have is I'm on php 5.2 on windows 2003 server, and I keep getting

Warning: fopen(/forum/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in \includes\shoutcast\scast.php on line 101

Warning: fwrite(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 102

Warning: fclose(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 103

Warning: fopen(/forum/scast_home.xml) [function.fopen]: failed to open stream: No such file or directory in \includes\shoutcast\scast.php on line 106

My forum is in a /forum/ subdirectory. I have changed the line from /forum/scast_home.xml to \forum\scast_home.xml and just to scast_home.xml and a couple other combos but nothing so far.

on just scast_home.xml I get
Warning: fopen(scast_home.xml) [function.fopen]: failed to open stream: Permission denied in \includes\shoutcast\scast.php on line 101

Warning: fwrite(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 102

Warning: fclose(): supplied argument is not a valid stream resource in \includes\shoutcast\scast.php on line 103

I even tried the full path to it from c:\
I am used to *nix and figured chmod was the problem... but as Im on windows Im not sure permissions might be a problem as i checked and its not marked readonly.

VB : 3.6.5
Php : 5.2.0
Mysql : 5.0.27
OS : Windows 2003

thank you for any help/tips.

Hello.

By default if you list only the file name it will automatically point to the "root" folder of the forums.

IE: scast_home.xml will point to you /vBulletin install root/scast_home.xml
- You should not have problems of CHMOD 777
- make sure you have write access to the file.

KingPin6
03-02-2007, 10:15 AM
Thank you for the reply :) I deleted and reuploaded the file via ftp, no errors for 30 seconds and then they showed up again. weird, I will check further and post back.

Sparticus_V2
03-09-2007, 01:07 AM
ok, my problem is that it is always saying "
Currently our shoutcast server is down. Currently our shoutcast server is down.
YBLradio is down." even when we have DJ's online and people listning....

IDK what to do, can someone look at it for me? Yblegit.com

itdevil
03-09-2007, 11:54 AM
ok, my problem is that it is always saying "
Currently our shoutcast server is down. Currently our shoutcast server is down.
YBLradio is down." even when we have DJ's online and people listning....

IDK what to do, can someone look at it for me? Yblegit.com


I am having the same issue, Radio is online, and people listening, but on forum it says " Currently our shoutcast server is down"

It was working fine before...

I am on a dedicated server (CentOS 4.4) using

vB 3.6.4
Apache v1.3.36
PHP 4.4.2
MySQL 4.1.21

Shoutcast hosted Remotely on Windows :

SHOUTcast Server Version 1.9.7/win32

scast_home.xml < has 777 permission.


Thank You!


Ping Stats to Shoutcast server from vB server.

$ping 218.64.xxx.xxx
PING 218.64.xxx.xxx (218.64.xxx.xxx) 56(84) bytes of data.
64 bytes from 218.64.xxx.xxx: icmp_seq=0 ttl=128 time=0.168 ms
64 bytes from 218.64.xxx.xxx: icmp_seq=1 ttl=128 time=0.187 ms
64 bytes from 218.64.xxx.xxx: icmp_seq=2 ttl=128 time=0.177 ms
64 bytes from 218.64.xxx.xxx: icmp_seq=2 ttl=128 time=0.167 ms

--- 218.64.xxx.xxx ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.168/0.167/0.177/0.187/0.013 ms, pipe 2

Zachariah
03-09-2007, 08:44 PM
Itdevil,

Yes it can ping the shoutcast server. (this was never an issue)

The problem is the web server's ability to ping an external IP on ports such as 8000 (or your custom shoutcast server port ) and get back data. Web providers will shutdown almost all external port queries to ports other than 80.

By request many hosts: (unless you can do it yourself)
-- will open the port you need.
-- has a custom port to funnel all traffic through.
-- will tell you they can not help you.

Until you get an answer.

Configure your shoutcast server to output on port 80.
- (unless you also have a web server on that shoutcast server)

Reset shoutcast status

Jay...
03-15-2007, 02:23 PM
how can i change the links on the module to my own links rather than the pop ups. These are the links to my radio server

Media Player: http://www.8004.adj-hosting.co.uk/listen.php?type=asx
Winamp: http://www.8004.adj-hosting.co.uk/listen.php?type=pls
RealPlayer: http://www.8004.adj-hosting.co.uk/listen.php?type=ram
Quicktime: http://www.8004.adj-hosting.co.uk/listen.php?type=qtl

maroceve
03-15-2007, 04:00 PM
Zach, when can we expect a fix for the cmps modules ...The player popup link bug ?

cunder
03-18-2007, 12:10 PM
I want to display shoutcast page on my another page on this page

http://www.musicbins.com/forum/music.php

hou to put full shoutcast on this page.

thanks

humid
03-21-2007, 04:37 PM
For some reason, I get the "This Radio is offline" message, but the server is up, and I can connect to it.

scast_home.xml has 0777 CHMOD.
I'm not sure where i'm going wrong.

bonjurkes
03-21-2007, 09:02 PM
i have a problem also :)

xxx Radio: (/ @ kbs)

No kbps info there. what can be the problem?

hawks_mp
03-21-2007, 10:15 PM
Is there anyway anyone can help me with setting up Shoutcast to play songs off of a server instead of my PC. I'm having no luck figuring it out, and I'm willing to pay. Thanks.

UltimateOreo!
03-25-2007, 06:37 PM
Any chance that this can be used with realtime/ajax?

cashpath
03-25-2007, 07:42 PM
You should be able to move the hook location from formhome_compleet to global_start. In the settings area of the hack change the location to "custom".

This will allow you to place $scast in say the header template or navbar template that shows up on each page.

I did this and put it in my NavBar but now the Stats and History wont drop down... any idea on how to fix that?


Anyone?

Zachariah
03-25-2007, 09:03 PM
how can i change the links on the module to my own links rather than the pop ups. These are the links to my radio server

Media Player: http://www.8004.adj-hosting.co.uk/listen.php?type=asx
Winamp: http://www.8004.adj-hosting.co.uk/listen.php?type=pls
RealPlayer: http://www.8004.adj-hosting.co.uk/listen.php?type=ram
Quicktime: http://www.8004.adj-hosting.co.uk/listen.php?type=qtl

In the next version.
I'll put in the option to use popup players or external links.

Edit template:
forumhome_shoutcast_full
forumhome_shoutcast_lite
forumhome_shoutcast_who_full
forumhome_shoutcast_who_lite

<a href="$listenamp">$vbphrase[scast_wa]</a>
<a href="#" onclick="window.open('$vboptions[forumhome].php?do=rp','rp','statusbar=no,menubar=no,toolbar= no,scrollbars=no,resizable=no,width=420,height=160 '); return false;">$vbphrase[scast_rp]</a>
<a href="#" onclick="window.open('$vboptions[forumhome].php?do=mp','mp','statusbar=no,menubar=no,toolbar= no,scrollbars=no,resizable=no,width=360,height=75' ); return false;">$vbphrase[scast_mp]</a>
<a href="#" onclick="window.open('$vboptions[forumhome].php?do=qt','qt','statusbar=no,menubar=no,toolbar= no,scrollbars=no,resizable=no,width=330,height=50' ); return false;">$vbphrase[scast_qt]</a>

Change to:
<a href="http://www.8004.adj-hosting.co.uk/listen.php?type=pls">$vbphrase[scast_wa]</a>
<a href="http://www.8004.adj-hosting.co.uk/listen.php?type=ram">$vbphrase[scast_rp]</a>
<a href="http://www.8004.adj-hosting.co.uk/listen.php?type=asx">$vbphrase[scast_mp]</a>
<a href="http://www.8004.adj-hosting.co.uk/listen.php?type=qtl">$vbphrase[scast_qt]</a>

UltimateOreo!
03-25-2007, 09:52 PM
What will you put in the next version? The modules or ajax/realtime?

Zachariah
03-26-2007, 01:06 AM
What will you put in the next version? The modules or ajax/realtime?

I want to yes, but I need to do a lot more code work on it. :)

pericolosogr
03-26-2007, 10:35 AM
Hello,
i seem to get that error on the top of the page no matter what i do

Warning: fopen(CHMOD 777): failed to open stream: Permission denied in /includes/shoutcast/scast.php on line 101

Warning: fwrite(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 102

Warning: fclose(): supplied argument is not a valid stream resource in /includes/shoutcast/scast.php on line 103

Warning: fopen(CHMOD 777): failed to open stream: No such file or directory in /includes/shoutcast/scast.php on line 106

excuse me for my ignaance but i dont know nothing from coding
thanks

i would also to mention that it is not working and apparently i have made somewhere a mistake!

UltimateOreo!
03-26-2007, 08:17 PM
You need to CHMOD scast.xml..... I have no idea how many times Zacharia has already said that..... So, back on topic, any idea on how much longer until the next release?

cunder
03-27-2007, 01:48 PM
I want to display shoutcast page on my another page on this page

http://www.musicbins.com/forum/music.php

hou to put full shoutcast on this page.

thanks


Anyone :confused:

Zachariah
03-27-2007, 07:06 PM
Anyone :confused:

I have plans for something like that.
- Give me a day or so.

pericolosogr
03-28-2007, 02:38 AM
thanks its working :D

cunder
03-28-2007, 04:32 PM
I have plans for something like that.
- Give me a day or so.

Oke thanks :up:

mcyates
03-31-2007, 11:36 AM
Its stopped loading up the players, I have today upgraded apache and php. Now when I click on real, media player or quicktime it loads the main site page in the window, instead of the player.

Any Help please.