![]() |
Todays Threads, Post and Veiws on index.php
What this hack does is it adds Total Threads, Post, and Veiws on your forums index.
Also I would like to give credit to Firefly as part of this code is his. That I had found. |
Screen Shot.
|
Does this add any queries to forumhome? (2 by the looks of it)
|
Ya it does which sucks. Tryed to get it to add none but I couldn't find any where to add the db lookup.
I'll try to figure out to get it to atleast one or even none. |
IIRC $DB_site adds a query everytime you use it, not sure though. That may be why.
Nice hack nonetheless:) |
today threads/posts can be combined as i posted already, and the viewcount is wrong, as it just sums up the views of today actualized threads, but is not the real ammount of views today
|
Give me a couple to re-edit the hack. They to fix it all up.
|
Alright fixed the file and how it is coded. What you think of it like that?
|
before: page load time 0.3s query:21
after: page load time 1.5s query:22 :( :( |
Shouldn't do that. Not that much load. Are you on sharded hosting?
|
You might want to mention it shows the posts,threads and view for that day in your first post :)
- miSt |
got it
great hack thx SmEdD |
Nice hack, just a note u spelt views wrong in there :p u can even see it in u screenie
dis part-- Thread Veiws Today damn im a nerd for pointin that out :( |
Hey ya sorry I have really bad spelling. My bad.
|
Quote:
|
All times are GMT. The time now is 02:20 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:
|