vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Radio and TV Add-on (https://vborg.vbsupport.ru/showthread.php?t=152037)

Scalemotorcars 04-04-2008 05:03 PM

You can place that code before or after any of the
HTML Code:

<td class="vbmenu_control"> Button </a></td>
Buttons. Just make you place it inside or outside the <if> code so members can or cant see it.

For example: If you want anyone to see it then place it outside the <if></if> if you want only members to see it then place it inside.

tbrown7552 04-04-2008 07:46 PM

there is no vbmenu_control code in my navbar template, only vbmenu_option

Scalemotorcars 04-04-2008 09:39 PM

Thats lower down in the code. Got a link to your site?

tbrown7552 04-05-2008 06:04 AM

<a href="http://www.nitrotuner.com" target="_blank">www.nitrotuner.com</a>

LisaJH 04-08-2008 05:06 AM

how do i get radio and telly stations onto it?

oxblood12 04-08-2008 03:16 PM

wow exelente man, thank´s

Stifmeister2 04-09-2008 07:43 PM

ERROR!

I've deleted a station which was in my favorites, and now I can't remove that empty space from my favorites!

Screnshot will tell you what I'm talking about:

alhoori 04-15-2008 03:01 AM

Can we use this tool as video library embedded within vbulletin ?

Dream 04-15-2008 03:38 AM

To embed videos in posts use the mod "AME". This mod is a streaming library.

inclosecombat13 05-01-2008 11:40 PM

Hi guys, new to this coding stuff but thanks for all the work everyones putting in, got quite a few working bits and bobs, great stuff..

I installed tv and radio the other day,and since updating to 3.7.0 i am getting an error on the player page, this is what the error thing said.

Line: 453
Char: 4
Error: Syntax error
Code: 0
Url: http://www.example.com/forum/radioandtv.php


Thanks,

Nick

Rakehel 05-27-2008 11:07 PM

The versions for 3.6.x worked flawlessly.

With vB v3.7 installed and using IE 7.0 I installed this new version 2.0. I keep receiving a "syntax" error page when I try to use any of the options. Tried to go back and reinstall radio v1.7 again and it's the same deal. Any ideas?

Dream 05-28-2008 12:09 AM

Did you revert the templates?

TRa5H 05-29-2008 07:45 AM

Hi just installed and the mod is installed correctly i get the radio and tv in the admin.. but when i go to load it up inside my forums.. i get the following error?

http://img.photobucket.com/albums/v7...dx/error-1.jpg

so i dont know understand because in the Radio and Tv admin options there is no area for access users.. and i am the admin of my site..

is it and issue that i added it to the quicklinks menu instead of the navbar because this is the code i used below:

Code:

<!--
function openRadioAndTV(stationid){
extras = '';
if (stationid) { extras = '?station=' + stationid; }
radioAndTVWindow = window.open('radioandtv.php' + extras, 'radioandtv', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no');
}
//-->

If anyone could help i would be very happy .. i have been trying to add this mod.. or use the shoutcast mod and for some reason no radio mods have been working.. thanks

Dream 05-29-2008 10:04 AM

Did you set your usergroup permissions?

TRa5H 05-29-2008 01:43 PM

Quote:

Originally Posted by Dream (Post 1534899)
Did you set your usergroup permissions?

the only options i have under usergroup permissions are the regular forum pages.. the radioandtv.php is not listed here.. am i looking at the wrong place or something.. also under my host i set the radioandtv.php to read,write,execute which is 777 am i correct.. it has been that way with all other operations?

Dream 05-29-2008 02:22 PM

did you upload the bitfields file?

TRa5H 05-29-2008 07:19 PM

yeah everything is uploaded and set..

Dream 05-29-2008 09:09 PM

Then there should be radio and tv usergroup options in the ... usergroup options.

TRa5H 05-30-2008 07:21 AM

Ok found it.. yeah i was just being a blonde.. lol

anyways I also edited a mod i found here: https://vborg.vbsupport.ru/showthrea...ight=shoutcast

With this i edited to work for your RadioandTv mod.. below is the coding i used to add a link button to the navbar which works as another option for alternate Templates.. below is the exact code I am currently using..

After Placing the following code the as you would when installing the RadioandTv mod at the very top of the navbar template:
Code:

<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no');
}
//-->
</script>


You then would need to find the following code in the navbar Template:
Code:

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>


Underneath add:
Code:

<!-- / START RADIOandTV button-->

<td>
<a href="javascript:openRadioAndTV()"><img src="http://img.photobucket.com/albums/v715/azurekidx/radio_button.jpg" border="0" alt="Tune into R?? Radio"></a>
</td>

<!-- / END RADIOandTV button-->


thats it.. i just thought since i put you through so much trouble teaching a noob how to set permissions since its not like i have done it over and over and still forget to set them lol.. that you all could use this.. ..

well thanks again.. you can see how its working at my site as the Demo ;):up:

Below is the Image i used for the Navbar button just change colors for your site in photoshop or use your own:

http://img.photobucket.com/albums/v7...dio_button.jpg http://img.photobucket.com/albums/v7...tton_small.jpg


I posted this in a mod forum at https://vborg.vbsupport.ru/showthread.php?t=180988 so it can be used.. thanks again later

Ultimate Killer 06-14-2008 02:51 PM

Quote:

Originally Posted by yoyoyoyo (Post 1354885)
Here are 370 TV stations I have recently added (category: Television). All of them have been checked and verified.

I would like to see some more radio and tv stations from other people as well. :)

I don't understand what I need to do to get these loaded onto my board?

just77me 06-15-2008 04:28 PM

we got problems when we want to edít or change the stations...

myandy99 06-25-2008 01:59 AM

I am trying to change radioandtv.php by adding a header <?php include("/home/test/public_html/plugins/header.html"); ?> so that the Radio and TV page can run as an independent web page.

It works fine with FireFox browser, but in IE browser I got following error and the page won't load:

Unable to add cookies, header already sent.
File: /home/simfera/public_html/plugins/news/header.html
Line: 9

What is going on?

myandy99 06-25-2008 02:07 AM

Quote:

Originally Posted by Tulsa (Post 1292103)
Since this is listed as an unsupported mod, I guess it's okay to post this...

Myself and at least one other person would prefer this mod to open a vb page instead of a popup window. Problem was, the navbar wasn't recognized. Here's the fix.

In the radiostations.php file find:
Code:

// ############################ CONFIG VARS ##############################
$admin_groups = rs_do_array($vbulletin->options['radiostations_admins']);
$full_users = rs_do_array($vbulletin->options['radiostations_full_users']);
$banned_users = rs_do_array($vbulletin->options['radiostations_banned_users']);
$half_users = rs_do_array($vbulletin->options['radiostations_half_users']);
$default_station = $vbulletin->options['radiostations_default_station'];

Just below it add:

Code:

$navbits = array();
$navbits[$parent] = 'RADIOSTATIONS';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
$navbar = process_replacement_vars($navbar);
eval('$headinclude = "' . fetch_template('headinclude') . '";');
$headinclude = process_replacement_vars($headinclude);
eval('$footer = "' . fetch_template('footer') . '";');
$footer = process_replacement_vars($footer);

In the RADIOSTATIONS template find:
Code:

<body>
Add below it:
Code:

$header
$navbar

At the bottom of this same template, right above the:
Code:

</body>
add:
Code:

$footer
If you want to use this in a drop down menu from your navbar, add this:

Code:

<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="radiostations.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radiostations]</a></td></tr></if>
If you prefer to have it as it's own menu item in your navbar, add this:
Code:

<if condition="$show['member']"><td class="vbmenu_control"><a href="radiostations.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radiostations]</a></td></if>
Both will open a new window/tab depending on how the users browser is set.

This works for me, if it doesn't for you, undo it and call me a moron. :D

I did what you said and it works great in FireFox but in IE browser I get following error:

Unable to add cookies, header already sent.
File: /home/simfera/public_html/forums/radioandtv.php
Line: 3

What have I missed?

mycitylive 07-01-2008 10:21 AM

Problems

user, you have no rights to access this page. The reasons could e.g. be responsible for:

You try to raise another user to change or to administrative functions. Please check the forum rules, whether this action.
If you tried to make a contribution to write, it may be that your account has been disabled or enabled.
---
Probleme

user, Sie haben keine Rechte, um auf diese Seite zuzugreifen. Folgende Gründe könnten z.B. dafür verantwortlich sein:

Sie versuchen, den Beitrag eines anderen Benutzers zu ändern oder auf administrative Funktionen zuzugreifen. Überprüfen Sie bitte in den Forenregeln, ob Sie diese Aktion ausführen dürfen.
Wenn Sie versucht haben, einen Beitrag zu schreiben, kann es sein, dass Ihr Benutzerkonto deaktiviert wurde oder noch aktiviert werden muss.

HELP ME PLEASE

Dream 07-02-2008 12:11 AM

set your usergroup permissions

mycitylive 07-02-2008 04:07 AM

Super Thanks

NAZIA 07-05-2008 03:32 AM

Quote:

Originally Posted by Big-K (Post 1380573)
Here's my contribution to this project - 292 UK Radio Stations.

But I need help classifying some of the players correctly - I wish this hack will auto-detect the player

Hmm.. well I have uploaded this attachment but did not find any chanel working,,
Then I have checked the coding.. every url of the radio stream have one space each.

Quote:

<url><![CDATA[
http://wm-tlrc.london.as34763.net/sn
]]></url>
as shown above

and then I have deleted all spaces from the url, so these stations are working perfectly,

Now the above url is
Quote:

<url><![CDATA[ http://wm-tlrc.london.as34763.net/sn]]></url>
What this extra space was doing..
I have checked the url of the radio channels from the online palyer as shown in image below...it is adding the link of the forum url before the streaming url..
see the attachment below..

Now upload this play list.. to play the radio stations.:)

Bobbrown 07-15-2008 01:04 PM

I found that if using @firefox then it would not open some(most) stations but they are fine with @I.E.
Anyone solve the firefox thing for me?

Raptor 07-22-2008 06:45 PM

how to mass delete all stations ?

Konstantinos 07-23-2008 04:25 PM

delete the category where they belong

PGAmerica 08-11-2008 04:12 PM

Quote:

Originally Posted by Tulsa (Post 1292103)
Myself and at least one other person would prefer this mod to open a vb page instead of a popup window. Problem was, the navbar wasn't recognized.

That is a wonderful idea. Is there a way to allow for both options and give the ACP the choice of on or both? If "Both", then the user has the choice?

Is this possible?

big blue 10-07-2008 08:32 PM

I had version 1.2 installed and followed the upgrade instructions. It opens but when I go to click on any links I get errors...
I got this when I went to change channels...

Error: undefined <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html dir="ltr" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<meta name="generator" content="vBulletin 3.7.3" />



<meta name="keywords" content="reno, nevada, sparks, northern, offroad, rock, crawling, racing, crawler, moonrocks, fordyce, rubicon, prison hill, jeep, toyota, ford, chevy, dodge, isuzu" />

<meta name="description" content="This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ ." />





<!-- CSS Stylesheet -->

<style type="text/css" id="vbulletin_css">

/**

* vBulletin 3.7.3 CSS

* Style: 'Lava Red'; Style ID: 24

*/

@import url("clientscript/vbulletin_css/style-c3e770f6-00024.css");

</style>

<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_important.css?v=373" />





<!-- / CSS Stylesheet -->



<script type="text/javascript" src="clientscript/yui/yahoo-dom-event/yahoo-dom-event.js?v=373"></script>

<script type="text/javascript" src="clientscript/yui/connection/connection-min.js?v=373"></script>

<script type="text/javascript">

<!--

var SESSIONURL = "";

var SECURITYTOKEN = "1223414819-7ac355b736e6232ac0d011beaebccb7cdb03051d";

var IMGDIR_MISC = "images/lavaRed/misc";

var vb_disable_ajax = parseInt("0", 10);

// -->

</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js?v=373"></script>

<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=373"></script>





<title>Radio and TV</title>

<script type="text/javascript">

<!--

// hello world, i'm the main radio stations javascript

var changeStationHandler;

var addStationHandler;

var updateListHandler;

var addCategoryHandler;

var editCategoryHandler;

var deleteCategoryHandler;

var moveStationsHandler;

var rateStationHandler;

var editStationHandler;

var deleteStationHandler;

var favoritesHandler;

var statisticsHandler;

var reportHandler;



var categorySelect;



var loading = 'Loading... <img src="images/misc/11x11progress.gif">';



// add station ajax

function addStation() {

document.addStationForm.elements['send'].disabled = true;

addStationHandler = new vB_AJAX_Handler(true);

addStationHandler.onreadystatechange(processAddSta tion);

sendthis = 'ajax=addstation';

sendthis = sendthis + '&name=' + PHP.urlencode(document.addStationForm.elements['name'].value);

sendthis = sendthis + '&category=' + document.addStationForm.elements['category'].value;

sendthis = sendthis + '&playerid=' + document.addStationForm.elements['playerid'].value;

sendthis = sendthis + '&description=' + PHP.urlencode(document.addStationForm.elements['description'].value);

sendthis = sendthis + '&url=' + PHP.urlencode(document.addStationForm.elements['url'].value);

sendthis = sendthis + '&website=' + PHP.urlencode(document.addStationForm.elements['website'].value);

addStationHandler.send('radioandtv.php', sendthis);

}



function processAddStation() {

if (addStationHandler.handler.readyState == 4 && addStationHandler.handler.status == 200 && addStationHandler.handler.responseText) {

/*try {

eval(addStationHandler.handler.responseText);

} catch (e) {

window.alert('Error: ' + e.description + ' ' + addStationHandler.handler.responseText);

Dream 10-08-2008 01:17 AM

did you have edited radio and tv templates? try reverting them.

big blue 10-08-2008 04:27 PM

I uninstalled it and reinstalled it and it seems to work but if you click to change a channel once the window is open thats when I get that error...weird.

Dream 10-08-2008 08:34 PM

are you using vb 3.7? if you are, get the mod for 3.7 in the 3.7 forum

Sgt Pepper 10-28-2008 05:16 AM

Dream you are the best! All your mods work so smoothly on my forum. Ive got 3 installed right now, 2 of them active, 1 waiting until i can use it :P Thankyou so much for this.

OneEye 11-24-2008 03:46 AM

Amazing PlugIn :D

And thank you to everyone that shared their tweeks and stations!
Everything worked perfectly^^

*First post in soo many years of using vB and #733 marked as installed

ArnyVee 11-27-2008 02:15 PM

Does this support and stream the Live365 stations?

brianoakes 01-24-2009 09:50 PM

I second that, any idea how I can get this working with my Live365 station? Having adsense added would also rock!

Thanks

MikesSite 02-08-2009 06:29 AM

I have it installed on 3.8. runs great! Nominated, Thanks very much.

Can somebody get me some New York radio stations? Also can somebody get me the streaming URL for this

http://player.play.it/player/player....&onestat=wfny3
This is the radio's homepage http://www.923krock.com


All times are GMT. The time now is 11:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08752 seconds
  • Memory Usage 1,848KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (1)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete