The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Shoutcast Status 2.0 (3.5) Details »» | |||||||||||||||||||||||||
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) Show Your Support
|
Comments |
#42
|
||||
|
||||
It allows you to broadcast music or any audio file from your own PC, then its transmited via the server and via your forum for members to listen to.
Laters Quote:
|
#43
|
||||
|
||||
Now another question:
Is the below details: $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. Is this in the template or file? If I change the template +$song[0] as below to +$song[19] it does not show the last 19 songs played? <td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0]</marquee></tt></td> </tr> Any ideas? Laters |
#44
|
||||
|
||||
Quote:
$song[1] - song that played before $song[0] $song[2] - song that played before $song[1] $song[3] - song that played before $song[2] $song[4] - song that played before $song[3] and soforth to $song[19] all of these are in the current Hack - If installed and "on the Air" hit the collapse / expand Image. I added the " + " (plus sign) as a place holder, it is not needed If you want a many songs to list in the "marquee ", try: List current and last 4 songs (total 5 songs) Code:
<td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0] + $song[1] + $song[2] + $song[3] + $song[4] + $song[5]</marquee></tt></td> </tr> |
#45
|
||||
|
||||
Thanks M8, testing now.
regards, Brian Quote:
|
#46
|
||||
|
||||
I need help, i added all the information in the plug in, but it still says that my server isnt up, and it is. I cant enable it, im uh, lost thanks
|
#47
|
||||
|
||||
// Shoutcast Server Stats
$scdef = "UGM Shoutcast"; $scip = "68.59.104.15"; $scport = "8000"; $scpass = "password"; $ircsite = "irc.server.net"; //End configuration thats my code... whats wrong |
#48
|
||||
|
||||
all looks correct
I have had another person have problems and here is what they did.... Isn't it a bummer when you find you cant use a good script cause your hosting provider is blocking outgoing an all non descript ports and your website is not on the same server as something like a shoutcast stream. Dont let that stop you if an xml file is behind a port that you cant access from your site try something like this mod I did for this shoutcast hack Extra requirements: LyNX browser on your shoutcast server - this is a command line browser, if your on a shoutcast shell you would normally find it allready is installed If you have your own dedicated server for streaming its not hard to install if it isnt allready there usage here lynx = starts the browser -auth= to get into protected directories/files -source will drop the content source to stdout 1> filename will trap the stdout to a file lynx then just drops straigh back to command line ready for the next command as you added the switches for its job eg: Code:
lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml 1> /webserver/path/public_html/filename.xml How to install so you can grab your shoutcast status from a permitted port 80: You will need the files from the hack and a simple edit. Find: PHP Code:
PHP Code:
do the template bits and upload the images and index.php file as directed in the hack run your lynx command in shell and then check out your Shoutcast module page if it worked great you may want to try it a few times before you add your crontab entry. Adding crontab from shell is easy, you will more than likely enter the vi editor after issuing the command crontab -e you might want to do crontab -l first and copy that text safe, so you can easily restore the original cron entries if you mess up. move your cursor to the line above where you would like your new cron line, hit o now your in insert mode copy to your clip board your prepared cron line, to run this every 5 minutes would look something like: Code:
*/5 * * * * lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml 1> /webserver/path/public_html/filename.xml hit the esc key now input :x and hit enter to install your new crontab enjoy |
#49
|
||||
|
||||
i dont really understand that :x
|
#50
|
||||
|
||||
Quote:
Rem to edit your plugin to the new port also. |
#51
|
||||
|
||||
ahh yes, that worked <333 Thanks man!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|