vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBRadio v1.0 (https://vborg.vbsupport.ru/showthread.php?t=72227)

djjeffa 11-28-2004 01:58 AM

Quote:

Originally Posted by Zero Tolerance
.pls will work, i think that require's real player to be installed on the user's PC, but i may be wrong.

i belive it is using windows media player
p.s. ZT your hacks are great
I just have to figer out how to hook up the template for it and maybe make a portal so it works on vbadvance

fiber1 11-28-2004 02:32 AM

Nice hack!

It would be of great help to point us in the direction of how to find these URL's easier.
I have been able to find alot of stations, but unable to actually retreive the specific URL's to input them into this hack,

Thanks,

Fiber

OrangeFlea 11-28-2004 02:48 AM

Quote:

Originally Posted by fiber1
Nice hack!

It would be of great help to point us in the direction of how to find these URL's easier.
I have been able to find alot of stations, but unable to actually retreive the specific URL's to input them into this hack,

Thanks,

Fiber

What are the ones you found with the URL? I want to install this bad boy, but I'd like to have a decent list of stations and their specific urls before I do.

SVTOA 11-28-2004 02:49 AM

Quote:

Originally Posted by djjeffa
i belive it is using windows media player
p.s. ZT your hacks are great
I just have to figer out how to hook up the template for it and maybe make a portal so it works on vbadvance

I have it working on Vbadvanced. You can start the vbradio from the main page no problem.

SVTOA 11-28-2004 02:50 AM

Quote:

Originally Posted by OrangeFlea
What are the ones you found with the URL? I want to install this bad boy, but I'd like to have a decent list of stations and their specific urls before I do.


Oh man I have like 20 working stations. I found one in particular that plays my style of music and I am listening to it right now. :D

SVTBlackLight01 11-28-2004 03:44 AM

Here is a good source for feeds.

http://www.radio-locator.com

Great hack, Zero Tolerance.

fiber1 11-28-2004 04:06 AM

Yes,

A good source, but how do you find the URL's? All I can find is buttons to click on to start them in whatever media player I am using.

SVTBlackLight01 11-28-2004 04:13 AM

If the Station has a https://vborg.vbsupport.ru/external/2005/06/4.gif beside it, click on https://vborg.vbsupport.ru/external/2005/06/5.gif and get the Audio Feed URL. :)

fiber1 11-28-2004 04:19 AM

Thanks. that was to simple

amp 11-28-2004 05:10 AM

D I G I T A L L Y - I M P O R T E D

http://www.di.fm/wma/classictechno.asx
http://www.di.fm/wma/trance.asx
http://www.di.fm/wma/hardtrance.asx
http://www.di.fm/wma/vocaltrance.asx
http://www.di.fm/wma/eurodance.asx
http://www.di.fm/wma/goapsy.asx
http://www.di.fm/wma/deephouse.asx
http://www.di.fm/wma/hardhouse.asx
http://www.di.fm/wma/hardcore.asx
http://www.di.fm/wma/classictechno.asx
http://www.di.fm/wma/chillout.asx
http://www.di.fm/wma/djmixes.asx

PixelFx 11-28-2004 05:56 AM

Works great nice hack man, I got it setup with 20+ stations, no more having to load up winamp all the time.

support for vba cmps would be cool, I'll see if I can make something, if ok with ZT,

Question: what setting I need to change the avs on the screen? in vbradio?

bold 11-28-2004 06:24 AM

I can't get some .pls to work. Anyone else got this problem?

SVTOA 11-28-2004 03:12 PM

Quote:

Originally Posted by SVTBlackLight01
If the Station has a https://vborg.vbsupport.ru/external/2005/06/4.gif beside it, click on https://vborg.vbsupport.ru/external/2005/06/5.gif and get the Audio Feed URL.

Thanks man, GREAT link! I have found that mousing over many of the https://vborg.vbsupport.ru/external/2005/06/4.gif will actually show the correct mms:// or .asx link and all you have to do is copy it.
I have built a library now with dozens of stations that cover a broad range of music and sports, etc. I think this is Hack-of-the-month material!!!

djjeffa 11-28-2004 03:36 PM

Quote:

Originally Posted by SVTOA
I have it working on Vbadvanced. You can start the vbradio from the main page no problem.

i want to emead it in the vbadvance pag if you have done this would you care to enlighten us with the code to add to the mod?

SVTOA 11-28-2004 03:41 PM

Make a backup of includes/functions_online.php before you begin!

In includes/functions__online.php find:

Code:

case 'bugs':
                        $userinfo['action'] = construct_phrase($vbphrase['viewing_x'], 'Bugs'); // Don't report 'bugs' as needing to be translated please :p
                        break;

Directly underneath add:
Code:


case 'vBRadio':
                        $userinfo['action'] = 'Listening to vBRadio';
                        $userinfo['where'] = "<a href=\"vBRadio.php?$session[sessionurl]\">vBRadio</a>";
                        break;

FIND:

Code:

case 'bugs.php':
                $userinfo['activity'] = 'bugs';
                break;

Underneath add:

Code:

case 'vBRadio.php':
                $userinfo['activity'] = 'vBRadio';
                break;

Save and upload!

SVTOA 11-28-2004 03:44 PM

Quote:

Originally Posted by djjeffa
i want to emead it in the vbadvance pag if you have done this would you care to enlighten us with the code to add to the mod?


I use the forums NAVBAR, but it initially did not open correctly, so I just hardcoded the path to vBRadio.php and now it works fine. Are you looking to add the drop-down list of stations? I was going to try to get it to work via the NAVBAR so you can choose a station from the drop-down menu and play it that way...

djjeffa 11-28-2004 03:52 PM

Quote:

Originally Posted by SVTOA
I use the forums NAVBAR, but it initially did not open correctly, so I just hardcoded the path to vBRadio.php and now it works fine. Are you looking to add the drop-down list of stations? I was going to try to get it to work via the NAVBAR so you can choose a station from the drop-down menu and play it that way...

no sice the radio dont really have a templateim tring to put it in the vbadvance page as a mod so the whole thing will show in the center on this page www.djjeffa.com

Nordinho 11-28-2004 03:53 PM

Just wanna say thanks...all your hack are great and easy to install!!

SVTOA 11-28-2004 03:57 PM

Quote:

Originally Posted by djjeffa
no sice the radio dont really have a templateim tring to put it in the vbadvance page as a mod so the whole thing will show in the center on this page www.djjeffa.com

While I watch footbal I am going to mess with this and see what kind of module I can come up with.

OrangeFlea 11-28-2004 04:33 PM

are there any world news feeds? US News, Local, etc...

SVTOA 11-28-2004 04:37 PM

djjeffa- I have been able to create a module on the VBA homepage, and it works, but... The way ZT coded this hack, it makes more sense to just have a link to it so the radio opens a new window, because if you think about it, if you embed the radio into the VBA page, then if a member clicks a link to a forum thread or whatever, the radio will of course stop playing unless they right-click to open in a new window. If you want to set it up so they can select a station from the VBA page, and it opens the player up, then that isn't any better, because they either would have to return to the VBA page to select a new station or select one via the popup radio and that is exactly how it's setup anyway. It makes more sense to me to just use the radio window as ZT coded it. Then a member can navigate around the site while the radio plays in the background.

Do you follow what I am saying here?

ogetbilo 11-28-2004 04:51 PM

installed and working fine. If anybody will find a good metal radio can you put the link here or Pm me ?

Anyway it isnot working in linux. Is there a way to fix this ?
clicked install

Perfect Hack zero

djjeffa 11-28-2004 04:55 PM

Quote:

Originally Posted by SVTOA
djjeffa- I have been able to create a module on the VBA homepage, and it works, but... The way ZT coded this hack, it makes more sense to just have a link to it so the radio opens a new window, because if you think about it, if you embed the radio into the VBA page, then if a member clicks a link to a forum thread or whatever, the radio will of course stop playing unless they right-click to open in a new window. If you want to set it up so they can select a station from the VBA page, and it opens the player up, then that isn't any better, because they either would have to return to the VBA page to select a new station or select one via the popup radio and that is exactly how it's setup anyway. It makes more sense to me to just use the radio window as ZT coded it. Then a member can navigate around the site while the radio plays in the background.

Do you follow what I am saying here?

yea i justed installed the advance so i just wanted to add some material to it but what excatly do the codes you posted do ?

SVTOA 11-28-2004 05:04 PM

The only code I posted in this thread adds the VBRadio to the "who's online" location.

This page has a bunch of stations with the correct .asx and mms:// links already displayed for easy copying/pasting.

http://mypage.bluewin.ch/a-z/cusipage/liveradio1.html

SVTOA 11-28-2004 05:12 PM

FYI: you can also watch live news:

http://www.bloomberg.com/streams/video/LiveBTV56.asx

Add this link to your stations for Bloomberg TV. That will work in your player...

stamos2003 11-28-2004 05:44 PM

awesome ! works perfect

djjeffa 11-28-2004 05:46 PM

Quote:

Originally Posted by SVTOA
FYI: you can also watch live news:

http://www.bloomberg.com/streams/video/LiveBTV56.asx

Add this link to your stations for Bloomberg TV. That will work in your player...

qewl way to go

SVTOA 11-28-2004 06:01 PM

Quote:

Originally Posted by OrangeFlea
are there any world news feeds? US News, Local, etc...

CNN Radio News:

http://www.cnn.com/audio/radio/liveaudio.asx

Bloomberg: (television feed)

http://www.bloomberg.com/streams/video/LiveBTV56.asx

djjeffa 11-28-2004 06:03 PM

dam i broke it and i dont know what i did but now im getting this when i try to veiw the radio Parse error: parse error, unexpected T_STRING in /home/djjeffa/public_html/vb/vBRadio.php on line 8
if i have to i will reinstall but i would liketo keep all the stations i dont feel like reentering them the admin cp works for it i jusst cant veiw the radio
HELP!!!

SVTOA 11-28-2004 06:03 PM

KGO-AM San Francisco, USA
One of the most powerful stations in the United States. News/News Talk
http://www.streamaudio.com/stations/asx/kgo_am.asx

SVTOA 11-28-2004 06:04 PM

Quote:

Originally Posted by djjeffa
dam i broke it and i dont know what i did but now im getting this when i try to veiw the radio Parse error: parse error, unexpected T_STRING in /home/djjeffa/public_html/vb/vBRadio.php on line 8

did you mess with vBRadio.php? Restore the original file...

djjeffa 11-28-2004 06:06 PM

Quote:

Originally Posted by SVTOA
did you mess with vBRadio.php? Restore the original file...

i re downloaded it and uploaded the radio php fresh but it still dont work
now i just get a blank page http://djjeffa.com/vb/vBRadio.php

SVTOA 11-28-2004 06:15 PM

Quote:

Originally Posted by djjeffa
i re downloaded it and uploaded the radio php fresh but it still dont work
now i just get a blank page http://djjeffa.com/vb/vBRadio.php


Blank page means missing template. Did you install RADIO template in all your styles?

Don't rerun the installer, just replace the files themselves.

djjeffa 11-28-2004 06:24 PM

Quote:

Originally Posted by SVTOA
Blank page means missing template. Did you install RADIO template in all your styles?

Don't rerun the installer, just replace the files themselves.

yea it was working it was installed in all styles
what file has all the stations on it i will save it and reinstall then add that file over.

SVTOA 11-28-2004 06:41 PM

The stations are in your database....The only "files" this uses is the vBRadio.php file (which is never altered by the use of the hack) and your RADIO template. When you add cats and stations, these are being written to the database table "RADIO"

What did you do prior to this problem you had? What file did you edit?

djjeffa 11-28-2004 07:27 PM

Quote:

Originally Posted by SVTOA
The stations are in your database....The only "files" this uses is the vBRadio.php file (which is never altered by the use of the hack) and your RADIO template. When you add cats and stations, these are being written to the database table "RADIO"

What did you do prior to this problem you had? What file did you edit?

I really dont remeber i added a bunch of hacks
and i uploaded a fresh vbradio.php so i dont know

EDIT: I fixed i reinstaed the templates then got a db error and stoped but now it works lol

SVTOA 11-28-2004 08:13 PM

Quote:

Originally Posted by djjeffa
I really dont remeber i added a bunch of hacks
and i uploaded a fresh vbradio.php so i dont know

EDIT: I fixed i reinstaed the templates then got a db error and stoped but now it works lol


Never start a new hack without first backing up the file you are about to edit. Especially if you have installed other hacks and modified a file many times. I always create a copy of the file I am about to edit so I can easily get back to where I was if I fubar something.
Glad you got it working Jeff.

lanc3lot 11-28-2004 08:29 PM

Hello..just installed, everything went ok...some questions:)

If i ever want to uninstall it(i dont want, i just ask!), i will undo whatever i did ok? But what with the "install_vbradio.php" i run...?

Or its another way?

Also, how can i edit the word VBRadio, from my navbar(to something like Radio!)...Just go to navbar template and change the word ?

Ps

Also, i dont know if u mentioned that before..but..how it works?:D
I mean, does it load my server and so my BW or it goes to the "net radio " itself server right a way?

Ps2

Something last:P

How can i prevent, my guests play with the radio? So only my registered users, can use it?



Thanks a lot again:)

djjeffa 11-28-2004 09:00 PM

Quote:

Originally Posted by lanc3lot
Also, i dont know if u mentioned that before..but..how it works?:D
I mean, does it load my server and so my BW or it goes to the "net radio " itself server right a way?

Ps2

Something last:P

How can i prevent, my guests play with the radio? So only my registered users, can use it?



Thanks a lot again:)

id uses the bw of who ever is streaming th music
and maybe this will help
Quote:

Originally Posted by KirbyDE
X must be replace with the usergroupid.

If you want to check for several groups

HTML Code:

<if condition="is_member_of($bbuserinfo, x) or is_member_of($bbuserinfo, y) or is_member_of($bbuserinfo, z)">
your stuff here
</if>


You can also specify which groups are allowed to access radio.php (put this right after require global):

PHP Code:

if (!is_member_of($bbuserinfox) and !is_member_of($bbuserinfoy) and !is_member_of($bbuserinfoz)) {
  
print_no_permission();




lanc3lot 11-28-2004 09:07 PM

Sorry, in what pages i must change so i can make it play only for my registered users, admins, and mods - super mods ?:D

As i am mixed up and cant get it from what the djjeffa said in the above post?:D


All times are GMT. The time now is 03:59 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.01668 seconds
  • Memory Usage 1,852KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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