View Full Version : Shoutcast Status Full
Zachariah
02-22-2005, 10:00 PM
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
================================================== =====
There are 4 types of this script here on vb.org:
1) CMPS: Shoutcast Status Lite (https://vborg.vbsupport.ru/showthread.php?t=76988)
2) CMPS: Shoutcast Status Full (https://vborg.vbsupport.ru/showthread.php?t=72570)
3) Shoutcast Status Lite (https://vborg.vbsupport.ru/showthread.php?t=76920) (forum home)
4) Shoutcast Status Full (https://vborg.vbsupport.ru/showthread.php?t=76873) (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 :)
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
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
O but that is enough :) If you could make that it would be nice.
Shoutcast Status Lite 1.0 (https://vborg.vbsupport.ru/showthread.php?t=76920) :D
Selene
02-24-2005, 12:01 AM
nice and useful hack!
Zachariah
02-24-2005, 01:03 AM
nice and useful hack!
Thanks. Drop us a link of your feed when your up and going. :D
RMS-Chef
02-24-2005, 03:27 AM
Bah, and I just added a different shoucast server status thingy today!
Thanks for the release.
ericgtr
02-24-2005, 05:58 PM
Neato, installed. I just got my shoutcast server installed last night and will get it online and running tonight. I will probably also install this as a vBadvanced module as well :)
Reece D
02-26-2005, 11:48 AM
*clicks install*
Zachariah
02-26-2005, 01:23 PM
Reece D, ericgtr , glad it helps. :)
Sooner95
02-26-2005, 03:15 PM
Works like a champ, nice job. UP an running on www.bulldogbbs.com
One thing, anyways to make it so guest's have to register in order to listen?
ericgtr
02-26-2005, 04:03 PM
Works like a champ, nice job. UP an running on www.bulldogbbs.com
One thing, anyways to make it so guest's have to register in order to listen?
Thinking about this I don't know of an easy way of integrating without modifying the .ppl file somehow, you could always put the link in an authentication page somewhere but it won't help if people use the direct link.
H@K@N
02-28-2005, 09:53 AM
*clicks install*
Th@nks 4 that great hack.
Does somebody know, how i can update automaticall the playing Box in an 1 minute intervall ? I am using also a Shoutbox, this is refreshing each 1 minute, how i can do same in the scast-box ?
I have also some non standard characters in the song names like ä ö ü , does somebody know how i can let display those ? Is there any possibility to change charset from streaming ?
th@nks and gr33tz
Sooner95
02-28-2005, 06:10 PM
i did this
<if condition="$bbuserinfo['userid']">
$scast
</if>
in forumhome template, box doesnt show up at all unless you login. Will work for now.
Zachariah
03-01-2005, 01:27 AM
H@K@N ,
You might make an Iframe with a <meta> refreash tag, and in the frame pull the up the $scast template. Unsure of characters not showing up. I would think that it should show whatever the title is. I'll play with it and see whats up.
@ Sooner95, nice going on the members only. :)
H@K@N
03-01-2005, 07:47 AM
H@K@N ,
You might make an Iframe with a <meta> refreash tag, and in the frame pull the up the $scast template. Unsure of characters not showing up. I would think that it should show whatever the title is. I'll play with it and see whats up.
Sorry, but i don't know howto, can u give me a hint, how i can create an iframe, to solve my problem ?
in addition : If i add next to the Irc the $irclink, he shows the link to irc, but it is not clickable, normal ?
greetz
Zachariah
03-01-2005, 01:26 PM
Sorry, but i don't know howto, can u give me a hint, how i can create an iframe, to solve my problem ?
in addition : If i add next to the Irc the $irclink, he shows the link to irc, but it is not clickable, normal ?
greetz
I'll take a look @ the iframe idea and let you know.
IRC link:
Edit:
forumhome_shoutcast (template)
Find:
$ircsite : #$irc
Replace:
<a href="$irclink">$ircsite : #$irc</a>
Note:
For the link to work correctly the DJ must not use a "#" (pound sign) while filling in the Shoutcast DSP. -- look at the screen shot in the attached Zip. (scrns/source.gif)
AxEsLoCkEd
03-13-2005, 03:43 PM
Greate Mod *Clicks install is happy*
nyunyu
03-13-2005, 08:42 PM
this maybe a bit off topic, will my bandwith spiked up if i enable shoutcast on my server? i got more than 300 songs for download but still, it could be fun streaming a few of them. could anyone explain a lil?
eva01_
03-13-2005, 08:54 PM
shoutcast will kill your bandwidth, and in that case i will then wring your neck for running out of bandwidth on our server
hence why i am getting a second server for my radio for my site
nyunyu
03-13-2005, 08:57 PM
lol...i thought so already..and im not going to waste our current server lol..still going to get 2 more server for different purpose..^^
Scerina
03-16-2005, 07:56 PM
Err...wz this:
$scip = "0.0.0.0"; // ip or url of shoutcast server
And can someone give me a few Shoutcast URL's if that is what we are suppose to provide in the Configuration of this hack???
Thanx in advance :)
nyunyu
03-17-2005, 01:18 AM
suppose something like
your_ip:port
or
your_domain: port
eg: radiokawaii.net:2713
Zachariah
03-17-2005, 11:24 AM
Err...wz this:
$scip = "0.0.0.0"; // ip or url of shoutcast server
And can someone give me a few Shoutcast URL's if that is what we are suppose to provide in the Configuration of this hack???
Thanx in advance :)
$scip = IP shoutcast server
This is the IP address of the system that you have Shoutcast server installed too. I would not know this info.
EX:If I had my server hosted by "Google"
$scip = "216.239.39.99"; // or what ever IP address they give me.
Zachariah
03-17-2005, 11:36 AM
this maybe a bit off topic, will my bandwith spiked up if i enable shoutcast on my server? i got more than 300 songs for download but still, it could be fun streaming a few of them. could anyone explain a lil?
Yes it is a hog. The bandwith useage depends on "# of users connected" and the quility of the song in kbps.
uploadspeed / bitrate = max listeners , always leave some for overhead
example in your case 256k uploadspeed / 56k bitrate = max 4 listeners ( 4* 56 = 224kbps ) keep in mind that your provider says he gives you 256kbps upload, the actual speed might be much lower.
Bitrates
192k CD quility
56k stereo
24k mono (like an AM radio, but works for music)
8k voice
xfaethorx
06-02-2005, 03:24 PM
will this support id3 tags?
at the song is determined from the file name and not the tags info and i'd prefer to have the tag info supported.
Zachariah
06-02-2005, 11:41 PM
will this support id3 tags?
at the song is determined from the file name and not the tags info and i'd prefer to have the tag info supported.
The ID3v1 transmits from your DJ (or other source) to the shoutcast server. This will not use file names. (if you do not fill out the ID3v1 tag the output will be a dash " - "
https://vborg.vbsupport.ru/external/2005/06/1.php?attachmentid=26706
In this image you will see the info that transmits. @ the bottem you will see "Track Title / URL"
[x] Enable Title Updates
[x] Title (auto)
[x] URL (auto)
https://vborg.vbsupport.ru/external/2005/06/1.php?attachmentid=24170
In this image you see the last 5 songs - the 3rd one did not have ID3v1 tag
Jabba1970
06-06-2005, 03:08 PM
Hello Harry,
that´s a nice hack but i have one question.
If is possible, you coding two shoutcast servers in this hack? I will control it from two sides.
explain: My Co-Admin will play Music at 8 o´clock and i am at ten o´clock. If is possible?
Sorry for my bad english, i am a german guy. I will hope, you understand me!
Bye Willy
RMS-Chef
06-06-2005, 03:29 PM
Hello Harry,
that?s a nice hack but i have one question.
If is possible, you coding two shoutcast servers in this hack? I will control it from two sides.
explain: My Co-Admin will play Music at 8 o?clock and i am at ten o?clock. If is possible?
Sorry for my bad english, i am a german guy. I will hope, you understand me!
Bye Willy
This hack does not create a server for you.
It simply displays current information from any existing shoutcast server.
Jabba1970
06-06-2005, 03:59 PM
This hack does not create a server for you.
It simply displays current information from any existing shoutcast server.
Okay, i will display 2 different shoutcast server. If the first offline, the second stream music and the other way round.
The first server is my own, the second server are from my Co-Admin.
bye Willy
xfaethorx
06-06-2005, 07:11 PM
The ID3v1 transmits from your DJ (or other source) to the shoutcast server. This will not use file names. (if you do not fill out the ID3v1 tag the output will be a dash " - "
https://vborg.vbsupport.ru/attachment.php?attachmentid=26706
In this image you will see the info that transmits. @ the bottem you will see "Track Title / URL"
[x] Enable Title Updates
[x] Title (auto)
[x] URL (auto)
https://vborg.vbsupport.ru/attachment.php?attachmentid=24170
In this image you see the last 5 songs - the 3rd one did not have ID3v1 tag
sorry i was using linux version of DST and not winamp since i switched to winamp all is well sorry
Zachariah
06-07-2005, 12:35 PM
Hello Harry,
that?s a nice hack but i have one question.
If is possible, you coding two shoutcast servers in this hack? I will control it from two sides.
explain: My Co-Admin will play Music at 8 o?clock and i am at ten o?clock. If is possible?
Sorry for my bad english, i am a german guy. I will hope, you understand me!
Bye Willy
I will see what I can come up with :nervous:
dethfire
07-31-2005, 01:15 AM
will this work with 3.5?
Zachariah
08-01-2005, 06:18 PM
will this work with 3.5?
I do not see a reason why not. But I will work on the new options that 3.5 has built in and see what I can do to add a few things :rambo: I'll have something done soon.
WhatChaMissin
08-10-2005, 06:56 PM
hmm, not sure what I did wrong but mine says "Currently our shoutcast server is down" even though I've been broadcasting for 15 minutes.
http://www.whatchamissin.com/forums/
The only field I haven't filled in is
$ircsite = "irc.server.net"; // IRC Server - EX: irc.server.com
Because I just don't know it. Could that be it?
Zachariah
08-11-2005, 10:55 AM
hmm, not sure what I did wrong but mine says "Currently our shoutcast server is down" even though I've been broadcasting for 15 minutes.
http://www.whatchamissin.com/forums/
The only field I haven't filled in is
$ircsite = "irc.server.net"; // IRC Server - EX: irc.server.com
Because I just don't know it. Could that be it?
That just fills out the IRC server info to generate a link for the users to connect to if you have a IRC server. It will not stop the status of the shoutcast server. Have you filled out:
$scdef = "Shoutcast"; // Default station name
$scip = "0.0.0.0"; // ip shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password (not DJ) to shoutcast server
Can you also access your "web access" of the shoutcast server ?
WhatChaMissin
08-15-2005, 11:50 AM
That just fills out the IRC server info to generate a link for the users to connect to if you have a IRC server. It will not stop the status of the shoutcast server. Have you filled out:
$scdef = "Shoutcast"; // Default station name
$scip = "0.0.0.0"; // ip shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password (not DJ) to shoutcast server
Can you also access your "web access" of the shoutcast server ?
yes I have that part filled out, but what is the "web access" is that where you go to get the stats on your account?
Zachariah
08-15-2005, 12:28 PM
yes I have that part filled out, but what is the "web access" is that where you go to get the stats on your account?
The server your DJ's connect to. http://ip:port
EX: I have a test server.
http://1.2.3.4:8000 - will show your shoutcast servers built in web page.
$scdef = "Shoutcast"; // Default station name
$scip = "1.2.3.4"; // ip shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "AdminPW"; // admin password (not DJ) to shoutcast server
NOTE:
There are 2 passwords on shoutcast servers.
DJ / connect a feed pasword
Admin / server admin password
This ver needs the Admin PW filled out.
bluecon23
08-15-2005, 09:05 PM
thx very much ...
thats great.
greez from germany.
:-)
Zachariah
08-29-2005, 10:12 PM
================================================== =====
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
- Added Template Installer
Party on ! :banana: :bunny:
On Closed:
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=33967
On Open:
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=33966
Media Player
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=34148
Quicktime
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=34149
Real
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=34150
-------------------------------------------------------*/
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
nymyth
09-01-2005, 02:57 PM
Im using 3.07, and it seems to have installed fine,....I was wondering when shoutcast isnt on, if the collapsable menu will go all the way up????
Peace
nymyth
09-01-2005, 03:43 PM
nevermind got it, just moved the /tbody tag to the bottom...
Peace
Zachariah
09-01-2005, 03:55 PM
Im using 3.07, and it seems to have installed fine,....I was wondering when shoutcast isnt on, if the collapsable menu will go all the way up????
Peace
I searched on vb.com / org and found there to be no way to have 2 collapsable tables nested. I could make it like the rest of the menus, but I would have to place all the other info in a popup or something.
All the info can unfold by default, but I thought "wow" that is a long table to have open all the time when a shoutcast is going.
I am open for ideas :nervous:
nevermind got it, just moved the /tbody tag to the bottom...
Peace
Yep :)
nymyth
09-01-2005, 03:58 PM
<tbody>
<tr>
<td class="thead" width="100%" colspan="6">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutcast')"><img id="collapseimg_forumhome_shoutcast" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_shoutcast].gif" alt="" border="0" /></a>
<div class="smallfont"><b>$scdef - Offline</b></div>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_shoutcast" style="$vbcollapse[collapseobj_forumhome_shoutcast]">
<tr>
<td rowspan="3" class="alt2" align="center"><img src="$stylevar[imgdir_misc]/radio.gif" alt="" /></td>
<td valign="top" align="left" class="alt1">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td rowspan="2" width="50%" align="left"><img border="0" src="$stylevar[imgdir_misc]/shoutcast_off.gif" alt="Server Down" vspace="5" /><br /><div class="smallfont"><b>$scdef is down.</b></div></td>
</tr>
<tr>
<td width="50%"> </td>
</tr>
</table>
</td>
</tr>
</tbody>
This is what i put into my forum_shoutcast_off template....it did the trick.
Peace
ps..so now when the forum reads the shoutcast to be off, i can collapse the table all the way up as opposed to 3/4 up when it is on.
Zachariah
09-01-2005, 04:03 PM
This is what i put into my forum_shoutcast_off template....it did the trick.
Peace
ps..so now when the forum reads the shoutcast to be off, i can collapse the table all the way up as opposed to 3/4 up when it is on.
Cool man ... I did it "my way" to allow current playing, # ppl on, connection links.
"push more info button" for all the other stuff (extra info).
nymyth
09-01-2005, 05:20 PM
yeah i have that on the forumhome_shoutcast template.......its a great hack.......thanks for doing it.
Peace
Zachariah
09-06-2005, 02:29 PM
yeah i have that on the forumhome_shoutcast template.......its a great hack.......thanks for doing it.
Peace
NP
Hit the "install button (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=76873)" It will allow you to keep track of updates.
nymyth
09-06-2005, 04:35 PM
^^Done...ill let you know how it goes.
Thanks again.
Peace
J82980BA3E43
09-16-2005, 04:51 PM
howto create an iframe to the current song playing now with this script thanks :ermm:
Zachariah
09-16-2005, 07:07 PM
howto create an iframe to the current song playing now with this script thanks :ermm:
I thought about that. I personaly was thinking of readng on Intergrating AJAX.
:cheeky:
xfaethorx
12-07-2005, 03:42 PM
errr just out of curiosity wheres the zip for this? I've got a 1.2 version of this on my board and would love to have the new features shown here!!! anyone throw some light on this?
Zachariah
12-07-2005, 03:52 PM
I think its gone !
- I'll work up a new one w/ some updated options soon.
Day or two.
xfaethorx
12-07-2005, 05:43 PM
that would be great. I currently run FULL on the portal (VBA CMPS) and forum and have various users who are DJ's the extra options i've seen so far are excellent so the more the merrier from my point of view!!! I look forward to it mate thanks!
xfaethorx
12-10-2005, 10:03 AM
any news on this?
Zachariah
12-10-2005, 12:38 PM
Found it Sir.
I have many plans for this hack. soon.
xfaethorx
12-10-2005, 01:44 PM
nice one! I'll get this version installed :D. Is there a CPMS version of this one by any chances
*ducks * ;)
xfaethorx
12-10-2005, 05:09 PM
sokay i edited the old one to support the new features.
b65ran
12-23-2005, 01:24 AM
Nice modification. I just installed it today. But I got one problem. Media player doesn't work with firefox. Anybody has any idea what I should do to fix this. Thanks in advanced.
Zachariah
12-23-2005, 04:22 AM
Nice modification. I just installed it today. But I got one problem. Media player doesn't work with firefox. Anybody has any idea what I should do to fix this. Thanks in advanced.
I need to find some sound code on the players that asks the "guest" that tunes in to to install if not installed. At the moment if the player is not installed Red X.
I'll read up some more for it to work cross browser.
ChuanSE
12-26-2005, 10:29 PM
hmm, i just seem to get a blank page when i "require_once(./scast.php); any idea's?
Zachariah
12-26-2005, 10:47 PM
Did you make the template edit to the FORUMHOME ?
ChuanSE
12-27-2005, 05:47 AM
i added the templates to precache in index.php and included require_once scast.php and i added $scast to FORUMHOME yes
ChuanSE
12-28-2005, 12:06 AM
// Parses shoutcasts xml to make an effective stats thing for any website
$scfp = @fsockopen($scip, $scport, &$errno, &$errstr, 1);
if(!$scfp) {
eval('$scast = "' . fetch_template('forumhome_shoutcast_off') . '";');
}else{
if($scsuccs!=1){
fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
while(!feof($scfp)) {
$page .= fgets($scfp, 1000);
}
}
i was wondering if this piece of code is correct (i suppose it is, but just dubbelchecking). Could the shoutcast parameter "cleanxml=yes" ++++ this up?
ChuanSE
12-28-2005, 12:53 AM
ok, zachariah
i just found out that the scast.php file you included in the zip here isn't closed with a "?>" php tag. adding that at the bottom of the file doesn't really help... Could you plz check that file out for further errors?
ChuanSE
12-28-2005, 02:09 AM
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? :p
Zachariah
12-28-2005, 02:11 AM
looks like an old Zip - Update in few min.
- need to reinstall VB3.0x
Zachariah
12-28-2005, 02:45 AM
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.
ChuanSE
12-28-2005, 05:26 AM
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?
Zachariah
12-28-2005, 11:38 AM
- @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
ChuanSE
12-29-2005, 09:41 PM
k, thanks zach, i'll try to figure that one out then...
prettyboi
02-06-2006, 02:53 AM
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?
Zachariah
02-24-2006, 11:59 PM
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
mamashid
02-06-2007, 09:29 PM
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:
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
Paultiscali
02-08-2007, 10:13 PM
i get the same problem all the time
soulweaver
06-17-2007, 04:07 PM
does this work with 3.6.7pl1 if not can you point me in the right direction
Zachariah
06-17-2007, 10:01 PM
does this work with 3.6.7pl1 if not can you point me in the right direction
https://vborg.vbsupport.ru/showthread.php?t=126007
soulweaver
09-14-2007, 08:38 AM
Ok i have one problem my status always says that my shoutcast is down how do i get it to chane everything is set up right i just don't understand and how do i set dj's
webgeek247
11-28-2007, 06:02 PM
hey, this works a treat but can you tell me how I can remove the stats and history links
because of them my forums homepage isnt passing as valid xhtml
webgeek247
11-28-2007, 06:41 PM
theres the scroll thing too. please make this hack xhtml compliant. will be easy for you. thanks in advance
Cobra-J82
03-17-2009, 06:04 PM
Any Update? 3.8 vb?
Thanks ;)
Zachariah
03-17-2009, 06:59 PM
Hello,
I have nothing new yet for 3.8, but plan to :).
There is a version for 3.6 here
https://vborg.vbsupport.ru/showthread.php?t=126007
It will work in 3.6-3.8x.
Cobra-J82
03-17-2009, 07:02 PM
Oh
Thank you Sir
Have a good Day ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.