MyBB Community Forums

Full Version: Few Theme and templates questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey
First off, can someone tell me how to make the board message mod look like the one on this forum and also how do put the images and the divider line in the stats like http://forum.mybboard.de/
Thanks
Matt
Please use the search next time....

[Wiki: Help:Latest_News_Bar] (Broken link, head over to docs.mybb.com instead)


Image @ Board Stats
Admin CP > Templates > Modify / Delete > Expand > Index Page templates > index_stats
Replace it with
<tr><td class="tcat" colspan="2"><strong>{$lang->boardstats}</strong></td></tr>
<tr>
<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}/statistics.gif" alt="" / align="center"></td>
<td class="trow2" valign="top"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>

Then go to index_whosonline
Replace everything with
<tr>
<td class="tcat" colspan="2"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow1" width="40" align="center" valign="top"><img src="{$theme['imgdir']}/members.gif" alt="" /></td>
<td class="trow2" valign="top">
<span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
Then go to index & find
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
Replace with
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>


{$theme['imgdir']}/statistics.gif
{$theme['imgdir']}/members.gif
Find 2 images and renamed them as above and upload them to your theme directory.