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.


All times are GMT. The time now is 10:47 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.01579 seconds
  • Memory Usage 1,750KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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