MyBB Community Forums

Full Version: Board Stats Template Location?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to change the text of the "Forum Stats" as you can see in this picture.
http://gyazo.com/479a3a647030ba8c2f0046fa87a2a135

Where do I find the template to edit the text? I tried editing it in the (index_stats) template but it's linked to a different template.

<div class="Stats_Text"></div><div id="Stats_Bubble">{$lang->stats_posts_threads}</div><br />
<div class="Stats_Text"></div><div id="Stats_Bubble">{$lang->stats_numusers}</div><br />
<div class="Stats_Text"></div><div id="Stats_Bubble">{$lang->stats_newestuser}</div><br />
<div class="Stats_Text"></div><div id="Stats_Bubble">{$lang->stats_mostonline}</div>
</span>
</td>
</tr>

I need to find the
{$lang->stats_posts_threads}
{$lang->stats_numusers}
{$lang->stats_newestuser}
{$lang->stats_mostonline}
I believe you are talking about the stats template.

ACP>Templates & Styles>Templates>YOUR THEME>Statistics Template>Stats
(2013-07-25, 09:25 PM)Arbaz Wrote: [ -> ]I believe you are talking about the stats template.

ACP>Templates & Styles>Templates>YOUR THEME>Statistics Template>Stats

Yeah I saw that but the texts is not in there. It's linked to somewhere else.
http://gyazo.com/1aae6abaa62c867aac4d577fb281ce46
Oh. The text can be found in the language files.

.inc/languages/english
(2013-07-25, 09:36 PM)Arbaz Wrote: [ -> ]Oh. The text can be found in the language files.

.inc/languages/english
I don't see the text that was in the screenshot.

This is my language file: .inc/languages/english/stats.lang.php
<?php
/**
 * MyBB 1.6 English Language Pack
 * Copyright 2010 MyBB Group, All Rights Reserved
 * 
 * $Id$
 */

$l['nav_stats'] = "Board Statistics";

$l['board_stats'] = "Board Statistics";
$l['none'] = "None";
$l['nobody'] = "Nobody";
$l['totals'] = "Totals";
$l['averages'] = "Averages";
$l['posts'] = "Posts:";
$l['threads'] = "Threads:";
$l['members'] = "Members:";
$l['ppd'] = "Posts per day:";
$l['tpd'] = "Threads per day:";
$l['mpd'] = "Members per day:";
$l['ppm'] = "Posts per member:";
$l['rpt'] = "Replies per thread:";
$l['no_posts'] = "No";
$l['general'] = "General";
$l['newest_member'] = "Newest Member:";
$l['members_posted'] = "Members who have posted:";
$l['todays_top_poster'] = "Today's top poster: <b>{1}</b> (<b>{2}</b> posts)";
$l['popular_forum'] = "Most popular forum: <b>{1}</b> (<b>{2}</b> posts, <b>{3}</b> threads)";
$l['most_popular'] = "Most Popular...";
$l['most_replied_threads'] = "Most Replied To Threads";
$l['most_viewed_threads'] = "Most Viewed Threads";
$l['not_enough_info_stats'] = "Sorry, but there is not enough information on this board to generate statistics. Before statistics can be generated this board needs to contain at least 1 member and 1 thread.";
$l['replies'] = "replies";
$l['views'] = "views";

?>
It should be in index.lang.php
Thank you! It work. Smile