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)
-   -   Module CMPS: Shoutcast Status Full (https://vborg.vbsupport.ru/showthread.php?t=72570)

Zachariah 12-07-2004 02:07 AM

If there is no server for the script to interact with it will error. I'll have to look @ <if> no server <then> show template.

If your shoutcast server is on-line but no one is DJing it will show off line status. If the server is shut off it errors.

lasto 12-07-2004 07:06 AM

yep its the errors when the server is off thats causeing the problems

Imagine this - your ip changes from the one in your config file and u not updated it) now people on your board will be getting that error until u return and fix it and with the amount of errors it throws up i cant see anyone sitting there watching screens of the same error code.
Not knocking your hack m8 just saying its needs a backup just in case it cant connect.

Zachariah 12-07-2004 12:23 PM

ya, I am reading up on If no fsockopen connect then offline template. I almost got it done.

Zachariah 12-07-2004 03:44 PM

Quote:

Originally Posted by lasto
yep its the errors when the server is off thats causeing the problems

Imagine this - your ip changes from the one in your config file and u not updated it) now people on your board will be getting that error until u return and fix it and with the amount of errors it throws up i cant see anyone sitting there watching screens of the same error code.
Not knocking your hack m8 just saying its needs a backup just in case it cant connect.


1.1 Fixed
- shoutcast.php file to show offline if sever IP can not be reached.

To update replace shoutcast.php file.

yinyang 12-07-2004 06:13 PM

good going harrybutt. it works beautifully now.

lasto 12-07-2004 06:29 PM

nice going m8 and really appreciae the time u took to solve this small problem

/me clicks installs and says `thank u m8`

RMS-Chef 12-07-2004 06:43 PM

This works great, well done.

I would love to see this to be incorporated elsewhere as well, perhaps with the option of a significantly more compact template.

gmarik 12-07-2004 08:37 PM

This seems to be the best hack for a long period of time.

Zachariah 12-08-2004 12:28 AM

Quote:

Originally Posted by gmarik
This seems to be the best hack for a long period of time.

Thank you sir, for the flowers. I have seen tons better, but I did miss doing shout casts and thought it would be cool to have a stat / on-line indicator.

Phalynx 12-09-2004 09:36 PM

Great, thanks!


All times are GMT. The time now is 09:18 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.01155 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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