RC3.
I want to get rid of the member count, post count and topic count on the main page but cannot find the option anywhere. I only allow the curve theme. Is it something simply I'm overlooking?
Thanks
Admin CP > Current Theme > Show statistics on board index:
Does unchecking that that do what you want?
If not could you please post a screenshot of what you want to get rid of?
I have that option unchecked but that doesn't seem to affect it.
Attached is a screenshot.
Thanks
I forgot about that happening when that option is disabled.
In BoardIndex.template.php look for:
// Show some statistics if stat info is off.
if (!$settings['show_stats_index'])
echo '
<div id="index_common_stats">
', $txt['members'], ': ', $context['common_stats']['total_members'], ' • ', $txt['posts_made'], ': ', $context['common_stats']['total_posts'], ' • ', $txt['topics'], ': ', $context['common_stats']['total_topics'], '
', ($settings['show_latest_member'] ? ' ' . $txt['welcome_member'] . ' <strong>' . $context['common_stats']['latest_member']['link'] . '</strong>' . $txt['newest_member'] : '') , '
</div>';
And comment it out.
// Show some statistics if stat info is off.
/* if (!$settings['show_stats_index'])
echo '
<div id="index_common_stats">
', $txt['members'], ': ', $context['common_stats']['total_members'], ' • ', $txt['posts_made'], ': ', $context['common_stats']['total_posts'], ' • ', $txt['topics'], ': ', $context['common_stats']['total_topics'], '
', ($settings['show_latest_member'] ? ' ' . $txt['welcome_member'] . ' <strong>' . $context['common_stats']['latest_member']['link'] . '</strong>' . $txt['newest_member'] : '') , '
</div>';
*/
That should disappear it then.
Quote from: Kays on October 30, 2010, 10:39:08 AM
I forgot about that happening when that option is disabled.
In BoardIndex.template.php look for:
Thanks, that worked fine. Is that a known bug then?
Not a bug but a feature. ::)
Someone thinks that it should displayed elsewhere if it's disabled in the Info Center. Others, like you, disagree.
I'll mark this as solved.