vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Shoutcast Status 3 (VB4) (https://vborg.vbsupport.ru/showthread.php?t=238209)

x3evolution 08-08-2011 10:03 AM

*FIX for the shoutcast not showing up online is this:

Find this code in the /includes/shoutcast/scast.php file

on line 119

Origional Code:
Code:

fputs($scfp, "GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
Fixed code to make shoutcast work

Code:

fputs($scfp, "GET /admin.cgi?sid=1&pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
You change ?sid=1 change the 1 value to whatever stream you are trying to get shown on the forums

DjEddie 08-16-2011 08:22 AM

Hi,

I got the standalone version from the developers website...but am not sure how to have it show up on my forum home templete? .... using their index.php file ... anyone got any suggestions?

doctorsexy 08-16-2011 09:12 AM

iframe it ... thats how i did it....probably not the best way but it works...

DjEddie 08-16-2011 09:19 AM

Quote:

Originally Posted by doctorsexy (Post 2234089)
iframe it ... thats how i did it....probably not the best way but it works...

yeh was going to but wanted to try a better way than iframing ..if there is one?

doctorsexy 08-25-2011 09:30 AM

did you find a better way....

Zachariah 08-26-2011 11:46 AM

I am thinking of ajax tabs or something similar to display data and compress the footprint on the page.

doctorsexy 08-28-2011 05:18 PM

Be nice if it would also resize to the off line page .. havent found anything yet..

RedDevil 09-11-2011 02:22 PM

Quote:

Originally Posted by Zachariah (Post 2238275)
I am thinking of ajax tabs or something similar to display data and compress the footprint on the page.


How about a side block version (not CMS)

da_judge 09-13-2011 09:18 PM

1 Attachment(s)
I have ask permission from Zachariah to post this small update.

Basically what this version does is the same as original, but with added feature

the scrolling 'Now Playing' auto updates (ajax) when song changes.

So no need to click refresh to see latest song title

for demo click HERE

You will need to edit 1 file (playing.php) with your shoutcast details in upload folder as described in Install.txt

Once again thanks to Zachariah for this great mod

:up:

Tested on vB 4.x

da_judge 09-13-2011 09:22 PM

Quote:

Originally Posted by Zachariah (Post 2238275)
I am thinking of ajax tabs or something similar to display data and compress the footprint on the page.

I can help with that ;)


All times are GMT. The time now is 09:20 PM.

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.01306 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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