The Arcive of vBulletin Modifications Site. |
|
Wabuf Sonic Shoutcast Player Details »»
|
|||||||||||||||||||||||||||
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> 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>
Open up Navbar template and find: Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> Code:
<td class="vbmenu_control"><a href="javascript:popUp('scast.php')">Radio</a></td>
Open up scast template and find: Code:
<td class="tcat">Radio Name Here</td> Find: Code:
s1.addParam("flashvars","file=http://IP:port/;stream.nsv&type=mp3&volume=50&autostart=true");
ort 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
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Thanks , nice hack . Will try it
|
|
#3
|
|||
|
|||
|
oh i have got to get this and install it for my radio!
|
|
#4
|
|||
|
|||
|
Cool !
|
|
#5
|
||||
|
||||
|
Thnaks for sharing
|
|
#6
|
|||
|
|||
|
Your welcome, hope you like it!
when you do be sure to click install ![]() Glad you like it ![]() Your welcome thanks for installing
|
|
#7
|
|||
|
|||
|
When I clicked Radio on your site no music played in the popup.
|
|
#8
|
|||
|
|||
|
That is because I don't stream 24/7.
|
|
#9
|
|||
|
|||
|
None of my styles have a </style> in their headers???
|
|
#10
|
|||
|
|||
|
What you can do is add the code then before the </head> or similar closing tag.
|
![]() |
|
|