News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

About Board_Stats

Started by cuongvttt, March 21, 2024, 06:03:11 AM

Previous topic - Next topic

cuongvttt

Hello guys,

I'm using SMF 2.1.4 so I'm wondering if there is any option that can hide/show Board_Stats or I have to remove these following lines.

// Show some basic information about the number of posts, etc.
echo '
<div class="board_stats">
', function_exists('template_bi_' . $board['type'] . '_stats') ? call_user_func('template_bi_' . $board['type'] . '_stats', $board) : template_bi_board_stats($board), '
</div>';

Doug Heffernan

When you say board stats, what excatly do you mean? The stats at the bottom of the forum or the number of posts and topics for each forum?

cuongvttt

Hello Doug, please have a look at the attached image.


Doug Heffernan

Quote from: cuongvttt on March 21, 2024, 06:36:42 AMHello Doug, please have a look at the attached image.



In that case find either remove the block of code that you posted above, or comment it out. I think it can be done with editing a .css file too. Anyways, a manual edit is the only way to achieve that as it can't be done with out of the box features of Smf.

Steve

Quote from: cuongvttt on March 21, 2024, 06:36:42 AMplease have a look at the attached image
What attached image?
My pet rock is not feeling well. I think it's stoned.


Sir Osis of Liver

index.css -


.boardindex_table .board_stats {
padding: 13px 10px 10px;
display: none;
}

When in Emor, do as the Snamors.
                              - D. Lister

cuongvttt

Hello Sir, thank you so much for your help.

Advertisement: