(2015-08-01, 12:37 PM)nikiips Wrote: [ -> ]Thanks, I need help for remove the sidebar of latest activity for space out the forum... It's possible ?
Thanks for your reply
http://pasteboard.co/2p0QJBul.png
I want remove the count sujet/message and space out the forum please
Ok it's quite a tutorial, let me check all the steps and wait for the edit of this post.
EDIT:
1. Remove the Thread/Posts words:
ACP > Templates & Styles > MyTrade Templates > Forum Bit Templates > forumbit_depth1_cat
Replace all the template with this code
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><span class="cattitle"><a href="{$forum_url}">{$forum['name']}</a></span> <span class="catdesc">{$forum['description']}</span></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2" align="left" style="padding-left: 54px;"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong></strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap; padding-right: 20px;"></td>
<td class="tcat" width="200" align="left" style="padding-left: 7px;"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
2. Remove the latest activity (or sidebar)
ACP > Templates & Styles > MyTrade Templates > Index Page Templates > index
Replace all the index template with this new one
<html>
<head>
<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}
{$forums}
<br class="clear" /><br />
{$boardstats}
{$footer}
</body>
</html>
Now go to ACP > Templates & Styles > MyTrade Templates > Ungrouped Templates > headerinclude
Search and delete this code (only this code):
<script type="text/javascript">
jQuery(function($) {
$(".clickedbuttons").hide();
$(".buttons").click(function() {
$(".sidebar").animate({height: "hide", opacity: 0}, 500,
function() {
$(".forums").animate({width: "984px"}, 500);
});
$(this).hide();
$(".clickedbuttons").show();
$.cookie("sidebar","collapsed", {expires: 365});
return false;
});
$(".clickedbuttons").click(function() {
$(".forums").animate({width: "724px"}, 500,
function() {
$(".sidebar").animate({height: "show", opacity: 1}, 500);
});
$(this).hide();
$(".buttons").show();
$.cookie("sidebar","expanded", {expires: 365});
return false;
});
if($.cookie("sidebar") == "collapsed") {
$(".buttons").hide();
$(".clickedbuttons").show();
$(".forums").css("width","984px");
$(".sidebar").hide();
};
});
</script>
ACP > Templates & Styles > MyTrade Templates > Navigation Templates > nav
Replace all the template with this code:
<fieldset class="breadcrumb">
<span class="crumbs">{$nav}{$activesep}
<span class="crust">{$activebit}</span>
</span>
</fieldset>
That's all. I don't do this kind of "tutorials" anymore, so please, from now to the future, only reports errors with the theme.
Any other HTML/CSS related thing that are not an error (Like customizing things) it's up to you.
Cheers.