Quote:
Originally Posted by Diaego
ah my bad!
Found where to enable it, and have done so... It finally appears on the front page - however! It has now brought the whole page out of alignment. All the right and center blocks have disappeared.. Only the left blocks remain on the page... Until you scroll down, and then they're all there!
Also the pop-up players still don't display the play, but instead just display the index page of the site! 
|
- There was a template that was not removed from the old install. adv_portal_shoutcast
Replace w/:
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<script type="text/javascript">
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50");
}
</script>
<tbody>
<tr >
<td class="tcat" width="100%" colspan="6"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutcast')">
<img id="collapseimg_forumhome_shoutcast" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapse_tcat_shoutcast].gif" alt="" border="0" /></a>
<div><span class="smallfont"><strong>$vba_style[portal_blockbullet] $scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)</strong></span></div>
</td>
</tr>
</tbody>
<td valign="top" align="left" class="alt1">
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr >
<td class="alt2" ><b>Tune-In:</b></td>
<td width="5" > </td>
<td width="60%" class="alt2" ><b>Now Playing:</b></td>
</tr>
<tr >
<td style="padding-left: 5px><a href=" colspan="2" class="smallfont" align="center">
<a href="$listenamp">
<img src="$stylevar[imgdir_misc]/im_winamp.gif" alt="Listen w/ Winamp" border="0" hspace="0" /></a>
<a href="javascript:scastrp()">
<img src="$stylevar[imgdir_misc]/im_real.gif" alt="Listen w/ Realplayer" border="0" hspace="5" /></a>
<a href="javascript:scastmp()">
<img src="$stylevar[imgdir_misc]/im_winmp.gif" alt="Listen w/ Media Player" border="0" hspace="5" /></a>
<a href="javascript:scastqt()">
<img src="$stylevar[imgdir_misc]/im_qt.gif" alt="Listen w/ Quicktime" border="0" hspace="0" /></a>
</td>
<td width="60%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0]</marquee></tt></td>
</tr>
<tbody id="collapseobj_forumhome_shoutcast" style="display: none;">
<tr>
<td width="100%" colspan="3"> </td>
</tr>
<tr >
<td class="alt2" ><b>Stream Info:</b></td>
<td width="5"> </td>
<td width="60%" class="alt2" align="left"><b>Last 19 Songs:</b>
</td>
</tr>
<tr >
<td valign="top" rowspan="4" style="padding-left: 5px" colspan="2" class="smallfont">
<div >Most Ever: <b>$peaklisteners</b><br />Current Listening: <b>$currentlisteners/$maxlisteners</b><br />Speed: <b>$bitrate</b> kbs<br />Media Type: <b>$content</b><br />Hit Count: <b>$streamhits</b><br />Avj. Time: <b>$averagemin</b></div>
<br /><hr width="90%" size="1">
<img src="$stylevar[imgdir_misc]/im_genre.gif" alt="Genre" /> $servergenre<br /><img src="$stylevar[imgdir_misc]/im_icq.gif" alt="ICQ the DJ" /> $icq<br /><img src="$stylevar[imgdir_misc]/im_aim.gif" alt="AIM the DJ" /> $aim<br /><img src="$stylevar[imgdir_misc]/im_mirc.gif" alt="IRC Chat with the DJ" /> <a href="$irclink">$ircsite</a> : #$irc<br />
</td>
</tr>
<tr >
<td valign="top" rowspan="5" style="padding-left: 5px" class="smallfont"><div ><tt>+ $song[1]<br />+ $song[2]<br />+ $song[3]<br />+ $song[4]<br />+ $song[5]<br />+ $song[6]<br />+ $song[7]<br />+ $song[8]<br />+ $song[9]<br />+ $song[10]<br />+ $song[11]<br />+ $song[12]<br />+ $song[13]<br />+ $song[14]<br />+ $song[15]<br />+ $song[16]<br />+ $song[17]<br />+ $song[18]<br />+ $song[19]</tt></div>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<br />
Also make sure that the Old Module was DELed.
What I did was add a SQL option to auto install the Module. (to make it simple) :nervous: hahahahahahhahaha I found that there was 2 Shoutcast modules.
Module Settings:
Admincp => vBa CMPS => Add Module
[PHP File]
Module Title: Soutcast
Column: Center
Display Order: your choice
Active: yes
File to Include: shoutcast.php
Templates Used:
Code:
adv_portal_shoutcast,adv_portal_shoutcast_mp,adv_portal_shoutcast_rp,adv_portal_shoutcast_qt,adv_portal_shoutcast_off
Clean File Output: No
Use Module Shell Template: No
REM : Replace your php file on your server.