[IPB 3] How to change Online-Stats-Text

11/11/2011 23:20 Dr. John Dorian²'#1
I gave him some tutorial (since im coding alot IPB stuff).

Well i gonna post it now, maybe someone else needs it lol

For Unreal Portal:

ACP -> "Look & Feel" -> click on the arrow on the right hand of your skin -> "Manage Templates & CSS" -> skin_uportal -> stats_header

Find this (first lines though lol) ;)

Code:
<tr>

                <td class='row2 altrow'><b>{$stats['TOTAL']} {$this->lang->words['active_users_text']} {$this->lang->words['active_users']}</b></td>

            </tr>

            <tr>

                <td class='row2'>{$stats['MEMBERS']} {$this->lang->words['members']}, {$stats['GUESTS']} {$this->lang->words['guests']}, {$stats['ANON']} {$this->lang->words['anon_users']}</td>
you can replace these with your text strings:

Code:
{$this->lang->words['members']}

{$this->lang->words['guests']}

{$this->lang->words['anon_users']}
For Forum-Stats:

ACP -> "Look & Feel" -> click on the arrow on the right hand of your skin -> "Manage Templates & CSS" -> Board Index -> boardIndexTemplate

Look for:

Code:
{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
Replace with this, you can edit it fosho:

Code:
{$stats['MEMBERS']} Members, {$stats['GUESTS']} Guests, {$stats['ANON']} Anonymous Users