Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #252  
Old 05-02-2006, 02:52 PM
cat4m cat4m is offline
 
Join Date: Mar 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed and everything is in the right place but I cant get it to work ?? Can anyone help please ?
Reply With Quote
  #253  
Old 05-03-2006, 05:07 AM
john_robot john_robot is offline
 
Join Date: Jun 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, can some one pls integrate following in to this , If the Real Player not detected on their system This gives you a message
Quote:
Your browser has not detected a RealPlayer plug-in. It may be that you need to download RealPlayer or adjust your browser settings.

For help downloading or upgrading RealPlayer for free, visit our audio/video help page

Alternatively you can try to play the clip in the standalone player or change your preferences.
http://www.bbc.co.uk/mediaselector/c...news=1&prefs=1
Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>BBC Media Player</title>

<link REL="stylesheet" HREF="/mediaselector/includes/en/style.css">

<script language="JavaScript">
<!--
var isMac = (navigator.userAgent.indexOf("Mac") != -1);
var isIE = (navigator.userAgent.indexOf("MSIE") != -1);
var isOpera = (navigator.userAgent.indexOf("Opera") != -1);
function testForActiveXPlayer(){
if(document.layers && (!document.documentElement)){return false} //exclude NS4 which can't handle try/catch blocks
if(document.all){return true} //IE family post 4 will have activeX and IE4 can't handle try/catch
if(player){return player;} //we don't want to spawn players willy-nilly
try{
if(window.ActiveXObject){
return new ActiveXObject("WMPlayer.OCX.7");
}else if (window.GeckoActiveXObject){
return new GeckoActiveXObject("WMPlayer.OCX.7");
}else {
return false;
}
} catch(oError) { return false; }
}

function testForPlugin() {
if(document.layers){return navigator.mimeTypes['application/x-mplayer2'].enabledPlugin;} //NS family always have mimeTypes
if(document.all){return false} //IE should use activeX objects
try{
if(navigator.mimeTypes){
return navigator.mimeTypes['application/x-mplayer2'].enabledPlugin;
}
}catch (oError) { return false;}

}
function setPage() {
self.focus()
}
var subtitleWidth = 0;
var subtitleHeight = 0;

var transportBar = 0;

transportBar = 58;
var minWidth = 280;


function resize(w,h) { //take in the height and width of the plugin window
if(minWidth < subtitleWidth){
minWidth = subtitleWidth;
}
var contentFurnitureHeight = 64; //the sum height of the html elements on the page EXCLUDING the video window
if(w < minWidth){
width = minWidth;
}else{
width = w;
}
height = h + (contentFurnitureHeight + transportBar + subtitleHeight);
resizeForContentSize(width,height);
}

function resizeForContentSize(contentWidth,contentHeight) {
var titleBar = 26;
var windowBarWidth = 0;
var statusHeight = 0;
var xpSecurityInfo = 23;
var firefoxStatus = 23;
var flickoverMargin = 20; //for mozilla which puts scrollbars on the window by default unless it's oversized first
if(navigator.platform == 'Win32'){
windowBarWidth = 12;
titleBar = 32;
statusHeight = 6;
}
if(document.all){
statusHeight += xpSecurityInfo; //for security zone info on MSIE
}else if(document.layers){
statusHeight = 0;
}
height = contentHeight + titleBar + statusHeight;
width = contentWidth + windowBarWidth;
if (!(document.layers || document.all)){
height += firefoxStatus;
window.resizeTo(width + flickoverMargin , height + flickoverMargin);
}
window.resizeTo(width , height);
}


fullscreen_on = new Image();
fullscreen_on.src = '/mediaselector/images/en/fullscreen_on.gif';

function switchOn(img) {
document.images[img].src = '/mediaselector/images/en/' + img + '_on.gif';
}
function switchOff(img) {
document.images[img].src = '/mediaselector/images/en/' + img + '_off.gif';
}

function changePrefs(){
resizeForContentSize(425,298);
location.href='http://www.bbc.co.uk/mediaselector/check/media/video/otdvideo/86/05/03/3118_03-05-86?bgc=6699CC&nbram=1&bbram=1&size=4x3&news=1&pref s=1';
}
function closeMe() {
setTimeout('self.close()',1000);
}
//-->
</script>

<script language="Javascript">
<!--
if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)){
document.write('<style type="text/css">');
document.write('body {overflow: auto;}');
document.write('</style>');
}
-->
</script>

</head>

<body bgcolor="#000000" text="#000000" link="#000000" vlink="#000000" alink="#0000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"
onload="setPage();resize(192,144);">

<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#000000">
<tr>
<td align="center">

<!-- Top Banner table --><!--width="91" height="24" -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="32" valign="top" bgcolor="#6699CC" width="96"><img src="/mediaselector/images/logo_6699CC.gif" alt="BBC" border="0"></td>
<td bgcolor="6699CC" align="right"><div class="redBanner">&nbsp;</div></td>
</tr>
<tr><td colspan="2"><img src="/furniture/tiny.gif" alt="" width="1" height="5"></td></tr>
<tr><td bgcolor="#626668" height="22"><div class="greyBanner"><a href="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" onclick="closeMe();" class="vidHead"><font size="1">Launch this in standalone player</font></a></div></td>
<td bgcolor="#626668" align="right">

<img src="/furniture/tiny.gif" alt="" width="1" height="5">

</td></tr>
<tr><td colspan="2"><img src="/furniture/tiny.gif" alt="" width="1" height="5"></td></tr>
</table>
<!-- Top Banner table -->

<script language="JavaScript">
<!--
if ( navigator.appName == "Netscape" )
{
navigator.plugins.refresh();
}
//-->
</script>


<table cellspacing="0" cellpadding="0" border="0" bgcolor="#000000">
<tr><td bgcolor="#000000" valign="bottom" align="center" width="100%">

<!-- Real Embed SSITool (Embed pt1 of 2) v1.1 - do not copy, see http://intracat/ssi/ for usage -->
<script language="Javascript">
<!-- //
var ssit_RealPresent=0;
var ssit_RealPlayer4=0;
var ssit_RealPlayer5=0;
var ssit_RealPlayerG2=0;
var ssit_bIsMac5=((navigator.appVersion.indexOf("Macin tosh") != -1) && (navigator.appVersion.indexOf("MSIE 5") != -1));
var ssit_bIsOpera=(navigator.userAgent.indexOf("Opera" ) != -1);
if ((navigator.userAgent.indexOf("MSIE")<0 ) || (ssit_bIsMac5) || (ssit_bIsOpera)) {
numPlugins = navigator.plugins.length;
for (ssit_i = 0; ssit_i < numPlugins; ssit_i++) {
plugin = navigator.plugins[ssit_i];
if ((plugin.name.indexOf("RealPlayer") != -1) || (plugin.name.indexOf("RealOne") != -1) || (plugin.name=="rpnp.so")){
ssit_RealPresent=1;
}
}
}

if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1) && (!ssit_bIsOpera)){
document.writeln(' <script language="VBScript"> ');
document.writeln(' on error resume next ');
document.writeln(' ssit_RealPlayerG2 = (NOT IsNull(CreateObject("rmocx.RealPlayer G2 Control"))) ');
document.writeln(' ssit_RealPlayer5 = (NOT IsNull(CreateObject("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)"))) ');
document.writeln(' ssit_RealPlayer4 = (NOT IsNull(CreateObject("RealVideo.RealVideo(tm) ActiveX Control (32-bit)"))) ');
document.writeln(' <\/script> ');
}

// Set Mac IE3 and IE4 opt-out - attempts to play regardless
var ssit_bIsMac = ((navigator.appVersion.indexOf("Macintosh") != -1) && ((navigator.appVersion.indexOf("MSIE") != -1) && (!ssit_bIsMac5)));
// End Mac IE3/4 opt-out


if (ssit_RealPresent || ssit_RealPlayerG2 || ssit_RealPlayer5 || ssit_RealPlayer4 || ssit_bIsMac)


{
document.write ('<object id="rp1" name="rp1" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="144" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ImageWindow"><param name="console" value="av"><embed name="rp1" id="rp1" border="0" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="144" autostart="true" controls="ImageWindow" console="av" type="audio/x-pn-realaudio-plugin"></embed></object><noembed><a href="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram">Play the clip in RealPlayer</a></noembed>'); }
else {
document.write('<div class="downloadPrompt" align="left"><font size="1" color="#00FF66"><b>Your browser has not detected a RealPlayer plugin. It may be that you need to download RealPlayer or adjust your browser settings.<br><br>');
document.write('For help downloading or upgrading RealPlayer for free, visit our <a href="http://www.bbc.co.uk/radio/audiohelp.shtml?focuswin" target="_blank" class="downloadLink">audio/video help</a> page<br><br>');
document.write('Alternatively you can try to <a href="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" class="downloadLink">play the clip in the standalone player</a> or <a href="http://www.bbc.co.uk/mediaselector/check/media/video/otdvideo/86/05/03/3118_03-05-86?bgc=6699CC&nbram=1&bbram=1&size=4x3&news=1&pref s=1" onclick="changePrefs()" class="downloadLink">change your preferences</a>.</b></font></div>');
}
function setFullScreen() {
if (isIE) {
playerObj = "document.all.rp1";
} else {
playerObj = "document.embeds['rp1']";
}
playState = eval(playerObj + ".GetPlayState()");
if((playState==0) || (playState==1)) {
alert("A clip must be started before you can set it to full size.");
}
else {
alert("Switching to fullscreen mode...\n\n(Press Esc to return to the desktop)");
eval(playerObj +".SetFullScreen()");
}
}
//function setFullScreen() {
//playState = document.rp1.GetPlayState();
// if((playState==0) || (playState==1)) {
// alert("A clip must be started before you can set it to full size.");
// }
// else {
// alert("Press Esc to return to the original size.");
// document.rp1.SetFullScreen();
// }
//}


// -->
</script>
<noscript><object id="rp1" name="rp1" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="144" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ImageWindow"><param name="console" value="av"><embed name="rp1" id="rp1" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width=192" height="144" autostart="true" controls="ImageWindow" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></noscript>
<!-- END Real Embed SSITool -->

</td></tr>

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

if (ssit_RealPresent || ssit_RealPlayerG2 || ssit_RealPlayer5 || ssit_RealPlayer4 || ssit_bIsMac) {
document.write('<tr><td align="center" height="30"><object id="rp2" name="rp2" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="30" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="StatusBar"><param name="console" value="av"><embed name="rp2" id="rp2" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="30" controls="StatusBar" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr>'); document.write('<tr><td align="center" height="28"><object id="rp3" name="rp3" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="28" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ControlPanel"><param name="console" value="av"><embed name="rp3" id="rp3" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="28" controls="ControlPanel" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr>');
}


// -->
</script>
<noscript>
<tr><td align="center" height="30"><object id="rp2" name="rp2" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="30" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="StatusBar"><param name="console" value="av"><embed name="rp2" id="rp2" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="30" controls="StatusBar" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr> <tr><td align="center" height="28"><object id="rp3" name="rp3" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="28" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ControlPanel"><param name="console" value="av"><embed name="rp3" id="rp3" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="28" controls="ControlPanel" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr>
</noscript>



</table>



</td></tr></table>

</body>
</html>

pls can somebody tell me how to integrate this to vBRadio v1.0 ?
Reply With Quote
  #254  
Old 05-06-2006, 07:13 PM
Sychev_S Sychev_S is offline
 
Join Date: Oct 2005
Location: Toronto
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick Question: How can I install TWO vbradio plugins, one for Radio and the other one for TV?
I already have Radio one installed.
Reply With Quote
  #255  
Old 05-06-2006, 07:35 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've reinstalled this hack now that I can make it work with firefox - I just can't make the controls work - I will probably remove them.
Reply With Quote
  #256  
Old 05-07-2006, 03:16 AM
Sychev_S Sychev_S is offline
 
Join Date: Oct 2005
Location: Toronto
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sychev_S
Quick Question: How can I install TWO vbradio plugins, one for Radio and the other one for TV?
I already have Radio one installed.
Just REPLACED "radio" to "tv" in all fo the files and installed.
You can see it on my site on top, where icon of radio and tv is.:banana:
Reply With Quote
  #257  
Old 05-09-2006, 08:51 PM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mastar
I don't have it installed but,

Find:
Code:
<script type="text/javascript">
<!--

function OpenRadio(){
Radio = window.open('vBRadio.php','vBRadio','directories=no,height=320,width=650,location=no,menubar=no,resizable=no,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="#" onclick="return OpenRadio()">vBRadio</a></td>
Replace with:
Code:
<if condition="!$bbuserinfo['userid']">
<script type="text/javascript">
<!--

function OpenRadio(){
Radio = window.open('vBRadio.php','vBRadio','directories=no,height=320,width=650,location=no,menubar=no,resizable=no,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="#" onclick="return OpenRadio()">vBRadio</a></td>
</if>
See if that works!
Where would I look to find this would it be radio template or somewhere else?

Thanks
Reply With Quote
  #258  
Old 05-18-2006, 12:40 PM
simon. simon. is offline
 
Join Date: Apr 2005
Location: UK
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Install went good for me, many people are tuning in (>40 a day). However... On "Online Users" it says "Unknown Location - vbradio.php". Is there anyway of making it say "Listening to the Radio".

Let me know!

Thanks.
Reply With Quote
  #259  
Old 05-18-2006, 04:08 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simon.
Ok Install went good for me, many people are tuning in (>40 a day). However... On "Online Users" it says "Unknown Location - vbradio.php". Is there anyway of making it say "Listening to the Radio".

Let me know!

Thanks.
here ya go mate....

https://vborg.vbsupport.ru/showthrea...ght=custom+wol

hack to add custom WOL loactions...works a treat..and the best is, u can call em wot u want...heh heh..open to abuse if ya wanna get ure own back on a member....lol
Reply With Quote
  #260  
Old 05-20-2006, 01:18 PM
realbiggig realbiggig is offline
 
Join Date: May 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice looking hack but it just wont install for me.. no idea why

i keep getting this error while i'm trying to install it and i know for a fact the file is in the my admin directory
Code:
Error. vbradio.xml located in directory '' was not found. Please make sure it is uploaded then press the submit button below
anyone have any idea's how to get around this?
Reply With Quote
  #261  
Old 05-20-2006, 01:40 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where did you upload the vbradio.xml file?
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 06:44 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.05941 seconds
  • Memory Usage 2,341KB
  • 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
  • (3)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
  • (4)pagenav_pagelink
  • (2)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_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