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 Lite (https://vborg.vbsupport.ru/showthread.php?t=76920)

Zachariah 02-22-2005 10:00 PM

Shoutcast Status Lite
 
Shoutcast Status Lite 1.0.1 on your VB3.x Forum Home.

Hope it helps !!! Zack @ http://www.gzhq.net

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)

This script pulls the XML data from a shoutcast server.
http://www.shoutcast.com/download/serve.phtml
CREDITS:
GeZuS P - for giving me a leg up on some code.
NuclioN - Request for non-pw ver

(this hack does not need a password to pull stream information.) ---
Shoutcast Status 1.01 (full w/ more options) need a password.

Changelog:
*1.0.1
Removed </span> tag in forumhome_shoutcast template.


== Install: 2-5 min ==

Collapsible Table

Server Name
Bitrate
Current Song
Users Connected
User Max
Online / Offline status

================================================== =====
Zerro queries added


Edit: 2 php files
Edit: 1 template
Upload: 2 images, 1 php file
Add: 2 templates

If you choose not to show any/all:

Variables used.
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
$song[0] = (zerro) is the current song playing.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$listenlink = 'http://$scip:$scport/listen.pls

NuclioN 02-23-2005 08:45 PM

The member's shoutcast server is offline right now. We will sit and wait and see if the info is poping up :) Tnx

T3MEDIA 02-23-2005 08:51 PM

what is it exactly though... does this work with Yahoo or is this something differnt.

Zachariah 02-23-2005 09:20 PM

Quote:

Originally Posted by T3MEDIA
what is it exactly though... does this work with Yahoo or is this something differnt.

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

This script reads the XML stat feed from a server.

Selene 02-24-2005 12:00 AM

Nice hack i will use it definat for ma shoutcast stream :)

MrLovellz 02-24-2005 12:20 AM

Awesome, installed this and working fine :)

Zachariah 02-24-2005 01:07 AM

Quote:

Originally Posted by MrLovellz
Awesome, installed this and working fine :)

Thanks. Drop us a link when your feed is up and going. :banana:

hXc Radio 02-24-2005 06:08 AM

this is pretty cool I think I will add it to my whats going on section....

I made a Shoutcast hack I been using since vb 2.2.9 for vbindex. I might release it someday.. It works nicely with vb 3.x It shows current song, listener count and links to both hi and lo band streams and the last 20 songs played. here is a screenie :)

Zachariah 02-24-2005 12:40 PM

Quote:

Originally Posted by hXc Radio
this is pretty cool I think I will add it to my whats going on section....

I made a Shoutcast hack I been using since vb 2.2.9 for vbindex. I might release it someday.. It works nicely with vb 3.x It shows current song, listener count and links to both hi and lo band streams and the last 20 songs played. here is a screenie :)

Nice, great idea on the multi bandwith.
I rem. hi and lo band streams on a pre-done script from shoucast.com years ago. It's not to hard to add another link and stream feed.

This is the "lite" ver of the hack " no password needed to gather stats and limited. The "full ver" has tons of other stuff, but needs the shoutcast Admin PW.

Collapsible Table

Server Name
Last 5 songs - max 20
DJ Name
DJ ICQ
DJ AIM
Bitrate
Current Song
Genre
Users Connected
User Max
IRC Server and Room
Online / Offline status


I did a "v3 vBa CMPS" addon many moons ago that I am updating. :tired:

hXc Radio 02-24-2005 11:26 PM

for the multi stream counts I use a php script to get the listener count and it gives the count output via png using the image tags to call to the php file. hope that helps :)


All times are GMT. The time now is 02:27 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.01101 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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