vb.org Archive

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

nine5flareside 01-17-2010 02:55 AM

Great Mod, Ive had it on my site running strong for 6 months.
Suddently today I get the following message below:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/init.php(304) : eval()'d code on line 613

What could this mean. I am not technical at all! Obviously I
guess there is an error on the 613th line of the script?? But
what file should I be looking at to correct this issue?

Thanks for any help at all guys!

Dream 01-17-2010 03:06 AM

nine, did you upgrade to vb4?

Dream 01-17-2010 03:08 AM

Quote:

Originally Posted by MagicThemeParks (Post 1957711)
Sounds good Dream.

By the way, where do I edit to add some Google Adsense within the 'popup window'?

I looked through this thread for anything regarding Adsense, but didn't find it. I'm off to look through your old versions of this mod to see if anyone already suggested it :up:

Edited: Just found this mod here for some suggestions on Adsense placement .... https://vborg.vbsupport.ru/showthread.php?t=171412

Edited 2: Is it true that we cannot have the popup window working from the vBadvanced page?

I heard vbcms has some issues with this... but it's corrected just by editing the popup javascript to a full url, instead the "/radioandtv.php" or something as far as I remember.

on the new version I'm planning, it will be a normal tab instead of a popup so no more fighting it.

edit: and I think someone released a mod to add Google Adsense to the popup window.

MagicThemeParks 01-17-2010 11:33 AM

Quote:

Originally Posted by Dream (Post 1957844)
I heard vbcms has some issues with this... but it's corrected just by editing the popup javascript to a full url, instead the "/radioandtv.php" or something as far as I remember.

on the new version I'm planning, it will be a normal tab instead of a popup so no more fighting it.

edit: and I think someone released a mod to add Google Adsense to the popup window.

If I change it to the full url instead of the popup javascript, then I lose the ability to continue on the site while listening to the radio player. It opens the page and not the popup. I have to find a way around that.

I'm not updating to 4.0, but will the 'tab' be available to the 3.8.4 crowd? :)

And yes, I found that mod and helped with adding the ads where I wanted them. Thanks.

MagicThemeParks 01-17-2010 12:44 PM

Dream, just noticed that the ShoutCast mod that Zachariah put together has the same popup option, but has an option to run it on vBadvanced vbcms. Can we adopt the same instructions to somehow get it work for your great mod?

Here's the mod: https://vborg.vbsupport.ru/showthread.php?p=1432723

And here are the instructions:

Quote:

How do I get this to also work on VbAdvanced?

If you use VbAdvanced, the variables used will result in the following modification not working unless you perform the following steps. Note you likely need vBa v3.0 to get it to work!

1)
Go to Plugin Manager; "Admin CP > Plugins & Products > Plugin Manager"

Find: "Shoutcast Status Full - Main"

Edit plugin & Change the "Hook Location" to "parse_templates"

2)
Save Plugin

3)
Go to vBa options; "Admin CP > vBa CMPS > Default Settings > Main Options"

Now find: "Portal Output Global Variables"

Copy the following into the box exactly in the format below:

Code:

streamstatus
servertitle
bitrate
currentlisteners
maxlisteners

4)
Save Settings

Complete!
Would something like this work for us?

nine5flareside 01-17-2010 01:04 PM

No sir, no VB4 for me... most of my site wouldnt work with VB4. Im running the last version and updates of VB4.

Dream 01-17-2010 05:07 PM

Quote:

Originally Posted by MagicThemeParks (Post 1958083)
If I change it to the full url instead of the popup javascript, then I lose the ability to continue on the site while listening to the radio player. It opens the page and not the popup. I have to find a way around that.

I'm not updating to 4.0, but will the 'tab' be available to the 3.8.4 crowd? :)

And yes, I found that mod and helped with adding the ads where I wanted them. Thanks.

dont remove the javascript, just change the url on it.

sorry, it's likely the 3.8 version won't be updated.

Dream 01-17-2010 05:08 PM

Quote:

Originally Posted by nine5flareside (Post 1958149)
No sir, no VB4 for me... most of my site wouldnt work with VB4. Im running the last version and updates of VB4.

updates of v3 you mean? are you running vbseo?

MagicThemeParks 01-17-2010 10:28 PM

Quote:

Originally Posted by Dream (Post 1958379)
dont remove the javascript, just change the url on it..

I'm a little confused. Hopefully you can straighten it out for me.

I've got this....

Quote:

href="javascript : openRadioAndTV()"
...it didn't change when I changed it to this....

Quote:

href="http://www.legendaryrockers.com/forums/javascript : openRadioAndTV()" OR href="http://www.legendaryrockers.com/forums/radioandtv.php"
....how am I supposed to change it?

Dream 01-18-2010 12:04 AM

You must have made (can't remember details now) a template edit on navbar, to add the funcion openRadioAndTV() which has the link to the php file. Edit the navbar and change that.

MagicThemeParks 01-18-2010 12:11 AM

Quote:

Originally Posted by Dream (Post 1958752)
You must have made (can't remember details now) a template edit on navbar, to add the funcion openRadioAndTV() which has the link to the php file. Edit the navbar and change that.

I followed STEP 4 from the install instructions.....

Quote:

Open your navbar template, and at the very top add

<script type="text/javascript">
<!--
function openRadioAndTV(stationid){
extras = '';
if (stationid) { extras = '?station=' + stationid; }
radioAndTVWindow = window.open('radioandtv.php' + extras, '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="javascript: openRadioAndTV()">$vbphrase[rs_radiostations]</a></td>

Save your navbar template.
Is that not correct? What do I adjust? :confused:

Dream 01-18-2010 01:06 AM

change

window.open('radioandtv.php'

to

window.open('http://www.yourdomain.com/forum/radioandtv.php'

MagicThemeParks 01-18-2010 02:01 AM

Quote:

Originally Posted by Dream (Post 1958783)
change

window.open('radioandtv.php'

to

window.open('http://www.yourdomain.com/forum/radioandtv.php'

Dream, thanks for the help, by the way.

But, when I changed that, it won't allow me to open my 'quick links' dropdown or my 'search' dropdown. Both links work on the rest of the pages, but not on vBadvanced. Any ideas on how I can get that to work properly?

Dream 01-18-2010 02:21 AM

That wouldnt have anything to do with changing the url for the player, must be something else.

MagicThemeParks 01-18-2010 02:38 AM

You're right, found it :)

Thanks a lot Dream! Great modification and good luck with the 4.0 version! :up:

nine5flareside 01-18-2010 11:47 PM

Quote:

Originally Posted by Dream (Post 1958382)
updates of v3 you mean? are you running vbseo?

Yes 3.8 all updated. I am running that free vbseo mod that is out, but this was working fine for a while even with that mod. i dont know what happened this was just suddenly... any ideas?

Dream 01-19-2010 05:43 PM

Quote:

Originally Posted by nine5flareside (Post 1957834)
Great Mod, Ive had it on my site running strong for 6 months.
Suddently today I get the following message below:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/init.php(304) : eval()'d code on line 613

What could this mean. I am not technical at all! Obviously I
guess there is an error on the 613th line of the script?? But
what file should I be looking at to correct this issue?

Thanks for any help at all guys!

Line 613 is about favorites, but I'm not sure if it is 613 from radioandtv.php or from init.php. There's no array_merge on radioandtv.php.

RedHacker 01-19-2010 08:29 PM

Can update to vBulletin 4 ....?

zelnik 02-13-2010 09:19 AM

Hi Dream,

any update on the progress of the vb4 version? my users love the mod!

Dream 02-14-2010 01:29 AM

heya, not started yet unfortunately... been busy (including busy with Star Trek Online heh...) but I'll get to it, promise :o

fruktkak 02-14-2010 06:40 PM

Quote:

Originally Posted by Dream (Post 1981812)
heya, not started yet unfortunately... been busy (including busy with Star Trek Online heh...) but I'll get to it, promise :o

Nice! :)

zelnik 02-15-2010 10:46 AM

Quote:

Originally Posted by Dream (Post 1981812)
heya, not started yet unfortunately... been busy (including busy with Star Trek Online heh...) but I'll get to it, promise :o

DOH! :)

I think most of us would just be grateful of a direct port (if it's easier) and then if you have time later to add the features you have in mind.

I think I'll be the user who misses it the most once my site goes to v4.02 as I'm always listening to radio stations! :(

Dream 02-15-2010 07:49 PM

Even with a port, the style HTML would have to be remade, using 4.x CSS and whatnot. The current version took 2 weeks more or less to be coded, I guess it would take a little less to recode the new version, but I plan to use some of the time to polish it so it has a good look and feel.

zelnik 02-18-2010 06:38 AM

Quote:

Originally Posted by Dream (Post 1983219)
Even with a port, the style HTML would have to be remade, using 4.x CSS and whatnot. The current version took 2 weeks more or less to be coded, I guess it would take a little less to recode the new version, but I plan to use some of the time to polish it so it has a good look and feel.

Thanks Dream the update has put my mind to rest and looking forward to seeing it!

Trescom 02-22-2010 06:43 PM

Aye... my users and myself loved that mod. One of the best mod ever! We have already moved to vB 4.0.2 and we are waiting for the release of that mod that works with vB 4.x. I hope we won't have to wait long Dream! ;)

Rene Kriest 02-26-2010 12:39 PM

@Dream
As you know I am an avid user of your fab addon. I am really looking forward to the 4.0.2 or better: 4.0.3 port. I appreciate your work as well as my forum members do.

princeedward 02-26-2010 12:39 PM

really can't wait any longer more on the vB 4.00 version on this...hope its sooner...

take your time Dream thanks for the info...all the best and best regards...

;):up:

Megatr0n 02-26-2010 12:44 PM

What're the changes in 2.1?

JacquiiDesigns 02-26-2010 12:52 PM

Thanks so much for the quick upgrade Dream!
Much appreciation ;)

Jacquii.

JacquiiDesigns 02-26-2010 03:06 PM

I'm having an issue with the new version :(
I've reinstalled as per the instructions and reimported my stations. Everytime a radio station loads - the player tries to connect. It says "Opening media..." and doesn't play at all.

Help please!

You can see the install at http://wlsjourney.org/community-forums/radioandtv.php

Thanks,

Jacquii.

Flo8472 02-26-2010 03:09 PM

After the Update, the player works no longer.

EDIT:
I have the same problem as jacquiicooke

zelnik 02-26-2010 03:18 PM

Yep,

Updated from V2.0 and nothing is playing anymore :(

DREAM! :)

Says "opening media" for a second or two and then "Ready" and nothing plays.

Dream 02-26-2010 03:24 PM

could you please test with this radioandtv.php? :/ my current install doesnt have any working stations.

zelnik 02-26-2010 03:32 PM

Quote:

Originally Posted by Dream (Post 1992071)
could you please test with this radioandtv.php? :/ my current install doesnt have any working stations.

Working :up::up:

Dream 02-26-2010 03:32 PM

is the bigger player popup working as well?

JacquiiDesigns 02-26-2010 03:34 PM

Quote:

Originally Posted by Dream (Post 1992071)
could you please test with this radioandtv.php? :/ my current install doesnt have any working stations.

Genius!
Thanks dude ;)

Jacquii.

JacquiiDesigns 02-26-2010 03:35 PM

Quote:

Originally Posted by Dream (Post 1992078)
is the bigger player popup working as well?

I didn't try the bigger player popup until you mentioned it - It does work. However - there's an error at the top of the page:

Quote:

Warning: htmlentities() expects parameter 1 to be string, array given in [path]/radioandtv.php on line 732

Warning: Invalid argument supplied for foreach() in [path]/radioandtv.php on line 1188

Megatr0n 02-26-2010 03:35 PM

Dream, what is new in this update? :D

JacquiiDesigns 02-26-2010 03:37 PM

Quote:

Originally Posted by Megatr0n (Post 1992083)
Dream, what is new in this update? :D

It's a security update :)

zelnik 02-26-2010 03:40 PM

Quote:

Originally Posted by Dream (Post 1992078)
is the bigger player popup working as well?

Works fine if you click "click to open in bigger window"

However, I do not get the error JacquiiCooke mentions, works fine!


All times are GMT. The time now is 09:33 AM.

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.01737 seconds
  • Memory Usage 1,838KB
  • 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
  • (22)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
  • (40)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