PDA

View Full Version : Radio and TV Player 3.8.x



thanhdia
06-10-2009, 05:35 PM
This will add a fully featured Radio and TV Streaming Player with stations library to your forum.

Features:
- Users can add / delete / edit own stations (controlled by usergroup permissions)
- Users can have a favorite stations list
- Report broken / duplicate stations links
- Totally coded in AJAX (no page reloads)
- Plays Windows Media Player, Real Player and Quicktime streams
- Shows user's favorites and last played station in profile page
- and much more...

Installation is easy. You need to upload some files, import a product, import the default stations (if you wish) and make only two manual navbar template edits, one for the popup link and another for the javascript that opens the popup. This is optional and the link can be put elsewhere, just remember to also add the javascript on the same page.

Nominate this mod for Mod of the Month! (http://www.vbulletin.org/forum/vborg_miscactions.php?do=nominate&threadid=202415&type=1)

If you like this script you can donate (note that won't make me work!)

Donations so far: U$ 137.65

This mod is "Re-usable Code", meaning you can modify and release your modified 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 by using some stations.

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

This mod took roughly two weeks to code, so it should be somewhat good and bug free

thanhdia
06-10-2009, 05:36 PM
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

===============================================
Station XMLs

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

by Dream (http://www.vbulletin.org/forum/member.php?u=406)
- Some Brazilian Radio Stations (http://www.vbulletin.org/forum/showpost.php?p=1290449&postcount=60) 07/13/2007
- Los Angeles and San Francisco radio stations (http://www.vbulletin.org/forum/showpost.php?p=1290513&postcount=63) 07/13/2007
- Mixed radio stations (.977 The Hitz Channel, 3FM Current/Classic Hits, Cyprus Mix FM, Idobi) (http://www.vbulletin.org/forum/showpost.php?p=1423331&postcount=24) 01/17/2008
- Two dance/House stations (http://www.vbulletin.org/forum/showpost.php?p=1423338&postcount=25) 01/17/2008

by MorrisMcD (http://www.vbulletin.org/forum/member.php?u=44734)
- Cincinnati Radio Stations (http://www.vbulletin.org/forum/showpost.php?p=1331879&postcount=437) 09/03/2007

by Scavenger (http://www.vbulletin.org/forum/member.php?u=111950)
- Some TV Stations (http://www.vbulletin.org/forum/showpost.php?p=1340468&postcount=513) 09/16/2007

by yoyoyoyo (http://www.vbulletin.org/forum/member.php?u=71842)
- 370 TV Stations (http://www.vbulletin.org/forum/showpost.php?p=1354885&postcount=661) 10/07/2007

by Big-K (http://www.vbulletin.org/forum/member.php?u=101207)
- 292 UK Radio Stations (http://www.vbulletin.org/forum/showpost.php?p=1380573&postcount=876) 11/11/2007

by KURTZ (http://www.vbulletin.org/forum/member.php?u=173485)
- RMC - Radio Montecarlo (Italian Radio) (http://www.vbulletin.org/forum/showpost.php?p=1420494&postcount=14) 01/13/2008
- 23 Italian Stations (http://www.vbulletin.org/forum/showpost.php?p=1436766&postcount=107) 02/05/2008

by NAZIA (http://www.vbulletin.org/forum/member.php?u=241178)
- 25 hindi and urdu radio stations (http://www.vbulletin.org/forum/showpost.php?p=1565455&postcount=335)

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

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 (http://www.vbulletin.org/forum/showpost.php?p=1292103&postcount=97)

How to enable visualization on Firefox (http://www.vbulletin.org/forum/showpost.php?p=1336729&postcount=471)

How to get streaming URLs from websites (http://www.vbulletin.org/forum/showpost.php?p=1371557&postcount=824)

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

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 (http://www.vbulletin.org/forum/showpost.php?p=1661061&postcount=473) - by redlabour

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

TO-DO List

Post ideas for improvements and they may end here.

Planned features for 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
- check if Radio and TV text on navbar is hardcoded, and make it not 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
- deleting station in favorites creates a ghost favorite entry