MyBB Community Forums

Full Version: Adding Additional to Homepage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've created my own homepage/index for my board, and am just curious as to what the code is to add the "latest threads" box and also "who's online" and such?
Well for the whos online here is the code in the index_whosonline -

<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>

For the latest threads -

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->latest_threads}</strong></td>
</tr>
{$threadlist}
</table>
<br />
Just as I feared, the main page isn't reading the MyBB codes/php.

I created my own index page using Page Manager and when I enter these it doesn't show up as anything. Sad
Bump for help.
I had to purchase services of a PHP coder (Thanks JammerX2 Toungue) to get the latest threads feed onto the homepage, you might want to contact him as well.