PDA

View Full Version : Module CMPS: Shoutcast Status


Zachariah
12-06-2004, 02:21 PM
/* -----------------12/06/2004 10:45AM-----------------
This is a Module for CMPS to place Shoutcast Status in a block. :eek:

Hope it helps !!! Zack - http://www.gzhq.net

Add: 2 templates
Upload: 2 images, 1 php file

Note: This Module with it's current template layout was designed as a center block.
--------------------------------------------------*/

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Server Name
Last 5 songs
DJ Name
Bitrate
Current song
Users Connected

Full info and hack @ vb.org
http://www.vbulletin.org/forum/showthread.php?t=72570

F.A.Q.
ERROR (http://www.vbulletin.org/forum/showpost.php?p=579618&postcount=9) - Warning: feof(): supplied argument is not a valid stream resource

lasto
12-06-2004, 05:03 PM
this is bad hack if it cant connect it throws up pages of errors - well i dont mean bad as bad that way but i mean if there is no active connection to the shoutcast hack then it should just display the offline mode

got pages upon pages of this stuff

Warning: feof(): supplied argument is not a valid stream resource in

Our Sponsors
 

Zachariah
12-06-2004, 09:34 PM
Warning: feof(): supplied argument is not a valid stream resource in

There is a step in the install that was over looked.


Edit shoutcast.php
- Change values with in the "quotes" to your shoutcast server settings.

//Configuration
$scdef = "Server Name"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // password to shoutcast server
$maxusers = "???"; // max users for your server
//End configuration

Save.