MyBB Community Forums

Full Version: How to remove sidepanel from index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

i was using a sidepanel jquery plugin for displaying the latest post, i have deactivated the plugin, still its area is arriving, not the fetched posts how can it be removed from the index? here is my index template
Quote:<html>
<head>
<meta name="google-site-verification" content="ewAIBByOwXT6Rshk14lpvTNNyFWouQAfFBaFepBNQa8" />
<meta name="alexaVerifyID" content="j6J-25OJkdtR5qsqhONf_I1Dfy0" />
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}




{$changfcb}



<style type="text/css">
.buttons {
background: url(images/arrowright.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}
.clickedbuttons {
background: url(images/arrowleft.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}
</style>

<a class="clickedbuttons" style="float: left;" title="See the Panel"></a>
<br class="clear" />
<div class="sidebar" style="float: left; width: 19%;">
<table width="50%" cellpadding="6" cellspacing="1" border="0" class="tborder">
<tbody>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['newbox_e']}.gif" id="newbox_img" class="expander" alt="[-]" title="[-]" /></div>
<a class="buttons" style="float: left;" title="Hide the Panel"></a>&nbsp;<strong><span class="smalltext">Latest Posts</span></strong>
</td>
</tr>
</tbody>
<tbody style="{$collapsed['newbox_e']}" id="newbox_e">
<tr>
<td class="trow1">{$spt}</td>
</tr>
</tbody>
</table>
</div>
<div class="forums" style="float: right;width: 80%;">
{$forums}
</div>
<br class="clear" />
</div>
<br class="clear" />




{$recenttopics}






{$boardstats}

<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>

<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->no_new_posts}</dd>

<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$stcp_index}{$footer}
</body>
</html>
Delete everything in red:
Quote:<html>
<head>
<meta name="google-site-verification" content="ewAIBByOwXT6Rshk14lpvTNNyFWouQAfFBaFepBNQa8" />
<meta name="alexaVerifyID" content="j6J-25OJkdtR5qsqhONf_I1Dfy0" />
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$changfcb}
<style type="text/css">
.buttons {
background: url(images/arrowright.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}
.clickedbuttons {
background: url(images/arrowleft.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}
</style>
<a class="clickedbuttons" style="float: left;" title="See the Panel"></a>
<br class="clear" />
<div class="sidebar" style="float: left; width: 19%;">
<table width="50%" cellpadding="6" cellspacing="1" border="0" class="tborder">
<tbody>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['newbox_e']}.gif" id="newbox_img" class="expander" alt="[-]" title="[-]" /></div>
<a class="buttons" style="float: left;" title="Hide the Panel"></a>&nbsp;<strong><span class="smalltext">Latest Posts</span></strong>
</td>
</tr>
</tbody>
<tbody style="{$collapsed['newbox_e']}" id="newbox_e">
<tr>
<td class="trow1">{$spt}</td>
</tr>
</tbody>
</table>
</div>
<div class="forums" style="float: right;width: 80%;">

{$forums}
</div>
<br class="clear" />
</div>
<br class="clear" />

{$recenttopics}
{$boardstats}
<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>

<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->no_new_posts}</dd>

<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$stcp_index}{$footer}
</body>
</html>

thank you so much AJS Smile