![]() |
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
|
Quote:
I will look in on it. |
hey thanx for that quick reply... will be looking forward to it
|
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 ? |
Quote:
Lite ver. you can just use IP and port, but less info can be gathered. https://vborg.vbsupport.ru/showthread.php?t=97500 |
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. |
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 ? |
Quote:
Code:
// Add: |
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 ? |
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:
|
All times are GMT. The time now is 10:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|