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 Player (https://vborg.vbsupport.ru/showthread.php?t=167567)

Dream 01-11-2008 10:00 PM

Radio and TV Player
 
This mod won't be updated for vB 3.7.x, the new mod thread is on the 3.8.x forum. Mark that thread as installed if you want to receive updates for the 3.8.x version.

This will add a fully featured radio and TV streaming player and stations library to your forum.

Features:
- Users can add / delete / edit own stations
- Favorite stations
- Report broken / duplicate stations
- Full AJAX
- Plays Windows Media Player, Real Player and Quicktime streams
- Shows user's favorites and last played station in profile
- and more...

Nominate this mod for Mod of the Month!

If you like this script don't forget to donate.

Donations so far: U$ 137.65

This mod is "Re-usable Code", meaning you can modify it and release your own version.

You are responsible for the streams you add to your website. The mod author doesn't take responsibility for possible copyright infringements in some countries and with some stations.

Arabic and Chinese don't work with Ajax, so this mod won't work, sorry.

Dream 01-12-2008 05:04 AM

<font size="1">Version History

Version 1.0
- public release

Version 1.1
- changed order on setting usergroup permissions, requirements are now checked in this order: Half User > Full User > Admin > Banned User, checks for primary and secondary usergroups and userids for banned users
- fixed style issue with the station pages
- fixed duplicate station not being reported ("reporttype" gpc var wasn't being cleaned)
- fixed member number not showing on "reported by" url (was using $user[userid] instead $report[userid])
- fixed station not being editable/deletable by user who added it ($vbulletin var wasn't on global in function rs_construct_station_options() and rs_check_ownership() )

Version 1.2
- fixed bug with deleted stations reports showing (reports are now removed when the station is removed)
- added template group (added plugin "Radio Stations - Add Template Group")
- changed text input classes from smallfont to bginput, with style="font-size: 11px"
- added Real Player support
- added expand/collapse arrows to tables

Version 1.3
- made hardcoded option "Statistics Entries" into option in acp
- user name markups now consider displaygroupid
- station list breadcrumbs now shows "Category: All" instead "All Categories"
- mod name changed to "Radio and TV Add-on" (changed a bunch of phrases, changed radiostations.php to radioandtv.php, edited plugins, changed navbar code, edited javascript code, won't change phrases names though nor product ID nor db table names, it's a little wierd but it's ok)
- made hardcoded option "Stations Per Page" into option in acp
- changed look of "currently playing" station info and options
- created a popup window to view TV stations in bigger player windows

Version 1.4
- moved group permissions to vb's permission system
- added "can view add-on" permission
- added window popup that shows who rated each station

Version 1.5
- added Category column to station lists

Version 1.6
- added clean up script to admin options, to clean bad ratings and stations
- added "Options" link in the acp menu

Version 1.7
- added Quicktime support

Version 1.8 beta
- changed all ajax code for compatibility to vB 3.7

Version 1.9
- added option to show favorites and last station played in the users profiles

Version 2.0
- changed the profile info slightly
</font>

Dream 01-12-2008 05:04 AM

More Stations

Share your radio and TV stations in this thread. The XMLs you post will be put here.

by Dream
- Some Brazilian Radio Stations 07/13/2007
- Los Angeles and San Francisco radio stations 07/13/2007
- Mixed radio stations (.977 The Hitz Channel, 3FM Current/Classic Hits, Cyprus Mix FM, Idobi) 01/17/2008
- Two dance/House stations 01/17/2008

by MorrisMcD
- Cincinnati Radio Stations 09/03/2007

by Scavenger
- Some TV Stations 09/16/2007

by yoyoyoyo
- 370 TV Stations 10/07/2007

by Big-K
- 292 UK Radio Stations 11/11/2007

by KURTZ
- RMC - Radio Montecarlo (Italian Radio) 01/13/2008
- 23 Italian Stations 02/05/2008

by NAZIA
- 25 hindi and urdu radio stations

=======================================

Radio Stations Directories and Listings

http://www.radio-locator.com/
http://www.mikesradioworld.com/

=======================================

TV Stations Directories and Listings

http://wwitv.com/portal.htm
http://www.medinalia.com/
http://www.channelchooser.com/
http://www.teleaire.tv/
http://www.tv-links.co.uk/

=======================================

HINTS and Troubleshooting and FAQ and Extra Info

How to add header and footer to the add-on page

How to enable visualization on Firefox

How to get streaming URLs from websites

=======================================

Translations

Post your translations on this thread and they will be listed here. Don't export your whole language, just the Radio and TV product phrases obviously.

German Translation for version 2.0 - by redlabour

=======================================

Post ideas for improvements and they may end up here.

Planned features for next version 2.1 (note that the features are my wish list, and may not be feasible so they are not final)

- on/off switch for each station info
- [s]check if Radio and TV text on navbar is hardcoded, and make it not[/s] it's not hardcoded, it's the phrase "rs_radiostations"
- make a system where admins can add they own players (don't forget support for flash, embed and object, just let them add the whole code with replacement variables)
- hide profile info if no radio has been listened or no favorites
- put javascript in a .js

kylek 01-12-2008 07:45 AM

Thank you for getting this out for 3.7.0

Freesteyelz 01-12-2008 08:05 AM

I haven't tested it thoroughly but so far it's working like a charm. :)

Thank you, Dream.

Playa82 01-12-2008 08:09 AM

works great, thank you

projectego 01-12-2008 11:10 AM

Thank you very much! Great hack. :)

dodgeboard.com 01-12-2008 12:52 PM

Awesome Dream - Thanks for this. You ROCK!!

EDIT: Works great on my vb 3.7 b2

INSTALLED, NOMINATED, & DONATED 25USD

chriswatson 01-12-2008 02:48 PM

Great mod, thanks for sharing working great at http://www.satellites.co.uk/satellite/radioandtv.php

yahoooh 01-12-2008 04:06 PM

i still wait subcategory feature which should be added for this great addon

soletrader 01-13-2008 01:00 AM

is there anyway to include your forum header in the radioandtv.php page?

Dream 01-13-2008 01:02 AM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1292103&postcount=97" target="_blank">https://vborg.vbsupport.ru/showp...3&postcount=97</a>

soletrader 01-13-2008 01:58 AM

edit: fixed

KURTZ 01-13-2008 03:46 AM

Dream you're DA MAN! :D

Installed and Nominated ;)

edit: RMC - Radio Montecarlo (Italian Radio) in the attachment ;)

Dream 01-14-2008 12:10 AM

What vB version are you using?

KURTZ 01-14-2008 11:05 AM

Quote:

Originally Posted by Dream (Post 1420935)
What vB version are you using?

3.7.0B3:cool:

Dream 01-14-2008 12:00 PM

Thanks Kurtz, I asked that to a guy that was having problems but he deleted his message :P

cosy 01-14-2008 03:26 PM

thx :D

megamoose 01-14-2008 09:58 PM

If I try using this (only tried it in FireFox) if I try to change song FireFox comes up with an error and crashes :(

http://www.zilburt.com/radioandtv.php

:( has this happened to anyone else, and do you know how to fix it?

Mark

Dream 01-15-2008 12:49 AM

Here your radio is working normal. I had problems with firefox crashing on firefox 1.5, but since I upgraded to 2 it's been working nice.

bigtime 01-15-2008 05:08 AM

Very cool! Thank you very much for your good work!

Tim

asj 01-15-2008 01:19 PM

Arab television stations !!
http://www.arabdeaf.net/vb/radioandtv.php

Sofia 01-16-2008 08:46 AM

Thanks a lot Dream :) nice hack

Dream 01-17-2008 08:24 PM

Here are some good mixed radio stations (mixed in the sense they play mixed styles)

.977 The Hitz Channel
3FM Current/Classic Hits
Cyprus Mix FM
Idobi

Dream 01-17-2008 08:31 PM

Two dance/house stations

KNGY - Energy 92.7 FM
Zero - FM 91.7

Dream 01-17-2008 11:09 PM

I hope vB 4 takes 10 years to make, I don't wanna recode this mod.

ShawneyJ 01-18-2008 12:26 PM

Quote:

Originally Posted by megamoose (Post 1421535)
If I try using this (only tried it in FireFox) if I try to change song FireFox comes up with an error and crashes :(

http://www.zilburt.com/radioandtv.php

:( has this happened to anyone else, and do you know how to fix it?

Mark

Quote:

Originally Posted by Dream (Post 1421626)
Here your radio is working normal. I had problems with firefox crashing on firefox 1.5, but since I upgraded to 2 it's been working nice.

hi,

everytime i go to change a station i get a pop up saying "this plug in has performed an illegal operation and you are strongly advised to restart firefox"

and yes i am running firefox 2

Dream 01-18-2008 01:41 PM

Are you on WinXP or Vista? See if using this plugin for FF helps


https://vborg.vbsupport.ru/showpost....&postcount=471

KURTZ 01-18-2008 04:39 PM

Quote:

Originally Posted by Dream (Post 1423410)
I hope vB 4 takes 10 years to make, I don't wanna recode this mod.

LOL

Mesohu 01-19-2008 08:28 PM

It's okay now :)
Very good job !

menababu 01-19-2008 11:37 PM

Thanks for great mod.works great on vb 3.68

Paxion 01-20-2008 04:02 AM

i'm having issues loading local stations and changing stations in 3.6.8, i'm using 2.0 FF and IE 7. both have the exact same problem. I'm also on a vista machine. I'm going to tempt from an XP machine in a min but i don't think thats the problem. I click add and it freezes. If i load the default statoins and select a different besides what opens, it also freezes. I want to say it's a browser issue but i'm not sure why or how.

Paxion 01-20-2008 04:17 AM

I get this error in IE 7

Line: 425
Char: 3
Error: 'YAHOO' is undefined
code: 0
URL: http:mysite/Forums/radioandtv.php

the URL i'm using is a local rock stations.

http://38.116.132.50:80/KIBZ?MSWMExt=.asf

Dream 01-20-2008 04:22 AM

this mod is for 3.6

https://vborg.vbsupport.ru/showthread.php?t=152037

Paxion 01-20-2008 04:29 AM

Wow.. thats great. Thank you Dream. I"ll try it out right now.

RvG2 01-20-2008 04:39 AM

Quote:

Originally Posted by Dream (Post 1423410)
I hope vB 4 takes 10 years to make, I don't wanna recode this mod.

LOL i don't wanna re do everything . . . :D

Mr. Hoddz 01-20-2008 12:02 PM

I added the 240 UK stations (I know it's not to do with the Dream guy) but it doesn't seem to work. I get my forum URL before the URL of the media stream (got that from right click - properties).

Looked at the XML file and can't see as anything should be causing this. Any ideas?


UPDATE 1

I think it is because of the line breaks in the file, I will edit this save and upload as an attachement. If Dream wants to update it then fair play to him.
Wonder if anyone else has had this error or maybe it's just me?


UPDATE 2

I have changed the file and everything seems to be working now. File has been attached and hopefully Dream will update the link to this attachment.
Hope everyone finds this helpful.

Dream 01-20-2008 01:56 PM

Thanks, I personally didn't use that XML, but I'll wait someone else's confirmation this works before changing the link. The other XML had 100 downloads and no one complained about it.

ShawneyJ 01-21-2008 01:20 AM

Quote:

Originally Posted by Dream (Post 1423781)
Are you on WinXP or Vista? See if using this plugin for FF helps


https://vborg.vbsupport.ru/showpost....&postcount=471

WinXP, and why should i need to download that when the radio tv hack worked fine on 3.6.8?
i would hate to need to ask all my members using firefox 2 to download this.

ShawneyJ 01-21-2008 01:37 AM

Quote:

Originally Posted by Mr. Hoddz (Post 1425067)
I added the 240 UK stations (I know it's not to do with the Dream guy) but it doesn't seem to work. I get my forum URL before the URL of the media stream (got that from right click - properties).

Looked at the XML file and can't see as anything should be causing this. Any ideas?


UPDATE 1

I think it is because of the line breaks in the file, I will edit this save and upload as an attachement. If Dream wants to update it then fair play to him.
Wonder if anyone else has had this error or maybe it's just me?


UPDATE 2

I have changed the file and everything seems to be working now. File has been attached and hopefully Dream will update the link to this attachment.
Hope everyone finds this helpful.

works great for IE thanks :)


All times are GMT. The time now is 07:56 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.01999 seconds
  • Memory Usage 1,831KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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