![]() |
Shoutcast Status 2.0 (3.5)
Shoutcast Status 2.0 on your VB3.5 ForumHome.
/* ----------------- 11/15/2006 ----------------- This is a Nice hack to add Shoutcast Status on your VB3.5 ForumHome. Hope it helps !!! Zachariah @ http://www.gzhq.net 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.5+ SHOUTcast Server v1.9.5 DEMO ================================================== ===== == 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 shoutcast full 3.5.zip (13.7 KB, 683 downloads) |
Can this be integrated into vBAdvanced?
|
================================================== =====
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. 1.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: Please choose the way your images should be displayed on the forum home. 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. 1.8 2.18.06 - Added XML cache + timer - Added AdminCP setting vs. edit the php file 1.7 12.25.05 - Killed auto create Module on Install 1.6 - Fixed Media Player in non IE browsers - Fixed Real Player in non IE browsers 1.5 - Added 19 song history vs. 5 - Added Windows Media Player popup - Added Real Media Player popup - Added Quicktime Media Player popup - Added marquee to Curent song playing - Added Avj. Connect Time (avj. of the total time users connected; untill server reboot) - Added Media Type (tells what the source file format is: mpeg, CDA, WAV) - Added Hit Count (total connections to the server since the server reboot) - Added Most Ever (total connections at one time to the server since the server reboot) - Added 4 images for choice of media player - Added 3 templates for media players ================================================== ===== If you choose not to show any/all: Variables used. Here is a list of variables that can be used in your "forumhome_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 $listenamp = http://$scip:$scport/listen.pls $listenlnk = http://$scip:$scport $averagemin = average listener time in minuets $peaklisteners = Most Ever $content = Media Type $streamhits = Hit Count |
You should be able to just call it as a module and create the templates for it. Then just use the output variables that are listed on the first post.
|
wow.. cool idea... gotta fix some stuff up and then I'll give it a whirl. :D :D
|
I like it :D
|
Quote:
CMPS 1: Shoutcast Status Full I have not tryed it on CMPS 2 - yet, I do not see a problem with it working. I'll take a look once I - RFRI. (reformat, reinstall) |
man your the man haha i was just looking at your post in the v3 mods and was just about to post make this for v3.5 and blam its here good work installing now
|
Quote:
I could not sleep, you know how that goes. :tired: Good luck w/ install |
worked flawless now for the next mission :) ad the ability for multi servers. and the abilty to link other stream links
example: * these are just idea* stream1 stream2 rap radio - listen now: winamp - windows media - real player Metal radio - listen now: winamp - windows media - real player they could be text links or images either way is good with me :) might be hard to ad different streams just for the fact you got the latest 5 tracks going on that would nbe alot of space going on.. unless you changed the style to marquee the lastest 5 tracks you could also make it clean by having a drop down menu for your streams. and the links to listen so like stream1 winamp windows media real player Stream 2 winamp windows media real player that would save on the space issue and probably look cleaner if done that way.. |
I was thinking for a few months on showing milti -streams. - Might do a Sep. page vs. on the forumhome. I have done Multi-servers on VBA CMPS w/ Multi block many times. It will take some thought. I also would love to make an "all stats" hack vs. the small data this one pulls from the server. I thought the amount of info this gave was already taking a load of space as it was. I'll put some stuff on the fire and see what we can burn.
winamp - done windows media - easy to do/add real player - easy to do / have to read a bit on their tech. Quote:
|
i made a few template edits for now to give ya a idea
|
:up:
Quote:
|
just gives ya an idea to maybe base another version later on :) anyway thanks for doing the hard part for us its much appreciated
|
this definetly slows your forum down so everyone knows. cause its calling the server so expect some delay
|
Quote:
|
It sped mine up.
Anyhow this is an awesome mod. Ah yes, and for some reason, the "listen now" image doesnt show up for me? Maybe it's just me, i dont know yet. Thanks for the mod. |
Quote:
http://www.ugforums.org/ugforums/images/insignia/misc/ ================================================== ===== Upload: Images | =============== im_genre.gif, im_mirc.gif, radio.gif, shoutcast_off.gif, sound.gif To: $stylevar[imgdir_misc] - style_location/images/misc Each style will need the images uploaded to their /images/misc folder. |
thanks harry your right :) total difference so thats why jmy actual radio station site takes a while to load i thought it was from the multi stream stats
|
Quote:
oh....sorry...ill do that now. I didnt read that part right EDIT: yup, that did it. |
Quote:
Use the image below. I'll update the 1st post. I forgot to test it on a dark theme. |
have to rename it to gif though :P
|
Quote:
Quote:
|
Quote:
Thanks |
Quote:
Hey you need a custom Guest Avatar for your welcome panel. images/welcom_panel/guestavatar.gif (on every skin) |
great port to vB3.5
will be used on our public forums as soon as 3.5 is available as a final build :) [high]* lamilein clicked install because he's using it on his local testing-machine :D[/high] |
Eh. It works, but not really.
Btw, do you HAVE to have the IRC? Because I left that with the standard not knowing what it was and when the radio is online it says it's offline. |
Quote:
*Note to self add this to install file readme.txt If you choose not to show any/all: Variables used. Here is a list of variables that can be used in your "forumhome_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 I have a new ver perhaps today, that blows this out of the water. :tired: |
================================================== =====
Changelog | ================ 1.5 - Added 19 song history vs. 5 - Added Windows Media Player popup - Added Real Media Player popup - Added Quicktime Media Player popup - Added marquee to Curent song playing - Added Avj. Connect Time (avj. of the total time users connected; untill server reboot) - Added Media Type (tells what the source file format is: mpeg, CDA, WAV) - Added Hit Count (total connections to the server since the server reboot) - Added Most Ever (total connections at one time to the server since the server reboot) - Added 4 images for choice of media player Party on ! :banana: :bunny: On Closed: https://vborg.vbsupport.ru/external/...chmentid=33967 On Open: https://vborg.vbsupport.ru/external/...chmentid=33966 Media Player https://vborg.vbsupport.ru/external/...chmentid=34148 Quicktime https://vborg.vbsupport.ru/external/...chmentid=34149 Real https://vborg.vbsupport.ru/external/...chmentid=34150 -------------------------------------------------------*/ Variables used. ================================================== ===== If you choose not to show any/all: Here is a list of variables that can be used in your "forumhome_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 $listenamp = http://$scip:$scport/listen.pls $listenlnk = http://$scip:$scport $averagemin = average listener time in minuets |
================================================== =====
Changelog | ================ 8/29/2005 8:00am 1.6 - Fixed Media Player in non IE browsers - Fixed Real Player in non IE browsers All Is well enjoy !! |
Any one made the module for VBADVANCED 2 Yet????
|
Quote:
Older ver, Ill have them updated w/ new code once all bugs are ironed out. |
Quote:
|
Quote:
|
please delete.
|
Quote:
|
ok sorry for the n00b question...this is the first time I've heard of shoutcast...but it seems pretty cool.
but I'm a bit confused. If I install this...that means.... members can broadcast their own radio via the forums? or they have to have a shoutcast server set up on their own and then I can show its status on the forums (via this mod) and then other members can listen to it? or do I have to set up a shoucast server particular to the forum and just let other people listen to it? so from a member's perspective.....if I wanted to make a "radio station" and show it on the forums: --i first set up a shoutcast server via shoutcast server download --or do I set up a "BE A DJ"? then what? :confused: from the members' view? and from the admins view? again sorry for the n00b questions...but a lot of background to soak if you've never heard of it. I'm also not sure what the difference is between lite and full (from a forum admin perspective) other than you need a password from shoutcast (do listeners need a password to listen??) thank you for your patience, and any help would be greatly appreciated. ^^ |
This hack connects to a server and relays its stats / info to your site. The server can be installed anywere as long as the IP can be accessed. You make the server or connect to a server.
The password I talk about is in the shoutcast server software itself. There is a mini web based client and admin section that the shoutcast server software makes on the computer it is installed to. This script needs the admin access to the shoutcast server to get the info to populate the forums w/ live info. It logs in collects the data and returns the info to the client. The client does not need a password to connect. I have a shoutcast server setup on a cable modem when I goof around and want to show some friends a few tunes I ran across. @60K upload I can do 16 people @ 24k music quility. (mono .. like AM radio) Yes it is a hog. 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 in your case 256k uploadspeed / 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 BROADCASTING Persons wanting to broadcast will need to run their own server, as per the instructions below, or find someone willing to run one for them. Once a server's located, broadcasters use Winamp and a plug-in called the SHOUTcast Source for Winamp Plug-In to send audio from Winamp to the SHOUTcast server. The tools are available here, and there's an entire section of the documentation dedicated to the plug-in. RUNNING A SERVER The magic of the SHOUTcast system happens inside the SHOUTcast Distributed Network Audio Server (DNAS). This software runs on a server attached to an IP network with lots of bandwidth, and is responsible for receiving audio from a broadcaster, updating the SHOUTcast directory with information about what the broadcaster is sending, and sending the broadcast out to listeners. More information is in the server section of the documentation. More info |
this looks nice!! checking it out.
|
i'm not entirely sure whether or not i get this currectly. so does this let you upload and play your own music or is it just another play radio extensions software?
|
All times are GMT. The time now is 07:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|