Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Module CMPS: Shoutcast Status Full Details »
Module CMPS: Shoutcast Status Full
Mod Version: 1.2, by Zachariah (Coder/Designer) Zachariah is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 29
Released: 06 Dec 2004 Last Update: 28 Nov 2005 Downloads: 149
Supported  

/* -----------------12/06/2004 10:45AM-----------------
Shoutcast Status Full 1.2 - CMPS Module

This is a Module for CMPS to place Shoutcast Status in a block. :alien:

Hope it helps !!! Zack - http://www.gzhq.net

There are 4 types of this script here on vb.org:

1) CMPS: Shoutcast Status Lite
2) CMPS: Shoutcast Status Full
3) Shoutcast Status Lite (forum home)
4) Shoutcast Status Full (forum home)

This script pulls the XML data from a shoutcast server.
http://www.shoutcast.com/download/serve.phtml
CREDITS:
GeZuS P - for giving me a leg up on some code.

(this hack requires a password form the shoutcast admin to pull stream information.) --- Module CMPS: Shoutcast Status Lite does not need one.


=======================================================
NEEDED To Install:

vBadvanced CMPS
http://www.vbulletin.org/forum/showthread.php?t=65797
Coded by: Tigga
=======================================================

Add: 2 templates
Upload: 4 images, 1 php file

Note: This Module with it's current template layout was designed as a center block.
--------------------------------------------------*/

== Install: 2-5 min ==

Server Name
Last 5 songs
DJ Name
DJ ICQ
DJ AIM
Bitrate
Current Song
Users Connected
User Max
IRC Server and Room
Online / Offline status
--------------------------------------------------*/
- Something that came to mind. You can take this add-on and rename the shoutcast.php file to say "shoutcast1.php, shoutcast2.php, etc." and make multi-blocks to get feeds from different servers. They all can use the same templates.


Changelog:
1.2 - 02.22.05
- Added: DJ ICQ, DJ AIM, IRC Server and Room, 2 images
Edited: cleaned up code in templates and php file.

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

If you choose not to show any/all:

Variables used.
Here is a list of variables that can be used in your "adv_portal_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
$ircsite = IRC Server - EX: irc.server.com
$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 .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenlink = 'http://$scip:$scport/listen.pls

Download Now

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

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	online.gif
Views:	540
Size:	7.8 KB
ID:	24212   Click image for larger version

Name:	offline.gif
Views:	320
Size:	5.6 KB
ID:	24213  

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
Module CMPS: Shoutcast Status Lite (VB3.5) Zachariah vBulletin 3.5 Add-ons 12 07 Jan 2010 17:55
Module CMPS: Shoutcast Status Full Zachariah vBulletin 3.5 Add-ons 61 15 Jul 2007 04:54
Module CMPS: Shoutcast Status Lite Zachariah vBulletin 3.0 Full Releases 26 01 Jun 2005 15:45

  #16  
Old 07 Dec 2004, 20:29
lasto lasto is offline
 
Join Date: Jan 2002
nice going m8 and really appreciae the time u took to solve this small problem

/me clicks installs and says `thank u m8`
Reply With Quote
  #17  
Old 07 Dec 2004, 20:43
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
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.
__________________
Hi.
Reply With Quote
  #18  
Old 07 Dec 2004, 22:37
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
This seems to be the best hack for a long period of time.
Reply With Quote
  #19  
Old 08 Dec 2004, 02:28
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
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.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #20  
Old 09 Dec 2004, 23:36
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Real name: Marius
Great, thanks!
Reply With Quote
  #21  
Old 10 Dec 2004, 04:09
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
ya'll get this turkey going ?
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #22  
Old 20 Dec 2004, 20:19
BlazeXXX BlazeXXX is offline
 
Join Date: May 2004
*clicks install* Great hack, exactly wat i was waiting for. Gonna customise it to work with normal forumhome template and see thanks fella.
Reply With Quote
  #23  
Old 20 Dec 2004, 23:17
BlazeXXX BlazeXXX is offline
 
Join Date: May 2004
ok.. it looks good, but having a problem here:

I configured 'shoutcast.php' with my own server details and uploaded this and other images in to the appropriate folders. I went in to my Vbulletin template and den in ForumHome template:

I added:

<if condition="$scfp">
<if condition="$streamstatus=1">

pasted code for Shoutcast (online one)

<else />

Pasted code for Shoutcast (offline one)
</if>
</if>

It doesn't seem to recognise the DJ gone offline. I tried changing <if condition="$streamstatus=1"> to <if condition="$streamstatus['1']">, still doesn't work. Am I doing something stupid?

I am not a programmer, so was playing arnd with just vb knowledge. Any expert advice here on how to make it show offline condition in an event of dj goes off? or no spinning happening at that time?
Reply With Quote
  #24  
Old 21 Dec 2004, 09:30
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Bunny!

Originally Posted by BlazeXXX
ok.. it looks good, but having a problem here:

I configured 'shoutcast.php' with my own server details and uploaded this and other images in to the appropriate folders. I went in to my Vbulletin template and den in ForumHome template:

I added:

<if condition="$scfp">
<if condition="$streamstatus=1">

pasted code for Shoutcast (online one)

<else />

Pasted code for Shoutcast (offline one)
</if>
</if>

It doesn't seem to recognise the DJ gone offline. I tried changing <if condition="$streamstatus=1"> to <if condition="$streamstatus['1']">, still doesn't work. Am I doing something stupid?

I am not a programmer, so was playing arnd with just vb knowledge. Any expert advice here on how to make it show offline condition in an event of dj goes off? or no spinning happening at that time?
Its not gana work that easy w/ forumhome. I'll work on it soon. I did this mod-hack for php-nuke by request.

http://www.gzhq.net/forums/showthread.php?t=11619

I'll work on forumhome and a full static page next. - Just off the top of my head for forumhome perhaps an edit to phpinclude template to call the page that requests the shoutcast info, but its 1:49AM :sleep: :dead:
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org

Last edited by Zachariah; 21 Dec 2004 at 09:38.
Reply With Quote
  #25  
Old 09 Jan 2005, 08:30
pfdc pfdc is offline
 
Join Date: Dec 2004
a great hack.. can this be done for the forumhome instead as a right hand block?? please let me know if you could make this one. I appreciate and I am sure many others would like it too. Thank again. :-)
Reply With Quote
  #26  
Old 09 Jan 2005, 13:38
H@K@N H@K@N is offline
 
Join Date: Dec 2004
Real name: H@K@N
Hello,

lol pfdc, i was just wrinting the same Message :


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


Last edited by H@K@N; 09 Jan 2005 at 13:46.
Reply With Quote
  #27  
Old 09 Jan 2005, 17:21
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
I have been busy off-line, still worken on it on forumhome.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #28  
Old 12 Jan 2005, 18:48
pramodha pramodha is offline
 
Join Date: Apr 2004
Originally Posted by HarryButt
I have been busy off-line, still worken on it on forumhome.
When can i except this for normal vb without installing CMPS ?
Reply With Quote
  #29  
Old 14 Jan 2005, 19:13
pfdc pfdc is offline
 
Join Date: Dec 2004
please please.. can someone else do this as Harry is obviously busy.. it shouldnt be that hard..
Reply With Quote
  #30  
Old 15 Jan 2005, 10:11
hXc Radio hXc Radio is offline
 
Join Date: Mar 2004
What about a way to cal to Amazon to get the cover artwork of current song? I know this can be done using python. I'd love it for vB
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


New To Site? Need Help?

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

Layout Options | Width: Wide Color: