Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Shoutcast Status 3 (VB4) Details »
Shoutcast Status 3 (VB4)
Mod Version: 3.00, by Zachariah (Coder/Designer) Zachariah is offline
Developer Last Online: Dec 2017 I like it Show Printable Version Email this Page

vB Version: 4.0.2 Rating: (17 votes - 4.94 average) Installs: 137
Released: 14 Mar 2010 Last Update: Never Downloads: 1345
Supported Uses Plugins Template Edits Auto-Template Additional Files Translations External Content  

Shoutcast Status 3.0 on your VB4 ForumHome.

/* ----------------- 03/13/2010 -----------------
This is a Nice hack to add Shoutcast Status on your VB4 ForumHome.
Hope it helps !!!

Zachariah @ http://www.szone.us

SHOUTcast is a free-of-charge audio homesteading solution. It permits anyone
on the internet to broadcast audio from their PC to listeners across the
Internet or any other IP-based network (Office LANs, college campuses, etc.).

http://www.shoutcast.com

Zerro Queries Added

=======================================================
Tested On:

vBulletin 4+
SHOUTcast Server v1.9.5
=======================================================

== Install: 2-5 min ==

Full Stats
- Needs Shoutcast server admin password

Server Name
Last 19 songs
4 media layers (winamp, quicktime, media player, real player)
DJ Name
Bitrate
Current Song
Media Type
Most Ever Connected
Hit Count
Users Connected
Avj. Connect Time
User Max
Online / Offline status
XML Data Cache

Lite Stats
- Dose not need shoutcast server admin password

Server Name
4 media players (winamp, quicktime, media player, real player)
Bitrate
Current Song
Users Connected
User Max
Online / Offline status

=======================================================
Adds: 2 plugins
Adds: 8 images, 2 files
Adds: 10 templates
Adds: 45 phrases
=======================================================

VB3.8X - http://www.vbulletin.org/forum/showthread.php?t=126007
(Shoutcast Status 2.0, 4387 downloads)

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	admin.jpg
Views:	1762
Size:	77.9 KB
ID:	114082   Click image for larger version

Name:	online_sm.jpg
Views:	4565
Size:	19.0 KB
ID:	114083  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements Shoutcast Status 2.0 (VB3.6) Zachariah vBulletin 3.6 Add-ons 541 06 Oct 2015 11:43
Add-On Releases ShoutCast Status - NavBar m002.p vBulletin 3.6 Template Modifications 26 29 Jan 2010 18:25
Shoutcast Status 2.0 (3.5) Zachariah vBulletin 3.5 Add-ons 345 15 Nov 2008 00:31

Comments
  #2  
Old 14 Mar 2010, 01:08
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
=======================================================
Changelog |
================
v3.0 - 03.15.2010
- Made the hack work for VB4.0
- Custom variable for location changed from $scast to {vb:raw scast}

v2.0 - 11.15.06

- Merged shoutcast lite and full into 1 program
** If you do not have an admin password for your shoutcast server you can get limited information from the server "lite".

- Stats and History moved
** There was a need to hit collapsible +/- image to show song history and server stats. This has been moved to a 2 vbmenus as a click dropdown.

- Show Off Line Status
** Set to "No" to remove off line template when the shoutcast server is off line, or there is no DJ source

- Select what usergroups can see the add-on
- Fully phrased
- Cleaned up code in templates
- Changed and added templates.

v1.9

9.06.06
- Moved body of hack to: /includes/shoutcast/scast.php vs. in datastore.
- added 2 templates: forumhome_shoutcast_who, forumhome_shoutcast_who_off
- popup player url from index.php to $vboptions[forumhome].php
- Locations:

* Above Header
* Below Header
* Under Navbar
* Above What's going on
* Inside What's going on
* Below What's going on
* Custom


Select "Custom" and place {vb:raw scast} in FORUMHOME template for custom location.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #3  
Old 14 Mar 2010, 01:15
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by ANARCH•
not a real problem, but only 9 song appear in list of "last 19 songs":


there is a way to solve that ?
ah, an other question ... i have 19 DJ's ... there is a way to show who is the DJ ?
- sc_sevr.ini (on the shoutcast server)

This is the "Boss in Charge" of what feeds to the XML files.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you can not change it you can remove the $song[9] - $song[18] from the "forumhome_shoutcast" template.

$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).

If you choose not to show any/all:

Variables used.
Here is a list of variables that can be used in your "forumhome_shoutcast". If do not wish to show data, just remove the variables.

$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$scpass = Admin password (not DJ) to shoutcast server
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$listenamp = http://$scip:$scport/listen.pls
$listenlnk = http://$scip:$scport
$averagemin = average listener time in minuets
$peaklisteners = Most Ever
$content = Media Type
$streamhits = Hit Count
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org

Last edited by Zachariah; 14 Mar 2010 at 01:36.
Reply With Quote
  #4  
Old 14 Mar 2010, 01:16
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Most people pay for a shoutcast service, co-locate a server, host small servers on their local cable / dsl modem, or install via SSH to their web host.

Make sure you have Unlimited Bandwith on your web package if you plan to host the shoutcast server on your web server.

The bandwidth usage depends on "# of users connected" and the quality of the song in kbps.

uploadspeed / bitrate = max listeners , always leave some for overhead

Example: 256k upload speed / 56k bitrate = max 4 listeners ( 4* 56 = 224kbps ) keep in mind that your provider says he gives you 256kbps upload, the actual speed might be much lower.

Bitrates
192k CD quality
56k stereo
24k mono (like an AM radio, but works for music)
8k voice
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org

Last edited by Zachariah; 31 Mar 2010 at 16:48.
Reply With Quote
  #5  
Old 14 Mar 2010, 01:16
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
HELP !! I Install the hack and I am always off line


CHMOD 666 scast_home.xml
- 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.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #6  
Old 14 Mar 2010, 01:18
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by zep View Post
ive tried to install it but it gives my site some kind of error.. I have tried to CHMOD 777 it but my friend says it can only be done on a linux server..
I understand, I develop on a windows box.
Do not worry about CHMOD.

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_sm.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.

Everything in the "upload" folder will be placed in the root of your vBulletin install.

D:\httpdocs\forums

/forums/scast_home.xml

The forums/includes/shoutcast folder will be made and the php files uploaded.

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
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org

Last edited by Zachariah; 14 Mar 2010 at 01:26.
Reply With Quote
  #7  
Old 14 Mar 2010, 03:26
Netaudio's Avatar
Netaudio Netaudio is offline
 
Join Date: Oct 2006
mERCI!
__________________
techno-house-electro.de
Reply With Quote
  #8  
Old 14 Mar 2010, 03:42
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
I use a free shout cast service, will this mod work with the free service?
Reply With Quote
  #9  
Old 14 Mar 2010, 03:44
dengbej's Avatar
dengbej dengbej is offline
 
Join Date: Aug 2008
lite or full?
Reply With Quote
  #10  
Old 14 Mar 2010, 03:56
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
I installed, but don't get anything on my forum, just offline shows.
Reply With Quote
  #11  
Old 14 Mar 2010, 04:36
Netaudio's Avatar
Netaudio Netaudio is offline
 
Join Date: Oct 2006
Originally Posted by Destron View Post
I installed, but don't get anything on my forum, just offline shows.
Upload: files |
================
- scast_home.xml

forums\scast_home.xml
* CHMOD 777
__________________
techno-house-electro.de
Reply With Quote
  #12  
Old 14 Mar 2010, 04:51
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Uploaded all the files, and followed all the instructions, did the CHMOD 777, uploaded all
Image files into their directories, and the Includes files into their directories as well, but
only shows offline.
Reply With Quote
  #13  
Old 14 Mar 2010, 05:11
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by dengbej View Post
lite or full?
This is both full and lite in 1 hack.
- With an admin password the hack will pull more info from the shoutcast feed.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #14  
Old 14 Mar 2010, 21:01
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Thanks, nice mod!
__________________
Xbox 360 Mods
Reply With Quote
  #15  
Old 14 Mar 2010, 21:26
anaksimandros anaksimandros is offline
 
Join Date: Aug 2007
thank you

i am going to try in nowadays
__________________
KKUCLUB
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:22.

Layout Options | Width: Wide Color: