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)
-   -   Shoutcast Status 2.0 (3.5) (https://vborg.vbsupport.ru/showthread.php?t=94336)

Zachariah 08-14-2005 10:00 PM

Shoutcast Status 2.0 (3.5)
 
Shoutcast Status 2.0 on your VB3.5 ForumHome.

/* ----------------- 11/15/2006 -----------------
This is a Nice hack to add Shoutcast Status on your VB3.5 ForumHome.
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

================================================== =====
Tested On:

vBulletin 3.5+
SHOUTcast Server v1.9.5

DEMO
================================================== =====

== Install: 2-5 min ==


Full Stats
- Needs Shoutcast server admin password

Server Name
Song History
4 media layers (winamp, quicktime, media player, real player)
DJ Name
Bitrate
Current Song
Media Type
Most Ever Connected
Hit Count
Users Connected
Avj. Connect Time
User Max
Online / Offline status
XML Data Cache


Lite Stats
- Does not need shoutcast server admin password

Server Name
4 media layers (winamp, quicktime, media player, real player)
Bitrate
Current Song
Users Connected
User Max
Online / Offline status
XML Data Cache

================================================== =====
Adds: 2 plugins
Adds: 8 images, 2 files
Adds: 10 templates
Adds: 45 phrases


shoutcast full 3.5.zip (13.7 KB, 683 downloads)

Blam Forumz 08-15-2005 11:33 AM

Can this be integrated into vBAdvanced?

Zachariah 08-15-2005 11:38 AM

================================================== =====
Changelog |
================
2.0 11.15.06
- Merged shoutcast lite and full into 1 program
** If you do not have an admin password for your shoutcast server you can get limited information from the server "lite".

- Stats and History moved
** There was a need to hit collapsible +/- image to show song history and server stats. This has been moved to a 2 vbmenus as a click dropdown.

- Show Off Line Status
** Set to "No" to remove off line template when the shoutcast server is off line, or there is no DJ source

- Select what usergroups can see the add-on
- Fully phrased
- Cleaned up code in templates
- Changed and added templates.

1.9 9.06.06
- Moved body of hack to: /includes/shoutcast/scast.php vs. in datastore.
- added 2 templates: forumhome_shoutcast_who, forumhome_shoutcast_who_off
- popup player url from index.php to $vboptions[forumhome].php
- Locations:
Please choose the way your images should be displayed on the forum home.

Above Header
Below Header
Under Navbar
Above What's going on
Inside What's going on
Below What's going on
Custom

Select "Custom" and place $scast in FORUMHOME template for custom location.



1.8 2.18.06
- Added XML cache + timer
- Added AdminCP setting vs. edit the php file

1.7 12.25.05
- Killed auto create Module on Install

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 3 templates for media players
================================================== =====

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

jugo 08-15-2005 12:26 PM

You should be able to just call it as a module and create the templates for it. Then just use the output variables that are listed on the first post.

GrendelKhan{TSU 08-15-2005 12:31 PM

wow.. cool idea... gotta fix some stuff up and then I'll give it a whirl. :D :D

jesus likes pie 08-15-2005 12:40 PM

I like it :D

Zachariah 08-15-2005 12:47 PM

Quote:

Originally Posted by jugo
You should be able to just call it as a module and create the templates for it. Then just use the output variables that are listed on the first post.

https://vborg.vbsupport.ru/showthread.php?t=72570
CMPS 1: Shoutcast Status Full

I have not tryed it on CMPS 2 - yet, I do not see a problem with it working. I'll take a look once I - RFRI. (reformat, reinstall)

Vizionz 08-15-2005 01:03 PM

man your the man haha i was just looking at your post in the v3 mods and was just about to post make this for v3.5 and blam its here good work installing now

Zachariah 08-15-2005 01:05 PM

Quote:

Originally Posted by Vizionz
man your the man haha i was just looking at your post in the v3 mods and was just about to post make this for v3.5 and blam its here good work installing now

I hear ya I got it finished ---8/15/2005 4:20AM--- :D
I could not sleep, you know how that goes. :tired:

Good luck w/ install

Vizionz 08-15-2005 01:23 PM

worked flawless now for the next mission :) ad the ability for multi servers. and the abilty to link other stream links

example: * these are just idea*
stream1
stream2


rap radio - listen now: winamp - windows media - real player
Metal radio - listen now: winamp - windows media - real player

they could be text links or images either way is good with me :)

might be hard to ad different streams just for the fact you got the latest 5 tracks going on that would nbe alot of space going on..

unless you changed the style to marquee the lastest 5 tracks

you could also make it clean by having a drop down menu for your streams.
and the links to listen

so like
stream1
winamp
windows media
real player

Stream 2
winamp
windows media
real player

that would save on the space issue and probably look cleaner if done that way..


All times are GMT. The time now is 06:02 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.01403 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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