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
  #522  
Old 09-17-2007, 12:53 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EvilAkuma View Post
Dream,

Fixs your upgrade. You forgot to mention to edit the radiostations.php to radioandtv.php

If you were using just the radio and decided to use now Radio and Tv Station.

Change the radiostations.php to radioandtv.php in your navbar so you won't get invalid page.
The radiostations.php and radioandtv.php are not the same file - the radioandtv.php has many new/changed lines of code - do a comparison - to simply change the name of the old radiostations.php to radioandtv.php sort of defeats the purpose of the upgrade.
Reply With Quote
  #523  
Old 09-17-2007, 03:49 PM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...after updating from old to this new version. its just broke... adding/deleting categories wont working..

Im getting this db error..

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT cat_name FROM radiostation_category
WHERE categoryid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
Error Number : 1064
Date : Monday, September 17th 2007 @ 06:46:25 PM
Script : http://www.xxxxxxxx.net/radioandtv.php
Referrer : http://www.xxxxxxxx.net/forumdisplay.php?f=141
IP Address : xxx.xxx.xxx.xxx
Username : Eros
Classname : vb_database
Reply With Quote
  #524  
Old 09-17-2007, 03:56 PM
bob12 bob12 is offline
 
Join Date: Oct 2006
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do i go to add this line <script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>

Now for the Radio and TV link, you can find:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

And after that, add

<td class="vbmenu_control"><a href="javascriptpenRadioAndTV()">$vbphrase[rs_radiostations]</a></td>

Save your navbar template.
Reply With Quote
  #525  
Old 09-17-2007, 07:09 PM
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
The radiostations.php and radioandtv.php are not the same file - the radioandtv.php has many new/changed lines of code - do a comparison - to simply change the name of the old radiostations.php to radioandtv.php sort of defeats the purpose of the upgrade.
I already know that they're not the same.

However, since some user(s) were using the radiostations.php before radioandtv.php. There codes will be like this.

Code:
<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radiostations.php', 'radiostations', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status =no,scrollbars=yes,toolbar=no');
}
//-->
</script>

Now for the Radio and TV link, you can find:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

And after that, add

<td class="vbmenu_control"><a href="javascript: OpenRadioAndTV()">$vbphrase[rs_radiostations]</a></td>
Reply With Quote
  #526  
Old 09-17-2007, 08:02 PM
attilio's Avatar
attilio attilio is offline
 
Join Date: Apr 2007
Location: Wokingham, Berkshire, UK
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
Update your radioandtv_admin.php, I updated the zip file, let me know if it works
Yep, works. Thanks!

Has anyone got a list of TV channels to import?
Reply With Quote
  #527  
Old 09-17-2007, 08:27 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Doctor Death View Post
I upgraded to 1.3 and all works fine except importing new radio stations... Here is error I get from a custom HTML error screen... (Notice that the link to admin CP is not the updated one but rather the old one.)



Did I make a mistake in upgrade or was this overlooked in upgrade?
Update your radioandtv_admin.php, it had a problem and I updated the zip file, I said as much a couple of posts back
Quote:
Originally Posted by EvilAkuma View Post
Dream,

Fixs your upgrade. You forgot to mention to edit the radiostations.php to radioandtv.php

If you were using just the radio and decided to use now Radio and Tv Station.

Change the radiostations.php to radioandtv.php in your navbar so you won't get invalid page.
the upgrade instructions are in upgrade.txt, you don't edit the radiostations.php file, you just delete it, as it says in the upgrade.txt file
Quote:
Originally Posted by soulface View Post
...after updating from old to this new version. its just broke... adding/deleting categories wont working..

Im getting this db error..
adding and deleting categories works fine for me, do you have any other info about this? did you remove anything directly from the database?
Quote:
Originally Posted by bob12 View Post
Where do i go to add this line <script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>

Now for the Radio and TV link, you can find:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

And after that, add

<td class="vbmenu_control"><a href="javascriptpenRadioAndTV()">$vbphrase[rs_radiostations]</a></td>

Save your navbar template.
you add that javascript code at the top of the navbar template, as it says in the install.txt file (but don't forget to remove the old one)
Reply With Quote
  #528  
Old 09-17-2007, 08:29 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by attilio View Post
Yep, works. Thanks!

Has anyone got a list of TV channels to import?
glad it worked for you

skavenger shared some TV stations a couple of posts back

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

they seem to be spanish and portuguese stations
Reply With Quote
  #529  
Old 09-17-2007, 08:38 PM
bob12 bob12 is offline
 
Join Date: Oct 2006
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey dream can you help me with hack please
Reply With Quote
  #530  
Old 09-17-2007, 08:40 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

help with what?

I replied your message above
Reply With Quote
  #531  
Old 09-17-2007, 08:43 PM
bob12 bob12 is offline
 
Join Date: Oct 2006
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do i find the navbar template, is it in my ftp account
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:19 AM.


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.05344 seconds
  • Memory Usage 2,329KB
  • 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
  • (1)bbcode_code
  • (9)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
  • (4)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