OK it is a very nice Hack - the best shoutbox here
First i found a small bug in the collapse code
old code
PHP Code:
Open the template FORUMHOME
Find this:
$navbar
<!-- shoutbox -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[tablewidth]" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
<a href="shoutbox.php?$session[sessionurl]">Shoutbox</a></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr>
<td class="alt1" width="100%">
<iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="120" scrolling="no" frameborder="0" border="0" name="shoutbox"></iframe>
</td>
</tr>
</tbody>
</table>
<!-- end shoutbox -->
<br />
My new code (replace it)
PHP Code:
<!-- shoutbox -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[tablewidth]" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
<a href="shoutbox.php?$session[sessionurl]">Shoutbox</a></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_shoutbox]">
<tr>
<td class="alt1" width="100%">
<iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="120" scrolling="no" frameborder="0" border="0" name="shoutbox"></iframe>
</td>
</tr>
</tbody>
</table>
<br />
<!-- end shoutbox -->
thx
Soul