The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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.
|
![]() |
|
|