Site in read-only mode
This site is now read-only following the release of MyBB 1.8 and the new mods site.
If you are looking for MyBB 1.8 mods please click here to visit the new mods site.
You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.
Side-Box (HTML only)
Displays additional custom boxes on the right of the index page’s forums.
1. Home » Template Sets » Templates
Edit Template: index
Find:
PHP Code:
{$forums}
Replace:
PHP Code:
<div id="fz"style="float: left; width:80%;">
{$forums}
</div>
<div id="floatbar" style="float: right; width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img title="Show" src="{$theme['imgdir']}/collapse.gif" onclick="changefloatbar(this,$('fz'),$('floatbar'),$('ctfloat'),$('titlefloatbar'))" /></div>
<div id="titlefloatbar"><strong>Quickbar</strong></div>
</td>
</tr>
</thead>
<tbody id="ctfloat">
<!--Block 1----->
<tr class="tcat"><td><strong>Title 1</strong></td></tr>
<tr class="trow1">
<td>
content 1
</td>
</tr>
<!--End Block 1---->
<!--Block 2----->
<tr class="tcat"><td><strong>Title 2</strong></td></tr>
<tr class="trow1">
<td>
content 2
</td>
</tr>
<!--End Block 2---->
<script type="text/javascript">
function changefloatbar(imgeco,fz,fl,ctfl,ttfb)
{
if (imgeco.title=="Show")
{ctfl.style.display="none";fl.style.width="2%";
fz.style.width="98%";imgeco.title="Hide";ttfb.innerHTML="";
imgco.src="{$theme['imgdir']}/collapse_collapsed.gif";
}
else
{ctfl.style.display="";fl.style.width="19%";fz.style.width="80%";imgeco.title="Show";ttfb.innerHTML="<strong>QuickCP</strong>";
imgco.src="{$theme['imgdir']}/collapsed.gif"
}
}
</script>
</tbody>
</table>
</div>
</br>