Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Radio and TV Player 4.x Details »»
Radio and TV Player 4.x
Version: 2.1.2, by Coroner Coroner is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.1.0 Rating:
Released: 12-14-2010 Last Update: 03-26-2011 Installs: 146
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Radio and TV Player 3.8.x
was created by Dream. This is only a 1:1 conversation of this Mod.
You will find the original text and images here:
https://vborg.vbsupport.ru/showthread.php?t=202415

--------------------------------------

This will add a fully featured Radio and TV Streaming Player with stations library to your forum.

Features:
- Users can add / delete / edit own stations (controlled by usergroup permissions)
- Users can have a favorite stations list
- Report broken / duplicate stations links
- Totally coded in AJAX (no page reloads)
- Plays Windows Media Player, Real Player and Quicktime streams
- Shows user's favorites and last played station in profile page
- and much more...

Installation is easy. You need to upload some files, import a product, import the default stations (if you wish).

--------------------------------------

This product automatically creates a link (Forum - Community - Radio and TV). Also I've fixed two bugs:
  1. when a default station is set, but you delete this station - you will get a database error
  2. collapse buttons (station info & option) [after you've choosen another station, then click on the collapse button - you're style will collapse]

Download Now

File Type: zip radioandtv.zip (45.0 KB, 955 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
nchoate97, Toorak Times

Comments
  #22  
Old 12-15-2010, 11:58 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice to see this released.
Reply With Quote
  #23  
Old 12-16-2010, 04:14 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some of default stations are not working, bad links ...just delete them
Just google it

Best way is to allow members to add them, explain a bit how...and that is it
You don't need bunch of stations anyways, u need what users want...they know best

Here is one nice link
http://www.mikesradioworld.com/

Does anyone know how to play links as this one ......net:8002/listen.pls , .pls extension ???
Found bunch of stations with these but just cant create station with this, there is always an error:
"AJAX error, please try again. (HTTP status: 403 / Forbidden)"
Reply With Quote
  #24  
Old 12-16-2010, 11:48 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great, works great
Reply With Quote
  #25  
Old 12-17-2010, 01:25 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

??? Can someone help me with this small issue:
How to add header and footer to radio & tv page, that is I would like just to add navbar and footer everything else is not that important

Did try this but its no good
https://vborg.vbsupport.ru/showpost....3&postcount=97

Anyone?
Reply With Quote
  #26  
Old 12-17-2010, 05:51 PM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vB4 there is NO $header or ....
it must be {vb:raw header}
Reply With Quote
  #27  
Old 12-17-2010, 06:15 PM
mobe00 mobe00 is offline
 
Join Date: Jan 2010
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goxy63 View Post
??? Can someone help me with this small issue:
How to add header and footer to radio & tv page, that is I would like just to add navbar and footer everything else is not that important

Did try this but its no good
https://vborg.vbsupport.ru/showpost....3&postcount=97

Anyone?
Oki here is the solution. In radioandtv.php add

Code:
$navbits = array();
$navbits[$parent] = $vbphrase['radiostations'];
$navbits = construct_navbits($navbits);
$navbar = render_navbar_template($navbits);
right after

Code:
// ############################ CONFIG VARS ##############################
$banned_users = rs_do_array($vbulletin->options['radiostations_banned_users']);
$default_station = $vbulletin->options['radiostations_default_station'];
$stats_results = $vbulletin->options['radiostations_statistics_entries']; // how many top stats entries
$per_page = $vbulletin->options['rs_per_page']; // number of stations per page
$default_player_size = explode('x', $vbulletin->options['radiostations_default_player_size']);
$player_sizes = explode("\r\n", $vbulletin->options['radiostations_player_sizes']);
$default_rp_size = explode('x', $vbulletin->options['radiostations_default_rp_size']);
$rp_sizes = explode("\r\n", $vbulletin->options['radiostations_rp_sizes']);
$default_quick_size = explode('x', $vbulletin->options['radiostations_default_qt_size']);
$quick_sizes = explode("\r\n", $vbulletin->options['radiostations_qt_sizes']);
in the template radiostations add

Code:
{vb:raw header}
{vb:raw navbar}
right after <body>

add

Code:
{vb:raw footer}
right before </body>



Voila
Reply With Quote
  #28  
Old 12-17-2010, 06:17 PM
mobe00 mobe00 is offline
 
Join Date: Jan 2010
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is an xml file u can import with many radio stations and some television channels..many of the radiostations is from my home country, so just delete the ones you dont like

Most of the radio stations that came with this mod worked here..just to let you know
Attached Files
File Type: xml radio-stations.xml (34.0 KB, 103 views)
Reply With Quote
  #29  
Old 12-17-2010, 06:33 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mobe00 View Post
here is an xml file u can import with many radio stations and some television channels..many of the radiostations is from my home country, so just delete the ones you dont like

Most of the radio stations that came with this mod worked here..just to let you know
Imported. Thank you.

(none of them work for me, but it could be an audio code or browser issue on my end)
Reply With Quote
  #30  
Old 12-17-2010, 06:38 PM
mobe00 mobe00 is offline
 
Join Date: Jan 2010
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you dont want a pop-up window of the radio window change the code in navbar template to

after

Code:
<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>
add

Code:
<li><a href="radioandtv.php">Radio and TV</a></li>
and forget about the installation instructions about the navbar template that comes with this mod
Reply With Quote
  #31  
Old 12-17-2010, 06:39 PM
mobe00 mobe00 is offline
 
Join Date: Jan 2010
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Imported. Thank you.

(none of them work for me, but it could be an audio code or browser issue on my end)

The NRK1,2 and 3 that comes with this file dont work for people outside my country, but the rest should work
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 04:47 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.04721 seconds
  • Memory Usage 2,345KB
  • 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
  • (6)bbcode_code
  • (3)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
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete