The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using the datastore in 3.6.4
I'm trying to use a datastore entry I created (the entry exists in the database in the datastore table) in a foreach() loop, but it tells me I have supplied an invalid argument for foreach()
Database record: title = my_store data = a:1:{i:1;s:6:"ITEM";} unserialize = 1 PHP Code:
|
#2
|
||||
|
||||
Quote:
PHP Code:
|
#3
|
|||
|
|||
Setting it in $specialtemplates was the only thing that worked.
Is there a way to put the following in a plugin so that it will work? PHP Code:
|
#4
|
||||
|
||||
Sadly we still don't have an "easy" way to do it. But read this thread for a solution:
https://vborg.vbsupport.ru/showthread.php?t=111882 |
#5
|
|||
|
|||
I hope they make it easier for 3.7
I may as well just use $vbulletin->options in this case. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|