The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I replace the variable in datastore?
I need to replace one of the variables in datastore / options.
Can someone provide a simple php code on how to unserialize, change the value and serialize it back? Thank you. Joe I tried this code to change the options['smtp_user'] value. It shows it was replaced, but it must be cached, because when I look at the database, there is still an old value present. Any ideas? PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|