The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
||||
|
||||
it seems you have a query call within a while loop
open admin/functions.php got to function getpostbit if you find any query in this function, you should take it out. |
#3
|
||||
|
||||
Found this
PHP Code:
|
#4
|
||||
|
||||
ok this is the problem which produces the high query ammount.
you should read the supportthread of lesanes hack, maybe there is a new method to save this query. if this query couldn't be saved without changen a larg ammount of code, maybe a cache can help. you should suggest that |
#5
|
||||
|
||||
Thx 4 your help, Xenon, but I don't know enough about PHP + MySQL to solve this Problem myself. I read the whole Support Thread (which is quite long ) 3 Times because I couldn't believe noone else notices the Problems with the Hacks, but it seems, as if I was the only one.
I don't think there's gonna be a fix of Lesane, as he already had to give up his "Tribute to 2Pac" Board due to his lack of Time. Could anybody else of the vb.org-Staff take care of that Thread? Missing the Award-Hack would be missing one of the most ruling Features of vB |
#6
|
||||
|
||||
You can't take out that query. It's just a query wich is needed to get the awards from an user.
I'm no supporter for while loops in the posbit as well. You could move the awards to the userinfo page. How many awards do you have? |
#7
|
||||
|
||||
I've got about 20 Awards in total and an average of 1-2 per User. Due to the other Problem (Awards get Duplicated when giving to certain users) I deleted all Awards, but still the same Problem.
Man, Lesane, that was fast . Are you the Neighbour of Xenon? *G* |
#8
|
||||
|
||||
A new version of the awards hack is coming within a few weeks. The new version will have no query's in the postbit anymore.
First i am going to finish the new version of the store hack. |
#9
|
||||
|
||||
I'll be looking nervously forward to it, refreshing vb.org every 10 minutes ^^ Btw, Lesane: You had a great board, I'm missing it already though I had only few time to visit it.
|
#10
|
||||
|
||||
ahh, good to hear lesane
@Saint: hmm, you can try this, it will save at least some of the queries if you have more posts of the same user on one page: change the postbit code to this: PHP Code:
PHP Code:
PHP Code:
i think this should reduce the query ammount |
#11
|
||||
|
||||
I already deinstalled the Hack and went back to less than 40 Querries in showthread .
@ Xenon: Danke trotzdem vielmals f?r die schnelle und kompetente Hilfe |
#12
|
||||
|
||||
you're welcome
hmm, du solltest nicht ?ber 35 kommen bei showthread, unter 30 w?re noch besser |
#13
|
||||
|
||||
Quote:
|
#14
|
||||
|
||||
hrhr
I know that ~35 Querries is a lot on showthread, but my Servers are good enough to face this, and I don't wanna miss any of the Features causing these Querries. Visit me on http://foren.gslallianz.de if you want Still a lot under Construction, but already some interessting things to see -------------------- Xenon, there seems to be another Query-Loop. Seems to have something to do with the Quick-Delete Post Hack, I'm investigating atm. and post the Results as soon as possible. |
#15
|
||||
|
||||
yes this is important to put away
don't use queries in loops . most of the time these queries can be avoided with good joined queries.... but not always |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|