The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Module CMPS: Shoutcast Status Full Details »» | |||||||||||||||||||||||||||
Shoutcast Status Full 1.89 on your VB3.5 CMPS Module.
/* -----------------11/29/2005 6:23pm----------------- This is a Nice hack to add Shoutcast Status on your VB3.5. Hope it helps !!! Zachariah @ http://www.gzhq.net Quote:
Quote:
Tested On: vBadvanced CMPS 2.0+ vBulletin 3.5+ SHOUTcast Server v1.9.5 ================================================== ===== == Install: 2-5 min == Collapsible Table Server Name Last 19 songs 3 Popup players (quicktime, media player, real player) DJ Name DJ ICQ DJ AIM Bitrate Current Song Media Type Most Ever Connected Hit Count Users Connected Avj. Connect Time User Max IRC Server and Room Online / Offline status XML Data Cache *Note: In the Configuration it asks for a password. This is the Admin password not the DJ password. *Note: This Module with it's current template layout was designed as a center block. ================================================== ===== Zerro queries added Add: 1 vBa CMPS Module Upload: 7 images, 2 files Add: 5 templates Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
It is enabled, but I did not bind to all pages when installed. - some may have 100's of pages and only want it on one page Have a look @ 3 posts above. |
#23
|
|||
|
|||
Quote:
Found where to enable it, and have done so... It finally appears on the front page - however! It has now brought the whole page out of alignment. All the right and center blocks have disappeared.. Only the left blocks remain on the page... Until you scroll down, and then they're all there! Also the pop-up players still don't display the play, but instead just display the index page of the site! |
#24
|
||||
|
||||
Quote:
Replace w/: Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> <script type="text/javascript"> function scastmp(){ scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75"); } function scastrp(){ scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160"); } function scastqt(){ scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50"); } </script> <tbody> <tr > <td class="tcat" 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_tcat$vbcollapse[collapse_tcat_shoutcast].gif" alt="" border="0" /></a> <div><span class="smallfont"><strong>$vba_style[portal_blockbullet] $scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)</strong></span></div> </td> </tr> </tbody> <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="60%" class="alt2" ><b>Now Playing:</b></td> </tr> <tr > <td style="padding-left: 5px><a href=" colspan="2" class="smallfont" align="center"> <a href="$listenamp"> <img src="$stylevar[imgdir_misc]/im_winamp.gif" alt="Listen w/ Winamp" border="0" hspace="0" /></a> <a href="javascript:scastrp()"> <img src="$stylevar[imgdir_misc]/im_real.gif" alt="Listen w/ Realplayer" border="0" hspace="5" /></a> <a href="javascript:scastmp()"> <img src="$stylevar[imgdir_misc]/im_winmp.gif" alt="Listen w/ Media Player" border="0" hspace="5" /></a> <a href="javascript:scastqt()"> <img src="$stylevar[imgdir_misc]/im_qt.gif" alt="Listen w/ Quicktime" border="0" hspace="0" /></a> </td> <td width="60%" 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="60%" 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> </table> <br /> What I did was add a SQL option to auto install the Module. (to make it simple) :nervous: hahahahahahhahaha I found that there was 2 Shoutcast modules. Module Settings: Admincp => vBa CMPS => Add Module [PHP File] Module Title: Soutcast Column: Center Display Order: your choice Active: yes File to Include: shoutcast.php Templates Used: Code:
adv_portal_shoutcast,adv_portal_shoutcast_mp,adv_portal_shoutcast_rp,adv_portal_shoutcast_qt,adv_portal_shoutcast_off Use Module Shell Template: No REM : Replace your php file on your server. |
#25
|
||||
|
||||
:| where did you go
|
#26
|
|||
|
|||
Quote:
|
#27
|
|||
|
|||
Installed and works great !!!
One more thing ;-) We have 4 shoutcast servers (all streaming the same thing - but have 4 to load balance). Is there anyway to modify the code so it will query all 4 IP addresses and add the 'max users' 'current listeners' 'peak listeners' together? (and send me your PayPal address!!! :P) |
#28
|
||||
|
||||
Quote:
Multi streams is not hard to get stats from. (I have this planned and AdminCP options.) - I would realy love to address the XML cache problem. ** This creates so much LAG on the site and eats up bandwith. I know how to load in a winamp playlist: multi streams - I will need to read up on the other players a bit. With your setup it loads all lists into a playlist and if 1 is busy it goes to the other ? Will it do that w/ media player , Real and all that, or do you have 4 IP's if 1 is full you need to go to another IP ? |
#29
|
|||
|
|||
Quote:
So for your "$scip = "0.0.0.0";" in shoutcast.php, rather than putting a server IP address, I have put in broadband.eve-radio.com. This seems to work okay, but the only problem is the stats don't add up :-) |
#30
|
||||
|
||||
Quote:
I think it would it be smart to have in the "setup area" connection IP $scip = "0.0.0.0"; and also have an area for adding 4 server IP's and 4 admin passwords - incase the systems have different logins. |
#31
|
|||
|
|||
Hello Zachariah, thanks for these beautiful hack.
I have the forumhome version (full) and the CMPS version full. It works perfectly and has no problems if my server (own server) is online. But when the server is offline, then my frontpage where the CMPS version stand, are screwed up ( see screens). |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|