Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Radio and TV Add-on Details »»
Radio and TV Add-on
Version: 1.7, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 07-11-2007 Last Update: 11-04-2007 Installs: 686
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

This mod's vB 3.6.x version has been abandoned. The new vB 3.7.x version is here.

This will add a radio and TV library to your forum.

Features:
- Users can add / delete / edit own stations
- Favorite stations
- Report broken / duplicate stations
- Full AJAX
- Plays Windows Media Player, Real Player and Quicktime streams
- and more...

Nominate this mod for Mod of the Month!

If you like this script don't forget to donate.

This mod is "Re-usable Code", meaning you can modify it and release your own "distribution".

Show Your Support

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

Comments
  #1142  
Old 06-15-2008, 04:28 PM
just77me just77me is offline
 
Join Date: Jun 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

we got problems when we want to edít or change the stations...
Reply With Quote
  #1143  
Old 06-25-2008, 01:59 AM
myandy99 myandy99 is offline
 
Join Date: Mar 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #1144  
Old 06-25-2008, 02:07 AM
myandy99 myandy99 is offline
 
Join Date: Mar 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
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.
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?
Reply With Quote
  #1145  
Old 07-01-2008, 10:21 AM
mycitylive mycitylive is offline
 
Join Date: Oct 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #1146  
Old 07-02-2008, 12:11 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

set your usergroup permissions
Reply With Quote
  #1147  
Old 07-02-2008, 04:07 AM
mycitylive mycitylive is offline
 
Join Date: Oct 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Super Thanks
Reply With Quote
  #1148  
Old 07-05-2008, 03:32 AM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Big-K View Post
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.
Reply With Quote
  #1149  
Old 07-15-2008, 01:04 PM
Bobbrown Bobbrown is offline
 
Join Date: Mar 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #1150  
Old 07-22-2008, 06:45 PM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to mass delete all stations ?
Reply With Quote
  #1151  
Old 07-23-2008, 04:25 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

delete the category where they belong
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 11:12 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.05853 seconds
  • Memory Usage 2,316KB
  • 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
  • (8)bbcode_code
  • (4)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
  • (4)pagenav_pagelink
  • (3)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