15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

Disabling Statistics

Author Chefelf
#1 | Posted: 13 Nov 2002 01:43 
How does one disable individual statistics on the statistics page. I would like to just disable the "number of posts" part of the statistics page but if necessary I will disable the entire page.

I wouldn't mind having access to the statistics I just don't want it to be viewable to the users of the board... I'm getting a lot of people who want to have the most posts and it's kinda annoying.


Author Team
#2 | Posted: 13 Nov 2002 10:12 
Do you mean the general statistics or the statistics shown in user info? If general, you need nust to remove some stuff from the template. Also, you can remove the "Statistics" menu from the main_header ($l_menu[3]).

Author Chefelf
#3 | Posted: 13 Nov 2002 22:43 
I guess I'd like to know how to do both. User info and in general. Is there a way to just disable certain statistics (i.e. most active user)? Thanks for your help!

Author Team
#4 | Posted: 14 Nov 2002 10:39 
I guess, you need just to remove this part from stats.html template.

Author Chefelf
#5 | Posted: 16 Nov 2002 03:41 
I'm sorry... what part do I remove from stat.html?

Author Chefelf
#6 | Posted: 16 Nov 2002 03:45 
And, also, how can I eliminate it from the user info page?

Author Team
#7 | Posted: 19 Nov 2002 10:43 
what part do I remove from stats.html?
It's a part with "$l_stats_numPosts".

how can I eliminate it from the user info page?
You need to comment or remove a snippet in bb_func_usernfo.php

/* Posts count */
if ($lastT=DB_query(93,0)) {

Author Chefelf
#8 | Posted: 22 Nov 2002 23:22 
Thanks a lot for your help. I don't have the file bb_func_usernfo.php. Maybe that's for the newer version.

I searched and found it in the file functions.php and commented out the following:

/* Activities */
$what=$l_usrInfo[10]; $whatValue=uFstats($user);
eval("\$cell = \"$cell\";"); $cell=stripslashes($cell);

Works like a charm! Thanks again!

Author Team
#9 | Posted: 25 Nov 2002 10:35 
Ah, you have older version :) UPGRADE to new - recommended :) We are no longer supporting old versions.

How To miniBB Support Forums / How To / Disabling Statistics Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB