The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
Try searching for something like this in your index.php file:
SELECT COUNT(threadid) AS total FROM thread WHERE dateline> That's the query that's being executed 50+ times. If you remove that then it should lower the number quite a bit. |
#12
|
|||
|
|||
![]()
wa i see this
Page generated in 0.3105130 seconds (-5,883.75% PHP - 5,983.75% MySQL) with 29 queries. |
#13
|
||||
|
||||
![]() Quote:
Code:
f ((!$forumperms['canpostnew'] and $showlocks) or $forum['allowposting']==0) { $forum['onoff'].='lock'; } // prepare template vars if (!$showforumdescription) { $forum['description']=''; } if ($bbuserinfo[userid]!=0) { $newforumthreads = $DB_site->query_first("SELECT COUNT(threadid) AS total FROM thread WHERE dateline>$bbuserinfo[lastvisit] and forumid=$forum[forumid] "); $newforumthreadvew = $newforumthreads[total]; eval("\$forum[newforumthreadvew] = \"".gettemplate('forumhome_newforumthreads')."\";"); } |
#14
|
||||
|
||||
![]() Quote:
As we were talking above, guests don't see too many queries, but registered users see 98. We got a lot of stuff going on for registered users. ![]() |
#15
|
||||
|
||||
![]() PHP Code:
![]() By the way, it seems you may have installed the microstats hack wrong... Page generated in 0.5169800 seconds (-506.86% PHP - 606.86% MySQL) with 92 queries. The query count seems to be accurate, but obviously the percentages aren't. ![]() |
#16
|
||||
|
||||
![]()
Queries may be wrong if you think about it. Everything way oever what it's suppost to be.
Are you useing vB 2.3. If you are theres a fix for the microstats that you might not of used. |
#17
|
|||
|
|||
![]() Quote:
in index.php Find: PHP Code:
Find: PHP Code:
PHP Code:
PHP Code:
|
#18
|
||||
|
||||
![]()
Thanks.
Yeah, I've always had that problem with the microstats hack. I was never sure why it did it, but it was a small thing, I didn't care much about. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|