The Arcive of vBulletin Modifications Site. |
|
Todays Threads, Post and Veiws on index.php Details »»
|
|||||||||||||||||||||||||
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. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Screen Shot.
|
|
#3
|
||||
|
||||
|
Does this add any queries to forumhome? (2 by the looks of it)
|
|
#4
|
||||
|
||||
|
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. |
|
#5
|
||||
|
||||
|
IIRC $DB_site adds a query everytime you use it, not sure though. That may be why.
Nice hack nonetheless
|
|
#6
|
||||
|
||||
|
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
|
|
#7
|
||||
|
||||
|
Give me a couple to re-edit the hack. They to fix it all up.
|
|
#8
|
||||
|
||||
|
Alright fixed the file and how it is coded. What you think of it like that?
|
|
#9
|
||||
|
||||
|
before: page load time 0.3s query:21
after: page load time 1.5s query:22
|
|
#10
|
||||
|
||||
|
Shouldn't do that. Not that much load. Are you on sharded hosting?
|
![]() |
|
|