The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
A very simple question about datastore
I have a string variable called $mydata
$mydata = "blahblah"; I succeeded to write it into datastore with build_datastore('mycooldata', $mydata); or build_datastore('mycooldata', serialize($mydata)); But I can't seem to be able to read it out from datastore. I've seen this article https://vborg.vbsupport.ru/showthread.php?t=110628 but whatever I try doesn't seem to work. Can anybody help? :cross-eyed: --- EDIT: Okay, I figured it out thanks to some posts on vb.org. The solution is actually quite easy. To write a string into datastore: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|