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
vBRadio v1.0 Details »»
vBRadio v1.0
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-14-2005 Last Update: Never Installs: 319
DB Changes Template Edits
 
No support by the author.

Port of: https://vborg.vbsupport.ru/showthrea...threadid=72227

Pretty simply, enjoy

- Zero Tolerance

Show Your Support

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

Comments
  #82  
Old 10-05-2005, 07:18 AM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work perfect
Reply With Quote
  #83  
Old 10-05-2005, 01:43 PM
Milez Milez is offline
 
Join Date: Jan 2002
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone comment onthe amount of server resources or bandwidth this script uses? is it all client side? I have a big board and am worried this toy will cripple my forum.
Reply With Quote
  #84  
Old 10-05-2005, 04:56 PM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Milez
Can someone comment onthe amount of server resources or bandwidth this script uses? is it all client side? I have a big board and am worried this toy will cripple my forum.

I wouldn't think it would affect your bandwidth at all. The hack provides a link... it's not like your members are actually streaming off of data that is stored on your server. They are playing off a link in a new window... at least that's how I see it.
Reply With Quote
  #85  
Old 10-06-2005, 02:05 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great addition. I would like to propose adding podcasting to a future release of vBRadio. Just proposed it in Requests.
Reply With Quote
  #86  
Old 10-08-2005, 12:05 AM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My members thank you ZT.

A great many are on FF, so I just commented the controls out. Problem solved.

If anyone is wanting to restrict this based on usergroup/membergroup,

FIND:
PHP Code:
require_once(DIR '/includes/functions_user.php'); 
BELOW IT, ADD:
PHP Code:
if (!(in_array($vbulletin->userinfo['usergroupid'], array(x,y,z))) AND !(in_array($vbulletin->userinfo['membergroupids'], array(a,b)))) 
{
    
print_no_permission();

Do change a,b,x,y,z with the appropriate user and member group ids.

Will watch for a FF update!
Reply With Quote
  #87  
Old 10-09-2005, 04:15 PM
:Judge:'s Avatar
:Judge: :Judge: is offline
 
Join Date: Jan 2003
Location: USA ~ MD
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone got this to work with the index page of vBA CMPS?
Reply With Quote
  #88  
Old 10-10-2005, 05:33 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this Hack, very nice

For Firefox, no fix ?
Reply With Quote
  #89  
Old 10-17-2005, 08:08 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allan
For Firefox, no fix ?
I'm not sure whether or not this is possible.

For now, I've removed the javascript controls and have directed users to an ActiveX control for FireFox.

This is my RADIO template:
HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>Gamers Euphoria Radio</title>
$headinclude

<script language="JavaScript">
<!--

function changeMute(){
Player.settings.mute = 'true';
mute.innerHTML='<a href="#" onClick="changeMute2();">Mute*</a>';
}

function changeMute2(){
Player.settings.mute = 'false';
mute.innerHTML='<a href="#" onClick="changeMute();">Mute</a>';
}

function initiateStation(){
toPlay = document.getElementById('thisStation')
toPlay = toPlay.options[toPlay.options.selectedIndex].value

	newRadio = "";
	newRadio += "<OBJECT ID='Player' height='250' width='300' CLASSID='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'>"
	newRadio += "<PARAM name='URL' value='" + toPlay + "' id='insert_1'>"
	newRadio += "<PARAM name='uiMode' value='mini'>"
	newRadio += "<PARAM name='mute' value='false'>"
	newRadio += "<PARAM name='ShowControls' value='0'>"
	newRadio += "<PARAM name='ShowStatusBar' value='0'>"
	newRadio += "<PARAM name='ShowDisplay' value='0'>"
	newRadio += "<PARAM name='Volume' value='100'>"
	newRadio += "<EMBED type='application/x-mplayer2' "
	newRadio += "pluginspage = 'http://www.microsoft.com/Windows/MediaPlayer/' "
	newRadio += "SRC='" + toPlay + "' "
	newRadio += "name='Player' "
	newRadio += "width='300' "
	newRadio += "height='250' "
	newRadio += "AutoStart='true' "
	newRadio += "showcontrols='0' "
	newRadio += "showstatusbar='0' "
	newRadio += "showdisplay='0' "
	newRadio += "id='insert_2'>"
	newRadio += "</EMBED>"
	newRadio += "</OBJECT>"

	document.getElementById('radio').innerHTML = newRadio

}

-->
</script>

</head>
<body>
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan="2">
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_radio')"><img id="collapseimg_forumhome_radio" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>Gamers Euphoria Radio</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_radio" style="{$vbcollapse['collapseobj_forumhome_radio']}">
    <tr>
        <td class="thead" width="50%" align="center">Stations/Control</td>
        <td class="thead" width="50%" align="center">Currently Playing</td>
    </tr>

<tr>
<td class='alt2' valign='top'>

	<fieldset class="fieldset">
	<legend>Available Stations</legend>
	<center>
	{$Station_Select}<br /><br />
	<input type='button' value='Play This Station' class='button' onclick='initiateStation()' />
	</center>
	</fieldset>

	<br/>

	<fieldset class="fieldset">
	<legend>Player Information</legend>
	Gamers Euphoria Radio is powered by <a href="http://www.infernotechnologies.net/" target="_blank">vBRadio</a>.<br /><br />Firefox users should install this <a href="http://forums.mozillazine.org/viewtopic.php?t=206213" target="_blank">ActiveX plugin</a> to take full advantage of the player.<br /><br />Want to report a dead radio station or suggest a new radio station to add? <a href="$vboptions[bburl]/sendmessage.php" target="_blank">Let us know!</a>
	</fieldset>

</td>

<td class='alt2' align='center' id='radio'>
	<OBJECT ID='Player' height='250' width='300' CLASSID='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'>
	<PARAM name='URL' value='' id='insert_1'>
	<PARAM name='uiMode' value='mini'>
	<PARAM name='mute' value='false'>
	<PARAM name='ShowControls' value='0'>
	<PARAM name='ShowStatusBar' value='0'>
	<PARAM name='ShowDisplay' value='0'>
	<PARAM name='Volume' value='100'>
	<EMBED type='application/x-mplayer2'
	pluginspage = 'http://www.microsoft.com/Windows/MediaPlayer/'
	SRC=''
	name='Player'
	width='300'
	height='250'
	AutoStart='true'
	showcontrols='0'
	showstatusbar='0'
	showdisplay='0'
	id='insert_2'>
	</EMBED>
	</OBJECT>
</td>

</tr>
</table>
</body>
</html>
It contains a lot of hardcoded stuff, edit it as you want.

Screenshot attached for you Allan..
Reply With Quote
  #90  
Old 10-17-2005, 09:49 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still kills Safari. Mac users are in trouble.
Reply With Quote
  #91  
Old 10-19-2005, 03:58 PM
cosmin's Avatar
cosmin cosmin is offline
 
Join Date: Jun 2003
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

--
i tried uploading and importing the XML file for the radio extension: cpnav_radio.xml ... but it give me a 'Invalid File Specified' error message ... any ideas why?
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:15 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.06167 seconds
  • Memory Usage 2,341KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_html
  • (2)bbcode_php
  • (2)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_postinfo_query
  • fetch_postinfo
  • 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