MyBB Community Forums

Full Version: What is the name of that plugin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: unledczq.png]

thanks a lot
For Hiding Board Stats from guests, I believe you can do this with: http://community.mybb.com/thread-50892.html
i understand only the second part which it says over there cant understand the first one is it necessary to do the first part with php ?and if yes would u explain more how to do this?
First of all, Install this plugin: http://community.mybboard.net/thread-31860.html

Now Go to: ACP > Templates > Your theme's templates > Index Templates > index_boardstats > and Replace all code with this;

<if $mybb->user['uid'] == "0" then>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div style="margin:0 auto;text-align:center"><strong>Board Statistics disabled</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
<tr>
        <td class="trow1"align="center">
<strong>Welcome Guest!<br /> The Board Statistics can be seen by registered members only!You are welcomed to join our community. <a href="member.php?action=register">Register</a><br />
Already a member? <a href="member.php?action=login">Login</a></strong></td>
</tr>
</tbody>
</table>
<br />
<else>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$birthdays}
{$forumstats}
<tr>
    <td class="tfoot" style="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>
    </td>
</tr>
</tbody>
</table>
<br />
</if>
Lol m8te i just didht saw the download button xD thanks my thread answerSmile
After using, this is the error in index page:


Parse error: syntax error, unexpected ',' in homeurl\index.php(274) : eval()'d code on line 21
would u show me a screenshot?
Its OK right now, Thanks Yaldaram and TheUninvited > http://www.nadlerzone.com