The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Shoutcast Status Lite Details »» | ||||||||||||||||||||||||||
Shoutcast Status Lite 1.0.1 on your VB3.x Forum Home.
Hope it helps !!! Zack @ http://www.gzhq.net Quote:
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 Show Your Support
|
Comments |
#52
|
||||
|
||||
Quote:
IP: 194.150.121.47 Port: 9088 Quote:
AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> Select a template you wish to remove => Click the 'Revert' button |
#53
|
|||
|
|||
same happens here i put the correct information in and it jsut says the radio station is offline.
and wot does it mean wen it says Please enter in the Update time of your shoutcast station. Note: seconds untill cache update wt do i have to put in dere. thanx ure hlep will be appreciated |
#54
|
||||
|
||||
Ok so i am having issues .. i cannot get the shoutcast to work.. i have tried with like 15 different shoutcast ips.. so i know its not that.. below is what i currently have.. i am using shoutcast lite and the cmps shoutcast lite for other pages..
Code:
$scdef = "[XRM] - Alternative"; // Default station name $scip = "66.207.166.59"; // ip shoutcast server $scport = "8000"; // port of shoutcast server all that shows is the shoutcast is currently offline.. please help! thanks |
#55
|
||||
|
||||
Quote:
|
#56
|
||||
|
||||
well I spoke with them and they said all their ports run off of 80 so i dont know what to say .. but it isnt just the ports i am using.. i went through like 20 diffrent Ip servers and stations and well i havent had a single one work yet.. Below is the full php that i have so if i am wrong with anything please let me know...
Code:
<?php /* -----------------2/22/2005 6:23pm----------------- Shoutcast Status Lite 1.0 This is a Nice hack to add Shoutcast Status on your VB3.x Forum Home. Hope it helps !!! Zack @ http://www.gzhq.net (this hack does not need a password to pull stream information.) CREDITS: GeZuS P - for giving me a leg up on some code. -------------------------------------------------------*/ //Configuration $scdef = "idobi Radio"; // Default station name $scip = "208.53.158.213"; // ip shoutcast server $scport = "80"; // port of shoutcast server //End configuration // Shoutcast Server Stats // 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 /7.html HTTP/1.0\r\nUser-Agent: XML Getter (Mozilla Compatible)\r\n\r\n"); while(!feof($scfp)) { $page .= fgets($scfp, 1000); } } //define all the variables to get (delte any ones you don't want) $page = ereg_replace(".*<body>", "", $page); //extract data $page = ereg_replace("</body>.*", ",", $page); //extract data $numbers = explode(",",$page); //extract data $currentlisteners=$numbers[0]; $streamstatus=$numbers[1]; $peaklisteners=$numbers[2]; $maxlisteners=$numbers[3]; $currentlisteners=$numbers[4]; $bitrate=$numbers[5]; $song[0]=$numbers[6]; } //end song info if($scfp) { fclose($scfp); } $listenlink = 'http://'.$scip.':'.$scport.'/listen.pls'; //make link to stream //display stats if($scfp) { if($streamstatus == "1"){ eval('$scast = "' . fetch_template('forumhome_shoutcast') . '";'); } else { eval('$scast = "' . fetch_template('forumhome_shoutcast_off') . '";'); } } ?> i mean you can see on my site under forums that it stays turned off www.rebelsofchaos.net |
#57
|
|||
|
|||
Try here if ports are open,if not you have to contact host to open port8000 for you.
http://www.canyouseeme.org/ |
#58
|
||||
|
||||
Hi does anyone no how to grab the $servertitle = this will display the information the current live dj is playing :ie on his shoutcast description this is the only info i need to grab
|
#59
|
||||
|
||||
hi ill explaing a bit more what i want to achive this is part of the code
//define all the variables to get (delte any ones you don't want) $page = ereg_replace(".*<body>", "", $page); //extract data $page = ereg_replace("</body>.*", ",", $page); //extract data $numbers = explode(",",$page); //extract data $currentlisteners=$numbers[0]; $streamstatus=$numbers[1]; $peaklisteners=$numbers[2]; $maxlisteners=$numbers[3]; $currentlisteners=$numbers[4]; $bitrate=$numbers[5]; $song[0]=$numbers[6]; } //end song info i want to add $servertitle to this or maybe $description i belive this can be done without the admin password - any ideas please ive tried everyting i can but am no expert on this. cheers |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|