![]() |
Cool. I'm glad it worked. It's a great hack!
|
Here is what Opera Showed!
|
nice hack freddy :)
on my board i've found that it slows the loading of the admin page by a few seconds and also adds to the load of the machine. so i've moved it to a seperate file and added a link to my admin nav bar :) Save Freddys hack to admin/adminquickstats.php at the top of the file add: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Yes it will do a full scan of the post/thread/user tables so it can appear slow. I don't see any long term effects on load happening though unless you are reloading the Admin CP index often.
|
Hi,
I don't reccoment if you don't call admin/index.php every few seconds, but if you want to try at your own risk, query some SQL-commands: create index joindate on user (joindate) create index dateline on thread (dateline) create index dateline on post (dateline) create index lastactivity on user (lastactivity) If you don't get what you want, you can undo with: alter table user drop index joindate alter table thread drop index dateline alter table post drop index dateline alter table user drop index lastactivity |
Don't add those indeces to your forum as it will result in a general slowdown.
It will make these stats appear instantly but you will then have dateline indexed twice in thread and post since it is part of a multi-record index already. You will then have lastactivity indexed on the user table which will then have to be updated on every pageview which can be a bad thing. It is important to devote optimization to the user side of the forum at the admin panel's cost. |
huh - did I miss something in the upgrades? I can't find any indices of dateline (checked with show create table post / thread)
But you're right, it would slow down update/insert/delete-statements. |
Your right. I am getting confused with vb3 tables I think. Just ignore me. I still woudn't put that index on the user.lastactivity though.
|
Excellent, works well apart from the slow admin/index.php - but that I can handle.
|
Works bootyfully :D.
|
All times are GMT. The time now is 09:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|