vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBulletin Radio 2.3.x (https://vborg.vbsupport.ru/showthread.php?t=71950)

khaleel 03-21-2005 10:09 AM

Yes you could do this, im at work at the moment when I reach home ill send you the code. You simply replace the navbar <a href="radio" , but with a popup script. Ill post again soon when I know my boss is not watching me

khaleel 03-21-2005 07:08 PM

Open Templates > Header

Find

Code:

[head]
After, add
Code:

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=222,height=300,left = 529,top = 362');");
}
// End -->
</script>

Open NavBar

Find
Code:

<td class="vbmenu_control"><a href="radio.php?$session[sessionurl]">Radio</a></td>
Replace with

Code:

<A HREF="javascript:popUp('radio.blog/index.php')">Radio</A>
Hope this works for you ;)

citra 03-21-2005 10:52 PM

THANKS!! :)

but now it doesn't autoplay anymore.. any ideas?

Club3G 03-22-2005 01:18 AM

I'm having the oddest error.

If I put in a plain old php page, all of my tracks show up fine:

http://www.sevenstring.org/forum/radio.blog/

But if it's in a template, it only shows random ones, and does not play.

http://www.sevenstring.org/forum/view.php?pg=ssjukebox

Permissions on all files are exactly the same. Any ideas? The only change is that I moved everything from the radio.blog folder into the forums directory.

If it's a path issue coded into the SWF, how do I use a template located in a subdirectory?

For the record: This addon, especially with the type of forum I'm running it on (a music forum) is absolutely awesome. Thanks very much!

Club3G 03-22-2005 03:10 PM

I managed to get this working using Logician's template, by loading it as an iframe within the template, like so:

Code:

<iframe src="http://www.sevenstring.org/forum/radio.blog/index.php" name="radio" scrolling="no" frameborder="0" width="220" height="300"></iframe>
It seems that the playlist "populator" script isn't all that stellar at detecting bulk uploads. I uploaded about a dozen tracks at once, and only one or two would show up. I waited about 10 minutes, and touched each of them in turn, and once the timestamp was different enough, it recognized the complete list.

For those of you without shell access to your webservers, you might want to just upload them one at a time, about 5-10 minutes apart if you're having problems with the playlist not showing all tracks.

Hope this helps someone out.

khaleel 03-23-2005 12:07 PM

Quote:

Originally Posted by citra
THANKS!! :)

but now it doesn't autoplay anymore.. any ideas?

Go to

Code:

<A HREF="javascript:popUp('radio.blog/index.php')">Radio</A>
And add /?autoplay=# after the index.php or like radio.blog/?autoplay=#

Note # is your track number it should work now.

Quote:

I managed to get this working using Logician's template, by loading it as an iframe within the template, like so:


Code:
<iframe src="http://www.sevenstring.org/forum/radio.blog/index.php" name="radio" scrolling="no" frameborder="0" width="220" height="300"></iframe>

It seems that the playlist "populator" script isn't all that stellar at detecting bulk uploads. I uploaded about a dozen tracks at once, and only one or two would show up. I waited about 10 minutes, and touched each of them in turn, and once the timestamp was different enough, it recognized the complete list.

For those of you without shell access to your webservers, you might want to just upload them one at a time, about 5-10 minutes apart if you're having problems with the playlist not showing all tracks.

Hope this helps someone out.
About to say use an iframe, as for the upload problem, im creating a seperate addon for this called Sound Uploader, It will use a upload form which will upload all tracks that you want directly in the folder without having to access CHmod or CPanel or ftp. I have read simaler problems on the track uploading issues, I recommend you convert them all using convert32 (less quality compared to convert64.bat, then zip it and upload via cpanel. Delete cookies and extract, dont chmod, and it worked for me. Ill keep you updated, by sending an update.

:cool:
www.death-eater.net team
Khaleel

Club3G 03-25-2005 05:58 PM

I'm getting an odd error encoding 128k MP3's with lame.

"Error: sample frequency has changed in MP3 file - not supported
bitstream problem: resyncing...".

Anyone else seen this?

Club3G 03-25-2005 06:15 PM

Got that sorted out - replaced the version of LAME packaged with radio.blog with the newest (3.97a10) and it works again. I attached it for anyone who needs.

Hope that helps anyone having the issue. :)

Also, if anyone needs my template for loading it in an iframe, let me know and I'd be happy to share.

khaleel 03-25-2005 06:19 PM

Thanks ^ :nervous:

CHIngs 03-26-2005 10:36 PM

I have 2 questions,

1) When I minimize, it is not showing the BOttoM part of the popup, LOOK AT THE ATTACHMENT FOR THE IMAGE

2) How can I leave the crossfader ON by default?


All times are GMT. The time now is 11:49 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.01224 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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