The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
what does shutdown_query do?
PHP Code:
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
||||
|
||||
that went right over my head.
let's simplify ->query( // you'd use for a loop ->query_first( // standard query ->shutdown_query( // ??? |
#4
|
||||
|
||||
You know what, I have absolutely no idea. It appears that it's a feature designed to run queries after the page has rendered. All the queries in shutdown queries are not run at that particular part of the script I can tell you that. If you look at exec_shut_down() in functions.php you'll see what happens. However, I can't find any reference to that function being run anywhere in any of the vB files
Who knows... maybe I'm overlooking something |
#5
|
|||
|
|||
Lol, you should read the how-to's
https://vborg.vbsupport.ru/showthread.php?t=75207 With great thanks to Bruce.Lee |
#6
|
||||
|
||||
I just checked again, and that function is not being called anywhere according to ultraedit!
|
#7
|
||||
|
||||
And I thought UltraEdit was a good software ^.^
admincp/global.php PHP Code:
PHP Code:
PHP Code:
Or did you mean exec_shut_down? functions.php PHP Code:
PHP Code:
|
#8
|
||||
|
||||
No no no no....
Ok those queries are passed to the method with db_mysql.php, and either ran at that exact time or stored in an array. This array is then released by the method with a global call and acn be used anywhere else in the script. There is then no reference to where-else these queries are ran. So they must be run at that exact point in the script. Do a search for $shutdownqueries and you tell me where they are run, in exec_shut_down. Ok then tell me where this function is ran Follow? |
#9
|
||||
|
||||
Revised my last post to include the references for exec_shut_down
|
#10
|
||||
|
||||
Weird I don't have those lines in my functions.php?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|