Last registered user screwed up [message #17142] |
Thu, 18 March 2004 11:27 |
math_adm
Messages: 126 Registered: September 2003 Location: France
Karma: 0
|
Senior Member |
|
|
Hi
My last registered user (as seen on the main page of the forum) is always the same (some user who registered on feb,3), although some users are more recent (one last night).
This seems to be since I upgraded from 2.3.8 to 2.6.0 stable and renamed some user logins in the admin panel.
Kind regards
|
|
|
Re: Last registered user screwed up [message #17148 is a reply to message #17142] |
Thu, 18 March 2004 13:30 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The statistics on the front page are cached for 10 minutes, they are not realtime like in 2.3.8, although you can control the caching period via the admin control panel.
The query that is used to fetch the data is a simple "SELECT MAX(id), count(*)-1 FROM [db_prefix]users", so your problem would not occur unless the user you see has the max id.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Re : Last registered user screwed up [message #18341 is a reply to message #18331] |
Tue, 18 May 2004 13:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well the cache is not permanent and by default should be refreshed automatically once it's age goes above 10 minutes. You can of course reduce duration of the cache if you have frequent registrations or turn it of all together like you've done.
FUDforum Core Developer
|
|
|
|
|