Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Wabuf Sonic Shoutcast Player Details »»
Wabuf Sonic Shoutcast Player
Version: 1.00, by Wabuf Wabuf is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 07-19-2009 Last Update: Never Installs: 16
Template Edits
Additional Files  
No support by the author.

Wabuf Sonic v1.0


Description:
Adds a flash player that tunes into your WHMSonic radio station on a popup page for your users to listen to while they browse your forums.

Credits / Thanks:
Thanks to Gary King for the page tutorial: https://vborg.vbsupport.ru/showthread.php?t=62164
WHMSonic for the Flashplayer /javascript / embedding tutorial (found in cPanel) http://www.whmsonic.com

Things I'm looking to do in next release:
- add an adminCP menu
- fix the date (product refused to export with template so it was coded manually I put in all 9s lol if someone knows how to get it to export properly, do drop me a PM as I read vbulletin's manual and I must of missed something)
- Add two phrases IP and radio name
- make a better popup window

Install Guide:

Files to Upload:
scast.php
player.swf
swfobject.js

File to import:
product-wbfsonic.xml

Upload the three files in /upload to your forum root folder.

Go to plugins / products - Manage Products
Click on Add/Import product and browse for product-wbfsonic.xml click Import.

Now the template editing work:

Open up Header template and find:
Code:
</style>
Under that add:
Code:
<script type="text/javascript" >
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=780,height=250');");
}
// End -->
</script>
Save the template.

Open up Navbar template and find:
Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Under it add this:
Code:
<td class="vbmenu_control"><a href="javascript:popUp('scast.php')">Radio</a></td>
Save the template.

Open up scast template and find:
Code:
<td class="tcat">Radio Name Here</td>
Replace it with your radio name

Find:
Code:
s1.addParam("flashvars","file=http://IP:port/;stream.nsv&type=mp3&volume=50&autostart=true");
Replace http://IPort with your radio IP and port number. (You can also set whether autostart is true or false here too)

Save the template.

That should do it! If you like this mod click install.

Live Demo:
http://www.wabuf.com/forums/index.php
Click Radio it'll popup in a new window and autoplay whatever I'm streaming

Download Now

File Type: zip wbfSonic.zip (46.8 KB, 145 views)

Show Your Support

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

Comments
  #12  
Old 02-10-2011, 04:50 PM
FazerPaint's Avatar
FazerPaint FazerPaint is offline
 
Join Date: Jun 2008
Location: UK
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this is an old thread but is there any chance of this being updated to vB4 ??

Or can someone edit the template and upload it??
Reply With Quote
  #13  
Old 05-23-2011, 05:32 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yer need something that works with 4.1.3
Reply With Quote
  #14  
Old 07-11-2011, 10:12 AM
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Location: Cumbria, UK
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine on 4.1.4, just add to end header and search calendar instead of the other code
Reply With Quote
  #15  
Old 03-29-2012, 03:52 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to put multiple radio stations in this plugin, so the user can choose which radio station to listen to?
Reply With Quote
  #16  
Old 04-25-2012, 03:36 PM
Mr_Devlin Mr_Devlin is offline
 
Join Date: Nov 2005
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
Is it possible to put multiple radio stations in this plugin, so the user can choose which radio station to listen to?
No. This is a player for one shoutcast stream only. If you want to have more stations played you have to add for each station another scast template with the proper link specified.

Please note, that this addon will not work properly when using safari browsers (eg. Chrome/Iron or Apple Safari). It will open but without any output.
Reply With Quote
  #17  
Old 04-25-2012, 05:40 PM
hugly hugly is offline
 
Join Date: Dec 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where s the demo page ?

the demo page is broken as i see.
Reply With Quote
Reply

Thread Tools

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 02:54 AM.


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.05587 seconds
  • Memory Usage 2,286KB
  • Queries Executed 22 (?)
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
  • (6)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete