Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
pranav's Avatar
pranav : Newbie +
pranav is on a distinguished road
offline Joined: Sep 2007 Posts: 6 Thanked: 1
  #1  
Thread Starter Unread 09-30-07
[vB 3.6.8] Radio and TV Stations Add-on v1.3

This will let your community build and maintain a Radio and TV Stations library.

Features:
- Users can add / delete / edit own stations
- Favorite stations
- Report broken / duplicate stations
- Full AJAX
- Plays Windows Media Player and Real Player streams
- and more...


More Info:
http://www.vbulletin.org/forum/showthread.php?t=152037&page=2

Attached Files Click the thanks button to view this attachment.

Last edited by pranav; 09-30-07 at 04:19 PM.
lermontov's Avatar
lermontov : Newbie +
lermontov is on a distinguished road
offline Joined: Oct 2007 Location: slo Posts: 10 Thanked: 2
  #2  
Unread 10-30-07
can somebody copy the code from this post - vBulletin.org Forum - View Single Post - Radio and TV Add-on

thanks
Daz's Avatar
Daz : To right I fecking bite
Daz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond repute
offline Joined: Sep 2007 Posts: 455 Thanked: 166
  #3  
Unread 10-30-07
In the radiostations.php file find:

// ############################ CONFIG VARS ##############################
$admin_groups rs_do_array($vbulletin->options['radiostations_admins']);
$full_users rs_do_array($vbulletin->options['radiostations_full_users']);
$banned_users rs_do_array($vbulletin->options['radiostations_banned_users']);
$half_users rs_do_array($vbulletin->options['radiostations_half_users']);
$default_station $vbulletin->options['radiostations_default_station']; 
Just below it add:


$navbits = array();
$navbits[$parent] = 'RADIOSTATIONS';
$navbits construct_navbits($navbits);
eval(
'$navbar = "' fetch_template('navbar') . '";');
$navbar process_replacement_vars($navbar);
eval(
'$headinclude = "' fetch_template('headinclude') . '";');
$headinclude process_replacement_vars($headinclude);
eval(
'$footer = "' fetch_template('footer') . '";');
$footer process_replacement_vars($footer); 
In the RADIOSTATIONS template find:

<body
Add below it:

$header
$navbar 
At the bottom of this same template, right above the:


</body
add:


$footer 
If you want to use this in a drop down menu from your navbar, add this:


<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="radiostations.php?$session[sessionurl_q]target="_blank">$vbphrase[rs_radiostations]</a></td></tr></if> 
If you prefer to have it as it's own menu item in your navbar, add this:


<if condition="$show['member']"><td class="vbmenu_control"><a href="radiostations.php?$session[sessionurl_q]target="_blank">$vbphrase[rs_radiostations]</a></td></if> 

Also it has been updated to version 1.5
Attached Files Click the thanks button to view this attachment.
pranav's Avatar
pranav : Newbie +
pranav is on a distinguished road
offline Joined: Sep 2007 Posts: 6 Thanked: 1
  #4  
Thread Starter Unread 10-31-07
can anyone please give me TV Stations also

it is mentioned that we need to add TV stations manually !

so plzz gv me TV stations list also plzz

i really need it !

thank u !

lermontov's Avatar
lermontov : Newbie +
lermontov is on a distinguished road
offline Joined: Oct 2007 Location: slo Posts: 10 Thanked: 2
  #5  
Unread 10-31-07
FreeeTV.com

tv stream - Google Search
BlackLizard's Avatar
BlackLizard : Newbie +
BlackLizard is on a distinguished road
offline Joined: Nov 2007 Posts: 18 Thanked: 6
  #6  
Unread 11-01-07
thanks you for posting.
Daz's Avatar
Daz : To right I fecking bite
Daz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond repute
offline Joined: Sep 2007 Posts: 455 Thanked: 166
  #7  
Unread 11-06-07
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 table names, it's a little frankenstein 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
Attached Files Click the thanks button to view this attachment.
Quote
The Following User Says Thank You to Daz For This Useful Post:
klops's Avatar
klops : Newbie +
klops is on a distinguished road
offline Joined: Oct 2007 Posts: 8 Thanked: 1
  #8  
Unread 11-07-07
im search german translate an radio&tv links.xml
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
addon, v13, stations, add-on, v1.3, 3.6.8], radio, [vb
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021