vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Radio and TV Player (https://vborg.vbsupport.ru/showthread.php?t=167567)

Dream 01-21-2008 01:41 AM

Quote:

Originally Posted by jaycob (Post 1425536)
WinXP, and why should i need to download that when the radio tv hack worked fine on 3.6.8?
i would hate to need to ask all my members using firefox 2 to download this.

The 3.7 version shouldn't be the reason FF crashes.

ShawneyJ 01-21-2008 01:53 AM

yes i agree but i just found it strange that i have been using your 3.6.8 radio for months with no problems, then i upgraded to vbulletin 3.7.0 beta 3 and found i could not chose a station, then i seen
your 3.7.0 radio and thought to my self ahhh maybe this will fix the problem, but it only made it worse.
no offense i love the hack like made, but just makes no sense that the radio would suddenly stop working with errors as soon as i upgraded to radio & tv hack 3.7.0 beta.

anyway good luck finding the problem :)

Dream 01-21-2008 04:08 AM

I don't know what the problem is, so I don't know what to fix.

Here when I go to the Ministry of Sound station my FF crashes and the other stations work fine. But that's because of the WMP plugin for FF in Windows Vista.

GafferSports 01-21-2008 05:22 PM

I have an error when trying to add a station....

Quote:

AJAX error, please try again. (HTTP status: 406 / Not Acceptable)
Any ideas?

Dream 01-21-2008 11:34 PM

Not sure what that error is.

tehQspm 01-22-2008 06:33 PM

great mod! works fine on Beta 4 though I haven't tested it extensively yet.

One future addition which would be great would be the ability to display a user's favorite stations on their profile. Don't know how hard that would be.

Great work though!

Helmut71 01-23-2008 11:46 AM

thanks a lot for doing this for 3.7, works fine!

ARB4HOSTING.COM 01-23-2008 06:59 PM

Thank you very much

Dream 01-24-2008 04:06 AM

Quote:

Originally Posted by tehQspm (Post 1426820)
great mod! works fine on Beta 4 though I haven't tested it extensively yet.

One future addition which would be great would be the ability to display a user's favorite stations on their profile. Don't know how hard that would be.

Great work though!

That's very interesting. After 3.7 goes gold I may take a look into doing this as an add-on, if no one else does it first.

Dream 01-24-2008 05:11 AM

Quote:

Originally Posted by tehQspm (Post 1426820)
great mod! works fine on Beta 4 though I haven't tested it extensively yet.

One future addition which would be great would be the ability to display a user's favorite stations on their profile. Don't know how hard that would be.

Great work though!

Done, was very easy to do.

https://vborg.vbsupport.ru/showthread.php?t=168614

KURTZ 01-24-2008 06:39 AM

just updated Dream ... like always THANK YOU! :P

Dream 01-24-2008 06:40 AM

Mod updated

Version 1.9
- added option to show favorites and last station played in the users profiles

Don't forget to follow the upgrade instructions or your profile links won't work.

Also don't forget to enable the profile info in the options if you want.

Dream 01-24-2008 06:41 AM

Quote:

Originally Posted by KURTZ (Post 1427806)
just updated Dream ... like always THANK YOU! :P

Everything working?

KURTZ 01-24-2008 06:47 AM

Quote:

Originally Posted by Dream (Post 1427809)
Everything working?

i think so :)

Dream just few questions:

my previously version was the Beta so i do this upgrade or not on my navbar template? (all seems that runs correctly without any change)

Code:

5. If you are upgrading from 1.8 or older, edit in your navbar template, change
this

function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no');
}

For this

function openRadioAndTV(stationid){
extras = '';
if (stationid) { extras = '?station=' + stationid; }
radioAndTVWindow = window.open('radioandtv.php' + extras, 'radioandtv', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no');
}

what about the the javascript and member_info plugin?

Dream 01-24-2008 06:50 AM

Yes you update that.

Those files are just used by me, don't worry with them.

KURTZ 01-24-2008 06:54 AM

Quote:

Originally Posted by Dream (Post 1427815)
Yes you update that.

Those files are just used by me, don't worry with them.

OK, but i don't see my favs stations on my profile ... :(

Dream 01-24-2008 06:56 AM

Did you enable it in the options?

KURTZ 01-24-2008 06:58 AM

Dream i found a trouble ... in the ACP i don't see the Radio Panel ...

Dream 01-24-2008 07:01 AM

Is that *[]* the radio menu? Did you upload cpnav_radioandtv.xml?

KURTZ 01-24-2008 07:12 AM

Quote:

Originally Posted by Dream (Post 1427825)
Is that *[]* the radio menu? Did you upload cpnav_radioandtv.xml?

fixed :D all seems to run correctly ... :) nice job Dream ... ;) really nice ...

nerofix 01-24-2008 07:56 AM

I found out that the Microsoft Windows Media Plugin for Firefox causes the crashes and freezes with the mod and that's why the "illegal operation" messages appears.

Sometimes it doesnt crashs or freezes, but most times which is very annoying. I don't remember it happened with the vb 3.6 mod of radio & tv.

I can't tell you how to solve this, perhaps there's a new media player plugin for firefox out, let's see.

By the way, I can report two things related to this mod:

1) Last played option is always none :confused:
2) When I try to click on radiostation in profile, it says: openRadioAndTV is not defined

Did I miss something? :erm:

Dream 01-24-2008 08:00 AM

Did you import the new product file?

Did you add the openRadioAndTV() javascript function to the navbar template?

When I open Ministry of Sound default station here my Firefox crash. I think theres a problem with this stream, it happened on the 3.6 version as well. I think some of the default streams are outdated. KNAC does the same. Then again I'm on Windows Vista using a special WMP plugin for Firefox.

nerofix 01-24-2008 08:21 AM

Quote:

Originally Posted by Dream (Post 1427852)
Did you import the new product file?

Did you add the openRadioAndTV() javascript function to the navbar template?

1) Yes I did import

2) Solved, but how can prevent it from doing it in a popup?


3) How about the last played feature, why it says always "none" ?

Dream 01-24-2008 08:23 AM

Read install.txt and redo your template edits, and you should be fine.

Last played option should appear after people play a station.

To change the profile links you need to edit the plugin "Favorite Stations in Profile".

nerofix 01-24-2008 08:40 AM

Sorry, I can't get the "last played" info working. Can you perhaps give me a hint where I can take a look to get it working?

And I still like to open the link in profile in the same window, not as popup. Could you help me with it to change the function to open in same window (it should also do the same with the navbarlink) ?

Dream 01-24-2008 08:44 AM

in the plugin Favorite Stations in Profile change this

Code:

'<a href="javascript:openRadioAndTV('. $station['stationid'] .')">'
for this

Code:

'<a href="radioandtv.php?station='. $station['stationid'] .'">'
and this

Code:

'<a href="javascript:openRadioAndTV('. $lastplayed['stationid'] .')">'
for this

Code:

'<a href="radioandtv.php?station='. $lastplayed['stationid'] .'">'
The last played isn't appearing in your profile I'll assume. Did you play any station?

Dream 01-24-2008 08:49 AM

There's a bug with the last played, I'm looking into it now. It's strange that it was working before.

Dream 01-24-2008 09:01 AM

I updated radioandtv.php, upload it again. It should fix the last played problem.

nerofix 01-24-2008 09:06 AM

Hey Dream you are the best :)
Last played option works fine now !!

.. and now it should open in same window .. ;p

KURTZ 01-24-2008 09:17 AM

Quote:

Originally Posted by Dream (Post 1427879)
I updated radioandtv.php, upload it again. It should fix the last played problem.

so we must change only the radioandtv.php file?

nerofix 01-24-2008 09:18 AM

Quote:

Originally Posted by KURTZ (Post 1427885)
so we must change only the radioandtv.php file?

yes :)

KURTZ 01-24-2008 09:41 AM

OK perfect :)

nerofix 01-24-2008 12:52 PM

Okay, I thought about the freezes and crashes:

You said in 3.6 it would be the same and it would be the reason of the stream. I had some favorite stations in 3.6 running fine, but in 3.7 these streams are freezing or crashing the firefox browser and I need the taskmanager to kill the firefox.exe ..

Like I said, I'm sorry I can't help you to solve this, because sometimes it freezes and other times it works correctly.

KURTZ 01-24-2008 02:02 PM

i use ONLY FF Browser ... i haven't find any trouble ...

tehQspm 01-24-2008 05:38 PM

the profile stuff is awesome! thanks!

I just had a question. If I wanted to move that into a profile tab (not a new one but an already established one) is there an easy way to go about doing that?

Dream 01-25-2008 02:04 AM

No, you would need to edit the plugin code.

RvG2 01-25-2008 02:30 AM

the addition to profile is great! :)

jerx 01-25-2008 12:06 PM

This add-on looks really nice!

I wonder if it is possible to add sopcast and other player (tvants, tvu, ppmate) ability to this? I would love to deinstall all those players and only use this add-on. I know you cannot add every player on the market, but maybe you could add the most relevant ones.

Thank you!

KURTZ 01-25-2008 01:26 PM

Quote:

Originally Posted by RvG2 (Post 1428450)
the addition to profile is great! :)

absolutely! :)

sinistergaming 01-26-2008 04:18 AM

i had this on 3.68 with no problems but with this on 3.7 im having crashes and freezes with firefox. i saw something down below about it has there been any fix for it ?


All times are GMT. The time now is 04:30 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.01773 seconds
  • Memory Usage 1,818KB
  • 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
  • (5)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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