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)
-   -   vBRadio v1.0 (https://vborg.vbsupport.ru/showthread.php?t=72227)

Sleepyk 03-20-2005 12:01 AM

<a href="http://www.kleptikmusic.com/" target="_blank">http://www.kleptikmusic.com/</a>

i installed on my site but when i click it on links it just a white box, and i did everything right..

Pseudomizer 03-20-2005 09:38 AM

Quote:

Originally Posted by Sleepyk
http://www.kleptikmusic.com/

i installed on my site but when i click it on links it just a white box, and i did everything right..

White box means you have a problem with the correct style. I would suggest to check where you installed the templates.

Cheers,

Sleepyk 03-20-2005 04:44 PM

its all right followed instructions perfectly

on both styles i got it dont work

Joe Mac 03-21-2005 12:30 AM

another good one. I do a radio show and this is the perfect player for it.

Sleepyk 03-21-2005 07:00 AM

dont think its right

<script type="text/javascript">
<!--

function OpenRadio(){
Radio = window.open('vBRadio.php','vBRadio','directories=n o,height=320,width=650,locatio n=no,menubar=no,resizable=no,status=no,toolbar=no' )

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="#" onclick="return OpenRadio()">vBRadio</a></td>

is code i place like in instructions, and it dont work @ kleptikmusic.com

Mosh 03-28-2005 02:11 AM

Finally got this working in both IE and Firefox using conditionals and the way WMP is called for both of the browsers so my RADIO template is now heavily modified. Works with both WMP v9 and v10.

Big thanks to you ZT for creating this, my members love this.

Also thanks to SVTBlackLight01, paulz and others who I have forgotten to mention for ideas for doing this.

Quote:

Originally Posted by jzewatsky
Not to be a pest Zero.... Is it possible to add usergroup permissions to the radio?

@ jzewatsky

Edit vBRadio.php and find:
Code:

// ---------------------------------------------------
// End Require Globalized Settings
// ---------------------------------------------------

Under it add:
Code:

if (!is_member_of($bbuserinfo, X) and !is_member_of($bbuserinfo, Y) and !is_member_of($bbuserinfo, Z))
{
  print_no_permission();
}

Where X, Y and Z are the ID numbers of the groups you want to give permission to use vBRadio.

jd :)

jzewatsky 03-28-2005 01:04 PM

Thanks JD, I'll plug that in later on in the day.

Later that day......

Appears to be working...Thank you so much. If it's not too much to ask is there a conditional that I can wrap around the vbradio link in my navbar so that only certain secondary usergroups can see it?

Thanks for the help.

jbear6 03-29-2005 01:32 PM

Very nice hack!

Thanks,
Jbear6

Mosh 03-30-2005 07:54 AM

Quote:

Originally Posted by jzewatsky
Thanks JD, I'll plug that in later on in the day.


Later that day......

Appears to be working...Thank you so much. If it's not too much to ask is there a conditional that I can wrap around the vbradio link in my navbar so that only certain secondary usergroups can see it?

Thanks for the help.

Your most welcome.

Use this around the link:
Code:

<if condition="$bbuserinfo['usergroupid'] == X OR $bbuserinfo['usergroupid'] == Y OR $bbuserinfo['usergroupid'] == Z"> Your Link here </if>
Where X, Y and Z are the ID numbers of the secondary usergroups you want to give permission to see vBRadio link in your navbar, that should work you will have to try to find out, but only use primary usergroups myself, but like I said should work.

jd.

jzewatsky 03-31-2005 12:52 PM

Thanks for your help JD.

It does not appear to be working for secondary usergroups. It works find for primary. Is there a change in the [usergroupid] like [secondaryusergroupid]? How do we/you know how and under what name variables are stored in the DB?


All times are GMT. The time now is 11:10 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.01528 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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