The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Shoutcast Status 2.0 (3.5) Details »» | |||||||||||||||||||||||||
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) Show Your Support
|
Comments |
#212
|
||||
|
||||
i was wondering if there was any way to add an auto refresh so that when a song changes it also refreshes the song title ect in the forum page that way the user dosent have to manually refresh the page... .. kinda like the php-nuke shoutcast block ... thanks
|
#213
|
||||
|
||||
Quote:
I will look in on it. |
#214
|
||||
|
||||
hey thanx for that quick reply... will be looking forward to it
|
#215
|
|||
|
|||
Hi everyone,
I Just installed and did what it says in install.txt but in the main page it does not display the song info. It says that the server is off but It's not. I am not the admin, I have a password to use on Winamp to broadcast, I bought this hosting service. It that password enough ? If yes, what can be the problem ? I have entered IP correctly, Port correctly and Password correctly. What else should be wrong ? |
#216
|
||||
|
||||
Quote:
Lite ver. you can just use IP and port, but less info can be gathered. https://vborg.vbsupport.ru/showthread.php?t=97500 |
#217
|
|||
|
|||
Thx for quick reply. I read the whole topic.
I was unable to find out the output of $scfp = @fsockopen($scip, $scport, &$errno, &$errstr, 1); // Connect to the server I asked my host, and he said that they closed fopen which Php uses to write XML. I switched to Crontab. And entered the command. Here's the result I have. /bin/sh: line 1: /usr/bin/lynx: Permission denied I have -auth=admin:xxx password because I have access to Admin panel of my Shoutcast server. Well, I think I did my best Next step is I want to make Lynx enable. I cant persuade my host to enable fopen etc. For triggerin Issues, I want this script only to read cast.xml from my hoe directory and Dont execute the fsocket, fopen commands. I should reduce the load a bit. How can I do that ? Make cron the grabbing info from Shoutcast. Make This Script to only read xml file on my host. Thanks in advance. P.S: I have a Problem with the cron command I think. Code:
*/5 * * * * lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml 1> /webserver/path/public_html/filename.xml Code:
5 * * * * lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml > /webserver/path/public_html/filename.xml Is the first one true of false ? If it is true can you please explain why */5 instead of only 5 and 1> instead of only > I searched some documentation but I was unable to find anything. |
#218
|
|||
|
|||
I checked if fopen is closed, NO !
Well, I manually pulled the XML file from Shoutcast server. Uploaded it to specified dir and refreshed. Still says the Radio is Offline. But there is a XML filled radio.xml file which has a static info in it. I specified the path for file as /home/forumtur/public_html/radio.xml Are there anything wrong you see ? |
#219
|
||||
|
||||
Quote:
Code:
// Add:
$domain = "www.domainhere.com"; // The domain to retrieve the xml
$xmlfile = "filename.xml"; //xml filename from your saved stdout 1>
// Change
$scfp = fsockopen($domain, 80, &$errno, &$errstr, 1);
// Change
fputs($scfp,"GET /$xmlfile HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
|
#220
|
|||
|
|||
Where will I add this info ?
The plugin at the forumhome hook also grab those values from $vbulletin_options -> etc. Sorry but I didn't understand what u mean. $scdef = $vbulletin->options['scname_full']; $scip = $vbulletin->options['scip_full']; $scport = $vbulletin->options['scport_full']; $scpass = $vbulletin->options['scpass_full']; $ircsite = $vbulletin->options['scirc_full']; $file = $vbulletin->options['scxml_full']; $cache_tolerance = $vbulletin->options['scupdate_full']; Options are grabbed by plugin. What else ? |
#221
|
|||
|
|||
Well, I changed the plug-in code just to use the XML file written by Lynx.
Also, when I remove @fsockopen, It says It cannot connect to the IP specified on port 5555. fsockopen should be blocked by a Firewall. Here's the new code for the plugin. PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|