Note: This Module with it's current template layout was designed as a center block.
--------------------------------------------------*/
== Install: 2-5 min ==
Server Name
Last 5 songs
DJ Name
DJ ICQ
DJ AIM
Bitrate
Current Song
Users Connected
User Max
IRC Server and Room
Online / Offline status
--------------------------------------------------*/
- Something that came to mind. You can take this add-on and rename the shoutcast.php file to say "shoutcast1.php, shoutcast2.php, etc." and make multi-blocks to get feeds from different servers. They all can use the same templates.
Changelog:
1.2 - 02.22.05
- Added: DJ ICQ, DJ AIM, IRC Server and Room, 2 images
Edited: cleaned up code in templates and php file.
1.1 Fixed - 12.07.04
- shoutcast.php file to show offline if sever IP can not be reached.
To update replace shoutcast.php file.
If you choose not to show any/all:
Variables used.
Here is a list of variables that can be used in your "adv_portal_shoutcast". If do not wish to show data, just remove the variables.
$scdef = Default station name $scip = IP shoutcast server $scport = Port of shoutcast server $scpass = Admin password (not DJ) to shoutcast server $ircsite = IRC Server - EX: irc.server.com $song[t] = Song History:t can range from 0-19. EX: $song[$0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing. $servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name). $servergenre = - setting in DSP. $bitrate = Quility of the Bitrate - setting in DJ - DSP . $icq = ICQ# of DJ - setting in DJ - DSP. $aim = AIM# of DJ - setting in DJ - DSP. $irc = IRC room of DJ - setting in DJ - DSP. $url = URL - setting in DJ - DSP $currentlisteners = Current connected users. $maxlisteners = Max users for the server. $irclink = irc://$ircsite/$irc $listenlink = 'http://$scip:$scport/listen.pls
How could I go about putting these stats on a page that is seperate than my forums without vbulletin installed? If that is unclear, what I mean is, my forums are on forums.clubtcb.com, and I would like to put just that box on a different page, a page without forums with radio info and shit that would be radio.clubtcb.com.
How could I go about putting these stats on a page that is seperate than my forums without vbulletin installed? If that is unclear, what I mean is, my forums are on forums.clubtcb.com, and I would like to put just that box on a different page, a page without forums with radio info and shit that would be radio.clubtcb.com.
I've added module, php file, titled it shoutcast, identified it as shoutcast in templates used, put
adv_portal_shoutcast
adv_portal_shoutcast_off
.
Now, when you say make template, do I do that from the styles and templates area? Or do I add a module, but call it a template??
Thanks..
Nevermind.. I figured it out.. Kinda.. now if I could just make it not so wide...