![]() |
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:
|
Quote:
PHP Code:
|
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:
|
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 |
I hope they make it easier for 3.7
I may as well just use $vbulletin->options in this case. |
All times are GMT. The time now is 11:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|