Version: 1.7, by Dream
Developer Last Online: Sep 2010
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...
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.
...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
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>
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>
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
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
...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
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>