MyBBThemes Community

Full Version: Index customisation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've added the Advanced Stats plug-in, and now it shows on my index page attached to the bit that says "this forum contains new posts; this one doesn't, this one is locked, etc etc." And that's annoying me. :@P

Can be seen here.

I'm not familiar with PHP so can anyone tell me what to edit in this index template's code or anywhere else to detach it. I tried entering a break here & there, but to no avail. Any help is appreciated.

Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
{$forums}
{$boardstats}<!-- ASOIP_2_0_I -->
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    <tr>
        <td class="trow1">
            <table width="100%">
                <tr>
                    <td>
                        <img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->new_posts}</span><br />
                        <img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->no_new_posts}</span><br />
                        <img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->forum_locked}</span>
                    </td>
                    <td style="vertical-align: top; text-align: right;"><span class="smalltext">{$logoutlink}<a href="misc.php?action=markread">{$lang->markread}</a> | <a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">{$lang->forumstats}</a></span>
                        {$loginform}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
{$footer}
</body>
Completely remove
Code:
<!-- ASOIP_2_0_I -->
from your index template.

Open your index_boardstats template,

Find:
Code:
{$whosonline}
{$online_today}
{$birthdays}
{$forumstats}

Replace with:
Code:
{$whosonline}
{$online_today}
{$birthdays}
{$forumstats}<!-- ASOIP_2_0_I -->
Thanks, ma'am. :D
Quite welcome, sir. :)
One more question; how can I make the Advanced Stats appear above the forums seperately from the other stats? Or would I need the Latest Posts & Threads plug-in for that? :)
Hmmm. Have you tried the Overview mod? I think that puts some kind of stats at the top of the forum.
FirefoxWiz Wrote:Hmmm. Have you tried the Overview mod? I think that puts some kind of stats at the top of the forum.

Alright, thanks, gonna try that.

Can you tell me how to remove header_welcomeblock_guest. I tried deleting the header_welcomeblock_guest content then deleting its bits from global.php, the text is gone but the table where it was originally placed is still there. So, what's the proper way to remove header_welcomeblock_guest? Thanks again. :)
I don't know that there is way to removed the guest welcome box..
I downloaded & activated the Overview plug-in, it shows a link of the creator, mybboard.de. The readme says that the link is not to be removed but can be put somewhere else than the bottom of the overview table. I've put it next to the copyright in the bottom of index, but when deleting it from the plugin's script, so that it will only be showing in the bottom, the index doesn't display altogether.

What's the proper way to transfer it to the bottom of index? Thanks, again. :)
Not sure. I never used that plugin myself.

Try going to your ACP > Templates > Global Templates and checking if overview has a template there. If so, the copyright / link should be in that. :)
Pages: 1 2
Reference URL's