Thread: Forum Home Enhancements - Shoutcast Status 2.0 (VB3.6)
View Single Post
  #355  
Old 11-25-2007, 10:16 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evilthoutz View Post
Hey the Mod looks great! I got my shoutcast server running and its fine. Now i dont under stand the XML part where i add the cache??? Do i enter something inside the XML file "scast_home.xml"? It his CHMOD 0777 And nothing is inside it yet. Please PM if anyone knows the answer ty!
In the zip build.

product-shoutcast_home_full.xml
install.txt
- upload
-- scast_home.xml
-- includes
---- shoutcast
------ scast.php
------ cache_templates.php
-- images
---- misc
-------- shoutcast_off.gif
-------- radio.gif
-------- im_winmp.gif
-------- im_real.gif
-------- im_qt.gif
-------- im_mirc.gif
-------- im_genre.gif

When you upload the files to your web server you want to keep the folder structure in tact.

The images by default will upload where the default style is installed. /forums/images/misc/. If you have a custom style with a different location then upload the images to the custom /images/misc/.

$stylevar[imgdir_misc] - style_location/images/misc

Quote:
Originally Posted by Ahsin1 View Post
it is not workin for me, one of my site i had older version of this same mod. in new site, i have updated mod installed, now the station which i m playing, its not workin for me in new site. wats da reasion, it always shows "Currently our shoutcast server is down."
CHMOD 666 scast_home.xml (777 or 755 on some servers)
- This file should be in the root of the forums folder. ($vboptions[bburl])

/forums/scast_home.xml - The vBulletin install folder.

To put less load on the shoutcast server and to speed up page loads. The shoutcast info the script gets is cached to your local webserver in that XML file. The XML file is called up when a request to show the data. If your cache file does not update then you are not connecting to the shoutcast server.

9 out of 10 times this is because of settings (port,ip,password) or your webhost has blocked ports. Many hosts only allow queries for data on port 80 (http, rss, xml feeds). I have seen many webhosts designate a port for "other" needs of their clients.

If you are 100% sure your setting and install is correct.

Send a ticket to your webhost and see if ports are blocked (ie:8000). If so they may give you another port you can use. Reset your shoutcast server to output on that port. Lastly, if there is nothing that your host will do, you can move the shoutcast server to output on port 80 vs. 8000.

Quote:
Originally Posted by henners View Post
I installed this over a year ago and it is great. But today a member asked me if we could get it to automatically refresh (every minute or so possibly?) so that it was showing the right songs at the right times?

From the vb.org archive (https://vborg.vbsupport.ru/archive/i...p/t-94336.html) I can see someone asked you in March '06, and you said it was on your to-do list. Just wondered if you'd got anywhere with it at all?
I plan to add ajax update, perhaps some database of played songs. I though of making a thread in a forum per song played to give members @ the site something to talk about and rate ect. Also adding a mini DJ online option to bring up a profile of current caster.

Quote:
Originally Posted by Greek76 View Post
Is this the full version and will it actually work on 3.6.7? Thanks..
Yes. 3.6x+
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03141 seconds
  • Memory Usage 1,783KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete