![]() |
Tigga, #3 can be found at:
https://vborg.vbsupport.ru/showthrea...threadid=25755 Thanks!! I'll also peep to see what I may have altered. :D |
Well here's the first two for you. The 3rd looks like it would take a little more work so I'll have to post that for you tomorrow.
For members today and total thread views, first run this query via phpMyAdmin: ALTER TABLE `statscache` ADD `threadviews` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ; ALTER TABLE `statscache` ADD `memberstoday` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ; Then open your index.php file (assuming you've already installed the hack) and look for: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Thank You, Thank You, Thank You!!
Installed and worked perfectly. Many thanks for the assistance! As a side note, I checked to make sure none of the original code was altered, before install, and it wasnt. But soon as I made the changes you provided, cured the problem right up! Again, Thank you! Your the greatest. :p |
caching such stats are always a good idea, especially in forum home, so very good job! :)
|
Snapperhaed - No problem at all. I've added those stats to my forum page as well. :)
By the way, I noticed that you have mYvBindex installed on your site. You can use the same code there to pull the info and save 4 queries on your homepage (and add more stats) as well. ;) Logician - Thank you. :D |
1997 PMs?!?! Is that in total or just yours? Wow :)
|
Ok, I got the other 2 figured out (finally). This is what I have left. Can anyone please tell me how to incorporate this, too?
Quote:
|
Works like a charm and saves me about 5 Querys on Forumhome / and vBindex!!
Thanks Kars [high]* Kars10 kicks install! :)[/high] |
mossyuk - Yep, those are all mine. The board's been up for a little over a year and I rarely delete anything, so I guess they add up pretty quickly. :)
Boofo - I don't think that's something that should really be integrated with this... Since it's a page counter, updating it only every ten minutes wouldn't allow it to be accurate. It appears that it would only be 2 very small queries and a small table though, so it shouldn't affect performance much at all. Kars10 - Glad you like it. :) |
You're right. I got to thinking about it after I wrote the message. I went from 31 queries down to 23 (and at 35 when the cache updates) and I have a couple of more stats than I had before. I did the Top Profile Views with this, too, if anyone is interested. ;)
|
All times are GMT. The time now is 03:29 PM. |
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:
|