vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Radio and TV Player 4.x (https://vborg.vbsupport.ru/showthread.php?t=255252)

weave 01-19-2012 06:17 PM

Installed on a 4.1.10 test forum (default) and seems to work fine with only one issue seen so far (other than some dead stations).

In the ACP under "Clean Ratings" I am getting SQL errors.

Warning: mysqli_query() [function.mysqli-query]: (42000/1064): 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 ') GROUP BY r.ratingid HAVING candomagic > 0' at line 6 in [path]/includes/class_core.php on line 1396

PHP Code:

Database error in vBulletin 4.1.10:

Invalid SQL:
SELECT *, s.nameu.username, !(BIT_OR(ug.radiotvpermissions) & 64) as candomagic 
                FROM radiostation_rating 
AS r
                LEFT JOIN user 
AS u ON (u.userid r.userid)
                
LEFT JOIN usergroup AS ug ON (find_in_set(ug.usergroupidu.membergroupids) OR (ug.usergroupid u.usergroupid))
                
LEFT JOIN radiostation AS s ON (s.stationid r.stationid)
                
WHERE r.userid IN ()
                
GROUP BY r.ratingid
                HAVING candomagic 
0;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near ')
                GROUP BY r.ratingid
                HAVING candomagic > 0' 
at line 6
Error Number  
1064
Request Date  
ThursdayJanuary 19th 2012 01:15:22 PM
Error Date    
ThursdayJanuary 19th 2012 01:15:22 PM
Script        
: [url]http://www.xxxxxxx.com/test/admincp/radioandtv_cleanup.php?do=cleanratings[/url]
Referrer      : [url]http://www.xxxxxxx.com/test/admincp/radioandtv_cleanup.php?do=cleanup[/url]
IP Address    127.0.0.1
Username      
USERNAME
Classname     
vB_Database_MySQLi
MySQL Version 
5.1.56 


doctorsexy 01-19-2012 08:07 PM

Loads of radio stations here http://www.internet-radio.com/stations/80s/

Andreas [S] 02-15-2012 01:09 PM

I get a permission error when I try to go manualy to the url. Can you pls help me?

Steviie 02-16-2012 07:07 PM

Can someone link me to a board that has this working? I am not sure how to visualize this. Thanks

Mustiii 02-16-2012 09:18 PM

Thanks for the mod. Anyone has a idea how to add a Radio and TV Block to vBadvanced with this mod?

cdnbacon 03-03-2012 09:43 AM

Hey, everything installed great but when I go to the radio I have two media player windows overlapped that play at the same time. It's not a big deal since users can merely pause/stop one but I would appreciate any help on this issue.

What I see:
https://vborg.vbsupport.ru/external/2012/03/34.jpg

Thanks, I'm running 4.1.10.

EDIT: Fixed it, just had to go into the radiostations templates and take out the duplicate player code in my windows media player section. If anyone else has this problem, it's easy as pie to fix. Great vb plugin!

Chadi 05-26-2012 09:43 PM

1 Attachment(s)
Anyone know how to make the window fit everything inside without the need for scrollbars?

Also, make the style more fluid to the site style, the headers/fonts, etc seem so off.

GandM 08-14-2012 07:22 PM

Does anyone know if this mod will work for 4.2.0?

angeljs 08-16-2012 04:22 PM

This works well on 4.2.0, but the install instructions are obviously for vb3. How can I add the navbar popup link with the new vB4 navigation system?

Edit: Figured it out - I simply added a menu link under the 'Home' tab, with the link being:
Code:

javascript:openRadioAndTV()
As I had already pasted the required javascript code at the top of the navbar template, this works like a dream! :)

angeljs 08-16-2012 04:44 PM

Quote:

Originally Posted by mobe00 (Post 2135495)
here is an xml file u can import with many radio stations and some television channels..many of the radiostations is from my home country, so just delete the ones you dont like :)

Most of the radio stations that came with this mod worked here..just to let you know :)

Thank you for this, working great!


All times are GMT. The time now is 04:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete