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-27-2005 07:52 AM

1) Go to your navbar template and find radio template tell me what the javascript code is paste it here, so I can help you more

2) To turn in on to default, you simply change the value to 1 meaning

Go to radio.blog/config.xml

Find

Code:

<crossfader value="0" /> <!-- 1 | 0 -->
Replace with

Code:

<crossfader value="1" /> <!-- 1 | 0 -->

citra 03-31-2005 01:32 AM

nmnm

citra 03-31-2005 02:35 AM

Quote:

Originally Posted by khaleel
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>


I had this working before but since the reinstall of vb, I forgot how I did it before.. anyways, when I look in the templates->header, I do not have a [head] code. any ideas?

khaleel 03-31-2005 07:06 PM

The [Head] Tag if not there add the following javascript in there anyways

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,h  eight=300,left = 529,top = 362');");
}
// End -->
</script>


subnet_rx 04-01-2005 06:07 PM

In the instructions, it says this:

Code:

It should not look like this

http://www.yourforums.com/forum/radio.blog/

What should it look like then?

subnet_rx 04-01-2005 06:27 PM

Also, is there any way to create permissions on who uses this?

khaleel 04-01-2005 06:45 PM

Quote:

Originally Posted by subnet_rx
In the instructions, it says this:

Code:

It should not look like this

http://www.yourforums.com/forum/radio.blog/

What should it look like then?

Typo. Its meant to be "It should NOW look like this" and the image there I have forgotten to include, I used a example URL instead, this will be changed on the next update.

To sort permissions out I will explain how to do this on the next update, I used this code for the template here .

There is a vB code aswell, (not the exactual code syntax)

Code:

<IF condition = show member then>
radio code
</else>
not allow please sign up
</if>

Ill find it and get back to you

TranceMaster 04-01-2005 10:33 PM

i have a little problem
quite new to this so dont laugh
iv got it so that track number 1 is on autoplay, but when i upload a new track, it plays that instead
how are track numbers assigned to the songs we upload??
is it possible for when the radio is launched, to always play the same track first.

subnet_rx 04-01-2005 11:18 PM

thanks, I'm anxiously awaiting that code. I'm really concerned about bandwidth.

khaleel 04-02-2005 07:45 AM

Quote:

Originally Posted by TranceMaster
i have a little problem
quite new to this so dont laugh
iv got it so that track number 1 is on autoplay, but when i upload a new track, it plays that instead
how are track numbers assigned to the songs we upload??
is it possible for when the radio is launched, to always play the same track first.


Yes. In the radiotemplate find

Code:

<BODY onLoad="javascript:popUp('http://www.yourforum.com/forum/radio.blog')" >
Replace with

Code:

<BODY onLoad="javascript:popUp('http://www.yourforum.com/forum/radio.blog/?autoplay=yourtracknumberhere')" >


All times are GMT. The time now is 01:28 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.01248 seconds
  • Memory Usage 1,744KB
  • 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
  • (10)bbcode_code_printable
  • (3)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