Excellent mod!
-------------------
Quote:
Originally Posted by Silvio
ty so much Dream gorgeous hack I'v installed time ago but not given public to our users.
I opened cages last day and all our user are amazed! again ty for this great work.
as i've not found in this thread howto use also with vbaCMPS here a little hint. (as setting radioandtv.php on navbar cmps replacements options won't work)
valid only if installed in /forum/ path
find on the instruction file :
replace with
Code:
'/forum/radioandtv.php'
regards
take care
|
To help clarify this, to make this work in the navbar on vBadvanced pages, in the instructions where it says edit the navbar template to include;
Code:
<script type="text/javascript">
<!--
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');
}
//-->
</script>
Instead include;
Code:
<script type="text/javascript">
<!--
function openRadioAndTV(stationid){
extras = '';
if (stationid) { extras = '?station=' + stationid; }
radioAndTVWindow = window.open('{$vbulletin->options[bburl]}/radioandtv.php' + extras, 'radioandtv', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no');
}
//-->
</script>
Hope that helps

.