![]() |
124!! queries
wen i open a Thred with this postbit:
Code:
<!-- post #$post[postid] --> i have 11 queries. with this postbit: Code:
<!-- post #$post[postid] --> Why??? |
Because something in your second postbit is running a bunch of silly queries in the PHP script :)
What hacks have you installed? Thanks, Alan. |
hmm i have 124 queries with deactivateall Hacks...
Activate all hacks i have 213 queries... More Posts in a Thread more queries. makes the if condition the lot of queries? sorry for bad english for |
Maybe highlight the changes between the two you made ;)
|
Quote:
|
Quote:
Quote:
Make a backup of your modified postbit, revert the postbit to default and one by one, add your hacks in and check the queries on each addition. |
Try getting rid of this in your postbit template. I had issues with it too.
HTML Code:
<if condition="$post[journal_id]"> |
My guess is that the can_moderate accounts for a big number of the extra queries.
|
Quote:
but mor then 200 queries? Quote:
Quote:
this i wil try to THX Quote:
so i only remove this? Code:
<if condition="$post['usertitle']"> or the adsense part to? THX@ all for help! i try this all and then i will report |
That looks right... you can leave the adsense in. That doesnt do anything for your queries.
|
it's perhaps a stupid question (and offtopic), but how can we see the querries count?
|
Install microstats or turn on debug mode.
|
miscrostats is almost a must when your constantly playing with hacks on yoru forum like I do.
|
All times are GMT. The time now is 07:07 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:
|