Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Daniel

#76
Free Themes / Re: Reseller
December 27, 2014, 12:07:46 PM
You do not lose anything trying. You can always make a backup.
#77
Free Themes / Re: Reseller
December 26, 2014, 05:29:49 PM
#78
Free Themes / Re: Reseller
December 26, 2014, 05:26:44 PM
#80
Free Themes / Re: Reseller
December 26, 2014, 05:18:36 PM
Index.template.php
Search:
<div class="checkbox">
<label>
<input name="cookielength" type="checkbox" value="-1" /> ', $txt['rs_remember'] ,'
</label>
</div>

Add after:
<div class="form-group text-center" style="margin-bottom: 0;font-size: 0.9em;">
<label>
<a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a>
</label>
</div>


Regards!
#81
Free Themes / Re: Reseller
December 17, 2014, 04:50:51 PM
Quote from: Tsunami on December 12, 2014, 04:21:22 PM
hola como hago para instalar el logo ?? soy nuevo en esto , instale el tema dice que se adecua al movil pero me fije de un opera y no se adapta a el  :'(

El logo no se instala, es solo un archivo PSD que se abre con photoshop para que tu lo modifiques y luego lo subas al theme. He probado el theme en opera y se ve bien, adjunta imágenes si es posible.
#82
Free Themes / Re: Wrap
November 30, 2014, 12:54:20 PM
index.css (Themes/Wrap/css)
Search:
div.wrapper
{
margin: 0 auto;
width: 95%;
}

And change the width:
#83
Site News / SMF 2.1 Beta 1 Released
November 21, 2014, 01:31:21 PM
QuoteDear users,

Simple Machines is proud to announce the release of our next major milestone for SMF, SMF 2.1! A lot of work has gone into 2.1 over the past 3 years, and with over 5500 commits by numerous developers, we have a whole set of exciting new features and improvements which we hope you will like.

Warning! This is just the first beta! There ARE bugs and incomplete features; it is not recommended that you run this release on a live/production site.

Below is a brief summary of changes from 2.0.  For a more comprehensive account, please check out the monthly updates on the Developers' Blog and the GitHub repository, and the Wiki "2.1 Features" page.

  • A fresh, new, responsive design with Curve2:
    SMF 2.0 introduced the Curve theme, which was an update that gave a more modern web look to SMF. 2.1 includes a revamp of our default theme called Curve2! Curve2 introduces responsive design concepts to most of the areas of your forum, making it much more easily accessible to modern smartphones and tablets. Additionally, we have a number of major and minor UI/UX improvements across the board.
  • Notification Alerts:
    In prior versions of SMF, notifications were a distributed affair, with the two primary options being e-mails and PMs. 2.1 changes this with the introduction of Alerts, which can be enabled to display all your forum notifications, major or minor, in a single location without cluttering your e-mail or PM inbox. Alerts' preferences also acts as a central notification preference center where you can specify the format of notification you'd like to receive: e-mails, alerts or none, all in a single place, instead of having preferences scattered throughout the forum. In the new preference center you will now have the ability to set preferences for e-mail, alerts or both for individual topics and boards instead of forum-wide settings, which allows you to exercise a much finer control over notifications you want to receive
  • PM and Post drafts:
    Ever closed a tab or window on a long post you've been writing for a long time? I know I did while writing this announcement. Or perhaps you simply couldn't finish a post in a single sitting and hoped you could continue from where you left off? Then Drafts is for you, it is fully integrated into 2.1, along with the ability to auto-save posts and PMs as you're writing them.
  • Likes and Mentions:
    Likes has been added to SMF, replacing the existing Karma system with a more content oriented one. The system can also be extended internally by mod authors in order to allow likes for their own content.
    Members can also flag a post to call the attention of other members by mentioning them, using the internet standard @displayname syntax. This will send an alert or e-mail (depending upon the receiver's preference) and notify them of the mention.
  • A bunch of other stuff!

    • Full SSL support throughout the forum. (NOTE: Requires appropriate certificate and configurations on the server.)
    • Password hashing has been improved from sha1 to bcrypt.
    • The Admin area has received a number of usability and organizational improvements. A few of the areas have been reorganized and relocated as well as some overall clean up
    • The Moderation Center also has several usability improvements, including enhanced reported topics, and moderator notes among other things.
    • Improvements to membergroup requests and approval.
    • Permissions have been expanded with new permissions for member profiles, accounts etc.
    • Built-in support for Gravatars.
    • Users can select their timezones instead of manually selecting the time offsets.
    • jQuery is now included by default with many functions now using it in core.
    • Support for SQLite has been dropped.
    • Internal improvements reducing memory consumption and improving overall speed.
    • Lots and lots of other internal and external improvements!

As we mentioned, this is just a brief summary. There are more changes that we have not mentioned here, so feel free to give it a test drive, yourself!

Please remember that the minimum requirements of SMF have been increased to PHP 5.3.8+ and MySQL 5.0.3+ or PostgresSQL 8.0+.Servers running a lower version of either will not be able to run SMF 2.1 and we do not intend to support them. If you have a server running an older version, you can either upgrade your server software or stay at an older version of SMF. SMF 2.1 has also dropped support for IE6 and IE7 but will continue to work with IE8+ (although IE10+ is really recommended) and browsers having similar/fuller standards compliance (any modern version of Chrome, Safari, Firefox, Opera etc will be fine).

The general installation and upgrading procedure remains the same, however, once you upgrade from an older version to 2.1 you cannot go back, so please take careful consideration before upgrading any live site.. Have a look at Installing and Upgrading SMF in the Online Manual to know more. You cannot upgrade to 2.1 Beta 1 via the package manager; instead you will need to do the "Large Upgrade" process. SMF 2.1 can be obtained from the Download section.

Please note: Because this is the first beta release, translations and language strings other than English have not been finalized and may not be complete yet.

Finally, as always, this topic is not for support; discussion and support for 2.1 can be found in the new 2.1 support board.

Regards,
Simple Machines Forum

From Simple Machines

#84
Free Themes / Re: Reseller
November 21, 2014, 12:09:39 AM
Subs.php (Carpeta Sources)
Buscar:
function constructPageIndex($base_url, &$start, $max_value, $num_per_page, $flexible_start = false)
{
global $modSettings;

// Save whether $start was less than 0 or not.
$start = (int) $start;
$start_invalid = $start < 0;

// Make sure $start is a proper variable - not less than 0.
if ($start_invalid)
$start = 0;
// Not greater than the upper bound.
elseif ($start >= $max_value)
$start = max(0, (int) $max_value - (((int) $max_value % (int) $num_per_page) == 0 ? $num_per_page : ((int) $max_value % (int) $num_per_page)));
// And it has to be a multiple of $num_per_page!
else
$start = max(0, (int) $start - ((int) $start % (int) $num_per_page));

// Wireless will need the protocol on the URL somewhere.
if (WIRELESS)
$base_url .= ';' . WIRELESS_PROTOCOL;

$base_link = '<a class="navPages" href="' . ($flexible_start ? $base_url : strtr($base_url, array('%' => '%%')) . ';start=%1$d') . '">%2$s</a> ';

// Compact pages is off or on?
if (empty($modSettings['compactTopicPagesEnable']))
{
// Show the left arrow.
$pageindex = $start == 0 ? ' ' : sprintf($base_link, $start - $num_per_page, '&#171;');

// Show all the pages.
$display_page = 1;
for ($counter = 0; $counter < $max_value; $counter += $num_per_page)
$pageindex .= $start == $counter && !$start_invalid ? '<strong>' . $display_page++ . '</strong> ' : sprintf($base_link, $counter, $display_page++);

// Show the right arrow.
$display_page = ($start + $num_per_page) > $max_value ? $max_value : ($start + $num_per_page);
if ($start != $counter - $max_value && !$start_invalid)
$pageindex .= $display_page > $counter - $num_per_page ? ' ' : sprintf($base_link, $display_page, '&#187;');
}
else
{
// If they didn't enter an odd value, pretend they did.
$PageContiguous = (int) ($modSettings['compactTopicPagesContiguous'] - ($modSettings['compactTopicPagesContiguous'] % 2)) / 2;

// Show the first page. (>1< ... 6 7 [8] 9 10 ... 15)
if ($start > $num_per_page * $PageContiguous)
$pageindex = sprintf($base_link, 0, '1');
else
$pageindex = '';

// Show the ... after the first page.  (1 >...< 6 7 [8] 9 10 ... 15)
if ($start > $num_per_page * ($PageContiguous + 1))
$pageindex .= '<span style="font-weight: bold;" onclick="' . htmlspecialchars('expandPages(this, ' . JavaScriptEscape(($flexible_start ? $base_url : strtr($base_url, array('%' => '%%')) . ';start=%1$d')) . ', ' . $num_per_page . ', ' . ($start - $num_per_page * $PageContiguous) . ', ' . $num_per_page . ');') . '" onmouseover="this.style.cursor = \'pointer\';"> ... </span>';

// Show the pages before the current one. (1 ... >6 7< [8] 9 10 ... 15)
for ($nCont = $PageContiguous; $nCont >= 1; $nCont--)
if ($start >= $num_per_page * $nCont)
{
$tmpStart = $start - $num_per_page * $nCont;
$pageindex.= sprintf($base_link, $tmpStart, $tmpStart / $num_per_page + 1);
}

// Show the current page. (1 ... 6 7 >[8]< 9 10 ... 15)
if (!$start_invalid)
$pageindex .= '[<strong>' . ($start / $num_per_page + 1) . '</strong>] ';
else
$pageindex .= sprintf($base_link, $start, $start / $num_per_page + 1);

// Show the pages after the current one... (1 ... 6 7 [8] >9 10< ... 15)
$tmpMaxPages = (int) (($max_value - 1) / $num_per_page) * $num_per_page;
for ($nCont = 1; $nCont <= $PageContiguous; $nCont++)
if ($start + $num_per_page * $nCont <= $tmpMaxPages)
{
$tmpStart = $start + $num_per_page * $nCont;
$pageindex .= sprintf($base_link, $tmpStart, $tmpStart / $num_per_page + 1);
}

// Show the '...' part near the end. (1 ... 6 7 [8] 9 10 >...< 15)
if ($start + $num_per_page * ($PageContiguous + 1) < $tmpMaxPages)
$pageindex .= '<span style="font-weight: bold;" onclick="expandPages(this, \'' . ($flexible_start ? strtr($base_url, array('\'' => '\\\'')) : strtr($base_url, array('%' => '%%', '\'' => '\\\'')) . ';start=%1$d') . '\', ' . ($start + $num_per_page * ($PageContiguous + 1)) . ', ' . $tmpMaxPages . ', ' . $num_per_page . ');" onmouseover="this.style.cursor=\'pointer\';"> ... </span>';

// Show the last number in the list. (1 ... 6 7 [8] 9 10 ... >15<)
if ($start + $num_per_page * $PageContiguous < $tmpMaxPages)
$pageindex .= sprintf($base_link, $tmpMaxPages, $tmpMaxPages / $num_per_page + 1);
}

return $pageindex;
}


Reemplazar por:
function constructPageIndex($base_url, &$start, $max_value, $num_per_page, $flexible_start = false)
{
global $modSettings;

// Save whether $start was less than 0 or not.
$start = (int) $start;
$start_invalid = $start < 0;

// Make sure $start is a proper variable - not less than 0.
if ($start_invalid)
$start = 0;
// Not greater than the upper bound.
elseif ($start >= $max_value)
$start = max(0, (int) $max_value - (((int) $max_value % (int) $num_per_page) == 0 ? $num_per_page : ((int) $max_value % (int) $num_per_page)));
// And it has to be a multiple of $num_per_page!
else
$start = max(0, (int) $start - ((int) $start % (int) $num_per_page));

// Wireless will need the protocol on the URL somewhere.
if (WIRELESS)
$base_url .= ';' . WIRELESS_PROTOCOL;

$base_link = '<li><a class="navPages" href="' . ($flexible_start ? $base_url : strtr($base_url, array('%' => '%%')) . ';start=%1$d') . '">%2$s</a></li>';

// Compact pages is off or on?
if (empty($modSettings['compactTopicPagesEnable']))
{
// Show the left arrow.
$pageindex = $start == 0 ? ' ' : sprintf($base_link, $start - $num_per_page, '&#171;');

// Show all the pages.
$display_page = 1;
for ($counter = 0; $counter < $max_value; $counter += $num_per_page)
$pageindex .= $start == $counter && !$start_invalid ? '<li class="active"><a href="javascript:void(0);">' . $display_page++ . '</a></li>' : sprintf($base_link, $counter, $display_page++);

// Show the right arrow.
$display_page = ($start + $num_per_page) > $max_value ? $max_value : ($start + $num_per_page);
if ($start != $counter - $max_value && !$start_invalid)
$pageindex .= $display_page > $counter - $num_per_page ? ' ' : sprintf($base_link, $display_page, '&#187;');
}
else
{
// If they didn't enter an odd value, pretend they did.
$PageContiguous = (int) ($modSettings['compactTopicPagesContiguous'] - ($modSettings['compactTopicPagesContiguous'] % 2)) / 2;

// Show the first page. (>1< ... 6 7 [8] 9 10 ... 15)
if ($start > $num_per_page * $PageContiguous)
{
$pageindex = $start == 0 ? ' ' : sprintf($base_link, $start - $num_per_page, '&#171;');
$pageindex .= sprintf($base_link, 0, '1');
}
else
{
$pageindex = $start == 0 ? ' ' : sprintf($base_link, $start - $num_per_page, '&#171;');
}

// Show the ... after the first page.  (1 >...< 6 7 [8] 9 10 ... 15)
if ($start > $num_per_page * ($PageContiguous + 1))
$pageindex .= '<li><span style="font-weight: bold;" onclick="' . htmlspecialchars('expandPages(this, ' . JavaScriptEscape(($flexible_start ? $base_url : strtr($base_url, array('%' => '%%')) . ';start=%1$d')) . ', ' . $num_per_page . ', ' . ($start - $num_per_page * $PageContiguous) . ', ' . $num_per_page . ');') . '" onmouseover="this.style.cursor = \'pointer\';"> ... </span></li>';

// Show the pages before the current one. (1 ... >6 7< [8] 9 10 ... 15)
for ($nCont = $PageContiguous; $nCont >= 1; $nCont--)
if ($start >= $num_per_page * $nCont)
{
$tmpStart = $start - $num_per_page * $nCont;
$pageindex.= sprintf($base_link, $tmpStart, $tmpStart / $num_per_page + 1);
}

// Show the current page. (1 ... 6 7 >[8]< 9 10 ... 15)
if (!$start_invalid)
$pageindex .= '<li class="active"><a href="javascript:void(0);">' . ($start / $num_per_page + 1) . '</a></li> ';
else
$pageindex .= sprintf($base_link, $start, $start / $num_per_page + 1);

// Show the pages after the current one... (1 ... 6 7 [8] >9 10< ... 15)
$tmpMaxPages = (int) (($max_value - 1) / $num_per_page) * $num_per_page;
for ($nCont = 1; $nCont <= $PageContiguous; $nCont++)
if ($start + $num_per_page * $nCont <= $tmpMaxPages)
{
$tmpStart = $start + $num_per_page * $nCont;
$pageindex .= sprintf($base_link, $tmpStart, $tmpStart / $num_per_page + 1);
}

// Show the '...' part near the end. (1 ... 6 7 [8] 9 10 >...< 15)
if ($start + $num_per_page * ($PageContiguous + 1) < $tmpMaxPages)
$pageindex .= '<li><span style="font-weight: bold;" onclick="expandPages(this, \'' .($flexible_start ? strtr($base_url, array('\'' => '\\\'')) : strtr($base_url, array('%' => '%%', '\'' => '\\\'')) . ';start=%1$d') . '\', ' . ($start + $num_per_page * ($PageContiguous + 1)) . ', ' . $tmpMaxPages . ', ' . $num_per_page . ');" onmouseover="this.style.cursor=\'pointer\';"> ... </span></li>';

// Show the last number in the list. (1 ... 6 7 [8] 9 10 ... >15<)
if ($start + $num_per_page * $PageContiguous < $tmpMaxPages)
$pageindex .= sprintf($base_link, $tmpMaxPages, $tmpMaxPages / $num_per_page + 1);

for ($counter = 0; $counter < $max_value; $counter += $num_per_page)
$display_page = ($start + $num_per_page) > $max_value ? $max_value : ($start + $num_per_page);
if ($start != $counter - $max_value && !$start_invalid)
$pageindex .= $display_page > $counter - $num_per_page ? ' ' : sprintf($base_link, $display_page, '&#187;');

}

return '<ul class="pagination">'.$pageindex.'</ul>';
}


Display.template.php y MessageIndex.template.php (Themes/tutheme)
Buscar y eliminar todos los:
', $txt['pages'], ':
#85
Chit Chat / Re: Hello everyone
November 20, 2014, 11:54:27 PM
Welcome :)
#86
Free Themes / Re: Reseller
November 20, 2014, 11:54:04 PM
There is no option in the administration to change the width of the forum. If you want, you can do the following:
Bootstrap.css (Themes/Reseller/css)
Search:
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

Replace with:
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .container {
    width: 90%;
  }
}

width: 90%; < There you can change de width of the forum.
#87
Free Themes / Re: Reseller
November 15, 2014, 01:44:39 PM
En realidad, no se mucho sobre como agregar fuentes en los BBC, pero puedes mirar este mod: http://custom.simplemachines.org/mods/index.php?mod=3478

A que te refieres con lo del diseño de la lista de páginas del fondo por cuadros?
#88
Free Themes / Re: Reseller
November 15, 2014, 01:37:36 PM
Quote from: bry82 on November 09, 2014, 08:00:07 AM
Okay, I managed to find out what to edit, Display.template.php

Can I display an image instaed of "administrator", "moderator" etc...?
You have to edit in the administration group member, there you will find how to setup the images. Remember that images should be in the following path: Themes/{yourtheme}/images


Quote from: ForumMix on November 15, 2014, 11:27:33 AM
I was wondering how to increase pages on this theme. Today, there are many temor with this adaptation-Forum width:
Ange forum width. For example: 950px, 80%, 1240px.

But this is missing this. Now I wonder where this can be? Can anyone identify this?
Open another topic for this question.
#89
Free Themes / Re: Reseller
November 09, 2014, 10:50:12 AM
Index.template.php (Themes/Reseller)
Search and delete:
else
{
echo'
<button type="button" class="btn btn-success" data-toggle="modal" data-target="#myModal">', $txt['login'] ,'</button>
<button type="button" class="btn btn-primary" onclick="location.href=\''. $scripturl .'?action=register\'">', $txt['register'] ,'</button>
<form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">', $txt['login'] ,'</h4>
</div>
<div class="modal-body">
<div class="form-group">
<input type="text" name="user" class="form-control" placeholder="', $txt['user'] ,'" />
</div>
<div class="form-group">
<input type="password" name="passwrd" class="form-control" placeholder="', $txt['password'] ,'" />
</div>
<div class="checkbox">
<label>
<input name="cookielength" type="checkbox" value="-1" /> ', $txt['rs_remember'] ,'
</label>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-success">', $txt['login'] ,'</button>
</div>
</div>
</div>
</div>
</form>';
}
#90
Free Themes / Re: Reseller
November 07, 2014, 01:15:12 PM
Index.template.php
Search:
<script type="text/javascript">
$(document).ready(function(){
$("input[type=button]").attr("class", "btn btn-default btn-sm");
$(".button_submit").attr("class", "btn btn-primary btn-sm");
$("#advanced_search input[type=\'text\'], #search_term_input input[type=\'text\']").removeAttr("size");
$(".table_grid").attr("class", "table table-striped");
$("img[alt=\'', $txt['new'], '\'], img.new_posts").replaceWith("<span class=\'label label-warning\'>', $txt['new'], '</span>");
$("#profile_success").removeAttr("id").removeClass("windowbg").addClass("alert alert-success");
$("#profile_error").removeAttr("id").removeClass("windowbg").addClass("alert alert-danger");
});
</script>


Replace with:
<script type="text/javascript">
$(document).ready(function(){
var $abrir = $(".abrir");
var $cerrar = $(".cerrar");
var $menu = $("#sidebar");
var $content = $("#main");
$abrir.click( function(){
$menu.css("left","0px");
$cerrar.css("display","block");
$abrir.css("display","none");
$content.css("margin-left","300px");
});
$cerrar.click( function(){
$menu.css("left","-300px");
$cerrar.css("display","none");
$abrir.css("display","block");
$content.css("margin-left","auto");
});
$("input[type=button]").attr("class", "btn btn-default btn-sm");
$(".button_submit").attr("class", "btn btn-primary btn-sm");
$("#advanced_search input[type=\'text\'], #search_term_input input[type=\'text\']").removeAttr("size");
$(".table_grid").attr("class", "table table-striped");
$("img[alt=\'', $txt['new'], '\'], img.new_posts").replaceWith("<span class=\'label label-warning\'>', $txt['new'], '</span>");
$("#profile_success").removeAttr("id").removeClass("windowbg").addClass("alert alert-success");
$("#profile_error").removeAttr("id").removeClass("windowbg").addClass("alert alert-danger");
});
</script>


Search:
echo'
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="row">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand visible-xs" href="', $scripturl, '">', $context['forum_name'] ,'</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">';

// Show the menu here, according to the menu sub template.
template_menu();

echo'
</ul>
</div>
</div>
</div>
</nav>


Replace with:
// Show the menu here, according to the menu sub template.
template_menu();

echo'
<div id="main">
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div>
<div class="navbar-header">
<div class="btn-sidebar">
<a href="javascript:void(0);" class="abrir">
<button type="button" class="navbar-toggle" style="display: block">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</a>
<a href="javascript:void(0);" class="cerrar">
<button type="button" class="navbar-toggle" style="display: block">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</a>
</div>
<a class="navbar-brand" href="', $scripturl, '">', $context['forum_name'] ,'</a>
</div>
</div>
</div>
</nav>


Search:
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo '
</body></html>';
}

Replace with:
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo '
</div>
</body></html>';
}


Search:
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li id="button_', $act, '" class="', $button['sub_buttons'] ? 'dropdown ' : '', '', $button['active_button'] ? 'active ' : '', '">
<a ', $button['sub_buttons'] ? 'class="dropdown-toggle" ' : '', 'href="', $button['sub_buttons'] ? '#' : $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '', $button['sub_buttons'] ? ' data-toggle="dropdown"' : '', '>
', $button['title'], '
', $button['sub_buttons'] ? '<span class="caret"></span>' : '' ,'
</a>';
if (!empty($button['sub_buttons']))
{
echo '
<ul class="dropdown-menu" role="menu">';

foreach ($button['sub_buttons'] as $childbutton)
{
echo '
<li>
<a href="', $childbutton['href'], '"', isset($childbutton['target']) ? ' target="' . $childbutton['target'] . '"' : '', '>
', $childbutton['title'] , '
</a>
</li>';
}
echo '
</ul>';
}
echo '
</li>';
}
}


Replace with:
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

echo '
<aside id="sidebar">
<ul class="nav nav-list">';

foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '#forum"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>
</a>
</li>';
}

echo '
</ul>
</aside>';
}


Reseller.css
Add to the end:
aside#sidebar{
    background: #222;
    width: 300px;
    height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}
#wrapper
{
    transition: 0.2s;
    -webkit-transition: 0.2s;
}
.btn-sidebar
{
float: left;
}
#sidebar > .nav li
{
border-top: 1px solid rgba(95, 95, 95, 0.1);
}
#sidebar > .nav li:last-child
{
border-bottom: 1px solid rgba(95, 95, 95, 0.1);
}
#sidebar > .nav > li a
{
color: #d2c0c4;
}
#sidebar > .nav > li a:hover
{
color: #3498db;
background-color: #1b1516;
}
#sidebar > .nav > li a.active
{
color: #3498db;
}
.cerrar{
    display: none;
}


Regards!