Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Module CMPS: Shoutcast Status Full Details »»
Module CMPS: Shoutcast Status Full
Version: 1.8, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-30-2005 Last Update: 02-16-2006 Installs: 34
DB Changes Template Edits
Additional Files  
No support by the author.

Shoutcast Status Full 1.89 on your VB3.5 CMPS Module.

/* -----------------11/29/2005 6:23pm-----------------
This is a Nice hack to add Shoutcast Status on your VB3.5.
Hope it helps !!!

Zachariah @ http://www.gzhq.net
Quote:
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.).

This script pulls the XML data from a shoutcast server.
http://www.shoutcast.com/download/serve.phtml
(this hack requires a password form the shoutcast admin to pull stream information.)
Quote:
Old ver VB 3.0-3.0x Module CMPS: Shoutcast Status Full
================================================== =====
Tested On:

vBadvanced CMPS 2.0+
vBulletin 3.5+
SHOUTcast Server v1.9.5
================================================== =====

== Install: 2-5 min ==

Collapsible Table
Server Name
Last 19 songs
3 Popup players (quicktime, media player, real player)
DJ Name
DJ ICQ
DJ AIM
Bitrate
Current Song
Media Type
Most Ever Connected
Hit Count
Users Connected
Avj. Connect Time
User Max
IRC Server and Room
Online / Offline status
XML Data Cache

*Note: In the Configuration it asks for a password. This is the Admin password not the DJ password.
*Note: This Module with it's current template layout was designed as a center block.
================================================== =====
Zerro queries added

Add: 1 vBa CMPS Module
Upload: 7 images, 2 files
Add: 5 templates

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-06-2005, 07:40 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/member.php?userid=6872" target="_blank">Instant Messaging ? </a>
Reply With Quote
  #13  
Old 11-18-2005, 09:54 AM
bspiller82's Avatar
bspiller82 bspiller82 is offline
 
Join Date: Jul 2002
Location: McHenry, Illinois
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you fix the background layout? If you look at my site www.247xtreme.com you will notice that the shoutcast block only has half on my background. If you look at the other blocks in the middle you will see what I mean.
Reply With Quote
  #14  
Old 11-18-2005, 08:47 PM
bspiller82's Avatar
bspiller82 bspiller82 is offline
 
Join Date: Jul 2002
Location: McHenry, Illinois
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shack Networks
I get a parse error on line 54 of shoutcast.php when trying to open anything other than winamp..
Change
Code:
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50");
}
To the following
Code:
function scastmp(){
scastmpWindow = window.open("http://forums.yoursite.com/index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("http://forums.yoursite.com/index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("http://forums.yoursite.com/index.php?do=qt","qt","width=330,height=50");
}
Reply With Quote
  #15  
Old 11-18-2005, 11:23 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 bspiller82
Change
Code:
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50");
}
To the following
Code:
function scastmp(){
scastmpWindow = window.open("http://forums.yoursite.com/index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("http://forums.yoursite.com/index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("http://forums.yoursite.com/index.php?do=qt","qt","width=330,height=50");
}
opps - I have the "forumhome" shoutcast also installed so the CMPS used that installs players.
:nervous:

Ill shoot a fix soon.
Reply With Quote
  #16  
Old 11-19-2005, 02:13 AM
bspiller82's Avatar
bspiller82 bspiller82 is offline
 
Join Date: Jul 2002
Location: McHenry, Illinois
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm useing them both myself. Found that I had to link it to work. It's a temp fix at least
Reply With Quote
  #17  
Old 11-21-2005, 08:43 AM
Diaego Diaego is offline
 
Join Date: Oct 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Weird, when I click a media player, I just get a popup box showing the index page of my site again... Any ideas?
Reply With Quote
  #18  
Old 11-21-2005, 11:29 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes I am redoing this hack.
Reply With Quote
  #19  
Old 11-30-2005, 03:32 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

================================================== =====
Changelog |
================
1.6 11.29.05
- Fixed popup players - phase errors
- Added auto create Module on Install


Upgrade:


1) Please Uninstall the old Product.
2) Delete shoutcast Module
2) edit: modules / shoutcast.php (downloaded Zip)
3) Upload and replace the files on the server.
4) install product XML

================================================== =====
vBa CMPS: Edit Module |
======================
Admincp => vBa CMPS => Edit Modules => Shoutcast

Change: Module Title from Shoutcast to whatever you want.

Change: Usergroups - Setings

Save

================================================== =====
vBa CMPS: Edit Page |
======================

Admincp => vBa CMPS => Edit Pages

Edit and enable the Module to the page.
Reply With Quote
  #20  
Old 11-30-2005, 07:11 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo: http://www.gzhq.net/index.php?page=Hacks
- Center Top block

Todo's / Ideas:
1) XML Cache
- this way there is less requests on the shoutcast server from the website.
- makes the page that the hack is on have less lag time to load.

2) there is some more info the shoutcast server gives that can be collected and displayed.

Like a WOL - Who's on Line
- Client (connected info)
-- IP address - this could be set to be hidden by usergroup access
-- Useragent - IE: useing WinampMPEG/2.9
-- Under Run Count - # times listener gets "LAG"
-- Connection Time - The time the user is tuned in.

I was thinking of making a page w/ a link on the Module to perhaps a pop-up window or a Full page in a new window.


3) Re-do the code in the players so that if the player is selected and is not installed "auto install request" vs. a red X where the plugin should be.
Reply With Quote
  #21  
Old 11-30-2005, 07:20 PM
Diaego Diaego is offline
 
Join Date: Oct 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Demo: http://www.gzhq.net/index.php?page=Hacks
- Center Top block

Todo's / Ideas:
1) XML Cache
- this way there is less requests on the shoutcast server from the website.
- makes the page that the hack is on have less lag time to load.

2) there is some more info the shoutcast server gives that can be collected and displayed.

Like a WOL - Who's on Line
- Client (connected info)
-- IP address - this could be set to be hidden by usergroup access
-- Useragent - the player info it collects as to the type of player they use.
-- Under Run Count - # times listener gets "LAG"
-- Connection Time - The time the user is tuned in.

I was thinking of making a page w/ a link on the Module to perhaps a pop-up window or a Full page in a new window.


3) Re-do the code in the players so that if the player is selected and is not installed "auto install request" vs. a red X where the plugin should be.
Just installed - but now the Shoutcast box doesn't seem to show up at all on the front page!
Reply With Quote
Reply


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


All times are GMT. The time now is 03:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04736 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete