Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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
  #72  
Old 12-28-2005, 02:09 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k, i tried like everything i could. the cleanxml output from shoutcast doesn't change anything.

I see the scast php accessing my shoutcast server in the shoutcast log. still i got a blank forum index page when i require_once('./scast.php');. I suppose that means that the piece of php code i posted above is working, but the rest of it ain't working (+ the ?> that was missing in the scast.php file).

so my questions are:

1) is the scast .php file complete and compatible with vB3.0.3?
2) is the xml file with templates good for vB3.0.3?

I REALLY would like to see this working on my board, certainly when i see others don't have any problem with it... btw: this is one of the most simple hacks to make on vB, i did so many before, still i'm pulling hair out my head on this one ;s

PLZ HELP?
Reply With Quote
  #73  
Old 12-28-2005, 02:11 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks like an old Zip - Update in few min.
- need to reinstall VB3.0x
Reply With Quote
  #74  
Old 12-28-2005, 02:45 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested on:
- 3.03
- 3.0.11

All is fine and tested:

- make sure you import the templates XML file.

The XML makes the templates for you.
'forumhome_shoutcast',
'forumhome_shoutcast_off',
'forumhome_shoutcast_rp',
'forumhome_shoutcast_mp',
'forumhome_shoutcast_qt'

Admincp => Styles & Templates => Download / Upload Styles
=> Import Style XML File => Browse for the file "shoutcast_home_full.xml" =>
Select your Style.

Try the current Zip.
Reply With Quote
  #75  
Old 12-28-2005, 05:26 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, that didn't really help, my forum indexpage stays blank.

when i move my require_once('./scast.php') above the line require_once('./global.php') i get this output:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /www/docs/ddance.fm/www/community/scast.php on line 27

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /www/docs/ddance.fm/www/community/scast.php on line 27

Notice: Undefined variable: scsuccs in /www/docs/ddance.fm/www/community/scast.php on line 33

Notice: Undefined variable: page in /www/docs/ddance.fm/www/community/scast.php on line 36

Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /www/docs/ddance.fm/www/community/scast.php on line 50

Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /www/docs/ddance.fm/www/community/scast.php on line 50

Notice: Use of undefined constant SONGTITLE - assumed 'SONGTITLE' in /www/docs/ddance.fm/www/community/scast.php on line 50

Notice: Undefined offset: 18 in /www/docs/ddance.fm/www/community/scast.php on line 46

Notice: Undefined offset: 2 in /www/docs/ddance.fm/www/community/scast.php on line 61

Notice: Undefined index: do in /www/docs/ddance.fm/www/community/scast.php on line 83

Notice: Undefined index: do in /www/docs/ddance.fm/www/community/scast.php on line 89

Notice: Undefined index: do in /www/docs/ddance.fm/www/community/scast.php on line 95

Fatal error: Call to undefined function: fetch_template() in /www/docs/ddance.fm/www/community/scast.php on line 103


if i put require_once('./scast.php); right after require_once('./global.php); but before require_once('./includes/functions_bigthree.php'); and require_once('./includes/functions_forumlist.php'); the page is blank except for the char "c" standing in the right top corner.
would this output help to figure out the problem?
Reply With Quote
  #76  
Old 12-28-2005, 11:38 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- @fsockopen is the problem.

I think its a problem w/ your PHP on your server.
- I did a search and there are tons of links to problems.

Bug #24429 Call-time pass-by-reference has been deprecated
http://bugs.php.net/bug.php?id=24429
Reply With Quote
  #77  
Old 12-29-2005, 09:41 PM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k, thanks zach, i'll try to figure that one out then...
Reply With Quote
  #78  
Old 02-06-2006, 02:53 AM
prettyboi prettyboi is offline
 
Join Date: Nov 2005
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am I doing something wrong here? I've installed everything and for 5 days already. I havent even see any server on yet? It always saying "Our server is down or shoutcast server is down". Why is that? What can I do to activate the server?
Reply With Quote
  #79  
Old 02-24-2006, 11:59 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested: vBulletin 3.0.13

================================================== =====
Changelog |
================
1.8 2.24.06
- Added XML cache + timer

1.7
- Fixed Media Player in non IE browsers
- Fixed Real Player in non IE browsers
Reply With Quote
  #80  
Old 02-06-2007, 09:29 PM
mamashid mamashid is offline
 
Join Date: Jan 2007
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this onto my board. But I'm having a problem and helping for some help....what is my next step, i have it uploaded and i'm getting this:
Quote:
Shoutcast - Offline
Currently our shoutcast server is down.

Shoutcast is down.

what do i need to do......how to i get a station info??? thanks ahead of time
Reply With Quote
  #81  
Old 02-08-2007, 10:13 PM
Paultiscali Paultiscali is offline
 
Join Date: Feb 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get the same problem all the time
Reply With Quote
Reply


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 02:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09032 seconds
  • Memory Usage 2,314KB
  • 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_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
  • (3)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