MyBB Community Forums

Full Version: Add sidebar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Which is best sidebar for mybb?
I can add my own code in sidebar and adjust width of sidebar
I really like eNvy's sidebar (which he used in Square) - http://community.mybb.com/thread-159593-...pid1106063

<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> 

^ Add to index template, after {$header} variable. Smile
I added that code and its not working.
Please give other solution

Thanks
(2015-06-07, 08:57 AM)Elue Wrote: [ -> ]I added that code and its not working.
Please give other solution

Thanks

Board URL?