#1 By: mrselnombre Subject:Stats page, slow loading  Time: 16.Apr.06 22:21:25
I don't know, but i suspect it is because of the thousands of members that log in every month. (Already up to 1283 this month)

Is there anyway to optimize this, or remove that part of the stats altogether.


#2 By: webmaster Subject:Stats page, slow loading  Time: 22.Apr.06 13:27:41
More More Stats Mod in SM Settings, try turning those off and see what happens.


#3 By: mrselnombre Subject:Stats page, slow loading  Time: 23.Apr.06 22:33:41
Quote from: Wiziwig

More More Stats Mod in SM Settings, try turning those off and see what happens.


nope no difference

here is a direct link to the stats page
www.totaltwaddle.co.uk/freebie...d=;action=stats


#4 By: imagineopenes Subject:Stats page, slow loading  Time: 24.Apr.06 21:20:35
Wow that does take a long time! Are you interested in an unsupported hack to speed that up (I could probably make one for you that doesn't spit out the names) ?


#5 By: mrselnombre Subject:Stats page, slow loading  Time: 25.Apr.06 08:46:09
Quote from: NaNMatrix

Wow that does take a long time! Are you interested in an unsupported hack to speed that up (I could probably make one for you that doesn't spit out the names) ?


anything to speed it up.

I think part of the problem is that the server is php5 and the software isn't ready for it yet...
or we're just too busy


#6 By: imagineopenes Subject:Stats page, slow loading  Time: 29.Apr.06 01:54:23
Yes . I am migrating my site to a new host this weekend, so after I get everything setup I will look at that file. Ideally all you have to do is not query the names and perhaps add a limit on the data. You could also run separate queries so that it seems faster and loads progressively, the hack wouldn't include that of course.


#7 By: mrselnombre Subject:Stats page, slow loading  Time: 29.Apr.06 17:33:01
thanks.. very much appreciated [clap]


#8 By: imagineopenes Subject:Stats page, slow loading  Time: 03.May.06 03:13:08
It looks like your site is down.

The file you want to modify is ./boarddir/Sources/stats.php

You want to make a copyof the file you have and then edit the live one as follows:

add /* in front of // Users online today

and add */ after // end of WHO WAS ONLINE - McJeroen

so the start part should look like

/*//Users online today

and the end should look like

// end of WHO WAS ONLINE */

This will hide the who was online today and the last 7 day part. Just test to see if that speeds up your statistics if so then that is a section of code that needs optimization.

I am attaching my stats.php it may be older or newer then your file so using it is at your own risk.