vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Module CMPS: Shoutcast Status Full (https://vborg.vbsupport.ru/showthread.php?t=95394)

Zachariah 08-30-2005 10:00 PM

Module CMPS: Shoutcast Status Full
 
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:

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.).

This script pulls the XML data from a shoutcast server.
http://www.shoutcast.com/download/serve.phtml
(this hack requires a password form the shoutcast admin to pull stream information.)
Quote:

Old ver VB 3.0-3.0x Module CMPS: Shoutcast Status Full
================================================== =====
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

Zachariah 08-31-2005 08:01 PM

================================================== =====
Changelog |
================
1.8 2.17.06
- Added XML cache + timer
- Added AdminCP setting vs. edit the php file
- Fixed "adv_portal_shoutcast" template - player popup.

1.7 12.25.05
- Killed auto create Module on Install

1.6 11.29.05
- Fixed popup players - phase errors
- Added auto create Module on Install

1.5 08.31.05
- 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

1.2 - 02.22.05
- Added: DJ ICQ, DJ AIM, IRC Server and Room, 2 images
Edited: cleaned up code in templates and php file.

1.1 Fixed - 12.07.04
- shoutcast.php file to show offline if sever IP can not be reached.
To update replace shoutcast.php file.
================================================== =====

If you choose not to show any/all:

Variables used.
Here is a list of variables that can be used in your "adv_portal_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
$peaklisteners = Most Ever
$content = Media Type
$streamhits = Hit Count

X-Fashion. 09-02-2005 08:19 PM

very nice!
Thanks

Zachariah 09-05-2005 02:44 PM

Quote:

Originally Posted by X-Fashion.
very nice!
Thanks

NP glad it helps ... link ?!?!?! :)


================================================== =====
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


Party on ! :banana: :bunny:

On Closed:
https://vborg.vbsupport.ru/attachmen...chmentid=33967

On Open:
https://vborg.vbsupport.ru/attachmen...chmentid=33966

Media Player
https://vborg.vbsupport.ru/attachmen...chmentid=34148
Quicktime
https://vborg.vbsupport.ru/attachmen...chmentid=34149
Real
https://vborg.vbsupport.ru/attachmen...chmentid=34150

-------------------------------------------------------*/

Shack Networks 09-05-2005 03:34 PM

I get a parse error on line 54 of shoutcast.php when trying to open anything other than winamp..

Shack Networks 09-06-2005 02:45 PM

Any help on the above much appreciated...

Zachariah 09-06-2005 03:13 PM

looking now.

Shack Networks 09-06-2005 03:47 PM

Cheers m8y

Zachariah 09-06-2005 03:58 PM

Quote:

Originally Posted by Shack Networks
I get a parse error on line 54 of shoutcast.php when trying to open anything other than winamp..

All I can think of is that the 3 templates did not install to your skin. Are you running a custom skin? Did you intall product-shoutcast_cmps_full.xml as a Product in the plugin manager ?

Look in your Templates for:

adv_portal_shoutcast
adv_portal_shoutcast_mp
adv_portal_shoutcast_rp
adv_portal_shoutcast_qt
adv_portal_shoutcast_off

Shack Networks 09-06-2005 07:22 PM

Yes to all the above, Ive even reinstalled it.

I will do some tinkering of my own and install it on my dev board to see if I get the same results..

Thanks for looking and also for the hack.


All times are GMT. The time now is 06:28 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.01083 seconds
  • Memory Usage 1,750KB
  • 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