(2014-09-26, 03:30 PM)juli_0 Wrote: Remove button to show/hide the sidebar ? resize board statics ? fixed slidebar . Please
![[Image: LcUMqRV.png]](https://camo.mybb.com/c05e0c6295f4f0ad6b89f98fab402dd0bd5630c7/687474703a2f2f692e696d6775722e636f6d2f4c63554d7152562e706e67)
Look : chochimcanh.com
and insert video,choose default youtube
![[Image: IiHpfZ9.png]](https://camo.mybb.com/bc74ce3d9a4f050be064d732335f2ec7ab064925/687474703a2f2f692e696d6775722e636f6d2f49694870665a392e706e67)
sorry : i'm vietnamese
So, you want to:
1. Remove the button of the breadcrumbs to show/hide the sidebars.
2. Put the same width of the forum to statistics.
3. Custom sizes of forum/sidebars.
4. Remove the content from the sidebars.
The youtube thing isn't a theme addon, that's a change you need to apply on the default editor of MyBB, you can ask for support of that here:
http://community.mybb.com/forum-176.html
----------
1. Remove the buttons:
ACP > Templates & Styles > Templates > Square templates > Navigation templates > open nav template
You will see this:
<fieldset class="breadcrumb">
<span class="crumbs">{$nav}{$activesep}
<span class="crust">{$activebit}</span>
</span>
<a class="buttons" title="Hide sidebar" style="float: right;"><i style="font-size: 14px;" class="fa fa-compress fa-fw"></i></a>
<a class="clickedbuttons" title="Show sidebar" style="float: right;"><i style="font-size: 14px;" class="fa fa-expand fa-fw"></i></a>
</fieldset>
Now, delete all of that, and put this:
<fieldset class="breadcrumb">
<span class="crumbs">{$nav}{$activesep}
<span class="crust">{$activebit}</span>
</span>
</fieldset>
--------------------------------
2. Statistics with the same width of the forum:
ACP > Templates & Styles > Templates > Square templates > Index templates > and open index template
Search this:
<div class="forums" style="float: left; width: 724px;">
{$forums}
</div>
<br class="clear" /><br />
{$boardstats}
{$footer}
Replace with this:
<div class="forums" style="float: left; width: 724px;">
{$forums}
{$boardstats}
</div>
{$footer}
-----------------------------
3. To adjust the size of the forums / sidebars:
ACP > Templates & Styles > Templates > Square templates > Index templates > and open index template
Search this:
<div class="sidebar" style="float: right; width: 250px;">
Adjust the "width" of the sidebars to your needs, like 21%.
Now, search this:
<div class="forums" style="float: left; width: 724px;">
Adjust the "width" of the forums to your needs, like 78%.
Remember, I code in pixels, so, the final width it's FIXED for a basic resolution of 1024px. If you use %, the sizes changes, and you will need to change more things. I recommend to use pixels instead % if you want to replace the sizes fast.
----------------------------
Remove the last thread/posts:
ACP > Templates & Styles > Templates > Square templates > Index templates > and open index template
Search this:
<div class="sidebar" style="float: right; width: 250px;">
<script type="text/javascript">
jQuery(function(){
jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
});
</script>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.png" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
<strong>Latest Activity</strong>
</td>
</tr>
<tr>
<td style="{$collapsed['ths_e']} padding: 0;" id="ths_e">
<div class="latestthreads float_left"></div>
</td>
</tr>
</table>
<div class="theadend"></div>
</div>
Replace all of that with this:
<div class="sidebar" style="float: right; width: 250px;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.png" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
<strong>Put your title here</strong>
</td>
</tr>
<tr>
<td style="{$collapsed['ths_e']} padding: 0;" id="ths_e">
Put your content here
</td>
</tr>
</table>
<div class="theadend"></div>
</div>
Replace the title/content there with the content you want.
Greetings!