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)

Baza 08-16-2007 09:55 AM

hey, dude

is there any possible way to make a station default and to add .pls radio files

thanks

El Burro 08-16-2007 10:12 PM

Hi,

I didn't want to add this in my navbar. (too many buttons to move around)
I set up a link forum - which opened radiosations.php

The problem was that I couldn't get it to open in a new window.

So I hacked together this radiostations.html

HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Dreams Radio Stations</title>

<meta http-equiv="REFRESH" content="1;url=http://www.yoursite.com/forums/">
</head>

<body>
<script type="text/javascript">
window.open("http://www.yoursite.com/forums/radiostations.php", "blank");
</script>
</body>
</html>

Now point the linked forum to radiostations.html and it opens a new window for the radio station and the old window redirect to forumhome.

:)

Dream 08-17-2007 01:19 AM

Quote:

Originally Posted by Baza (Post 1318815)
hey, dude

is there any possible way to make a station default and to add .pls radio files

thanks

There is an option to make a default station in the options. Dunno about .pls files.

Dream 08-17-2007 02:40 AM

Just to say, this mod kicks ass :D I listen to radio on my forum all the time.

I'm very proud of myself.

aztecboi2003 08-17-2007 03:27 AM

Can't we globalize a variable to make this work on vBadvanced CMPS? I really dunno what that means but, I did it like they said for another hack and it worked.

Dream 08-17-2007 04:15 AM

Sorry aztecboi, I don't use vBa so I wouldn't know. Maybe someone else can help you.

Tulsa 08-17-2007 09:45 AM

Quote:

Originally Posted by aztecboi2003 (Post 1319405)
Can't we globalize a variable to make this work on vBadvanced CMPS? I really dunno what that means but, I did it like they said for another hack and it worked.

If you make the changes in post #97, then go to your vbadvanced in the admincp under default settings and add "radiostations.php" to either the header or navbar replacements section, wherever you put your menu it will call the new page. It won't call the javascript popup page however.

MotMann 08-17-2007 11:08 AM

Quote:

Originally Posted by Tulsa (Post 1318791)
.... it will open the external quicktime player on the Mac instead of using the player in the script.

And thats the Problem. It ist wrong, that the QuickTime Player wil be open, if i listen the Radioscript.

Tulsa 08-17-2007 11:46 AM

Quote:

Originally Posted by MotMann (Post 1319511)
And thats the Problem. It ist wrong, that the QuickTime Player wil be open, if i listen the Radioscript.

Then you should be able to control this using flip4mac's system preferences.

Attachment 68613

y2krazy 08-17-2007 12:01 PM

So is this mod supported? It seems so since you are replying to almost every question; however, at the top, you have it marked as unsupported. Just want a little clarification. Ty. :)


All times are GMT. The time now is 06:36 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.01989 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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