The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Closing the forums with a query
IIRC this alone doesn't do it:
[sql] UPDATE setting SET value = "0" WHERE varname = "bbactive" [/sql] What's the other query? |
#2
|
||||
|
||||
Whats IIRC?
|
#3
|
|||
|
|||
If I recall correctly.
|
#4
|
||||
|
||||
[sql]UPDATE setting SET value='0' WHERE varname='bbactive'[/sql]
Try that with single quotes./ |
#5
|
|||
|
|||
No there's some completely different query I thought.
|
#6
|
||||
|
||||
Lmfao i thought it was a technical term...
|
#7
|
||||
|
||||
You need to update the options template with the values stored in the settings table for this to take effect.
vB looks at the options template and not at the setting table for all the vBulletin Options. |
#8
|
|||
|
|||
Ah yes. Remember the query?
|
#9
|
||||
|
||||
in admin/options.php you can find this:
PHP Code:
Code:
UPDATE template REPLACE(template, '$bbactive=1', '$bbactive=0') WHERE title='options' |
#10
|
|||
|
|||
Thanks, it looks like that'll work.
I don't understand why vB doesn't just read from the setting table... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|