Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Jun 2006, 13:49
hilfe-forum hilfe-forum is offline
 
Join Date: Oct 2005
Location: http://www.alpha-board.eu
Real name: http://www.alpha-board.eu
124!! queries

wen i open a Thred with this postbit:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


i have 11 queries.



with this postbit:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

i have 124 queries!!

Why???
Reply With Quote
  #2  
Old 17 Jun 2006, 14:33
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Real name: Alan
Because something in your second postbit is running a bunch of silly queries in the PHP script

What hacks have you installed?

Thanks,
Alan.
__________________
IMPORTANT: I'm afraid that I no longer develop software / modifications for vBulletin. However, thank you to everyone who installed / supported my modifications!
Reply With Quote
  #3  
Old 17 Jun 2006, 15:36
hilfe-forum hilfe-forum is offline
 
Join Date: Oct 2005
Location: http://www.alpha-board.eu
Real name: http://www.alpha-board.eu
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
Reply With Quote
  #4  
Old 17 Jun 2006, 23:56
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Real name: Brent Wilson
Maybe highlight the changes between the two you made
__________________
The Discussion Network
Reply With Quote
  #5  
Old 18 Jun 2006, 00:42
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
Originally Posted by BamaStangGuy
Maybe highlight the changes between the two you made
The two are hugely different, there is so much stuff in the second one I wouldn't know where to start, there's even google adsense code in there.
__________________


Cable Forum - DigiGuide
Please Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Senior vBulletin Developer : Please do not PM me about custom work - I work for Internet brands and no longer have the time to undertake any.
Reply With Quote
  #6  
Old 18 Jun 2006, 00:58
Christine's Avatar
Christine Christine is offline
 
Join Date: Nov 2001
Real name: Christine. Really.
Originally Posted by hilfe-forum
hmm i have 124 queries with deactivateall Hacks...
Activate all hacks i have 213 queries...
Not possible. At a quick glance, I am seeing vbPlaza, can moderate, google, last online, thread starter image, vbbux, shouts, thanks, thanks stats, gallery stats, warnings, attachment, image links, google search in the sig section (form method="get" action="http://www.google.de/custom" ), and journaling.

sorry for bad english for
Your english is fine.

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.
__________________
L'chaim
Reply With Quote
  #7  
Old 18 Jun 2006, 01:37
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Try getting rid of this in your postbit template. I had issues with it too.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Make someone smile today!
Reply With Quote
  #8  
Old 18 Jun 2006, 17:59
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
My guess is that the can_moderate accounts for a big number of the extra queries.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #9  
Old 18 Jun 2006, 20:23
hilfe-forum hilfe-forum is offline
 
Join Date: Oct 2005
Location: http://www.alpha-board.eu
Real name: http://www.alpha-board.eu
Originally Posted by Paul M
The two are hugely different, there is so much stuff in the second one I wouldn't know where to start, there's even google adsense code in there.
much stuff is right.
but mor then 200 queries?

Originally Posted by Christine
Not possible. At a quick glance, I am seeing vbPlaza, can moderate, google, last online, thread starter image, vbbux, shouts, thanks, thanks stats, gallery stats, warnings, attachment, image links, google search in the sig section (form method="get" action="http://www.google.de/custom" ), and journaling.

Your english is fine.

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.
ok thank you i try this.

Originally Posted by Reeve of shinra
Try getting rid of this in your postbit template. I had issues with it too.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this i wil try to THX

Originally Posted by MarcoH64
My guess is that the can_moderate accounts for a big number of the extra queries.
tank you!

so i only remove this?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


or the adsense part to?


THX@ all for help!

i try this all and then i will report

Last edited by hilfe-forum : 18 Jun 2006 at 20:38. Reason: Automerged Doublepost
Reply With Quote
  #10  
Old 18 Jun 2006, 21:17
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
That looks right... you can leave the adsense in. That doesnt do anything for your queries.
__________________
Make someone smile today!
Reply With Quote
  #11  
Old 11 Jul 2006, 15:32
ThomasR ThomasR is offline
 
Join Date: Mar 2005
it's perhaps a stupid question (and offtopic), but how can we see the querries count?
Reply With Quote
  #12  
Old 11 Jul 2006, 16:27
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
Install microstats or turn on debug mode.
__________________


Cable Forum - DigiGuide
Please Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Senior vBulletin Developer : Please do not PM me about custom work - I work for Internet brands and no longer have the time to undertake any.
Reply With Quote
  #13  
Old 12 Jul 2006, 02:48
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
miscrostats is almost a must when your constantly playing with hacks on yoru forum like I do.
__________________
Make someone smile today!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 13:08.

Layout Options | Width: Wide Color: