MyBB Support Statistics of forum Submitted by Fstyle, 04-12-2015, 01:03 PM, Thread ID: 13758 Thread Closed Reply 04-12-2015, 01:03 PM #1 I want to ask how to get it: "Statistics Posts: 3.8k Threads: 344 " Look forward to the answer. Thank you More RE: Statistics of forum 04-12-2015, 01:42 PM #2 I have a common one but it shows bars & stars would that be okey? More RE: Statistics of forum OP 04-12-2015, 03:13 PM #3 sorry, I want to ask how the letter "k" after 3.8k More RE: Statistics of forum 04-12-2015, 03:32 PM #4 04-12-2015, 03:13 PMFstyle Wrote: sorry, I want to ask how the letter "k" after 3.8k It's simple PHP. More RE: Statistics of forum 15-12-2015, 06:53 PM #5 PHP Code:$numbers = array(1000,2000);function format_number($number) { if($number >= 1000) { return $number/1000 . "k"; } else { return $number; }}foreach($numbers as $number) { echo format_number($number); echo "<br>";}?> More 1 Faded
RE: Statistics of forum 04-12-2015, 01:42 PM #2 I have a common one but it shows bars & stars would that be okey? More
RE: Statistics of forum OP 04-12-2015, 03:13 PM #3 sorry, I want to ask how the letter "k" after 3.8k More
RE: Statistics of forum 04-12-2015, 03:32 PM #4 04-12-2015, 03:13 PMFstyle Wrote: sorry, I want to ask how the letter "k" after 3.8k It's simple PHP. More
RE: Statistics of forum 15-12-2015, 06:53 PM #5 PHP Code:$numbers = array(1000,2000);function format_number($number) { if($number >= 1000) { return $number/1000 . "k"; } else { return $number; }}foreach($numbers as $number) { echo format_number($number); echo "<br>";}?> More 1 Faded