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)

Doctor Death 09-05-2007 09:47 PM

Quote:

Originally Posted by towermatt (Post 1333037)
I installed it, works great.

I wanted to let you guys know that you can get a vBadvanded CMPS page by using the "integration" option provided with the product.

Works like a charm--still can't figure how to get those TV stations though--I go to the link and then...can't figure it out. More research!!

TV Stations work great for me....

Fill in tv station name... perhaps create a category of Television

Paste the link for any of the following stations on this website that have a green button next to them under the stream column: http://wwitv.com/portal.htm



Example for path to paste:

http://wwitv.com/t1/b1660.asx

Dream 09-06-2007 05:21 AM

Thanks Doctor Death, I added that link to the third post of this thread. I actually found some nice streams there! :)

edit: wow some of these streams have awesome quality, stuff has evolved since I last tried this...

edit2: I'm changing the name of this mod to "Radio and TV Stations Add-on" on the next version. Should be easy enough, it's just a couple of phrases that need to be changed. I'll also add a link to open the player in a bigger window to watch TV stations.

Doctor Death 09-06-2007 09:44 AM

Quote:

Originally Posted by Dream (Post 1333359)
Thanks Doctor Death, I added that link to the third post of this thread. I actually found some nice streams there! :)

edit: wow some of these streams have awesome quality, stuff has evolved since I last tried this...

edit2: I'm changing the name of this mod to "Radio and TV Stations Add-on" on the next version. Should be easy enough, it's just a couple of phrases that need to be changed. I'll also add a link to open the player in a bigger window to watch TV stations.

I did find some streams there that dont work on this mod.... the ones with the blue buttons... not sure what kind of streams they are... Most of them are under the MOVIES category.

Great mod, looking forward to next release.

Dream 09-06-2007 10:09 AM

Try using those with blue buttons with Real Player, choose it on the drop down select when adding a station (or editing).

towermatt 09-06-2007 01:23 PM

Wonderful!! Thanks you guys.

Doctor Death 09-07-2007 09:05 AM

Quote:

Originally Posted by Dream (Post 1333475)
Try using those with blue buttons with Real Player, choose it on the drop down select when adding a station (or editing).

I did that and got a blank/black screen. Will try again tho. Thanks again, you are clearly a great programmer.

basketmen 09-07-2007 06:18 PM

i dont know why not anyone here ask this :

how to playing tons of stations in http://www.shoutcast.com with this hack???

shoutcast is using pls, any trick on this??? lets share it to make this more perfect

Dream 09-07-2007 07:48 PM

.pls are Winamp files, and Winamp doesn't have a browser plugin.

Chadi 09-07-2007 09:57 PM

How do I mass delete all default radio stations? I should have uploaded the default as the install says to do :(

Dream 09-07-2007 10:49 PM

You can delete all categories with "delete stations?" checked. Other than that you have to delete the stations one by one.

edit: you can also run a query to empty the "radiostation" table, not sure what that query would be, "truncate" something I think

basketmen 09-08-2007 03:58 AM

Hi Dream

i've success insert from shoutcast.com list to my radio stations hack


go to shoutcast.com

Click tune in yellow button the radio station you choose

it will playing in your winamp player

in your winamp playlist right click to the radio station you choose, and choose Playlist entries,
copy paste link there to your Streaming URL radio stations hack
for example http://scfire-dll-aa01.stream.aol.com:80/stream/1014




let me know if you can make this method better or another info :handshake:

vnairp11 09-08-2007 05:19 PM

I love this mod!, for the next version can you customize it to users needs, share fav with other users display user avatars in user favorites. settings for group permissions. relocation of the player and add radio station boxes. user status on what everyone is listening to, Default auto load for users favorites, user commenting etc. Integration with MGC chatbox would be a good option too.

Dream 09-08-2007 07:53 PM

Sorry, no plans to make most of those.

You can relocate the player and add station tables easily editing the template RADIOSTATIONS.

Settings for usergroup permissions are already available in the Radio Stations options.

"customize it to users needs" not sure what you mean by that.

To share stations with other users, you can send the "permalink" link to anyone you like.

User commenting was thought of, but it would just bloat the mod with useless comments on most boards.

User status on what everyone is listening to is interesting, but would need some research as I'm not sure how it could be acomplished.

Display user avatar in user favorites is a little useless in my opinion...

What could be interesting is to see any user's list of favorites, with something like radiostations.php?do=showfavorites&userid=123

Integration with MGC shoutbox, I don't see what kind of integration could be accomplished. Either way that could be a separate mod as not everyone uses both. Also, you can link stations in the chatbox using the permalink anytime.

Default station per user was thought of, but wasn't implemented because of layout problems (wouldn't know where to put a button "make this station default" in the favorites list).

Dream 09-09-2007 12:39 AM

Quote:

Originally Posted by basketmen (Post 1334666)
Hi Dream

i've success insert from shoutcast.com list to my radio stations hack


go to shoutcast.com

Click tune in yellow button the radio station you choose

it will playing in your winamp player

in your winamp playlist right click to the radio station you choose, and choose Playlist entries,
copy paste link there to your Streaming URL radio stations hack
for example http://scfire-dll-aa01.stream.aol.com:80/stream/1014




let me know if you can make this method better or another info :handshake:

I tried doing that before and it didn't work for me.

basketmen 09-09-2007 04:15 AM

Quote:

Originally Posted by Dream (Post 1335136)
I tried doing that before and it didn't work for me.

its strange if you cant insert it, maybe you choose broken station

this is two station for example that i get from shoutcast with methode above, i choose with default player, not real player

kaskusradio http://202.74.73.98:8000 http://www.kaskusradio.com/

Heart Beat Station http://85.214.37.145:8000 http://heartbeatstation.info/

Dream 09-09-2007 07:39 AM

Yes maybe I did. That's interesting maybe Winamp uses a Windows Media Player stream format...

basketmen 09-09-2007 12:38 PM

i am now still working how to embed this hack in myspace and other website

i can place the hack by using <iframe> </iframe> code , but myspace and some others site cant use iframe, so i working how to place with <embed> </embed> code


this is code to embed our video if we know the video url

Quote:

<embed name='MediaPlayer' src='YOUR MEDIA URL HERE'
type='application/x-mplayer2' width='300' height='240' ShowControls='1'
ShowStatusBar='0' autostart="1" loop="1" EnableContextMenu='0' DisplaySize='0'
pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/'>
</embed>


can you give clue what i need to place YOUR MEDIA URL HERE or some other info

Dream 09-09-2007 12:52 PM

You place the streaming URL there...

I don't use Myspace, so I don't know if you can add this hack there.

basketmen 09-09-2007 02:06 PM

ok this tutorial how to embed this radio hack in myspace and other website


open your RADIOSTATIONS_PLAYER template

in the bottom add this


Quote:

<br><br>
<span class="smallfont">insert this radio to your myspace or your website <BR>
Copy paste this code </span><br>
<textarea name="link" cols="40" onClick="select()"><embed name='MediaPlayer' src='$html_url'
type='application/x-mplayer2' width='300' height='250' ShowControls='1'
ShowStatusBar='0' autostart="1" loop="1" EnableContextMenu='0' DisplaySize='0'
pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/'>
</embed><br><strong>$html_station_name</strong><br />
Get this radio or tv online here: <A HREF="http://www.yoururl.com" target="_blank">your website </A>
</textarea>

if you have any suggest to make this more perfect let us know :handshake:

i just still dont understand the station name is never viewed in above code, i think this code is right to viewing station name <strong>$html_station_name</strong>

wickedstangs 09-09-2007 08:43 PM

Very Nice marked as installed and MOTM.. Thank You

Freesteyelz 09-10-2007 05:55 AM

For Usergroup permissions!


Quote:

Originally Posted by Konstantinos https://vborg.vbsupport.ru/external/2011/11/11.gif
thats great but i dont want unregister users to listen, how to do it as there is no banned usergroup
You could try the following:


Open RADIOSTATIONS template and at the very top add:

Code:

<if condition="is_member_of($bbuserinfo, 6,2,5,7)">

At the very bottom (below </html>) add:

Code:

<else />
Whatever content you want here. You can add vB's Standard error message or a login box or whatever.
</if>


In the example the following Usergroups with permission include: Admin, Super Mods, Mods and registered users. Any other Usergroups that were not specified in the conditional will see the custom content. Hope this helps.

Anyway, excellent mod, Dream. :up:

COBRAws 09-10-2007 07:17 AM

Quote:

Originally Posted by yahoooh (Post 1322385)
is there ability to use flash player instead of media player , there is some flash player on the net

I second this. Is there any future plans for this? I really hate WMP and flash is kind of more supported than WMP (as for OS, Browsers and such).

I could also give a list of great flash players if its needed.

Thanks!

legionofangels 09-10-2007 08:00 PM

Quote:

Originally Posted by noreturn (Post 1331127)
Firefox needed Windows Media plug in for me. I installed in manually. IE worked fine.

I'm curious as to why the visualization isn't appearing in other browsers. Namely the widely popular FF.

I have looked here:

http://forums.mozillazine.org/viewtopic.php?t=206213

At first assuming that my own browser needs the plug in for WMP. Which is debateable but unlikely since there test links worked for me.

Then looked at there plug ins page:

https://addons.mozilla.org/en-US/firefox/browse/type:7

Which doesn't list one, but instead the program. Which at this point I'm thinking its the coding or scripting of the actual Mod.

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

In short I'd like to offer my members the same things that other members have, and it doesn't really make sense as to why the visualization of the player works on IE 7 but not on FF.

Is there a bug in the Mod, or is this an issue of browser plug in or browser settings?


I have Winamp, Windows MP 11, and Real Player on my system.

Dream 09-10-2007 08:52 PM

This mod works in FF 2 for me.

legionofangels 09-10-2007 09:39 PM

Quote:

Originally Posted by Dream (Post 1336501)
This mod works in FF 2 for me.

Working and showing visualisation are two different things. It seems the only browser its designed for is IE.

I checked again after an uninstall and reinstall of FF 2.0.0.6 and it didn't show visualization.

Also the coder of my site lives in a dif time zone and he uses the same FF version and it didn't show visuals for him either.

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

What's odd is that when you open it, it will open the visual box, but the moment it loads the song or radio, it auto-closes it and shrinks it to a mini-bar with no visualization.

If it works for you, what is the plug in or script change to make it show visual in FF?

Dream 09-10-2007 09:46 PM

Oh, I think visualization wasn't implemented on the WMP plugin for the rest of the browsers that aren't IE.

legionofangels 09-10-2007 09:53 PM

Quote:

Originally Posted by Dream (Post 1336545)
Oh, I think visualization wasn't implemented on the WMP plugin for the rest of the browsers that aren't IE.

IYO, is this something we can modify in the script of the mod.

Is this something in the WMP plugin that none of us can modify?

Dream 09-10-2007 09:55 PM

Visualization option is set to "true" on the mod (you can check out RADIOSTATIONS_PLAYER template). I played some with this and couldn't make it work with FF, and decided this was a problem with the WMP plugin itself.

Freesteyelz 09-10-2007 10:16 PM

Ahh. :)

Dream 09-11-2007 01:05 AM

Quote:

Originally Posted by COBRAws (Post 1336023)
I second this. Is there any future plans for this? I really hate WMP and flash is kind of more supported than WMP (as for OS, Browsers and such).

I could also give a list of great flash players if its needed.

Thanks!

There are no plans to remove WMP, but you can change the RADIOSTATIONS_PLAYER template to use a flash player instead.

legionofangels 09-11-2007 03:54 AM

Solved!

Ok for those of you who use Firefox 2.0.0.6 or anything under that, and have been unable to see the visualizations off of this mod, I am here to tell you how. Whether you do it or not, I don't care.

Dream is incorrect that it has to do with the WMP plug in, but it could be that on other browsers, or perhaps FF dependant upon any existing add-ons or plug ins you have. Not discrediting Dream just stating fact here, and on both of my pc's it was the same issue, not the WMP plug in but actually Active X.

First of all I highly recommend reading this thread and choosing your method of troubleshooting this:

http://forums.mozillazine.org/viewtopic.php?t=206213

I started off with the approach of "WMP Plug in", did not work, did not help anything.

Firefox Plug In for Media Wrap was in about my 2nd or 3rd hour of search and that improved it, but still did not show the visual. It improved it I guess in a sense that it added another advertisement line in the WMP display on this Radio Add On.

I told my coder and he said did you look at the Active X option. I was like, "no". Went to a test page and that was exactly it. It wasn't showing embedded WMP audio or video. What's odd is that the thing would always play the audio and in some cases it still should as the browser can pick up that information easy. But it wasn't picking up video.

Another damn hour later and I finally found the plug in. However it claims not to use it on other browsers, as it might only work on 1.5, the latest version I found which is a test version. However it also states in that long post on Mozilla Line that this plug in ONLY unlocks Active X to play audio/video for WMP. It will let nothing else in.

So I gave it a shot thinking, it probably won't work but what the heck I want to see visuals and use FF! So I dl'd it, and it completely works perfectly. No security issues so far at all either.

Here is the link to the webpage that has the plug in on it, but there are so many links you might not find it easily:

http://www.iol.ie/~locka/mozilla/plugin.htm

If you can't find it, see attached image or follow attached link for image whichever this post allows, because I cannot direct link it as it's a javascripty

http://img.photobucket.com/albums/v3..._666/busy1.gif

DL that, then close firefox and re-open it. It will work after that.

Thus concludes our tutorial.

Proof shown in image below:

http://smg.photobucket.com/albums/v3...rent=busy2.gif

Dream 09-11-2007 05:15 AM

Cool, thanks for the info.

However I suspect this makes use of <object> instead of <embed>, thus using a different plugin, the one that has visualization, that backs my initial assessment.

Oh and please click "Mark as Installed" if you want to receive updates of this mod.

legionofangels 09-11-2007 05:41 AM

Quote:

Originally Posted by Dream (Post 1336762)
Cool, thanks for the info.

However I suspect this makes use of <object> instead of <embed>, thus using a different plugin, the one that has visualization, that backs my initial assessment.

Oh and please click "Mark as Installed" if you want to receive updates of this mod.

While I won't correct you, I'd guess you're referring to your own code. If that is the case, I have no idea. If you're referring to the mozilla plug in, I still have no idea as I've had no time to examine it closely. You would know more than me. But it is not the WMP plug in, I did all of those options first in that Mozilla line thread, and it would not work in FF.

I did as you stated, and I need to do that for the 3 other mods our website has dl'd.

Thanks Dream for a great hack, and I'm glad it can work for as many browsers as possible.

Legion of Angels

legionofangels 09-11-2007 05:58 AM

Another question while were on the subject.

Where is the ID number of the Radio Stations?

You ask in the Admin CP of the Add-On to state a station ID number to auto-start, if you leave blank it will be random. Where do we get the ID numbers?

Dream 09-11-2007 06:14 AM

If you mouse over a station name link, in the status bar you'll see the station ID. Something like openStation(XX).

legionofangels 09-12-2007 01:00 AM

I think the next modification down the road should allow users to select there own favorite station to auto start up upon loading the Radio Stations Add On.

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

Secondly taking me back to a noob here, I cannot seem to figure out how to add certain Internet Radio Stations that don't obviously show the .xml file or what not, for example take a look at this website:

http://www.pandora.com/backstage

Now they have internet radio stations but i cannot seem to find the proper files to add the channels. I think a tut for "where to look for stations" would be great. I could even make it in a post here with PS, but I need to know myself, lol.

Dream 09-12-2007 04:05 AM

You need to check the HTML code of the page you want to get the streaming URL from. You need some understanding of coding to do this. It's usually inside <object> and/or <embed> tags.

There are "where to look for stations" links in the third post of this thread.

Setting favorites as default stations was planned, but wasn't implemented because I couldn't decide where to place buttons for it.

LCN2007 09-12-2007 06:29 AM

Is this the best way i can intergrate the Radio stations link in to CMPS?

<td class="vbmenu_control"><a href="/forum/radiostations.php" target="blank">LCN Radio</a></td>

Dream 09-12-2007 08:56 PM

Not sure as I don't use vBa. Maybe someone else can help you.

towermatt 09-12-2007 09:30 PM

I basically "wrapped" the radiostations.php with the CMPS.

Its an integration function that comes with the vBadvanced.


All times are GMT. The time now is 08:40 PM.

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.02152 seconds
  • Memory Usage 1,854KB
  • 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
  • (2)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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