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
  #982  
Old 12-14-2007, 11:48 PM
Naldo41 Naldo41 is offline
 
Join Date: Sep 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The product installs to my vportal user panel.

And as such the user permissions does not inject correctly.

I have it all installed just need to add the permissions somehow?

Thanks.
Reply With Quote
  #983  
Old 12-15-2007, 12:28 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I don't use vportal, so I can't help you.
Reply With Quote
  #984  
Old 12-16-2007, 04:16 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm absolutely loving this mod...as I am most of your submissions...including your Dream Stats.

Anyway...I didn't feel like going through 60+ pages to find an answer to the problem I was facing...

I followed the directions to the tee and when I went to click the link on the navbar for the Radio and TV link...it resulted in an error on the page.

Apparently the link opens a javascript popup, but it wasn't working...it always came back with an "error on page" message.

To fix the issue...I had to edit the navbar link to point to the radioandtv.php file...opening it in a separate window. This was the only way I could fix it...

Like I said...I followed the directions to the tee...using the 1.7 version...uploaded files...installed product...added stations...set User Group permissions...edited options. I even re-installed allowing overwrite...but it just wouldn't work with the javascript popup.

I have it working...but was there something I missed?

Thanks, in advance, Dream...I appreciate it...
Reply With Quote
  #985  
Old 12-16-2007, 06:36 PM
Chester87 Chester87 is offline
 
Join Date: Apr 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an possibility that instead of opening in a new window. It will be inside the forum itself. So you keep the same design, etc, etc. And only the banner and the navbar will stay above it?
Reply With Quote
  #986  
Old 12-16-2007, 08:17 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
I put a link for it in the third post of this thread, so you don't need to look for it all the time.
The link in the third post regarding adding header and footer does not work properly.

If you have links in your navbar with drop down links like "Search" and "Quick Links"...these drop-down features don't work. Also...some of the links in the navbar, if clicked on, do not work.

You may want to have someone look into that. I only tried using the information you provided in another skin I'm using. Although the header and footer appeared...the drop down links don't work.

It may function properly in the default forum...didn't try it...since it didn't work for the additional skin. So if it doesn't work there...I can almost guarantee it won't work for the default skin.

The provided code may conflict with other mods I have installed...I don't know...

Just thought I'd give you a heads up.

You may want to try incorporating this mod into a user's existing forum...instead of having it open in another window. You already have the option to open the player in another window...making it larger, right? If you close the parent window of the Radio, the larger player is already connected to the media and playing. There it will remain until the user closes it.

Getting the header and footer incorporated into this mod without having to do any additional edits would be a good plus for this mod.

Just something to think about...
Reply With Quote
  #987  
Old 12-17-2007, 11:06 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
I'm absolutely loving this mod...as I am most of your submissions...including your Dream Stats.

Anyway...I didn't feel like going through 60+ pages to find an answer to the problem I was facing...

I followed the directions to the tee and when I went to click the link on the navbar for the Radio and TV link...it resulted in an error on the page.

Apparently the link opens a javascript popup, but it wasn't working...it always came back with an "error on page" message.

To fix the issue...I had to edit the navbar link to point to the radioandtv.php file...opening it in a separate window. This was the only way I could fix it...

Like I said...I followed the directions to the tee...using the 1.7 version...uploaded files...installed product...added stations...set User Group permissions...edited options. I even re-installed allowing overwrite...but it just wouldn't work with the javascript popup.

I have it working...but was there something I missed?

Thanks, in advance, Dream...I appreciate it...
Do you use vbAdvanced or other portal software? If so, you would need to change the link to radioandtv.php to an absolute link.

Actually, this is true to the other guy that was having porblems with vBPortal too, sorry I missed that.
Reply With Quote
  #988  
Old 12-17-2007, 11:06 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chester87 View Post
Is there an possibility that instead of opening in a new window. It will be inside the forum itself. So you keep the same design, etc, etc. And only the banner and the navbar will stay above it?
In the third post of this thread there's a link to instructions on how to add your navbar/footer/etc to the add-on page.
Reply With Quote
  #989  
Old 12-17-2007, 11:07 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
The link in the third post regarding adding header and footer does not work properly.

If you have links in your navbar with drop down links like "Search" and "Quick Links"...these drop-down features don't work. Also...some of the links in the navbar, if clicked on, do not work.

You may want to have someone look into that. I only tried using the information you provided in another skin I'm using. Although the header and footer appeared...the drop down links don't work.

It may function properly in the default forum...didn't try it...since it didn't work for the additional skin. So if it doesn't work there...I can almost guarantee it won't work for the default skin.

The provided code may conflict with other mods I have installed...I don't know...

Just thought I'd give you a heads up.

You may want to try incorporating this mod into a user's existing forum...instead of having it open in another window. You already have the option to open the player in another window...making it larger, right? If you close the parent window of the Radio, the larger player is already connected to the media and playing. There it will remain until the user closes it.

Getting the header and footer incorporated into this mod without having to do any additional edits would be a good plus for this mod.

Just something to think about...
Sorry I wasn't the one that made those instructions. This mod was made from ground up to open in a separate window, and it works just fine that way, I cannot support modifications to the mod, sorry.
Reply With Quote
  #990  
Old 12-17-2007, 11:25 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
Do you use vbAdvanced or other portal software? If so, you would need to change the link to radioandtv.php to an absolute link.

Actually, this is true to the other guy that was having porblems with vBPortal too, sorry I missed that.

Nope...no CMS installed.

Actually, using the info you provide for creating a link on the navbar, crates a javascript pop-up link. So I just went in and changed that vbmenu_control to point to the radioandtv.php file and had it open in a separate window. Works fine, now.
Reply With Quote
  #991  
Old 12-17-2007, 11:32 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
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.
Tulsa...

I'm running 3.6.8 PL2. Here's the problem...

I used the above to create header and footer for the Radio and TV mod. The code you provided works, but with a glitch.

If you have a navbar with drop-down menus...like Search and Quick Links...these drop-down menus will not function with the code you provided. Have you tested this with the latest stable version of vbulletin?

Would like to get this to work properly so I could incorporate it into the radioandtv.php file. By the way, I'm using the latest version (1.7) of this mod.

Hope to hear back from you soon...
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 03:27 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.05098 seconds
  • Memory Usage 2,341KB
  • 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
  • (6)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