Hello,
I found a post about how to remove "discussions" from the site stats box and that works great. However, I wanted to remove more items also. But when I add the same line of code after that line of code and change "discussions" to the name of anything else in the site stats box, the site crashes and gives me a syntax error. Also if I change discussions to "tags" for example, then "discussions" comes back naturally, but "tags" is not gone. Is "discussions" the only thing you can remove from the site stats box? Below is a copy of the post I found which removes "discussions" from the site stat box.
hello |
In /inc/design.inc.php find this line
function getSiteStatBody($aVal, $sMode = '') {
right after it add:
if ($aVal['capt'] == 'bx_forum_discussions') |