Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Radio and TV Add-on Details »»
Radio and TV Add-on
Version: 1.7, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 07-11-2007 Last Update: 11-04-2007 Installs: 686
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

This mod's vB 3.6.x version has been abandoned. The new vB 3.7.x version is here.

This will add a radio and TV 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
- and more...

Nominate this mod for Mod of the Month!

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

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 07-15-2007, 04:03 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I don't have a Mac to test this with. That looks like a problem with Safari and Camino though.
Okay I guess, but did you have a thought on how to delete that Los Angeles category? Even though the "delete stations" is checked, a requester box is popping up saying it can't delete it because there's 12 stations in it.
Reply With Quote
  #93  
Old 07-15-2007, 05:58 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
Thanks Jacquii
Naw - Thank YOU!
This mod is really excellent!
So much so that I even added a graphic at the top of our Radio: http://jpicforum.info/radiostations.php
I've been waiting and hoping someone would do a Radio mod for vB 3.6.x
So this is like a godsend - Really appreciate it!
Just earned a few extra monies for web design - will be sending a small donation soon!
Thanx,

Jacquii.
Reply With Quote
  #94  
Old 07-15-2007, 02:40 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack m8 installed just got 1 problem that i would like to solve if possible ... whn a guest is brousing the forum the link is active and he can listen to the stations like a registered user ..... is thre any way to hide the link from unregistered users !!!

Regards
Wengi
Reply With Quote
  #95  
Old 07-15-2007, 03:57 PM
craigr313 craigr313 is offline
 
Join Date: Oct 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wengi View Post
Very nice hack m8 installed just got 1 problem that i would like to solve if possible ... whn a guest is brousing the forum the link is active and he can listen to the stations like a registered user ..... is thre any way to hide the link from unregistered users !!!

Regards
Wengi
when you edit the nav bar,... if you add a couple of lines of code before and after you can solve this easily,....

eg... instead of adding.......

<td class="vbmenu_control"><a href="javascript penRadioStations()$session[sessionurl_q]">$vbphrase[rs_radiostations]</a></td>

you should add......

<if condition="$show['member']"><td class="vbmenu_control"><a href="javascript penRadioStations()$session[sessionurl_q]">$vbphrase[rs_radiostations]</a></td></if>

hope this helps you and others out mate!
Reply With Quote
  #96  
Old 07-15-2007, 04:00 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's one problem... the link in the Navbar doesn't work at vbadvanced.
Reply With Quote
  #97  
Old 07-15-2007, 04:06 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well done Craig as always m8 .... your a star


Quote:
Originally Posted by Invalid ID View Post
There's one problem... the link in the Navbar doesn't work at vbadvanced.
It does work for me m8 ,, in portal and in forum

Regards
Wengi
Reply With Quote
  #98  
Old 07-15-2007, 07:57 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since this is listed as an unsupported mod, I guess it's okay to post this...

Myself and at least one other person would prefer this mod to open a vb page instead of a popup window. Problem was, the navbar wasn't recognized. Here's the fix.

In the radiostations.php file find:
Code:
// ############################ 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:

Code:
$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:
Code:
<body>
Add below it:
Code:
$header
$navbar
At the bottom of this same template, right above the:
Code:
</body>
add:
Code:
$footer
If you want to use this in a drop down menu from your navbar, add this:

Code:
<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:
Code:
<if condition="$show['member']"><td class="vbmenu_control"><a href="radiostations.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radiostations]</a></td></if>
Both will open a new window/tab depending on how the users browser is set.

This works for me, if it doesn't for you, undo it and call me a moron.
Reply With Quote
  #99  
Old 07-15-2007, 08:10 PM
jaymzz jaymzz is offline
 
Join Date: Jun 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks! Very nice addition.

Clicked Installed!
Reply With Quote
  #100  
Old 07-15-2007, 09:56 PM
Southernphuk's Avatar
Southernphuk Southernphuk is offline
 
Join Date: Aug 2004
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jacquii you could be pissed all you want - wasn't meant as a slap at Dream. I like the mod, said as much, but also thought it needed more, just wasn't working out for me but yes, I could have stated it a bit clearly.

Now, that having been said, Tulsa above just supplied me with the changes that just made this something very useable on my site now as I didn't like the idea of not having the header/footer and frankly, I'm a PHP idiot and only pick up on this stuff slowly.

Thank you Tulsa for the added bits there, came in handy!

Dream, nice job.
Reply With Quote
  #101  
Old 07-15-2007, 10:36 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're most welcome. I'm glad to hear it worked for someone else.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09086 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete