The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to send string back to vbulletin?
What i want:
Code:
global $vbulletin; $vbulletin->options['test_option'] = "some random text"; So the browser has changed it, but the option in vbulletin is still the same. |
#2
|
||||
|
||||
If you want to permanently change it, either use the adminCP settings for it or you have to build a sql query to modify the database entry.
The according Table is TABLE_PREFIX_settings |
Благодарность от: | ||
kiradotee |
#3
|
||||
|
||||
Quote:
--------------- Added [DATE]1312192905[/DATE] at [TIME]1312192905[/TIME] --------------- btw when the script reaches this code Code:
$DB_site->query("SELECT * FROM " . TABLE_PREFIX_setting . ""); I have inserted it with module in global_complete and i see blank page. (used SELECT just to test that it works) |
#4
|
|||
|
|||
I think $DB_Site is from an older version of vb - try using just $db in place of that.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|