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 |
#222
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/attachmen...6&d=1140276425 |
#223
|
||||
|
||||
i have just installthis hack!
i put everything right! my server is up but in forum says that is down!what can be wrong? |
#224
|
|||
|
|||
I'm unable to get this to display on my forum home template?
Uploaded the images, installed the product-shoutcast_home_full.xml and uploaded the other xml to my server, which I'm not sure if I'm supposed to install or not, but when I do try it states " XML Error: not well-formed (invalid token) at Line 1" But nothing is displaying on my Forumhome, no drop down box or anything at all regarding this hack? Everything is installed correctly though.... thanks |
#225
|
|||
|
|||
this is in forumhome_shoutcast templates
but i dont see the variables being displayed i.;e most listenrs and all it dont show up what im doing wrong? <script type="text/javascript"> function scastmp(){ scastmpWindow = window.open("index.php?do=mp","mp","width=360,heig ht=75"); } function scastrp(){ scastrpWindow = window.open("index.php?do=rp","rp","width=420,heig ht=160"); } function scastqt(){ scastqtWindow = window.open("index.php?do=qt","qt","width=330,heig ht=50"); } </script> <tbody> <tr > <td class="thead" width="100%" colspan="6"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutcast')"> <img id="collapseimg_forumhome_shoutcast" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_shoutcast].gif" alt="" border="0" /></a> <div ><b>$scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)</b></div> </td> </tr> </tbody> <td rowspan="3" class="alt2" align="center"><img src="$stylevar[imgdir_misc]/radio.gif" alt="$scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)" /></td> <td valign="top" align="left" class="alt1"> <table border="0" cellpadding="1" cellspacing="0" width="100%"> <tr > <td class="alt2" ><b>Tune-In:</b></td> <td width="5" > </td> <td width="50%" class="alt2" ><b>Now Playing:</b></td> </tr> <tr > <td width="50%" style="padding-left: 5px><a href=" colspan="2" class="smallfont"> <img src="$stylevar[imgdir_misc]/im_winamp.gif" alt="Listen w/ Winamp" border="0" hspace="2" /><a href="$listenamp">Winamp</a> <img src="$stylevar[imgdir_misc]/im_real.gif" alt="Listen w/ Realplayer" border="0" hspace="2" /><a href="javascript:scastrp()">Real</a> <img src="$stylevar[imgdir_misc]/im_winmp.gif" alt="Listen w/ Media Player" border="0" hspace="2" /><a href="javascript:scastmp()">Media</a> <a href="javascript:scastqt()"><img src="$stylevar[imgdir_misc]/im_qt.gif" alt="Listen w/ Quicktime" border="0" hspace="2" /></a> <a href="javascript:scastqt()">Quicktime</a> </td> <td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0]</marquee></tt></td> </tr> <tbody id="collapseobj_forumhome_shoutcast" style="display: none;"> <tr> <td width="100%" colspan="3"> </td> </tr> <tr > <td class="alt2" ><b>Stream Info:</b></td> <td width="5"></td> <td width="50%" class="alt2" align="left"><b>Last 19 Songs:</b> </td> </tr> <tr > <td valign="top" rowspan="4" style="padding-left: 5px" colspan="2" class="smallfont"> <div >Most Ever: <b>$peaklisteners</b><br />Current Listening: <b>$currentlisteners/$maxlisteners</b><br />Speed: <b>$bitrate</b> kbs<br />Media Type: <b>$content</b><br />Hit Count: <b>$streamhits</b><br />Avj. Time: <b>$averagemin</b></div> <br /><hr width="90%" size="1"> <img src="$stylevar[imgdir_misc]/im_genre.gif" alt="Genre" /> $servergenre<br /><img src="$stylevar[imgdir_misc]/im_icq.gif" alt="ICQ the DJ" /> $icq<br /><img src="$stylevar[imgdir_misc]/im_aim.gif" alt="AIM the DJ" /> $aim<br /><img src="$stylevar[imgdir_misc]/im_mirc.gif" alt="IRC Chat with the DJ" /> <a href="$irclink">$ircsite</a> : #$irc<br /> </td> </tr> <tr > <td valign="top" rowspan="5" style="padding-left: 5px" class="smallfont"><div ><tt>+ $song[1]<br />+ $song[2]<br />+ $song[3]<br />+ $song[4]<br />+ $song[5]<br />+ $song[6]<br />+ $song[7]<br />+ $song[8]<br />+ $song[9]<br />+ $song[10]<br />+ $song[11]<br />+ $song[12]<br />+ $song[13]<br />+ $song[14]<br />+ $song[15]<br />+ $song[16]<br />+ $song[17]<br />+ $song[18]<br />+ $song[19]</tt></div> </td> </tr> </table> </td> </tr> </tbody> |
#226
|
||||
|
||||
Did you hit the "collapse / expand" image on the table ?
- $streamhits is what your looking for |
#227
|
|||
|
|||
Zach.... did you manage to figure out what the issue was or should I just go delete that admin account, beacuse it's installed correctly but definately not showing up
|
#228
|
|||
|
|||
it doesn't work for me.... i tried diffrent shoutcast address but every time it just shows the shoutcast server is offline....
|
#229
|
||||
|
||||
Is your server running a firewall?
Do you have the port open Shoutcast uses? Can you connect to shoutcast ok? Do you have the correct details within the shoutcast settings in admincp? Laters Quote:
|
#230
|
|||
|
|||
Quote:
|
#231
|
||||
|
||||
I have not updated the main package yet. :tired: :cross-eyed:
Bug fix Hook Location : forumhome_complete Shoutcast Status Full - Main Find: Code:
$averagemin = round($averagetime/60,2); Code:
$averagemin = ""; $hours = intval(intval($averagetime) / 3600); $averagemin .= ($padHours) ? str_pad($hours, 2, "0", STR_PAD_LEFT) : $hours. 'h '; $minutes = intval(($averagetime / 60) % 60); $averagemin .= str_pad($minutes, 2, "0", STR_PAD_LEFT). 'm '; $seconds = intval($averagetime % 60). 's'; $averagemin .= str_pad($seconds, 2, "0", STR_PAD_LEFT); - Changes Avj. Time: 533.03 - To Avj. Time: 8h 53m 2s |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|