Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: DVD on November 22, 2005, 04:24:42 PM

Title: Forum Stats how erase them?
Post by: DVD on November 22, 2005, 04:24:42 PM
Hi i just had created  a new fórum and i copied the users to it because the will be a forum from the same users so how do y erese for complete the statistics of the forum like posts, time online, ETC, ETC

Thanks for the help
Title: Re: Forum Stats how erase them?
Post by: Oldiesmann on November 22, 2005, 05:12:09 PM
First, try Admin -> Forum Maintenance -> Recount all totals and statistics.

After that, you can reset stuff as needed through phpMyAdmin:

Most users online:
UPDATE smf_settings SET mostOnline = '1', mostOnlineToday = '1', mostDate = NOW();

Total time logged in and karma:
UPDATE smf_members SET totalTimeLoggedIn = '0', karmaBad = '0', karmaGood = '0';

The rest of the things are calculated automatically every time you access the stats page.
Title: Re: Forum Stats how erase them?
Post by: Ginseng on November 24, 2005, 08:55:15 AM
QuoteThe rest of the things are calculated automatically every time you access the stats page.

...every time you access the stats page or every time index.php is reloaded?
Title: Re: Forum Stats how erase them?
Post by: redone on November 24, 2005, 05:21:46 PM
As Oldiesmann said "Everything is recounted when you access the stats page".