vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Shoutcast Status Full (https://vborg.vbsupport.ru/showthread.php?t=76873)

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

Quote:

Originally Posted by b65ran
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

PHP Code:

// Parses shoutcasts xml to make an effective stats thing for any website
$scfp = @fsockopen($scip$scport, &$errno, &$errstr1);

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($scfp1000);
}


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?


All times are GMT. The time now is 09:33 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
  • Page Generation 0.01022 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete