vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Radio and TV Player 4.x (https://vborg.vbsupport.ru/showthread.php?t=255252)

Hornstar 12-15-2010 11:58 PM

Very nice to see this released.

goxy63 12-16-2010 04:14 AM

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)"

Juggernaut 12-16-2010 11:48 AM

Looks great, works great :D

goxy63 12-17-2010 01:25 PM

??? 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? :)

Coroner 12-17-2010 05:51 PM

In vB4 there is NO $header or ....
it must be {vb:raw header}

mobe00 12-17-2010 06:15 PM

Quote:

Originally Posted by goxy63 (Post 2135369)
??? 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 :)

mobe00 12-17-2010 06:17 PM

1 Attachment(s)
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 :)

OldSchoolDSL 12-17-2010 06:33 PM

Quote:

Originally Posted by mobe00 (Post 2135495)
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)

mobe00 12-17-2010 06:38 PM

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

mobe00 12-17-2010 06:39 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135503)
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 :)


All times are GMT. The time now is 05:21 AM.

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.01304 seconds
  • Memory Usage 1,742KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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