vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Shoutcast Status Full (https://vborg.vbsupport.ru/showthread.php?t=76873)

Zachariah 02-22-2005 10:00 PM

Shoutcast Status Full
 
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

Amavisca 02-23-2005 01:44 AM

First one view this threat heh:) Will give a try. Thnx

tehste 02-23-2005 10:41 AM

this is great, saved me about 5 mins of coding :)

Dan 02-23-2005 11:06 AM

Nice idea ;) hope it helps some people

Zachariah 02-23-2005 01:33 PM

I updated 1st post with Variable info. To be used in customizing your template.
:D

NuclioN 02-23-2005 02:05 PM

We don't use shoutcast but one of our members does. $scpass = "changeme"; for the server admin pass. ... how when this is info about another server?

Zachariah 02-23-2005 02:10 PM

Quote:

Originally Posted by NuclioN
We don't use shoutcast but one of our members does. $scpass = "changeme"; for the server admin pass. ... how when this is info about another server?

I can create a "limited" version if you need that does not need the server admin PW. The data for the non-password area is very limited.

on/off
currently playing
user connected
users max

NuclioN 02-23-2005 03:13 PM

O but that is enough :) If you could make that it would be nice.

Phalynx 02-23-2005 04:15 PM

Great, thanks!

Zachariah 02-23-2005 07:38 PM

Quote:

Originally Posted by NuclioN
O but that is enough :) If you could make that it would be nice.

Shoutcast Status Lite 1.0 :D


All times are GMT. The time now is 08:26 PM.

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.01344 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete