Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Shoutcast Status Full Details »»
Shoutcast Status Full
Version: 1.8, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.0.13 Rating:
Released: 02-22-2005 Last Update: 02-24-2006 Installs: 41
Template Edits
Code Changes Additional Files  
No support by the author.

Shoutcast Status Full 1.8 on your VB3.x Forum Home.

DEMO: http://www.gzhq.net/forums/index.php?

/* -----------------8/27/2005 6:23pm-----------------
This is a Nice hack to add Shoutcast Status on your VB3.X Forum Home.
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

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

================================================== =====

Edit: 1 template
Upload: 8 images, 2 files
Add: 5 templates


Tested On:
vBulletin v3.0.13
SHOUTcast Server v1.9.5
================================================== =====

Quote:
There are 4 types of this script here on vb.org:

1) CMPS: Shoutcast Status Lite
2) CMPS: Shoutcast Status Full
3) Shoutcast Status Lite (forum home)
4) Shoutcast Status Full (forum home)
-------------------------------------------------------*/
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 |
================
1.8 2.17.06
- Added XML cache + timer

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 Template Installer

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-10-2005, 06:56 PM
WhatChaMissin WhatChaMissin is offline
 
Join Date: Apr 2005
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, not sure what I did wrong but mine says "Currently our shoutcast server is down" even though I've been broadcasting for 15 minutes.

http://www.whatchamissin.com/forums/

The only field I haven't filled in is
$ircsite = "irc.server.net"; // IRC Server - EX: irc.server.com

Because I just don't know it. Could that be it?
Reply With Quote
  #43  
Old 08-11-2005, 10:55 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WhatChaMissin
hmm, not sure what I did wrong but mine says "Currently our shoutcast server is down" even though I've been broadcasting for 15 minutes.

http://www.whatchamissin.com/forums/

The only field I haven't filled in is
$ircsite = "irc.server.net"; // IRC Server - EX: irc.server.com

Because I just don't know it. Could that be it?
That just fills out the IRC server info to generate a link for the users to connect to if you have a IRC server. It will not stop the status of the shoutcast server. Have you filled out:

Code:
$scdef = "Shoutcast";   // Default station name
$scip = "0.0.0.0";   // ip shoutcast server
$scport = "8000";        // port of shoutcast server
$scpass = "changeme";      // admin password (not DJ) to shoutcast server
Can you also access your "web access" of the shoutcast server ?
Reply With Quote
  #44  
Old 08-15-2005, 11:50 AM
WhatChaMissin WhatChaMissin is offline
 
Join Date: Apr 2005
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HarryButt
That just fills out the IRC server info to generate a link for the users to connect to if you have a IRC server. It will not stop the status of the shoutcast server. Have you filled out:

Code:
$scdef = "Shoutcast";   // Default station name
$scip = "0.0.0.0";   // ip shoutcast server
$scport = "8000";        // port of shoutcast server
$scpass = "changeme";      // admin password (not DJ) to shoutcast server
Can you also access your "web access" of the shoutcast server ?
yes I have that part filled out, but what is the "web access" is that where you go to get the stats on your account?
Reply With Quote
  #45  
Old 08-15-2005, 12:28 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WhatChaMissin
yes I have that part filled out, but what is the "web access" is that where you go to get the stats on your account?
The server your DJ's connect to. http://iport

EX: I have a test server.

http://1.2.3.4:8000 - will show your shoutcast servers built in web page.

$scdef = "Shoutcast"; // Default station name
$scip = "1.2.3.4"; // ip shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "AdminPW"; // admin password (not DJ) to shoutcast server


NOTE:
There are 2 passwords on shoutcast servers.

DJ / connect a feed pasword
Admin / server admin password

This ver needs the Admin PW filled out.
Reply With Quote
  #46  
Old 08-15-2005, 09:05 PM
bluecon23 bluecon23 is offline
 
Join Date: Aug 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx very much ...

thats great.

greez from germany.

:-)
Reply With Quote
  #47  
Old 08-29-2005, 10:12 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

================================================== =====
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
- Added Template Installer

Party on ! :banana: :bunny:

On Closed:


On Open:


Media Player

Quicktime

Real


-------------------------------------------------------*/
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
Reply With Quote
  #48  
Old 09-01-2005, 02:57 PM
nymyth nymyth is offline
 
Join Date: Jun 2002
Location: New York
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im using 3.07, and it seems to have installed fine,....I was wondering when shoutcast isnt on, if the collapsable menu will go all the way up????

Peace
Reply With Quote
  #49  
Old 09-01-2005, 03:43 PM
nymyth nymyth is offline
 
Join Date: Jun 2002
Location: New York
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind got it, just moved the /tbody tag to the bottom...

Peace
Reply With Quote
  #50  
Old 09-01-2005, 03:55 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nymyth
Im using 3.07, and it seems to have installed fine,....I was wondering when shoutcast isnt on, if the collapsable menu will go all the way up????

Peace
I searched on vb.com / org and found there to be no way to have 2 collapsable tables nested. I could make it like the rest of the menus, but I would have to place all the other info in a popup or something.

All the info can unfold by default, but I thought "wow" that is a long table to have open all the time when a shoutcast is going.

I am open for ideas :nervous:

Quote:
Originally Posted by nymyth
nevermind got it, just moved the /tbody tag to the bottom...

Peace
Yep
Reply With Quote
  #51  
Old 09-01-2005, 03:58 PM
nymyth nymyth is offline
 
Join Date: Jun 2002
Location: New York
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<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 class="smallfont"><b>$scdef  Offline</b></div>
</
td>
</
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_shoutcast" style="$vbcollapse[collapseobj_forumhome_shoutcast]">
<
tr
<
td rowspan="3" class="alt2" align="center"><img src="$stylevar[imgdir_misc]/radio.gif" alt="" /></td>
<
td valign="top" align="left" class="alt1"

<
table border="0" cellpadding="0" cellspacing="0" width="100%">
    <
tr>
                <
td rowspan="2" width="50%" align="left"><img border="0" src="$stylevar[imgdir_misc]/shoutcast_off.gif" alt="Server Down" vspace="5" /><br /><div class="smallfont"><b>$scdef is down.</b></div></td>
    </
tr>
    <
tr>
         <
td width="50%"> </td>
    </
tr>
</
table>
</
td>
</
tr>
</
tbody
This is what i put into my forum_shoutcast_off template....it did the trick.

Peace

ps..so now when the forum reads the shoutcast to be off, i can collapse the table all the way up as opposed to 3/4 up when it is on.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 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
  • Page Generation 0.04714 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete