Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Board Statistics change (merge lines)
#1
Not Solved
Hi! I was wondering if it is possible to merge lines at Board Statistics.
I saw it at languages config, but as these sentences have {1} or {2} variables, I'm not sure if those can be merged.

How it's now:
Who's Online [Complete List]
580 users active in the past 15 minutes (17 members, 4 of whom are invisible, and 561 guests).
Board Statistics
Our members have made a total of 941,958 posts in 120,714 threads.
We currently have 65,150 members registered.
Please welcome our newest member, xxxxx
The most users online at one time was 1,777 on 08-11-2012 at 03:05 AM

How I'd like it to be:
Who's Online [Complete List]
580 users active in the past 15 minutes (17 members, 4 of whom are invisible, and 561 guests).
The most users online at one time was 1,777 on 08-11-2012 at 03:05 AM
Board Statistics
Our 65,150 members have made a total of 941,958 posts in 120,714 threads.
Please welcome our newest member, xxxxx

OR at least:
Board Statistics
Our 65,150 members have made a total of 941,958 posts in 120,714 threads.
Please welcome our newest member, xxxxx
The most users online at one time was 1,777 on 08-11-2012 at 03:05 AM

Is it possible?
Thanks for your help!
Foroholic.com: adicto a administrar foros.
#2
Not Solved
This will require an edit of your languages file which will changed after you upgrade your forum.

First go to .inc/languages/english/index.lang.php

Find

Code:
$l['stats_posts_threads'] = "We have made a total of {1} posts in {2} threads.";
$l['stats_numusers'] = "We currently have {1} members registered.";

Replace with

Code:
$l['stats_posts_threads'] =  made a total of {1} posts in {2} threads.";
$l['stats_numusers'] = "Our {1} members";

Then go to ACP>Templates & Styles>Templates>YOUR THEME>Index>Index_stats

Find

Code:
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />

Replace with

Code:
{$lang->stats_numusers}&nbsp;{$lang->stats_posts_threads}<br />
#3
Not Solved
(07-19-2013, 02:37 PM)Arbaz Wrote: Find

Code:
$l['stats_posts_threads'] = "We have made a total of {1} posts in {2} threads.";
$l['stats_numusers'] = "We currently have {1} members registered.";

Replace with

Code:
$l['stats_posts_threads'] =  "made a total of {1} posts in {2} threads.";
$l['stats_numusers'] = "Our {1} members";
Thanks! I just did it and work perfectly (just added " before "made a total of...").
Thanks a lot!! Smile

PS: I did it with the Spanish language, just the same thing but the Spanish folder Smile
Foroholic.com: adicto a administrar foros.
#4
Not Solved
Whoops, tiny mistake. Thanks for correcting the quotes part. Your welcome and thanks for the +rep.

Doesn't matter what language; As long as it gets the job done.


Forum Jump:


Users browsing this thread: 1 Guest(s)