![]() |
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.
|
works greate on 2.2.4 without modification (no surprise). I installed. Without index. PHP is 412, so I cannot be a tester for < 4.0.3. Sorry.
|
Quote:
|
splendid. :)
|
Quote:
|
I love this little additon to my control panel....
It's Zesty! Yes.... Zesty! |
Great hack freddie, it is great, no longer will I have to backup my database to get a count on the size of it :).
Great Job, SaintDog |
freddie,
Any news about the version for Avatars and Attachs as files? |
freddie, i install this hack. But don't see how thread's want moderates in your hack... Please help me.
:) Please :) |
Love the hack!
But, I get 0's for database data usuage and index usage?? |
[high]* DWZ scratches head... err.. I cant find any of that code in admin/index.php ...
[/high] (using 2.2.5) EDIT: augh, im an idiot, i know... im using a new program to edit my files and ticked the wrong box in the search window... my bad.. sorry |
I have installed this and it did not take that long to put in, however I would like to add the visits from non.members, how can I did that,
can anyone help |
@ceo_tfw: this would require to develop an extra hack. You would have to store the sessions in the DB for 1 day.
----------- I made an extension to show modified threads (without # of new threads) after freddie's PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
thanks for that, I have added it great stuff,
I still would like to know how to do the above thanks |
freddir, why "Post Awaiting Moderation:" in Admin Quick Stats don't show? I enable premoderation in some forums.
|
New Threads Today: 8605
Modified Threads Today: -8553 funny effect... and i can't see any reason.. |
Working fine, well done :)
Here is my stats: |
Working fine, well done :)
Here is my stats: |
Quote:
this can't be my modification. I didn't touch "New Threads". uff, my english :( I can't explain, but I guess you have 52 modified threads and an unknown number of new threads. You have to add my lines below freddies lines, not to change anything. But i think you do so. Our site is OK. If you don't understand my english, sorry, don't worry. I copuld not help. |
i thicnk i have a little problem with this hack :)
Code:
Server Type |
Very cool! Thanks :)
|
Thx for the hack Freddie, works great. :):up:
I had to remove a small section of the query for Registered Users Today though (the Where clause) because it didn't show up without. Why was it in there, anyway? |
nice stuff :) I will install
|
Nice hack freddie, works like a charm.
|
Is there any plans to make this work with Attachments as Files?
|
Great Hack :)
I love this one, since my provider was'nt able to tell me the usage of my database :D :D |
Heh....I didn't really like it much above the "Useful Admin Stuff" section, so I put it below it.
If you want to do the same... Find & Delete: Code:
if ($moderatenewmembers==1 or $usecoppa==1) { Code:
<tr class="secondalt"> Code:
<?php :) Hopefully that'll work for anyone who would actually do it. ;) |
Superb easy hack well done m8 !! 5 out of 5 !!
|
I am running vB 2.2.2 - I seemingly have installed it correctly, but nothing in my CP looks different. Do I need at least 2.2.5?
Matt matt@antsmarching.org |
Did you ever get this done and posted? I can't seem to find it in here. Did I miss it? BTW: Great hack, Freddie! :)
Quote:
|
Good Hack man, i installed it and it works flawlessly. :p
|
All times are GMT. The time now is 04:17 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:
|