Jump to content

Recommended Posts

Posted (edited)

Du-te in:

AdminCP > Look & Feel > Tema Ta > BoardIndex > boardIndexTemplate
CTRL F si cauta linia:
<if test="showTotals:|:$this->settings['show_totals']">
si modifica cu:
 
<if test="showTotals:|:$this->settings['show_totals']">
    <div id='board_stats'>        
        <ul class='ipsType_small ipsList_inline'>
            <li class='clear'>
                <span class='value'>{$stats['info']['total_posts']}</span>
                {$this->lang->words['total_posts']}
            </li>
<php>$threads=ipsRegistry::DB()->buildAndFetch( array( 'select' => 'count(*) as count','from'   => 'topics' ) );
$membersToday=ipsRegistry::DB()->buildAndFetch( array( 'select' => 'count(*) as count','from'   => 'members','where' => "FROM_UNIXTIME(joined, '%Y-%m-%d') = CURDATE()") );</php>
            <li class='clear'><span class='value'>{$threads['count']}</span> <!--{$this->lang->words['total_topics']}-->Topics</li>
            <li class='clear'>
                <span class='value'>{$stats['info']['mem_count']}</span>
                {$this->lang->words['total_members']}
            </li>
            <li class='clear'><span class='value'>{$membersToday['count']}</span> <!--{$this->lang->words['mem_joined_today']}-->Members Joined Today</li>
            <li class='clear'>
                {IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}
                {$this->lang->words['newest_member']}
            </li>
            <li class='clear' data-tooltip="{$stats['info']['most_time']}">
                <span class='value'>{$stats['info']['most_online']}</span>
                {$this->lang->words['online_at_once']}
            </li>
        </ul>
    </div>
</if>
 

Save! si-ti va aparea ceea ce ai mentionat tu mai sus.. ai grija ce modificari faci.. totu` se modifica pana la linia:

<div id='board_statistics' class='statistics clearfix'>

Daca nu te descurci, lasa-mi mie boardindextemplate aici si iti modific eu, succes!

 

 

Edited by Amon

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.